﻿/* =========================================================
   NOCTURNE — trust, security and privacy
   ========================================================= */

body.trust-page {
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 18% -8%, rgba(169, 55, 61, 0.5), transparent 48%),
    radial-gradient(ellipse at 96% 18%, rgba(114, 28, 38, 0.45), transparent 42%),
    linear-gradient(180deg, #5b1420 0%, #4a0f19 52%, #350910 100%);
}

.trust-header {
  position: relative;
  z-index: 30;
  padding: clamp(18px, 3vh, 30px) 0 0;
}

.trust-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.trust-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-soft);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.35s var(--ease);
}

.trust-back svg {
  width: 17px;
  height: 17px;
}

.trust-back:hover {
  border-color: rgba(255, 229, 205, 0.48);
  background: rgba(255, 236, 220, 0.07);
  color: var(--ink);
  transform: translateX(-2px);
}

[dir="rtl"] .trust-back svg {
  transform: scaleX(-1);
}

[dir="rtl"] .trust-back:hover {
  transform: translateX(2px);
}

.trust-main {
  padding: clamp(38px, 7vh, 84px) 0 0;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.trust-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: clamp(32px, 6vw, 90px);
  padding-bottom: clamp(34px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
}

.trust-hero .eyebrow {
  color: var(--gold);
  font-size: 9px;
}

.trust-hero h1 {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(48px, 5.7vw, 78px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.trust-hero-side {
  padding-bottom: 6px;
}

.trust-hero-side > p:first-child {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.trust-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  color: var(--dim);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.trust-updated::before {
  content: "";
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 207, 156, 0.12);
}

.trust-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.trust-jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.trust-jump a::before {
  content: "";
  width: 4px;
  height: 4px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
}

.trust-jump a:hover {
  border-color: rgba(255, 229, 205, 0.52);
  background: rgba(255, 236, 220, 0.07);
  color: var(--ink);
}

.trust-page .trust-jump a:focus-visible {
  outline-color: var(--gold);
}

/* ---------------------------------------------------------
   Content board
   --------------------------------------------------------- */

.trust-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(28px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(244, 217, 188, 0.3);
  border-radius: 6px;
  background: #f4e5d9;
  box-shadow: 0 32px 80px rgba(8, 1, 3, 0.26);
}

.trust-section {
  min-width: 0;
  padding: clamp(30px, 3.7vw, 54px);
  scroll-margin-top: 28px;
}

.trust-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  color: #8b3537;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
}

.trust-section h2 {
  margin: 0;
  color: #341014;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.trust-section-intro {
  margin: 18px 0 0;
  color: #81564e;
  font-size: 12px;
  line-height: 1.65;
}

.trust-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding: 15px 0;
  padding-inline-start: 22px;
  border-top: 1px solid rgba(73, 26, 27, 0.14);
  color: #67443f;
  font-size: 11.5px;
  line-height: 1.65;
}

.trust-list li:last-child {
  border-bottom: 1px solid rgba(73, 26, 27, 0.14);
}

.trust-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 23px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #963f42;
  box-shadow: 0 0 0 3px rgba(150, 63, 66, 0.12);
}

.trust-list strong {
  color: #381116;
  font-weight: 600;
}

.trust-section-dark {
  background:
    radial-gradient(ellipse at 92% -4%, rgba(156, 55, 61, 0.36), transparent 48%),
    linear-gradient(155deg, #421019, #310810 78%);
}

.trust-section-dark .trust-icon {
  color: var(--gold);
}

.trust-section-dark h2 {
  color: var(--ink);
}

.trust-section-dark .trust-section-intro {
  color: #d9b3a5;
}

.trust-section-dark .trust-list li {
  border-color: rgba(255, 237, 223, 0.17);
  color: #e9cdbf;
}

.trust-section-dark .trust-list li::before {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 207, 156, 0.12);
}

.trust-section-dark .trust-list strong {
  color: var(--ink);
}

.trust-page :focus-visible {
  outline-color: #7a2c2e;
}

.trust-section-dark :focus-visible {
  outline-color: var(--gold);
}

.trust-footnote {
  margin-top: 28px;
  color: #c69a8e;
  font-size: 8.5px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.trust-footer {
  margin-top: clamp(42px, 7vh, 82px);
  padding: 19px 0 24px;
  border-top: 1px solid var(--line);
  background: rgba(31, 6, 11, 0.22);
  color: #b58d81;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.trust-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  transition: color 0.25s ease;
}

.trust-home:hover {
  color: var(--gold-bright);
}

/* ---------------------------------------------------------
   Locale details
   --------------------------------------------------------- */

html:not([lang="en"]) .trust-hero h1 {
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

html[lang="zh"] .trust-hero h1,
html[lang="ja"] .trust-hero h1,
html[lang="ko"] .trust-hero h1,
html[lang="ar"] .trust-hero h1,
html[lang="hi"] .trust-hero h1 {
  letter-spacing: 0;
  line-height: 1.16;
}

html[lang="zh"] .trust-hero h1,
html[lang="ja"] .trust-hero h1,
html[lang="ko"] .trust-hero h1 {
  font-size: clamp(36px, 4.4vw, 58px);
}

html[lang="ar"] .trust-hero-side > p:first-child,
html[lang="ar"] .trust-section-intro,
html[lang="ar"] .trust-list li {
  line-height: 1.9;
}

html[lang="hi"] .trust-hero-side > p:first-child,
html[lang="hi"] .trust-section-intro,
html[lang="hi"] .trust-list li {
  line-height: 1.8;
}

html[lang="ar"] .trust-hero .eyebrow,
html[lang="ar"] .trust-updated,
html[lang="ar"] .trust-footer,
html[lang="ar"] .trust-section h2 {
  letter-spacing: 0;
}

[dir="rtl"] .trust-hero,
[dir="rtl"] .trust-section,
[dir="rtl"] .trust-footnote {
  text-align: start;
}

[dir="rtl"] .trust-home span:first-child {
  transform: scaleX(-1);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 980px) {
  .trust-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
  }

  .trust-hero h1 {
    max-width: 650px;
  }

  .trust-hero-side > p:first-child {
    max-width: 540px;
  }

  .trust-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .trust-header {
    padding-top: 18px;
  }

  .trust-header .brand-mark {
    width: 27px;
    height: 27px;
  }

  .trust-header .brand-name {
    font-size: 17px;
  }

  .trust-header .brand-sub {
    font-size: 5.5px;
  }

  .trust-back {
    width: 35px;
    height: 35px;
  }

  .trust-main {
    padding-top: 35px;
  }

  .trust-hero {
    padding-bottom: 32px;
  }

  .trust-hero .eyebrow {
    font-size: 8px;
  }

  .trust-hero h1,
  html:not([lang="en"]) .trust-hero h1 {
    margin-top: 15px;
    font-size: clamp(34px, 10.2vw, 46px);
    line-height: 1.04;
  }

  html[lang="zh"] .trust-hero h1,
  html[lang="ja"] .trust-hero h1,
  html[lang="ko"] .trust-hero h1,
  html[lang="ar"] .trust-hero h1,
  html[lang="hi"] .trust-hero h1 {
    font-size: clamp(32px, 9.4vw, 42px);
    line-height: 1.16;
  }

  .trust-hero-side > p:first-child {
    font-size: 11px;
    line-height: 1.7;
  }

  .trust-updated {
    margin-top: 16px;
    font-size: 7px;
  }

  .trust-jump {
    gap: 7px;
    margin-top: 17px;
  }

  .trust-jump a {
    min-height: 32px;
    padding-inline: 11px;
    font-size: 8px;
  }

  .trust-board {
    margin-top: 26px;
    border-radius: 4px;
  }

  .trust-section {
    padding: 28px 22px 30px;
  }

  .trust-icon {
    width: 30px;
    height: 30px;
  }

  .trust-section-head {
    gap: 11px;
  }

  .trust-section h2 {
    font-size: 38px;
  }

  .trust-section-intro {
    margin-top: 14px;
    font-size: 11px;
  }

  .trust-list {
    margin-top: 21px;
  }

  .trust-list li {
    padding-block: 13px;
    padding-inline-start: 20px;
    font-size: 10.5px;
    line-height: 1.7;
  }

  .trust-list li::before {
    top: 20px;
  }

  .trust-footnote {
    margin-top: 22px;
    font-size: 7.5px;
  }

  .trust-footer {
    margin-top: 42px;
    padding-bottom: 20px;
    font-size: 6.5px;
  }

  .trust-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-home {
    transition: none;
  }
}
