:root, [data-theme="dark"] {
  --ink: #050505;
  --ink-2: #0d0d0d;
  --ink-3: #141414;
  --ink-4: #1a1a1a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --white: #fff;
  --off-white: #f6ecd8;
  --text: #f6ecd8;
  --text-muted: #b8a98a;
  --text-dim: #7a6f58;
  --gold: #c9a667;
  --gold-light: #e7d3a1;
  --gold-deep: #a8843e;
  --line: rgba(231, 211, 161, 0.14);
  --line-strong: rgba(231, 211, 161, 0.28);
  --glass: rgba(13, 13, 13, 0.72);
  --glass-border: rgba(231, 211, 161, 0.18);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --nav-bg: rgba(5, 5, 5, 0.85);
  --usdt: #26a17b;
  --display: 'Fraunces', serif;
  --body: 'Manrope', system-ui, sans-serif;
  color-scheme: dark;
}

[data-theme="light"] {
  --ink: #f7f4ee;
  --ink-2: #ffffff;
  --ink-3: #f0ebe3;
  --ink-4: #e8e2d6;
  --surface: rgba(0, 0, 0, 0.03);
  --surface-strong: rgba(0, 0, 0, 0.06);
  --white: #0a0a0a;
  --off-white: #1a1612;
  --text: #1a1612;
  --text-muted: #5c5346;
  --text-dim: #8a7f6e;
  --gold: #a8843e;
  --gold-light: #c9a667;
  --gold-deep: #8a6b2e;
  --line: rgba(168, 132, 62, 0.18);
  --line-strong: rgba(168, 132, 62, 0.32);
  --glass: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(168, 132, 62, 0.22);
  --shadow: 0 16px 40px rgba(40, 30, 10, 0.12);
  --nav-bg: rgba(247, 244, 238, 0.9);
  --usdt: #26a17b;
  color-scheme: light;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
a { color: inherit; text-decoration: none }
button { font-family: inherit; cursor: pointer }
input, select, textarea { font-family: inherit }
img { max-width: 100%; display: block }
::selection { background: var(--gold); color: var(--ink) }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding-inline: 24px }

.gold-text {
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 55%, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.coins-layer {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.coin {
  position: absolute; font-size: 22px; opacity: 0.18;
  animation: floatCoin linear infinite;
  user-select: none;
  text-shadow: 0 0 12px rgba(201, 166, 103, 0.4);
}
.coin.gold { color: #e7d3a1 }
.coin.amber { color: #c9a667 }
.coin.bright { color: #f5e6c0 }
.coin.deep { color: #a8843e }
[data-theme="light"] .coin { opacity: 0.12 }
@keyframes floatCoin {
  0% { transform: translateY(110vh) rotate(0) scale(0.7); opacity: 0 }
  8% { opacity: 0.18 }
  92% { opacity: 0.14 }
  100% { transform: translateY(-12vh) rotate(360deg) scale(1.1); opacity: 0 }
}

header.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 12px; gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px }
.brand img {
  height: 42px; width: auto;
  filter: drop-shadow(0 0 10px rgba(201, 166, 103, 0.35));
}
[data-theme="light"] .brand img { filter: none }
nav.links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap }
nav.links a {
  font-size: 14px; color: var(--text-muted); transition: color 0.15s; font-weight: 500;
}
nav.links a:hover, nav.links a.active { color: var(--gold-light) }
[data-theme="light"] nav.links a:hover,
[data-theme="light"] nav.links a.active { color: var(--gold-deep) }
.nav-actions { display: flex; gap: 10px; align-items: center }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}
.theme-toggle:hover { border-color: var(--gold); background: var(--surface-strong) }
.theme-toggle svg { width: 18px; height: 18px }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 8px 10px; color: var(--text);
}
@media (max-width: 900px) {
  nav.links {
    display: none; width: 100%; flex-direction: column; align-items: flex-start;
    padding-top: 14px; border-top: 1px solid var(--line); margin-top: 8px;
  }
  nav.links.open { display: flex }
  .menu-toggle { display: block }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 12px;
  padding: 12px 22px; font-size: 14px; font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) }
.btn-primary {
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: #1a1208;
  box-shadow: 0 4px 20px rgba(201, 166, 103, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 0 28px rgba(201, 166, 103, 0.4);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 166, 103, 0.08);
}
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 10px }

.news-marquee {
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  position: relative;
  z-index: 2;
  height: 42px;
}
.news-marquee-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.news-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 0 18px 0 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1208;
  background: linear-gradient(100deg, var(--gold-light), var(--gold));
  border-radius: 0;
  /* solid opaque so scrolling text passes underneath */
  box-shadow: 8px 0 16px rgba(5, 5, 5, 0.55);
}
[data-theme="light"] .news-label {
  box-shadow: 8px 0 16px rgba(247, 244, 238, 0.9);
}
.news-track-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  /* leave space so text starts after the solid badge */
  padding-left: 88px;
}
.news-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: newsScroll 45s linear infinite;
  width: max-content;
}
.news-track:hover { animation-play-state: paused }
.news-item {
  font-size: 13.5px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.news-item a { color: var(--text); font-weight: 500 }
.news-item a:hover { color: var(--gold-light) }
.news-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex: none;
}
@keyframes newsScroll {
  from { transform: translateX(0) }
  to { transform: translateX(-50%) }
}
@media (prefers-reduced-motion: reduce) {
  .news-track { animation: none }
}

/* Hero USDT gold background */
.hero-bg-usdt {
  position: absolute;
  right: -5%;
  top: 10%;
  width: min(520px, 55vw);
  height: min(520px, 55vw);
  background: url('images/usdt-gold.jpg') center / cover no-repeat;
  opacity: 0.12;
  filter: blur(1px) saturate(1.1);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  mask-image: radial-gradient(circle, black 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 72%);
}
[data-theme="light"] .hero-bg-usdt { opacity: 0.18 }

/* Page hero visuals */
.page-visual {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  margin-bottom: 36px;
  aspect-ratio: 21/9;
  max-height: 280px;
  background: var(--ink-3);
}
.page-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visual-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 700px) {
  .visual-grid { grid-template-columns: 1fr }
}
.visual-grid .page-visual { margin-bottom: 0; aspect-ratio: 16/10; max-height: none }

.hero {
  position: relative;
  padding: 64px 0 52px;
  overflow: hidden;
  z-index: 1;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 420px at 85% -8%, rgba(201, 166, 103, 0.1), transparent 60%),
    radial-gradient(520px 360px at 5% 110%, rgba(38, 161, 123, 0.06), transparent 60%);
}
[data-theme="light"] .hero::before {
  background:
    radial-gradient(700px 420px at 85% -8%, rgba(201, 166, 103, 0.12), transparent 60%),
    radial-gradient(520px 360px at 5% 110%, rgba(38, 161, 123, 0.08), transparent 60%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr }
}
.kicker {
  font-size: 14px;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
[data-theme="light"] .kicker { color: var(--gold-deep) }
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 0 rgba(201, 166, 103, 0.55);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 166, 103, 0.55) }
  70% { box-shadow: 0 0 0 8px rgba(201, 166, 103, 0) }
  100% { box-shadow: 0 0 0 0 rgba(201, 166, 103, 0) }
}
h1.headline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 14ch;
  color: var(--text);
}
.sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px }
.trust-row {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--text-muted);
}
.trust-row div { display: flex; align-items: center; gap: 8px }
.trust-row svg { flex: none; stroke: var(--gold) }

.calc-card {
  position: relative;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(231, 211, 161, 0.4), rgba(38, 161, 123, 0.15) 50%, rgba(231, 211, 161, 0.2));
  box-shadow: var(--shadow);
}
.calc-inner {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-radius: 19px;
  padding: 28px;
  border: 1px solid var(--glass-border);
}
.calc-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.calc-head h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  margin: 0;
  color: var(--text);
}
.live-tag {
  font-size: 12px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  font-weight: 600;
  gap: 4px;
}
[data-theme="light"] .live-tag { color: var(--gold-deep) }
.usdt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(38, 161, 123, 0.12);
  border: 1px solid rgba(38, 161, 123, 0.3);
  font-size: 13px;
  font-weight: 700;
  color: var(--usdt);
  margin-bottom: 16px;
}
.usdt-badge img { width: 22px; height: 22px; border-radius: 50% }
.field-row { margin-bottom: 14px }
.field {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.15s;
}
.field:focus-within { border-color: var(--gold) }
.field label {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.field input {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
  font-family: var(--body);
  outline: none;
}
.calc-arrow {
  display: flex;
  justify-content: center;
  padding: 6px 0 12px;
  color: var(--text-dim);
}
.payout-box {
  border-radius: 14px;
  padding: 20px 16px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, rgba(201, 166, 103, 0.12), rgba(38, 161, 123, 0.06));
  border: 1px solid var(--line-strong);
}
.payout-box label {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}
.payout-value {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.payout-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.calc-cta { width: 100%; justify-content: center; margin-top: 16px }
.calc-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 14px;
  text-align: center;
}

.ticker-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ticker-track {
  display: flex;
  gap: 48px;
  padding: 14px 0;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-size: 13.5px;
  color: var(--text-muted);
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
}
.ticker-track b { color: var(--gold-light); font-weight: 700 }
[data-theme="light"] .ticker-track b { color: var(--gold-deep) }
@keyframes scroll {
  from { transform: translateX(0) }
  to { transform: translateX(-50%) }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none }
}

section { padding: 80px 0; position: relative; z-index: 1 }
.sec-head { max-width: 640px; margin-bottom: 48px }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center }
.sec-label {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sec-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 38px);
  margin: 0 0 12px;
  color: var(--text);
}
.sec-head p {
  color: var(--text-muted);
  font-size: 15.5px;
  margin: 0;
  max-width: 56ch;
}
.sec-head.center p { margin-inline: auto }

.rate-card {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}
@media (max-width: 640px) {
  .rate-card {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .rate-card .rate-change { grid-column: 1 / -1 }
}
.rate-asset {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rate-asset img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(38, 161, 123, 0.3);
}
.rate-asset b { display: block; font-size: 17px; color: var(--text) }
.rate-asset span { font-size: 13px; color: var(--text-muted) }
.rate-num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.rate-num small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}
.rate-change {
  font-weight: 700;
  font-size: 15px;
}
.rate-change.up { color: var(--usdt) }
.rate-change.down { color: #c45c5c }
.rates-foot {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 16px;
}

.process-list { display: flex; flex-direction: column }
.process-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
}
.process-item + .process-item { border-top: 1px solid var(--line) }
.process-num {
  font-family: var(--display);
  font-size: 24px;
  color: var(--gold);
  font-weight: 500;
}
.process-item h3 {
  font-size: 17px;
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--text);
}
.process-item p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
  max-width: 60ch;
}

.payout-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}
@media (max-width: 760px) {
  .payout-methods { grid-template-columns: 1fr }
}
.method-card {
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.method-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.method-card h4 { margin: 14px 0 6px; font-size: 16px; color: var(--text) }
.method-card p { margin: 0; font-size: 13.5px; color: var(--text-muted) }
.method-card svg { stroke: var(--gold) }
.method-card .cta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--gold-light);
  font-weight: 600;
}
[data-theme="light"] .method-card .cta { color: var(--gold-deep) }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card-grid.two { grid-template-columns: repeat(2, 1fr) }
@media (max-width: 860px) {
  .card-grid, .card-grid.two { grid-template-columns: 1fr }
}
.card {
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.card .tag {
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.card h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 10px;
  line-height: 1.25;
  color: var(--text);
}
.card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
  flex: 1;
}
.card .read {
  font-size: 13px;
  color: var(--gold-light);
  font-weight: 600;
}
[data-theme="light"] .card .read { color: var(--gold-deep) }

.band {
  border-radius: 20px;
  padding: 40px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}
.band h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--text);
}
.band p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15.5px;
  max-width: 60ch;
}
.band .actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap }

.fee-band {
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}
@media (max-width: 700px) {
  .fee-band { grid-template-columns: 1fr }
}
.fee-number {
  font-family: var(--display);
  font-size: 68px;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
}
[data-theme="light"] .fee-number { color: var(--gold-deep) }
.fee-band h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
}
.fee-band p {
  color: var(--text-muted);
  margin: 10px 0 0;
  font-size: 15.5px;
  max-width: 52ch;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: 1fr }
}
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--ink-3);
  position: relative;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.04) }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  font-size: 13px;
  font-weight: 600;
  color: #f6ecd8;
}

.form { display: flex; flex-direction: column; gap: 16px; max-width: 440px }
.form label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--white);
  outline: none;
  transition: border-color 0.15s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: var(--gold);
}
.form .note { font-size: 12px; color: var(--text-dim) }
.auth-providers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.btn-oauth {
  width: 100%;
  justify-content: center;
  border-radius: 12px;
  padding: 13px 18px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s, background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.btn-oauth:hover {
  border-color: var(--gold);
  background: var(--surface-strong);
}
.btn-oauth svg { width: 18px; height: 18px }
.divider-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: var(--text-dim);
  font-size: 13px;
}
.divider-or::before, .divider-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.cta-band {
  text-align: center;
  padding: 90px 0;
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 14px;
  color: var(--text);
}
.cta-band p {
  color: var(--text-muted);
  margin: 0 0 28px;
  font-size: 17px;
}
.cta-band .btn-primary { padding: 15px 32px; font-size: 15px }

.post-head {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--line);
}
.post-head .meta {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.post-head h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.12;
  margin: 0 0 16px;
  max-width: 20ch;
  color: var(--text);
}
.post-head .lede {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 58ch;
}
.post-body {
  padding: 44px 0 72px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text);
}
.post-body h2 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  margin: 44px 0 14px;
  color: var(--text);
}
.post-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 32px 0 10px;
  color: var(--text);
}
.post-body p { margin: 0 0 16px; color: var(--text-muted) }
.post-body ul, .post-body ol {
  padding-left: 22px;
  color: var(--text-muted);
}
.post-body li { margin-bottom: 8px }
.post-body a {
  color: var(--gold-light);
  border-bottom: 1px solid var(--line-strong);
}
.post-body a:hover { border-color: var(--gold) }
.post-body blockquote {
  border-left: 3px solid var(--gold);
  margin: 24px 0;
  padding: 6px 0 6px 20px;
  color: var(--text-muted);
  font-style: italic;
}
.post-cta {
  margin: 48px 0 0;
  padding: 28px;
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
  position: relative;
  z-index: 1;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr }
}
.foot-col h5 {
  font-size: 12px;
  color: var(--gold-light);
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
[data-theme="light"] .foot-col h5 { color: var(--gold-deep) }
.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
}
.foot-col a:hover { color: var(--gold-light) }
.foot-brand img { height: 40px; width: auto; margin-bottom: 12px }
.foot-brand p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  max-width: 34ch;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.foot-bottom p { font-size: 13px; color: var(--text-dim); margin: 0 }
.disclaimer {
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0.9;
  margin-top: 20px;
  max-width: 78ch;
}

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


/* Trust stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 700px) {
  .stats-row { grid-template-columns: 1fr; }
}
.stat-card {
  border-radius: 16px;
  padding: 22px 20px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  text-align: center;
}
.stat-card .num {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 6px;
}
[data-theme="light"] .stat-card .num { color: var(--gold-deep); }
.stat-card .label {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 13px;
  color: var(--text-muted);
}
.location-pill svg { flex: none; stroke: var(--gold); }
