/* ==========================================================================
   Aurehold — Bitcoin-backed USD liquidity
   Dark navy + gold private-desk theme.
   iOS 14–17 friendly: no :has(), @container, color-mix, oklch, or inset shorthand.
   System fonts only. Brand colors are overridden at runtime from brand.js.
   ========================================================================== */

:root {
  --bg: #070a12;
  --bg-2: #0a0f1c;
  --panel: #0d1424;
  --panel-2: #101a2e;
  --ink: #e9edf5;
  --muted: #9aa5ba;
  --faint: #6b7590;
  --gold: #d8b573;
  --gold-2: #f0d9a8;
  --gold-deep: #a8823f;
  --line: rgba(216, 181, 115, 0.2);
  --line-soft: rgba(154, 165, 186, 0.14);
  --ok: #7fc98f;
  --danger: #e8a17f;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Didot", "Bodoni MT", "Playfair Display", Georgia, "Times New Roman", serif;
  --wrap: 1140px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

html, body {
  margin: 0;
  padding: 0;
  min-width: 320px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image: url("./assets/bg-glow.svg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: top center;
  background-size: 1440px 900px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  color: #f4f0e6;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff0cf; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(216, 181, 115, 0.35); color: #fff; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 120;
  background: var(--gold-2);
  color: #1c1608;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 10px; }

.wrap {
  width: auto;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap.narrow { max-width: 880px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.display { font-size: clamp(30px, 5.2vw, 54px); }

.section-sub {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18.5px);
  max-width: 640px;
  margin: 6px auto 0;
}

.accent-line {
  color: var(--gold-2);
  font-size: clamp(18px, 2.4vw, 21px);
}

[hidden] { display: none !important; }

.btn {
  display: inline-block;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(216, 181, 115, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn[disabled],
.btn.is-busy {
  opacity: 0.62;
  cursor: progress;
  transform: none;
}

.btn-primary {
  background-image: linear-gradient(135deg, #f0d9a8 0%, #d8b573 55%, #b8935a 100%);
  background-color: var(--gold);
  color: #1c1608;
  box-shadow: 0 10px 28px rgba(216, 181, 115, 0.28), 0 2px 6px rgba(0, 0, 0, 0.4);
}
.btn-primary:hover { color: #14100a; box-shadow: 0 14px 34px rgba(216, 181, 115, 0.4); transform: translateY(-1px); }

.btn-ghost {
  background-color: rgba(13, 20, 36, 0.55);
  border-color: var(--line);
  color: var(--gold-2);
}
.btn-ghost:hover { border-color: var(--gold); color: #fff0cf; }
.btn-wide { width: 100%; }

a:focus, button:focus, summary:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  background: transparent;
  pointer-events: none;
}
.progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background-image: linear-gradient(90deg, var(--gold-deep), var(--gold-2));
  background-color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background-color: rgba(7, 10, 18, 0.72);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  padding-top: env(safe-area-inset-top);
}
.site-header.is-scrolled {
  background-color: rgba(7, 10, 18, 0.92);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  flex: none;
}
.brand:hover { color: #fff; }
.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--gold);
  display: inline-block;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.22em;
  margin-left: 10px;
  color: #f4f0e6;
}
.brand-name.small { font-size: 16px; margin-left: 0; letter-spacing: 0.2em; }

.main-nav { display: none; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a[aria-current="true"] { color: var(--gold-2); }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.header-cta { display: none; white-space: nowrap; }
.header-login {
  display: none;
  margin-right: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 8px;
}
.header-login:hover { color: var(--gold-2); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(13, 20, 36, 0.55);
  color: var(--gold-2);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--gold-2);
  position: relative;
  content: "";
}
.nav-toggle-bars::before { position: absolute; top: -5px; }
.nav-toggle-bars::after { position: absolute; top: 5px; }

.mobile-nav {
  display: none;
  background: #0d1424;
  border-top: 1px solid var(--line-soft);
  padding: 8px 16px 18px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  min-height: 44px;
  padding: 12px 6px;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:hover { color: var(--gold-2); }
.mobile-nav .btn {
  display: block;
  margin-top: 14px;
  border-bottom: 0;
}

.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: rgba(13, 20, 36, 0.55);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.lang-btn:hover { border-color: var(--gold); }
.lang-btn svg { width: 17px; height: 17px; color: var(--gold); }
.lang-current { margin-left: 8px; letter-spacing: 0.06em; }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
  margin: 0;
  background-color: #0d1424;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}
.lang-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.lang-menu button:hover { background-color: rgba(216, 181, 115, 0.1); }
.lang-menu button.is-active {
  color: var(--gold-2);
  background-color: rgba(216, 181, 115, 0.14);
  font-weight: 600;
}

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .display { margin-bottom: 0.35em; }
.section-head .eyebrow { margin-bottom: 10px; }

.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
  min-height: 86vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy .display {
  font-size: clamp(34px, 5.4vw, 60px);
  margin-bottom: 0.4em;
}
.hero-sub {
  color: var(--muted);
  font-size: clamp(16.5px, 2.1vw, 19px);
  max-width: 560px;
  margin-bottom: 28px;
}
.cta-row { display: inline-block; margin-bottom: 14px; }
.cta-note {
  font-size: 13.5px;
  color: var(--faint);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.hero-meta { border-top: 1px solid var(--line-soft); padding-top: 18px; }
.hero-meta li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold);
  box-shadow: 0 0 8px rgba(216, 181, 115, 0.7);
}

.hero-visual { display: flex; justify-content: center; }
.emblem { position: relative; width: min(340px, 78vw); }
.emblem-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 60px rgba(216, 181, 115, 0.16));
}
.ring-outer, .ring-mid, .ring-inner {
  transform-origin: 170px 170px;
  animation: ring-spin 64s linear infinite;
}
.ring-mid { animation-duration: 42s; animation-direction: reverse; }
.ring-inner { animation-duration: 88s; }
.coin {
  transform-origin: 170px 170px;
  animation: coin-float 7s ease-in-out infinite;
}
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-2);
  background-color: rgba(13, 20, 36, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}
.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 8px;
  background-color: var(--ok);
  box-shadow: 0 0 8px rgba(127, 201, 143, 0.8);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
.chip-btc { top: 16%; left: 0; }
.chip-usd { bottom: 14%; right: 0; }
.flow-line {
  position: absolute;
  top: 50%;
  left: 14%;
  right: 14%;
  height: 1px;
  background-image: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.flow-line::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold-2);
  box-shadow: 0 0 10px rgba(240, 217, 168, 0.9);
  animation: flow-run 3.2s ease-in-out infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes coin-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes flow-run {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 98%; opacity: 0; }
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.scroll-hint:hover { color: var(--gold-2); }
.scroll-hint-bar {
  width: 1px;
  height: 34px;
  margin-top: 8px;
  background-image: linear-gradient(var(--gold), transparent);
}

.trust {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background-color: rgba(10, 15, 28, 0.6);
  padding: 32px 0 36px;
}
.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.trust-label {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
}
.trust-list {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-item { text-align: center; padding: 0 8px; }
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--gold-2);
  line-height: 1.25;
}
.trust-item small {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 6px;
}

.problem { text-align: center; }
.problem .prose {
  text-align: start;
  margin: 0 auto;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
}
.problem .prose p { margin-bottom: 1.1em; }
.rotator {
  margin-top: 34px;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.rot-label {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.rot-word {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.6vw, 24px);
  color: var(--gold-2);
  border-bottom: 1px solid var(--line);
  padding: 0 4px 2px;
  display: inline-block;
  min-width: 8em;
  text-align: center;
  transition: opacity 0.3s ease;
}
.rot-word.is-fading { opacity: 0; }

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background-color: var(--panel);
  background-image: linear-gradient(160deg, rgba(216, 181, 115, 0.05), transparent 42%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  border-color: var(--line);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}
.feature h3, .persona h3 { font-size: 19.5px; margin: 14px 0 8px; }
.feature p, .persona p { color: var(--muted); font-size: 14.5px; line-height: 1.62; margin: 0; }
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--gold);
  background-color: rgba(216, 181, 115, 0.09);
  border: 1px solid var(--line);
}
.icon svg { width: 23px; height: 23px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.step-num {
  position: absolute;
  top: -15px;
  left: 0;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--gold);
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 13px;
}
.step-body { padding-top: 14px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

.calc-section {
  background-color: rgba(10, 15, 28, 0.55);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.calc-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 48px);
  background-color: var(--panel);
  background-image: linear-gradient(150deg, rgba(216, 181, 115, 0.06), transparent 45%);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 22px; }
.field:last-child { margin-bottom: 0; }
.field label, .field .label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field-row { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 14px; }
.num-input,
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="password"],
.lead-form select,
.lead-form textarea,
.auth-form input,
.auth-form select,
.auth-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background-color: rgba(7, 10, 18, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  -webkit-appearance: none;
  appearance: none;
}
.num-input:hover,
.lead-form input:hover,
.lead-form select:hover,
.lead-form textarea:hover,
.auth-form input:hover { border-color: var(--line); }
.num-input:focus,
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.auth-form input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(216, 181, 115, 0.18);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background-image: linear-gradient(90deg, var(--gold-deep), var(--gold-2));
  background-color: var(--gold);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -11px;
  border-radius: 50%;
  background-image: linear-gradient(135deg, #f4e3bb, #d8b573);
  background-color: var(--gold-2);
  border: 2px solid #f4f0e6;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}
input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background-color: var(--gold);
}
input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--gold-2);
  border: 2px solid #f4f0e6;
}

.term-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.term-chip, .choice-btn {
  min-height: 44px;
  min-width: 64px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background-color: rgba(7, 10, 18, 0.5);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
.term-chip:hover, .choice-btn:hover { border-color: var(--line); color: var(--ink); }
.term-chip.is-active, .choice-btn.is-active {
  border-color: var(--gold);
  color: var(--gold-2);
  background-color: rgba(216, 181, 115, 0.12);
}
.term-note { font-size: 12.5px; color: var(--faint); margin: 10px 0 0; }

.calc-outputs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background-color: rgba(7, 10, 18, 0.55);
  padding: clamp(20px, 3vw, 30px);
}
.out-block { margin-bottom: 18px; }
.out-label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.out-value {
  display: block;
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
  direction: ltr;
  unicode-bidi: isolate;
}
.out-value.big {
  font-size: clamp(26px, 3.4vw, 34px);
  color: var(--gold-2);
  text-shadow: 0 2px 22px rgba(216, 181, 115, 0.25);
}
.out-main { padding-bottom: 16px; border-bottom: 1px dashed var(--line-soft); }
.out-flag { display: block; min-height: 20px; font-size: 13px; color: var(--muted); margin-top: 6px; }
.calc-ltv { font-size: 13.5px; color: var(--muted); margin: 4px 0 8px; }
.calc-disc {
  font-size: 12px;
  color: var(--faint);
  line-height: 1.55;
  border-left: 2px solid var(--line);
  padding-left: 12px;
  margin-bottom: 18px;
}
.calc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.calc-actions .btn { flex: 1 1 160px; }

.assess-card, .auth-card, .page-card {
  background-color: var(--panel);
  background-image: linear-gradient(160deg, rgba(216, 181, 115, 0.06), transparent 46%);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.assess-progress {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.assess-options { display: grid; gap: 10px; margin: 18px 0; }
.choice-btn { width: 100%; text-align: start; border-radius: 14px; }
.assess-nav { display: flex; gap: 10px; }
.assess-result h3 { font-size: clamp(26px, 4vw, 36px); }

.proof { text-align: center; }
.quote-block { margin: 0; }
.quote-block blockquote { margin: 0; }
.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.45;
  color: #f0ecdf;
}
.quote-block figcaption {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.quote-rule {
  width: 44px;
  height: 1px;
  background-color: var(--gold);
  display: inline-block;
  margin-right: 14px;
}
.quote-block cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.proof-badges {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.proof-badges li {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 9px 16px;
}

.faq-list { display: grid; gap: 12px; }
.faq-item {
  background-color: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-2); }
.faq-plus {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background-color: var(--gold);
  transform: translate(-50%, -50%);
}
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item p { padding: 0 20px 20px; margin: 0; color: var(--muted); font-size: 15px; }

.cta-section { padding-bottom: clamp(80px, 10vw, 130px); }
.cta-card {
  text-align: center;
  background-color: var(--panel);
  background-image:
    radial-gradient(60% 90% at 50% 0%, rgba(216, 181, 115, 0.1), transparent 60%),
    linear-gradient(160deg, rgba(216, 181, 115, 0.05), transparent 45%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.cta-card .section-sub { margin-left: auto; margin-right: auto; }
.lead-form, .auth-form { text-align: start; max-width: 640px; margin: 28px auto 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form textarea, .auth-form textarea { min-height: 96px; resize: vertical; }
.lead-form select, .auth-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23d8b573' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 12px 8px;
  background-position: right 15px center;
  padding-right: 42px;
}
.lead-form label, .auth-form label, .check label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 16px;
}
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.check label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  color: var(--muted);
}
.field-err, .form-banner.is-error { color: var(--danger); font-size: 13.5px; margin: 6px 0 0; }
.form-banner {
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 16px;
  background: rgba(7, 10, 18, 0.55);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 14px;
}
.form-banner.is-ok { color: var(--ok); border-color: rgba(127, 201, 143, 0.35); }
.form-banner.is-error { border-color: rgba(232, 161, 127, 0.45); }
.hint { font-size: 13px; color: var(--faint); margin: -4px 0 12px; }
.form-result { text-align: start; margin-top: 26px; }
.result-title {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.result-pre {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  background-color: rgba(7, 10, 18, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 16px;
  margin: 0 0 16px;
  white-space: pre-wrap;
  word-wrap: break-word;
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.copied-flag { color: var(--ok); font-size: 14px; font-weight: 600; }
.form-note { font-size: 12.5px; color: var(--faint); margin: 14px 0 0; }
.direct-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 28px 0 14px;
  text-align: center;
}
.direct-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.page-main { padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 100px); }
.page-card h1 { font-size: clamp(32px, 5vw, 48px); }
.prose-block { color: var(--muted); font-size: 16px; }
.prose-block h2 { font-size: 22px; margin: 1.4em 0 0.4em; }
.prose-block a { text-decoration: underline; text-decoration-color: var(--line); }
.status-list { display: grid; gap: 10px; margin: 18px 0; }
.status-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(7, 10, 18, 0.45);
  color: var(--muted);
}
.status-list strong { color: var(--ink); font-weight: 600; }

.record-list { display: grid; gap: 12px; margin-top: 12px; }
.record {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(7, 10, 18, 0.4);
}
.record h3 { font-family: var(--font-body); font-size: 16px; margin: 0 0 6px; }
.record p { color: var(--muted); font-size: 14px; margin: 0; }
.record-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.empty-note { color: var(--muted); margin: 8px 0 0; }

.site-footer {
  border-top: 1px solid var(--line-soft);
  background-color: rgba(7, 10, 18, 0.85);
  padding: 40px 0 calc(34px + env(safe-area-inset-bottom));
  text-align: center;
}
.footer-brand { margin-bottom: 16px; }
.footer-brand .brand-name { display: block; }
.footer-tag {
  display: block;
  font-family: var(--font-display);
  color: var(--gold-2);
  font-size: 15px;
  letter-spacing: 0.08em;
  margin-top: 8px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin: 0 0 18px;
}
.footer-links li { display: inline-block; }
.footer-links li + li::before {
  content: "·";
  color: var(--faint);
  margin-right: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
}
.footer-links a:hover { color: var(--gold-2); }
.footer-line {
  font-size: 12.5px;
  color: var(--faint);
  max-width: 680px;
  margin: 0 auto 8px;
  line-height: 1.6;
}
.footer-line.muted { color: #525b73; }
.noscript {
  background: #1c1608;
  color: var(--gold-2);
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.no-js .reveal, .reveal.is-instant { opacity: 1; transform: none; }

.when-auth { display: none !important; }
body.is-auth .when-guest { display: none !important; }
body.is-auth .when-auth { display: inline !important; }
body.is-auth a.when-auth,
body.is-auth button.when-auth { display: inline-block !important; }
body.is-auth .mobile-nav a.when-auth { display: block !important; }
body.is-auth .header-login.when-auth { display: none !important; }

[dir="rtl"] .hero-meta li { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .hero-meta li::before { left: auto; right: 0; }
[dir="rtl"] .brand-name { margin-left: 0; margin-right: 10px; }
[dir="rtl"] .lang-current { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .lang-menu button { text-align: right; }
[dir="rtl"] .calc-disc { border-left: 0; border-right: 2px solid var(--line); padding-left: 0; padding-right: 12px; }
[dir="rtl"] .step-num { left: auto; right: 0; }
[dir="rtl"] .quote-rule { margin-right: 0; margin-left: 14px; }
[dir="rtl"] .chip-dot { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .lead-form select,
[dir="rtl"] .auth-form select {
  background-position: left 15px center;
  padding-right: 14px;
  padding-left: 42px;
}
[dir="rtl"] .header-login { margin-right: 0; margin-left: 8px; }

html[lang="ar"] body,
html[lang="th"] body,
html[lang="hi"] body,
html[lang="bn"] body { line-height: 1.8; }
html[lang="ar"] .display,
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="th"] .display, html[lang="th"] h1,
html[lang="hi"] .display, html[lang="bn"] .display,
html[lang="ja"] .display, html[lang="ko"] .display, html[lang="zh-TW"] .display, html[lang="zh-HK"] .display, html[lang="he"] .display {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.35;
}
html[lang="ar"] .trust-item strong,
html[lang="th"] .trust-item strong,
html[lang="ja"] .trust-item strong,
html[lang="ko"] .trust-item strong,
html[lang="zh-TW"] .trust-item strong,
html[lang="hi"] .trust-item strong,
html[lang="bn"] .trust-item strong,
html[lang="zh-HK"] .trust-item strong,
html[lang="he"] .trust-item strong { font-family: var(--font-body); font-weight: 700; }
html[lang="ar"] .rot-word,
html[lang="th"] .rot-word,
html[lang="ja"] .rot-word,
html[lang="ko"] .rot-word,
html[lang="zh-TW"] .rot-word,
html[lang="hi"] .rot-word,
html[lang="bn"] .rot-word,
html[lang="zh-HK"] .rot-word,
html[lang="he"] .rot-word { font-family: var(--font-body); font-weight: 700; }
html[lang="zh-TW"] .eyebrow,
html[lang="ja"] .eyebrow,
html[lang="ko"] .eyebrow,
html[lang="ar"] .eyebrow,
html[lang="th"] .eyebrow,
html[lang="hi"] .eyebrow,
html[lang="bn"] .eyebrow,
html[lang="zh-HK"] .eyebrow,
html[lang="he"] .eyebrow { letter-spacing: 0.08em; }

html[lang="zh-TW"] body { font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", sans-serif; }
html[lang="zh-HK"] body { font-family: "PingFang HK", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", sans-serif; }
html[lang="he"] body { font-family: "Arial Hebrew", "Noto Sans Hebrew", "Segoe UI", sans-serif; line-height: 1.8; }
html[lang="el"] body { font-family: "Noto Sans", "Segoe UI", sans-serif; }
html[lang="ka"] body { font-family: "Noto Sans Georgian", "Segoe UI", sans-serif; }
html[lang="ru"] body, html[lang="uk"] body { font-family: "Segoe UI", "Noto Sans", sans-serif; }
html[lang="ja"] body { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif; }
html[lang="ko"] body { font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
html[lang="ar"] body { font-family: "Geeza Pro", "Noto Naskh Arabic", "Noto Sans Arabic", "SF Arabic", "Segoe UI", sans-serif; }
html[lang="th"] body { font-family: "Thonburi", "Leelawadee UI", "Noto Sans Thai", "Tahoma", sans-serif; }
html[lang="hi"] body { font-family: "Kohinoor Devanagari", "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif; }
html[lang="bn"] body { font-family: "Kohinoor Bangla", "Noto Sans Bengali", "Nirmala UI", "Vrinda", sans-serif; }

@media (min-width: 1180px) {
  .main-nav { display: inline-flex; align-items: center; }
  .header-cta { display: inline-block; padding: 10px 16px; min-height: 44px; font-size: 14px; }
  .header-login { display: inline-block; }
  body.is-auth .header-login.when-auth { display: inline-block !important; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}
@media (min-width: 960px) { .wrap { padding: 0 32px; } }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .hero-sub { margin-left: auto; margin-right: auto; }
  .cta-row { display: block; }
  .hero-meta { display: inline-block; text-align: start; }
  .hero-visual { order: -1; }
  .emblem { width: min(260px, 68vw); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .calc-card { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
}
@media (max-width: 699px) {
  .header-inner { height: 60px; }
  .trust-list { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid-4, .grid-3, .form-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 4px; }
  .result-actions .btn, .calc-actions .btn { width: 100%; }
  .scroll-hint { display: none; }
  .hero { min-height: 0; padding-top: 28px; padding-bottom: 36px; }
  .status-list li { flex-direction: column; gap: 4px; }
}
@media (max-width: 360px) {
  .wrap { padding: 0 16px; }
  .brand-name { letter-spacing: 0.12em; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .flow-line::after { display: none; }
}
