/* ===================================================================
   Dollarisho Exchange – Design System
   Soft neo-bank: warm neutrals, banking gravitas, stable headings
   =================================================================== */
:root {
  --bg: oklch(0.985 0.005 75);
  --bg-tint: oklch(0.97 0.008 75);
  --surface: oklch(1 0 0);
  --surface-warm: oklch(0.985 0.012 78);
  --hairline: oklch(0.9 0.008 80);
  --hairline-strong: oklch(0.83 0.01 80);
  --ink: oklch(0.2 0.012 80);
  --ink-2: oklch(0.36 0.012 80);
  --ink-3: oklch(0.55 0.012 80);
  --ink-4: oklch(0.7 0.012 80);
  --accent: oklch(0.45 0.06 155);
  --accent-hover: oklch(0.4 0.07 155);
  --accent-soft: oklch(0.93 0.025 155);
  --accent-ink: oklch(0.32 0.07 155);
  --gold: oklch(0.72 0.08 75);
  --gold-soft: oklch(0.95 0.03 80);
  --danger: oklch(0.55 0.12 25);
  --danger-soft: oklch(0.95 0.025 30);
  --net-tron: oklch(0.55 0.13 25);
  --net-bnb: oklch(0.78 0.12 90);
  --net-eth: oklch(0.5 0.07 270);
  --font-serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-2xl: 32px;
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.05);
  --shadow-md: 0 1px 2px oklch(0.2 0.01 80 / 0.04), 0 4px 16px oklch(0.2 0.01 80 / 0.06);
  --shadow-lg: 0 1px 2px oklch(0.2 0.01 80 / 0.04), 0 8px 32px oklch(0.2 0.01 80 / 0.08);
  --shadow-card: 0 1px 0 oklch(1 0 0 / 0.6) inset, 0 1px 2px oklch(0.2 0.01 80 / 0.04), 0 8px 24px oklch(0.2 0.01 80 / 0.06);
}
.theme-dark {
  --bg: oklch(0.18 0.01 80); --bg-tint: oklch(0.22 0.012 80);
  --surface: oklch(0.24 0.012 80); --surface-warm: oklch(0.26 0.014 80);
  --hairline: oklch(0.32 0.012 80); --hairline-strong: oklch(0.4 0.012 80);
  --ink: oklch(0.96 0.005 80); --ink-2: oklch(0.82 0.008 80);
  --ink-3: oklch(0.65 0.01 80); --ink-4: oklch(0.5 0.01 80);
  --accent: oklch(0.78 0.1 155); --accent-hover: oklch(0.85 0.1 155);
  --accent-soft: oklch(0.32 0.04 155); --accent-ink: oklch(0.88 0.1 155);
  --gold: oklch(0.78 0.1 80); --gold-soft: oklch(0.3 0.04 80);
  --shadow-card: 0 1px 0 oklch(1 0 0 / 0.04) inset, 0 1px 2px oklch(0 0 0 / 0.3), 0 8px 24px oklch(0 0 0 / 0.3);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font-family: inherit; font-size: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum", "zero"; }

/* Typography */
.h-display { font-weight: 600; font-size: clamp(38px, 5.5vw, 68px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.h-1 { font-weight: 600; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.h-2 { font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.lead { font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; max-width: 60ch; }
.muted { color: var(--ink-3); }

/* Layout */
.app { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container-narrow { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .container, .container-narrow { padding: 0 18px; } }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: oklch(from var(--bg) l c h / 0.88); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--hairline); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.015em; color: var(--ink); cursor: pointer; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(155deg, var(--accent) 0%, oklch(0.35 0.07 155) 100%); color: oklch(0.98 0.01 155); display: grid; place-items: center; font-weight: 700; font-size: 17px; box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.15), 0 2px 4px oklch(0.2 0.01 80 / 0.1); }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 8px 11px; border-radius: var(--r-sm); transition: background 0.15s, color 0.15s; cursor: pointer; }
.nav a:hover { background: var(--bg-tint); color: var(--ink); }
.nav a.active { color: var(--ink); background: var(--bg-tint); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.mob-btn { display: none; background: none; border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: 8px 10px; cursor: pointer; color: var(--ink-2); font-size: 18px; line-height: 1; align-items: center; justify-content: center; transition: border-color 0.15s, color 0.15s; }
.mob-btn:hover { border-color: var(--accent); color: var(--accent-ink); }
.mob-nav-drawer { position: fixed; inset: 0; top: 66px; z-index: 200; background: rgba(0,0,0,0.5); }
.mob-nav-sheet { background: var(--surface); border-bottom: 1px solid var(--hairline); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.mob-nav-inner { padding: 8px 12px 4px; }
.mob-nav-inner a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); color: var(--ink-2); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.15s; }
.mob-nav-inner a:hover, .mob-nav-inner a.active { background: var(--bg-tint); color: var(--ink); }
.mob-lang-row { display: flex; gap: 6px; padding: 8px 14px; border-top: 1px solid var(--hairline); }
.mob-lang-btn { padding: 5px 12px; border-radius: var(--r-sm); border: 1px solid var(--hairline); background: transparent; font-size: 12px; font-weight: 600; color: var(--ink-3); cursor: pointer; transition: all 0.15s; }
.mob-lang-btn.active { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.mob-nav-actions { display: flex; gap: 8px; padding: 10px 14px 16px; }
/* Lang switcher */
.lang-switch { position: relative; display: inline-flex; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: var(--r-sm); background: transparent; border: 1px solid var(--hairline); font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background 0.15s; }
.lang-btn:hover { background: var(--bg-tint); }
.lang-menu { position: absolute; top: calc(100% + 6px); right: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); box-shadow: var(--shadow-md); min-width: 160px; padding: 6px; z-index: 60; animation: fade-in 0.15s ease-out; }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 10px; background: transparent; border: none; border-radius: var(--r-sm); font-size: 13px; color: var(--ink); cursor: pointer; text-align: left; }
.lang-menu button:hover { background: var(--bg-tint); }
.lang-menu button.active { color: var(--accent-ink); background: var(--accent-soft); }
/* Account button */
.btn-account { display: none; }
@media (max-width: 900px) { .nav { display: none; } .mob-btn { display: flex; } .header-actions .btn-ghost:not(.btn-account) { display: none; } .btn-account { display: none !important; } }
@media (min-width: 901px) { .btn-account { display: inline-flex; } }
@media (max-width: 500px) { .header-actions .btn-primary { display: none; } }

/* User chip */
.user-chip { display: flex; align-items: center; gap: 8px; background: var(--bg-tint); border: 1px solid var(--hairline); border-radius: 30px; padding: 4px 12px 4px 4px; cursor: pointer; transition: border-color 0.18s; }
.user-chip:hover { border-color: var(--accent); }
.user-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: white; overflow: hidden; flex-shrink: 0; }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-name { font-size: 13px; font-weight: 500; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-dropdown-wrap { position: relative; }
.user-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); width: 220px; box-shadow: var(--shadow-lg); z-index: 100; animation: fade-in 0.15s ease-out; }
.ud-header { padding: 14px 16px; border-bottom: 1px solid var(--hairline); }
.ud-name { font-size: 14px; font-weight: 600; }
.ud-email { font-size: 12px; color: var(--ink-3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; }
.ud-item { display: flex; align-items: center; gap: 10px; padding: 11px 16px; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: background 0.14s; }
.ud-item:hover { background: var(--bg-tint); color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-md); font-size: 14px; font-weight: 600; border: 1px solid transparent; transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: oklch(0.98 0.01 155); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.18), 0 1px 2px oklch(0.2 0.05 155 / 0.2); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { background: var(--bg-tint); border-color: var(--hairline-strong); }
.btn-lg { padding: 13px 22px; font-size: 15px; border-radius: var(--r-md); }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: var(--r-sm); }
.btn-block { width: 100%; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.divider { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--bg-tint); border: 1px solid var(--hairline); color: var(--ink-2); }
.pill-accent { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.pill-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px oklch(from var(--accent) l c h / 0.18); }

/* Ticker */
.ticker { display: flex; padding: 13px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--surface); overflow: hidden; white-space: nowrap; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.ticker-track { display: flex; gap: 40px; animation: ticker 40s linear infinite; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item .pos { color: var(--accent-ink); }
.ticker-item .neg { color: var(--danger); }

/* Hero */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 40% at 80% 20%, oklch(from var(--accent) l c h / 0.08), transparent 60%), radial-gradient(ellipse 40% 30% at 10% 80%, oklch(from var(--gold) l c h / 0.1), transparent 60%); z-index: 0; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: start; z-index: 1; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero-copy { padding-top: 16px; }
.accent-text { color: var(--accent); font-style: italic; font-weight: 400; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.meta-item .meta-num { font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; display: block; line-height: 1.1; }
.meta-item .meta-label { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* Section */
.section { padding: 72px 0; }
.section-tinted { background: var(--bg-tint); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; max-width: 60ch; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; align-items: center; }

/* Calculator */
.calc { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow-lg); }
.calc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.calc-title { font-weight: 600; font-size: 17px; }
.calc-rate { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.calc-rate strong { color: var(--accent-ink); font-weight: 500; }
.mode-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg-tint); border-radius: var(--r-md); padding: 4px; margin-bottom: 18px; gap: 2px; border: 1px solid var(--hairline); }
.mode-tab { padding: 10px 8px; background: transparent; border: none; border-radius: 8px; font-size: 12px; font-weight: 500; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; transition: background 0.15s, color 0.15s; text-align: center; line-height: 1.2; }
.mode-tab.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.field-label { font-size: 11px; font-weight: 500; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; padding-left: 2px; }
.field { background: var(--bg-tint); border-radius: var(--r-md); border: 1px solid var(--hairline); padding: 13px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; transition: border-color 0.15s, background 0.15s; }
.field:focus-within { border-color: var(--accent); background: var(--surface); }
.field-amount { font-family: var(--font-mono); font-size: 24px; font-weight: 500; color: var(--ink); background: transparent; border: none; outline: none; width: 100%; letter-spacing: -0.01em; }
.field-amount::placeholder { color: var(--ink-4); }
.network-select { display: flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 8px 10px 8px 8px; font-size: 12px; font-weight: 500; color: var(--ink); cursor: pointer; transition: border-color 0.15s; white-space: nowrap; }
.network-select:hover { border-color: var(--hairline-strong); }
.network-icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: white; font-size: 10px; font-weight: 700; font-family: var(--font-mono); flex-shrink: 0; }
.network-icon.tron { background: var(--net-tron); }
.network-icon.bnb { background: var(--net-bnb); color: oklch(0.25 0.03 80); }
.network-icon.eth { background: var(--net-eth); }
.calc-arrow { display: flex; justify-content: center; margin: 6px 0; }
.calc-arrow-btn { width: 32px; height: 32px; border-radius: 10px; background: var(--surface); border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--ink-2); cursor: default; }
.calc-summary { margin-top: 14px; padding: 13px 15px; background: var(--accent-soft); border-radius: var(--r-md); display: grid; gap: 7px; }
.calc-summary-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--accent-ink); }
.calc-summary-row strong { font-family: var(--font-mono); font-weight: 500; }
.calc-summary-row.total { font-size: 14px; padding-top: 8px; border-top: 1px solid oklch(from var(--accent) l c h / 0.2); font-weight: 600; }
.calc-cta { margin-top: 18px; }
.calc-trust { margin-top: 14px; display: flex; justify-content: center; gap: 14px; font-size: 11px; color: var(--ink-3); flex-wrap: wrap; }
.calc-trust span { display: inline-flex; align-items: center; gap: 4px; }
.net-dropdown { position: absolute; top: calc(100% + 6px); right: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); box-shadow: var(--shadow-md); min-width: 210px; padding: 6px; z-index: 30; }
.net-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; background: transparent; border: none; border-radius: var(--r-sm); text-align: left; cursor: pointer; color: var(--ink); transition: background 0.14s; }
.net-option:hover, .net-option.active { background: var(--bg-tint); }
.net-option.active { color: var(--accent-ink); background: var(--accent-soft); }

/* PayPal payment-type segmented switch */
.payas-block { margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.payas-label { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.payas-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-tint); border: 1px solid var(--hairline); border-radius: 14px; padding: 4px; isolation: isolate; overflow: hidden; }
.payas-thumb { position: absolute; top: 4px; bottom: 4px; width: calc(50% - 4px); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--hairline); transition: transform 280ms cubic-bezier(.32,.72,.36,1.02), background 200ms; z-index: 0; }
.payas-thumb[data-pos="ff"] { transform: translateX(0); }
.payas-thumb[data-pos="svc"] { transform: translateX(100%); background: oklch(0.97 0.03 80); border-color: var(--gold); }
.payas-opt { position: relative; z-index: 1; background: transparent; border: 0; cursor: pointer; padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start; text-align: left; border-radius: 10px; color: var(--ink-3); transition: color 180ms; min-height: 64px; }
.payas-opt.active { color: var(--ink); }
.payas-ic { flex: 0 0 26px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--bg-tint); border: 1px solid var(--hairline); color: var(--ink-3); margin-top: 1px; transition: background 180ms, color 180ms, border-color 180ms; }
.payas-opt.active .payas-ic { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.payas-opt:last-child.active .payas-ic { background: var(--gold-soft); color: var(--gold); border-color: transparent; }
.payas-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.payas-title { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.payas-sub { font-size: 11.5px; line-height: 1.35; color: var(--ink-3); }
.payas-warn { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--gold-soft); border: 1px solid oklch(0.88 0.05 80); border-radius: 10px; font-size: 12.5px; line-height: 1.45; color: oklch(0.4 0.06 75); }
.payas-warn svg { flex: 0 0 14px; margin-top: 2px; color: var(--gold); }
.fade-in { animation: payas-fade 240ms ease-out; }
@keyframes payas-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* Network badges */
.networks-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .networks-row { grid-template-columns: 1fr; } }
.network-card { display: flex; align-items: center; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); }
.network-card .network-icon { width: 40px; height: 40px; font-size: 13px; }
.net-name { font-weight: 600; font-size: 17px; color: var(--ink); }
.net-meta { font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); margin-top: 2px; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { padding: 22px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); }
.step-num { font-style: italic; color: var(--accent); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 10px; }
.step-title { font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.step-body { font-size: 13px; color: var(--ink-2); line-height: 1.55; }

/* Stats */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl); overflow: hidden; }
.stat { padding: 26px 22px; border-right: 1px solid var(--hairline); }
.stat:last-child { border-right: none; }
.stat .num { font-size: 34px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.stat .label { margin-top: 5px; font-size: 12px; color: var(--ink-3); }
.stat .delta { margin-top: 7px; font-size: 11px; color: var(--accent-ink); font-family: var(--font-mono); }
@media (max-width: 700px) { .stats-band { grid-template-columns: repeat(2, 1fr); } .stat { border-right: none; border-bottom: 1px solid var(--hairline); } .stat:nth-last-child(-n+2) { border-bottom: none; } }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.testimonial blockquote { font-size: 18px; line-height: 1.45; color: var(--ink); margin: 0; letter-spacing: -0.005em; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-soft), var(--gold-soft)); display: grid; place-items: center; font-weight: 600; color: var(--accent-ink); font-size: 13px; }
.who-meta strong { display: block; color: var(--ink); font-weight: 600; font-size: 13px; }
.who-meta span { color: var(--ink-3); font-size: 12px; }
.stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 19px 4px; background: transparent; border: none; text-align: left; font-weight: 600; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; cursor: pointer; }
.faq-q:hover { color: var(--accent-ink); }
.faq-toggle { color: var(--ink-3); transition: transform 0.2s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a { font-size: 14px; color: var(--ink-2); line-height: 1.6; padding: 0 4px 20px; max-width: 70ch; }

/* Footer */
.footer { margin-top: auto; padding: 52px 0 28px; border-top: 1px solid var(--hairline); background: var(--bg-tint); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 36px; margin-bottom: 36px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { font-size: 13px; color: var(--ink-2); cursor: pointer; }
.footer ul a:hover { color: var(--accent-ink); }
.footer-bottom { padding-top: 22px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ink-3); }

/* Long-form content */
.long-form { max-width: 740px; margin: 0 auto; padding: 52px 0; }
.long-form h1 { margin: 0 0 16px; }
.long-form .lead { margin-bottom: 28px; }
.long-form h2 { font-weight: 600; font-size: 22px; margin: 36px 0 12px; letter-spacing: -0.015em; color: var(--ink); }
.long-form h3 { font-weight: 600; font-size: 18px; margin: 24px 0 8px; color: var(--ink); }
.long-form p { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin: 0 0 12px; }
.long-form ul, .long-form ol { padding-left: 22px; margin: 0 0 14px; }
.long-form li { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin-bottom: 5px; }

/* AUTH MODAL */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.6); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-box { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl); width: 440px; max-width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: fade-in 0.2s ease-out; }
.modal-head { padding: 20px 24px 16px; border-bottom: 1px solid var(--hairline); display: flex; align-items: center; justify-content: space-between; }
.modal-head h3 { font-size: 18px; font-weight: 700; margin: 0; }
.close-btn { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-tint); border: none; cursor: pointer; color: var(--ink-2); font-size: 16px; display: flex; align-items: center; justify-content: center; }
.close-btn:hover { background: var(--bg); color: var(--ink); }
.auth-tabs { display: flex; border-bottom: 1px solid var(--hairline); }
.auth-tab { flex: 1; padding: 13px; text-align: center; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink-3); border-bottom: 2px solid transparent; transition: all 0.18s; border: none; background: transparent; }
.auth-tab.active { color: var(--accent-ink); border-bottom-color: var(--accent); }
.auth-body { padding: 22px 24px; }
.field-group { margin-bottom: 14px; }
.field-group label { display: block; font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; margin-bottom: 6px; }
.field-group input { width: 100%; background: var(--bg-tint); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 11px 14px; color: var(--ink); font-size: 14px; outline: none; transition: border-color 0.2s; }
.field-group input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--ink-3); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--hairline); }
.auth-err { color: var(--danger); font-size: 12px; margin-top: 8px; padding: 8px 12px; background: var(--danger-soft); border-radius: var(--r-sm); }
.auth-switch { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.auth-switch a { color: var(--accent-ink); cursor: pointer; font-weight: 500; }
.btn-google { background: var(--surface); color: var(--ink); border: 1px solid var(--hairline); font-weight: 500; width: 100%; padding: 11px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; cursor: pointer; transition: all 0.18s; }
.btn-google:hover { border-color: var(--hairline-strong); background: var(--bg-tint); }

/* ORDER OVERLAY */
.order-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.82); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.order-box { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl); width: 520px; max-width: 100%; max-height: 94vh; overflow-y: auto; box-shadow: 0 40px 100px rgba(0,0,0,.5); animation: slide-up 0.25s cubic-bezier(.22,1,.36,1); }
@media (max-width: 540px) { .order-overlay { padding: 0; align-items: flex-end; } .order-box { width: 100%; border-radius: var(--r-xl) var(--r-xl) 0 0; max-height: 94vh; } }
.ob-head { padding: 20px 24px 16px; border-bottom: 1px solid var(--hairline); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--surface); z-index: 1; }
.ob-head h2 { font-size: 18px; font-weight: 700; margin: 0; }
.ob-body { padding: 20px 24px 28px; }
.step-dots { display: flex; gap: 6px; align-items: center; padding: 14px 24px; }
.sd { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; background: var(--bg-tint); color: var(--ink-3); border: 1px solid var(--hairline); transition: all 0.3s; }
.sd.active { background: var(--accent); color: white; border-color: var(--accent); }
.sd.done { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent); }
.sd-line { flex: 1; height: 1px; background: var(--hairline); }
.sum-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 13px; }
.sum-row:last-of-type { border-bottom: none; }
.sum-lbl { color: var(--ink-3); }
.sum-val { font-weight: 600; }
.order-input { margin-bottom: 14px; }
.order-input label { display: block; font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; margin-bottom: 6px; }
.order-input input { width: 100%; background: var(--bg-tint); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 11px 14px; color: var(--ink); font-size: 14px; outline: none; font-family: inherit; transition: border-color 0.2s; }
.order-input input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.order-input input[readonly] { background: var(--bg-tint); font-family: var(--font-mono); font-size: 12px; cursor: text; }
.aml-notice { background: oklch(0.94 0.02 240 / 0.5); border: 1px solid oklch(0.82 0.05 240); border-radius: var(--r-md); padding: 12px 15px; font-size: 13px; color: oklch(0.4 0.08 240); line-height: 1.5; margin-bottom: 14px; }
.order-id-box { background: var(--bg-tint); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 18px; text-align: center; margin: 14px 0; }
.oid-label { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 5px; }
.oid-val { font-size: 22px; font-weight: 800; color: var(--accent-ink); letter-spacing: 0.04em; font-family: var(--font-mono); }

/* Timeline */
.timeline { margin: 14px 0; }
.tl-item { display: flex; gap: 10px; padding-bottom: 14px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 9px; top: 20px; bottom: 0; width: 1px; background: var(--hairline); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; background: var(--bg-tint); border: 1px solid var(--hairline); color: var(--ink-3); }
.tl-dot.done { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.tl-dot.active { background: var(--accent); border-color: var(--accent); color: white; }
.tl-c h4 { font-size: 13px; font-weight: 600; margin: 0 0 2px; }
.tl-c p { font-size: 11px; color: var(--ink-3); margin: 0; }

/* Stepper (flow) */
.stepper { display: flex; align-items: center; gap: 6px; margin-bottom: 28px; flex-wrap: wrap; }
.stepper-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }
.stepper-num { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-tint); border: 1px solid var(--hairline); font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
.stepper-item.active { color: var(--ink); }
.stepper-item.active .stepper-num { background: var(--accent); border-color: var(--accent); color: white; }
.stepper-item.done .stepper-num { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.stepper-bar { height: 1px; width: 24px; background: var(--hairline); }

/* Orders Page */
.orders-table { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: auto; }
.orders-table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.orders-table th, .orders-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--hairline); font-size: 13px; }
.orders-table th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 500; background: var(--bg-tint); }
.orders-table tr:last-child td { border-bottom: none; }
.orders-table tr:hover td { background: rgba(0,0,0,.01); }
.status-pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.status-pill.pending { background: var(--gold-soft); color: oklch(0.42 0.08 75); }
.status-pill.detected, .status-pill.aml_check { background: oklch(0.94 0.02 240); color: oklch(0.4 0.08 240); }
.status-pill.processing { background: oklch(0.94 0.04 280); color: oklch(0.4 0.1 270); }
.status-pill.completed { background: var(--accent-soft); color: var(--accent-ink); }
.status-pill.cancelled, .status-pill.failed { background: var(--danger-soft); color: var(--danger); }
.mo-empty { text-align: center; padding: 56px 20px; color: var(--ink-3); font-size: 14px; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.blog-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; cursor: pointer; transition: all 0.25s cubic-bezier(.22,1,.36,1); }
.blog-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 36px oklch(0.2 0.01 80 / 0.1); }
.blog-card-img { width: 100%; height: 170px; object-fit: cover; background: var(--bg-tint); display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-size: 28px; }
.blog-card-body { padding: 18px; }
.blog-cat-badge { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-ink); background: var(--accent-soft); border-radius: 20px; padding: 2px 9px; margin-bottom: 8px; }
.blog-card-title { font-size: 17px; font-weight: 600; line-height: 1.3; margin-bottom: 7px; color: var(--ink); letter-spacing: -0.01em; }
.blog-card-excerpt { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--ink-3); }
.blog-post-back { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 13px; cursor: pointer; margin-bottom: 24px; transition: color 0.15s; }
.blog-post-back:hover { color: var(--accent-ink); }
.blog-post-title { font-size: clamp(26px, 4vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 14px; }
.blog-post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); margin-bottom: 28px; }
.blog-post-body { font-size: 15.5px; color: var(--ink-2); line-height: 1.85; }
.blog-post-body h2 { font-size: clamp(19px, 2.5vw, 26px); font-weight: 700; color: var(--ink); margin: 32px 0 12px; letter-spacing: -0.02em; }
.blog-post-body p { margin-bottom: 16px; }
.blog-post-body ul, .blog-post-body ol { padding-left: 22px; margin-bottom: 16px; }
.blog-post-body li { margin-bottom: 6px; }
.blog-post-body strong { color: var(--ink); font-weight: 600; }
.blog-post-body blockquote { border-left: 3px solid var(--accent); padding: 12px 18px; margin: 18px 0; background: var(--accent-soft); border-radius: 0 8px 8px 0; font-style: italic; color: var(--ink); }

/* Toast */
.toast-item { background: var(--surface); border-radius: var(--r-md); padding: 14px 18px; min-width: 260px; max-width: 360px; box-shadow: var(--shadow-lg); animation: slide-up 0.2s ease-out; }
.toast-success { border: 1px solid var(--accent); }
.toast-error { border: 1px solid var(--danger); }
.toast-info { border: 1px solid var(--hairline); }
.toast-title { font-weight: 700; font-size: 13px; margin-bottom: 3px; }
.toast-success .toast-title { color: var(--accent-ink); }
.toast-error .toast-title { color: var(--danger); }
.toast-msg { font-size: 12px; color: var(--ink-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 5px; }
.contact-card .ic { color: var(--accent); margin-bottom: 7px; }
.contact-card .ttl { font-weight: 600; font-size: 16px; color: var(--ink); }
.contact-card .body { font-size: 13px; color: var(--ink-3); }
.contact-card .val { font-family: var(--font-mono); font-size: 13px; color: var(--accent-ink); margin-top: 4px; }

/* Animations */
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slide-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero { padding: 40px 0 52px; }
  .section { padding: 52px 0; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
