/* Argo site. Tokens mirror the app (mobile/src/theme/tokens.js, dark palette + brand yellow). */
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url(/assets/fonts/poppins-latin-800-normal.woff2) format('woff2'); }

:root {
  --bg: #161311;
  --surface: #211c1a;
  --surface2: #2a2421;
  --line: #352e2a;
  --ink: #f5f1ec;
  --content: #d8d2ca;
  --muted: #a89e92;
  --yellow: #ffd200;
  --yellow-600: #e6bd00;
  --on-yellow: #1a1714;
  --on-yellow-soft: #4a3f00;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --bezel: #0b0908;
  --shadow: rgba(0, 0, 0, 0.75);
  color-scheme: dark;
  accent-color: var(--yellow);
  scrollbar-color: var(--line) var(--bg);
}
/* Light theme: the app's light palette (tokens.js), brand yellow unchanged */
:root[data-theme='light'] {
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface2: #f3efea;
  --line: #e7e1d9;
  --ink: #1a1714;
  --content: #4a443d;
  --muted: #807669;
  --bezel: #1a1714;
  --shadow: rgba(60, 45, 20, 0.28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--content);
  font: 400 1.0625rem/1.65 Poppins, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--yellow); color: var(--on-yellow); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: color-mix(in srgb, var(--yellow-600) 80%, transparent); }
a:hover { text-decoration-color: var(--yellow); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--on-yellow); padding: 10px 14px; border-radius: 10px; font-weight: 600; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease-out); }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.top nav a { text-decoration: none; color: var(--content); font-weight: 500; font-size: 0.95rem; padding: 8px 12px; border-radius: 10px; transition: color 150ms var(--ease-out), background-color 150ms var(--ease-out); }
.top nav a:hover { color: var(--ink); background: var(--surface); }
.top nav a.lang { margin-left: 6px; border: 1px solid var(--line); font-weight: 600; letter-spacing: 0.02em; }
.theme { margin-left: 2px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: none; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color 150ms var(--ease-out); }
.theme:hover { background: var(--surface); }
.theme svg { width: 20px; height: 20px; }
.theme .i-moon, :root[data-theme='light'] .theme .i-sun { display: none; }
:root[data-theme='light'] .theme .i-moon { display: block; }
@media (max-width: 720px) { .top nav a:not(.lang):not(.nav-dl) { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: var(--yellow); color: var(--on-yellow); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--yellow) 70%, transparent); }
.btn-primary:hover { background: var(--yellow-600); }
.btn-primary .meta { display: block; font-size: 0.78rem; font-weight: 500; color: var(--on-yellow-soft); margin-top: -2px; }
.btn-primary .lbl { display: flex; flex-direction: column; line-height: 1.25; }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface); }
.nav-dl { background: var(--yellow) !important; color: var(--on-yellow) !important; font-weight: 600 !important; }

/* ---------- phones ---------- */
.phone { position: relative; width: min(100%, 320px); border-radius: 46px; padding: 10px; background: var(--bezel); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 60%, transparent), 0 40px 80px -30px var(--shadow), 0 12px 24px -12px var(--shadow); }

/* Scroll reveal: a phone slides in from the side it sits on, once. Hidden only when JS runs. */
.reveal { display: grid; place-items: center; width: 100%; }
.reveal.text { display: block; }
.js .reveal { opacity: 0; transform: translateX(var(--shift, 0)); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--delay, 0ms); }
.js .reveal[data-from='right'] { --shift: 64px; }
.js .reveal[data-from='left'] { --shift: -64px; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity 300ms ease; }
}
.phone img { border-radius: 36px; width: 100%; aspect-ratio: 9 / 20; object-fit: cover; object-position: top; background: var(--surface); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 112px); overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 6.2vw, 5.4rem); letter-spacing: -0.04em; line-height: 1.02; }
.hero .lead { margin-top: 24px; font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 34ch; color: var(--content); }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.facts { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--yellow); }
.stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.mark { position: absolute; width: clamp(400px, 46vw, 620px); aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-82%, -52%); pointer-events: none; }
.mark .pen { fill: none; stroke: var(--yellow); stroke-width: 60; stroke-linejoin: miter; stroke-miterlimit: 4; stroke-linecap: butt; }
.mark .p1 { stroke-dasharray: var(--l1) var(--l1); stroke-dashoffset: var(--l1); animation: draw 1100ms cubic-bezier(0.4, 0, 0.2, 1) 250ms forwards; }
.mark .p2 { stroke-dasharray: var(--l2) var(--l2); stroke-dashoffset: var(--l2); animation: draw 800ms cubic-bezier(0.4, 0, 0.2, 1) 250ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.stage .phone { position: relative; width: min(100%, 300px); transform: translateX(34%) rotate(4deg); }
@media (prefers-reduced-motion: reduce) { .mark .p1, .mark .p2 { animation: none; stroke-dashoffset: 0; } }

/* ---------- money band ---------- */
.money { position: relative; background: var(--yellow); color: var(--on-yellow); overflow: hidden; padding: clamp(64px, 9vw, 120px) 0; }
.money h2 { color: var(--on-yellow); font-size: clamp(2.2rem, 4.8vw, 4rem); max-width: 16ch; }
.money .lead { margin-top: 20px; max-width: 52ch; color: var(--on-yellow-soft); font-size: 1.12rem; }
/* The registry's currency signs drifting in three rows (right, left, right) behind the band */
.money { min-height: 100svh; display: flex; align-items: center; padding-block: clamp(40px, 7vh, 88px); }
.signs { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-around; padding: 4vh 0; opacity: 0.09; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.sign-row { overflow: hidden; }
.sign-track { display: flex; gap: clamp(36px, 5vw, 72px); width: max-content; padding-right: clamp(36px, 5vw, 72px); will-change: transform; }
.sign-track img { width: clamp(44px, 5vw, 68px); height: clamp(44px, 5vw, 68px); object-fit: contain; flex: none; }
.to-left .sign-track { animation: drift-left 90s linear infinite; }
.to-right .sign-track { animation: drift-right 80s linear infinite; }
.sign-row:last-child .sign-track { animation-duration: 100s; }
@keyframes drift-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes drift-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .sign-track { animation: none !important; } }
.money .wrap { position: relative; z-index: 1; width: 100%; }

/* Region pager: one region per page, the section stays one screen tall */
.pager { margin-top: clamp(28px, 4vh, 44px); }
.pager-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--on-yellow); background: none; border: 1.5px solid color-mix(in srgb, var(--on-yellow) 28%, transparent); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out); }
.tab[aria-current='true'] { background: var(--on-yellow); color: var(--yellow); border-color: var(--on-yellow); }
.arrows { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.count { font-weight: 600; color: var(--on-yellow); font-variant-numeric: tabular-nums; margin-right: 6px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--on-yellow); color: var(--yellow); display: grid; place-items: center; cursor: pointer; transition: transform 140ms var(--ease-out), opacity 160ms var(--ease-out); }
.arrow svg { width: 22px; height: 22px; }
.arrow:active { transform: scale(0.94); }
.arrow:disabled { opacity: 0.28; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .tab:hover:not([aria-current='true']) { border-color: var(--on-yellow); }
  .arrow:hover:not(:disabled) { transform: scale(1.06); }
}
.js .arrows { display: flex; }
html:not(.js) .arrows, html:not(.js) .tabs { display: none; }
.track { margin-top: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 4px; }
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline-offset: 6px; }
.page { scroll-snap-align: start; scroll-snap-stop: always; min-width: 0; }
.page h3 { color: var(--on-yellow); font-size: clamp(1.3rem, 2vw, 1.6rem); padding-bottom: 12px; border-bottom: 2px solid var(--on-yellow); display: flex; align-items: baseline; gap: 10px; }
.page h3 span { font-size: 0.95rem; font-weight: 600; opacity: 0.6; }
.page ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); }
.page li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid color-mix(in srgb, var(--on-yellow) 16%, transparent); min-width: 0; }
.page img { width: 24px; height: 24px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--on-yellow) 14%, transparent); }
.page .c { min-width: 0; color: var(--on-yellow); font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page .a { margin-left: auto; padding-left: 10px; font-weight: 700; color: var(--on-yellow); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 1080px) { .page ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .money h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .money .lead { font-size: 0.98rem; margin-top: 14px; }
  .money .lead .more { display: none; }
  .pager { margin-top: 22px; }
  .track { margin-top: 14px; }
  .page h3 { font-size: 1.2rem; padding-bottom: 8px; }
  .pager-bar { flex-wrap: nowrap; gap: 10px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; }
  .count { display: none; }
  .arrow { width: 42px; height: 42px; }
  .page ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page ul { column-gap: 16px; }
  .page li { flex-wrap: wrap; gap: 0 8px; padding: 6px 0; line-height: 1.3; }
  .page img { width: 18px; height: 18px; }
  .page .c { flex: 1; font-size: 0.82rem; }
  .page .a { margin-left: 26px; padding-left: 0; font-size: 0.86rem; width: 100%; }
}

/* ---------- feature rows ---------- */
.features { padding: clamp(72px, 10vw, 140px) 0 0; overflow-x: clip; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-bottom: clamp(72px, 10vw, 136px); }
.row .shot { display: grid; place-items: center; }
.row:nth-child(even) .shot { order: -1; }
.row h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); max-width: 15ch; }
.row p { margin-top: 20px; max-width: 46ch; font-size: 1.1rem; }
.points { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.points li { display: flex; gap: 14px; align-items: baseline; color: var(--ink); font-weight: 500; }
.points li::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--yellow); transform: translateY(-1px); }

.pair { padding: clamp(64px, 9vw, 120px) 0; background: var(--surface); border-block: 1px solid var(--line); overflow-x: clip; }
.pair .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.pair h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); max-width: 13ch; }
.pair p { margin-top: 20px; max-width: 40ch; font-size: 1.1rem; }
.duo { display: flex; gap: clamp(16px, 3vw, 32px); justify-content: center; }
.duo > .reveal { width: min(48%, 290px); }
.duo .phone { width: 100%; }
.duo > .reveal:last-child .phone { transform: translateY(48px); }

/* ---------- privacy band ---------- */
.private { padding: clamp(72px, 10vw, 140px) 0; }
.private h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); max-width: 14ch; }
.trio { margin: 56px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.trio li { padding-top: 0; }
.trio svg { width: 30px; height: 30px; color: var(--yellow); }
.trio h3 { margin-top: 18px; font-size: 1.3rem; letter-spacing: -0.02em; }
.trio p { margin-top: 10px; font-size: 1rem; color: var(--content); }
.private .more { margin-top: 48px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

/* ---------- download ---------- */
.download { padding: clamp(72px, 10vw, 120px) 0; background: var(--surface); border-top: 1px solid var(--line); }
.download h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); }
.platforms { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(20px, 3vw, 32px); }
.platform { border-radius: 28px; padding: clamp(28px, 4vw, 44px); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 20px; }
.platform.main { background: var(--yellow); color: var(--on-yellow-soft); box-shadow: none; }
.platform.main h3 { color: var(--on-yellow); }
.platform h3 { font-size: 1.9rem; }
.platform p { max-width: 44ch; }
.platform .btn { align-self: flex-start; }
.platform.main .btn-primary { background: var(--on-yellow); color: var(--yellow); box-shadow: none; }
.platform.main .btn-primary:hover { background: #2e2a25; }
:root[data-theme='light'] .platform:not(.main) { background: var(--bg); }
.platform.main .btn-primary .meta { color: color-mix(in srgb, var(--yellow) 70%, var(--on-yellow)); }
.steps { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; color: var(--on-yellow); font-weight: 500; }
.steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--on-yellow); color: var(--yellow); font-weight: 700; font-size: 0.85rem; transform: translateY(4px); }
.download .note { margin-top: 24px; color: var(--muted); font-size: 0.95rem; }

/* ---------- faq ---------- */
.faq { padding: clamp(72px, 10vw, 120px) 0; }
.faq h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.faq .list { margin-top: 40px; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; color: var(--ink); font-weight: 600; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 22px; height: 22px; color: var(--yellow); transition: transform 200ms var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; max-width: 64ch; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 0.95rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.foot .brand { font-size: 1.05rem; }
.foot .brand img { width: 28px; height: 28px; border-radius: 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.foot nav a { color: var(--content); }

/* ---------- privacy page ---------- */
.doc { padding: clamp(40px, 7vw, 88px) 0 clamp(72px, 9vw, 120px); }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.doc .updated { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.doc .intro { margin-top: 28px; font-size: 1.15rem; color: var(--ink); }
.doc section { margin-top: 48px; }
.doc h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.doc ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.doc li { position: relative; padding-left: 22px; }
.doc li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); }
.doc .end { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero .wrap, .row, .pair .wrap, .platforms { grid-template-columns: 1fr; }
  .stage { min-height: 520px; margin-top: 8px; }
  .mark { width: min(104vw, 520px); transform: translate(-80%, -52%); }
  .stage .phone { transform: translateX(26%) rotate(4deg); width: min(64vw, 280px); }
  .row:nth-child(even) .shot { order: 0; }
  .row .shot .phone { width: min(76vw, 300px); }
  .trio { grid-template-columns: 1fr; }
  .duo > .reveal:last-child .phone { transform: translateY(32px); }
}
@media (max-width: 480px) {
  .actions .btn { width: 100%; justify-content: center; }
}
