/* ==========================================================================
   NodeGate design tokens. The single source for colour, type, space and shape.
   Light theme only. Components use ONLY these variables: never a raw hex,
   px font size or one-off spacing.
   ========================================================================== */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Colour: surfaces and ink ---- */
  --bg: #ffffff;            /* page */
  --bg-tint: #f4f7fd;       /* alternate sections (soft blue-grey) */
  --surface: #ffffff;       /* cards, header */
  --sunken: #f1f4f9;        /* inputs, code, wells */
  --hover: #eef2f8;
  --line: #e2e7ef;          /* borders */
  --line-soft: #edf1f6;
  --line-strong: #cdd5e1;
  --ink: #161a21;           /* headings, body; also dark bands */
  --ink-2: #3b4452;         /* secondary text */
  --muted: #667085;         /* hints, captions (4.9:1 on white) */
  --faint: #98a2b3;         /* decorative only, never body text */

  /* ---- Colour: brand ---- */
  --brand: #2a63f0;         /* primary actions, links: 5.1:1 on white, 4.7:1 on --bg-tint (WCAG AA) */
  --brand-hover: #1f52d6;
  --brand-ink: #ffffff;
  --brand-soft: #e8efff;    /* tinted backgrounds */
  --sky: #6aaeff;           /* light accent, illustrations */
  --lime: #d4f56a;          /* highlight marker */
  --lime-ink: #2f3d05;
  --rose: #ff9db5;          /* highlight marker, illustrations */
  --rose-ink: #5c0f24;
  --primary: var(--brand);  /* alias used by components */
  --primary-hover: var(--brand-hover);
  --primary-ink: var(--brand-ink);
  --link: var(--brand);
  --ring: rgba(42, 99, 240, .22);

  /* ---- Colour: status (always with an icon or label, never colour alone) ---- */
  --success: #12804a; --success-bg: #ecfbf2; --success-line: #b5ebcb;
  --warn: #a15c07;    --warn-bg: #fff8e6;    --warn-line: #fbe2a2;
  --danger: #c4253a;  --danger-bg: #fff0f2;  --danger-line: #fbc6cf;
  --info: #2a63f0;    --info-bg: #eef3ff;    --info-line: #c9d8ff;

  /* ---- Colour: dark tiles (bento) ---- */
  --night: #15171c;
  --night-2: #23262d;
  --night-line: #2f333b;
  --night-ink: #f3f4f7;
  --night-muted: #a3a8b3;

  /* ---- Colour: networks (small dots and marks only) ---- */
  --tron: #e2483d;
  --bsc: #e0a106;

  /* ---- Type ---- */
  --font: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Display face for big statement headlines only. */
  --font-display: "Plus Jakarta Sans", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --text-5xl: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);      /* 44 → 88 statement headlines */
  --text-6xl: clamp(3.25rem, 1.6rem + 7vw, 7.5rem);      /* 52 → 120 hero */
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --text-xs: .8125rem;   /* 13 */
  --text-sm: .9375rem;   /* 15 */
  --text-base: 1.0625rem;/* 17 */
  --text-lg: 1.25rem;    /* 20 */
  --text-xl: 1.375rem;   /* 22 */
  --text-2xl: 1.75rem;   /* 28 */
  --text-3xl: clamp(2rem, 1.4rem + 2.2vw, 2.75rem);      /* 32 → 44 */
  --text-4xl: clamp(2.5rem, 1.6rem + 3.8vw, 4rem);       /* 40 → 64 */
  --leading-tight: 1.08;
  --leading-snug: 1.25;
  --leading-normal: 1.6;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;
  --tracking-tight: -.02em;
  --tracking-snug: -.01em;

  /* ---- Space: a 4px scale. Use only these steps. ---- */
  --space-1: .25rem;  /* 4 */
  --space-2: .5rem;   /* 8 */
  --space-3: .75rem;  /* 12 */
  --space-4: 1rem;    /* 16 */
  --space-5: 1.25rem; /* 20 */
  --space-6: 1.5rem;  /* 24 */
  --space-8: 2rem;    /* 32 */
  --space-10: 2.5rem; /* 40 */
  --space-12: 3rem;   /* 48 */
  --space-16: 4rem;   /* 64 */
  --space-24: 6rem;   /* 96 */
  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);          /* 72 → 128 between page sections */

  /* ---- Shape ---- */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(22, 26, 33, .06);
  --shadow-md: 0 2px 4px rgba(22, 26, 33, .04), 0 12px 32px -12px rgba(31, 60, 140, .18);
  --shadow-lg: 0 4px 10px rgba(22, 26, 33, .05), 0 32px 64px -24px rgba(31, 60, 140, .28);

  /* ---- Layout ---- */
  --container: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2rem);            /* 16 → 32 page side padding */
  --header-h: 72px;
  --control-h: 48px;       /* touch-friendly default */
  --control-h-sm: 40px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: 180ms;
  --dur-slow: 700ms;

  color-scheme: light;
}

/* ==========================================================================
   Base: reset and element defaults. No classes here except utilities at the end.
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--space-4)); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: var(--weight-regular) var(--text-base) / var(--leading-normal) var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: var(--weight-bold); letter-spacing: var(--tracking-snug); line-height: var(--leading-snug); text-wrap: balance; }
h1 { font-size: var(--text-4xl); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--text-3xl); letter-spacing: var(--tracking-tight); line-height: 1.2; }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-base); }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code, kbd, pre, samp { font-family: var(--mono); font-size: .9em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--radius-sm); }
[hidden] { display: none !important; }

.icon { width: 1.125em; height: 1.125em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Utilities (kept deliberately small) ---- */
.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; }
.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 100; padding: var(--space-2) var(--space-4); background: var(--primary); color: var(--primary-ink); border-radius: var(--radius); font-weight: var(--weight-semibold); }
.skip-link:focus { top: var(--space-4); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.tabular { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.h3 { font-size: var(--text-lg); }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ==========================================================================
   Layout primitives: containers, sections, stacks and grids.
   ========================================================================== */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-tint); }
.section--tight { padding-block: var(--space-12); }

/* Section heading block: eyebrow, title, lead. */
.section-head { display: grid; gap: var(--space-4); max-width: 640px; margin-bottom: var(--space-12); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.eyebrow { font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--brand); letter-spacing: .06em; text-transform: uppercase; }
.lead { font-size: var(--text-lg); color: var(--ink-2); line-height: var(--leading-normal); }

.stack { display: grid; gap: var(--space-4); align-content: start; }
.stack > .badge, .stack > .pill, .stack > .btn { justify-self: start; }
.stack > .section-head { margin-bottom: 0; }
.stack--sm { gap: var(--space-2); }
.stack--lg { gap: var(--space-6); }
.stack--xl { gap: var(--space-8); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.cluster--between { justify-content: space-between; }
.cluster--center { justify-content: center; }

.grid { display: grid; gap: var(--space-6); }
/* Fixed column counts per breakpoint, so a row never ends with an odd orphan. */
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Two columns from 960px; stacked below. */
.split { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
  .split--wide-left { grid-template-columns: 1.1fr .9fr; }
  .split--top { align-items: start; }
}

/* ==========================================================================
   Components. Each block is self-contained; see /styleguide for live examples.
   ========================================================================== */

/* ---- Logo ---- */
.logo { display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; font-weight: var(--weight-bold); font-size: var(--text-lg); letter-spacing: var(--tracking-snug); color: var(--ink); }
.logo__mark { width: 28px; height: 28px; border-radius: 8px; background: var(--primary); color: var(--primary-ink); display: grid; place-items: center; }
.logo__mark svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.25; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: var(--control-h); padding: 0 var(--space-5); border-radius: var(--radius); border: 1px solid transparent;
  font-size: var(--text-sm); font-weight: var(--weight-bold); line-height: 1; white-space: nowrap; text-decoration: none;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn .icon { width: 16px; height: 16px; }
.btn--primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 20px -10px rgba(42, 99, 240, .7); }
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(42, 99, 240, .75); }
.btn--outline { background: var(--surface); color: var(--brand); border: 1.5px solid var(--brand); }
.btn--outline:hover { background: var(--brand-soft); transform: translateY(-1px); }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn--secondary:hover { background: var(--hover); }
.btn--ghost { background: transparent; color: var(--ink-2); }
.btn--ghost:hover { background: var(--hover); color: var(--ink); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { filter: brightness(.95); }
.btn--sm { height: var(--control-h-sm); padding: 0 var(--space-3); font-size: var(--text-sm); }
.btn--lg { height: 56px; padding: 0 var(--space-8); font-size: var(--text-base); border-radius: var(--radius); }
.btn--block { width: 100%; }
.btn--icon { width: var(--control-h); padding: 0; }
.btn--icon.btn--sm { width: var(--control-h-sm); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* Text link with arrow */
.link { display: inline-flex; align-items: center; gap: var(--space-1); color: var(--ink); font-weight: var(--weight-semibold); font-size: var(--text-sm); text-decoration: none; }
.link:hover { text-decoration: underline; }
.link .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link:hover .icon { transform: translateX(2px); }
.text-link { color: var(--link); font-weight: var(--weight-medium); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---- Avatar ---- */
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: var(--weight-bold); font-size: var(--text-sm); flex: none; }

/* ---- Badges and pills ---- */
.badge { display: inline-flex; align-items: center; gap: var(--space-1); height: 24px; padding: 0 var(--space-2); border-radius: var(--radius-full); border: 1px solid var(--line); background: var(--sunken); color: var(--ink-2); font-size: var(--text-xs); font-weight: var(--weight-semibold); white-space: nowrap; }
.badge .icon { width: 14px; height: 14px; }
.badge--success { background: var(--success-bg); border-color: var(--success-line); color: var(--success); }
.badge--warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn); }
.badge--danger { background: var(--danger-bg); border-color: var(--danger-line); color: var(--danger); }
.badge--info { background: var(--info-bg); border-color: var(--info-line); color: var(--info); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.dot--tron { background: var(--tron); }
.dot--bsc { background: var(--bsc); }

.pill { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-3) var(--space-1) var(--space-2); border-radius: var(--radius-full); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: var(--text-sm); font-weight: var(--weight-medium); box-shadow: var(--shadow-sm); }

/* ---- Cards ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.card__body { padding: var(--space-6); }
.card__header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--line); }
.card__header h2, .card__header h3 { font-size: var(--text-base); }
.card__footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); padding: var(--space-4) var(--space-6); border-top: 1px solid var(--line); background: var(--sunken); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
a.card { color: inherit; text-decoration: none; transition: border-color var(--dur) var(--ease); }
a.card:hover { border-color: var(--line-strong); }
.card--raised { box-shadow: var(--shadow-lg); }

/* Feature card: icon tile + title + text */
.feature { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-6); }
.feature h3 { font-size: var(--text-base); }
.feature p { color: var(--ink-2); font-size: var(--text-sm); }
.icon-tile { width: 40px; height: 40px; border-radius: var(--radius); background: var(--sunken); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.icon-tile .icon { width: 20px; height: 20px; }

/* ---- Forms ---- */
.form { display: grid; gap: var(--space-5); }
.form-row { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--space-2); }
.label { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--ink); }
.label__optional { color: var(--muted); font-weight: var(--weight-regular); }
.hint { font-size: var(--text-xs); color: var(--muted); }
.error { display: flex; align-items: center; gap: var(--space-1); font-size: var(--text-xs); color: var(--danger); font-weight: var(--weight-medium); }
.error .icon { width: 14px; height: 14px; }
.error:empty { display: none; }

.input, .select, .textarea {
  width: 100%; height: var(--control-h); padding: 0 var(--space-3);
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: var(--text-base); /* 16px stops iOS zooming on focus */
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.textarea { height: auto; min-height: 112px; padding: var(--space-3); line-height: var(--leading-normal); resize: vertical; }
.select { appearance: none; padding-right: var(--space-10); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--space-3) center; background-size: 16px; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--ring); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--danger); }
.field.is-invalid .input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 20%, transparent); }
.input--mono { font-family: var(--mono); font-size: var(--text-sm); }

/* Input with a trailing button (password toggle, copy) */
.input-group { position: relative; display: flex; }
.input-group .input { padding-right: calc(var(--control-h) + var(--space-1)); }
.input-group__action { position: absolute; right: 2px; top: 2px; bottom: 2px; width: calc(var(--control-h) - 4px); display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); border-radius: calc(var(--radius) - 2px); }
.input-group__action:hover { color: var(--ink); background: var(--hover); }

/* Checkbox and radio */
.check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); color: var(--ink-2); cursor: pointer; }
.check.is-invalid { color: var(--danger); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--primary); }

/* Selectable option cards (radio) */
.choice-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.choice { position: relative; display: grid; gap: var(--space-1); padding: var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__title { font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.choice__text { font-size: var(--text-xs); color: var(--muted); }
.choice:hover { border-color: var(--muted); }
.field.is-invalid .choice { border-color: var(--danger); }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--ring); }

/* Password strength meter */
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-1); }
.meter span { height: 4px; border-radius: var(--radius-full); background: var(--line); transition: background var(--dur) var(--ease); }
.meter[data-score="1"] span:nth-child(-n+1) { background: var(--danger); }
.meter[data-score="2"] span:nth-child(-n+2) { background: var(--warn); }
.meter[data-score="3"] span:nth-child(-n+3) { background: var(--success); }
.meter[data-score="4"] span { background: var(--success); }

/* One-time code (2FA / email code) */
.otp { display: flex; gap: var(--space-2); justify-content: space-between; }
.otp input { width: 100%; max-width: 52px; height: 56px; text-align: center; font-size: var(--text-xl); font-weight: var(--weight-semibold); font-family: var(--mono); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.otp input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--ring); }

/* File upload drop zone */
.dropzone { position: relative; display: grid; justify-items: center; gap: var(--space-2); padding: var(--space-6) var(--space-4); border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: var(--sunken); text-align: center; color: var(--ink-2); font-size: var(--text-sm); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .icon { width: 24px; height: 24px; color: var(--muted); }
.dropzone strong { color: var(--ink); }
.dropzone:hover, .dropzone.is-dragover { border-color: var(--ink); background: var(--surface); }
.dropzone:focus-within { box-shadow: 0 0 0 3px var(--ring); border-color: var(--ink); }
.field.is-invalid .dropzone { border-color: var(--danger); }
.file-item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: var(--text-sm); }
.file-item .icon { color: var(--success); width: 20px; height: 20px; }
.file-item__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--weight-medium); }
.file-item__size { color: var(--muted); font-size: var(--text-xs); }

/* ---- Alerts / callouts ---- */
.alert { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--sunken); color: var(--ink-2); font-size: var(--text-sm); }
.alert > .icon { width: 18px; height: 18px; margin-top: 2px; }
.alert__title { display: block; color: var(--ink); font-weight: var(--weight-semibold); margin-bottom: 2px; }
.alert--info { background: var(--info-bg); border-color: var(--info-line); }
.alert--info > .icon { color: var(--info); }
.alert--success { background: var(--success-bg); border-color: var(--success-line); }
.alert--success > .icon { color: var(--success); }
.alert--warn { background: var(--warn-bg); border-color: var(--warn-line); }
.alert--warn > .icon { color: var(--warn); }
.alert--danger { background: var(--danger-bg); border-color: var(--danger-line); }
.alert--danger > .icon { color: var(--danger); }

/* ---- Stepper (multi-step forms) ---- */
.steps { display: flex; gap: var(--space-2); list-style: none; counter-reset: step; }
.steps li { flex: 1; display: grid; gap: var(--space-2); font-size: var(--text-xs); color: var(--muted); font-weight: var(--weight-medium); counter-increment: step; }
.steps li::before { content: ""; height: 4px; border-radius: var(--radius-full); background: var(--line); }
.steps li[aria-current="step"], .steps li.is-done { color: var(--ink); }
.steps li[aria-current="step"]::before, .steps li.is-done::before { background: var(--ink); }
.steps__label::before { content: counter(step) ". "; }
@media (max-width: 639px) { .steps__label { display: none; } .steps li[aria-current="step"] .steps__label { display: block; } }

/* Vertical timeline (status pages, how-it-works) */
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: var(--space-3); padding-bottom: var(--space-6); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::after { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline__marker { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-strong); background: var(--surface); color: var(--muted); }
.timeline__marker .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.timeline li.is-done .timeline__marker { background: var(--ink); border-color: var(--ink); color: var(--primary-ink); }
.timeline li.is-done::after { background: var(--ink); }
.timeline li.is-current .timeline__marker { border-color: var(--ink); color: var(--ink); }
.timeline__title { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--ink); padding-top: 4px; }
.timeline__text { font-size: var(--text-sm); color: var(--muted); margin-top: 2px; }

/* ---- Progress bar ---- */
.progress { height: 6px; border-radius: var(--radius-full); background: var(--line); overflow: hidden; }
.progress__bar { height: 100%; border-radius: inherit; background: var(--ink); }

/* ---- Code blocks ---- */
.code { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.code__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4); border-bottom: 1px solid var(--line); background: var(--sunken); }
.code__title { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--ink-2); }
.code pre { margin: 0; padding: var(--space-4); overflow-x: auto; font-size: var(--text-xs); line-height: 1.7; color: var(--ink); tab-size: 2; }
.code .tok-k { color: var(--link); }
.code .tok-s { color: var(--success); }
.code .tok-c { color: var(--muted); }

/* Copy button feedback */
[data-copy].is-copied { color: var(--success); }

/* ---- Tabs ---- */
.tabs { display: flex; gap: var(--space-1); }
.tab { height: var(--control-h-sm); padding: 0 var(--space-3); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }

/* ---- Key/value list ---- */
.kv { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; gap: var(--space-3) var(--space-6); font-size: var(--text-sm); margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); font-weight: var(--weight-medium); min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 479px) { .kv { grid-template-columns: 1fr; gap: var(--space-1); } .kv dd { margin-bottom: var(--space-2); } }

/* ---- Table ---- */
.table-wrap { position: relative; overflow-x: auto; } /* relative: keeps .sr-only cells inside the scroller */
.table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.table th { text-align: left; font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--muted); padding: var(--space-3) var(--space-6); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: var(--space-4) var(--space-6); border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---- Accordion (FAQ) ---- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) 0; cursor: pointer; font-weight: var(--weight-semibold); font-size: var(--text-base); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { color: var(--muted); transition: transform var(--dur) var(--ease); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion__body { padding: 0 0 var(--space-5); color: var(--ink-2); max-width: 64ch; }

/* ---- Dialog ---- */
.dialog { width: min(100% - 2 * var(--space-4), 480px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.dialog::backdrop { background: rgba(9, 9, 11, .5); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--space-6) 0; }
.dialog__head h2 { font-size: var(--text-lg); }
.dialog__body { padding: var(--space-4) var(--space-6) var(--space-6); display: grid; gap: var(--space-4); }
.dialog__foot { display: flex; justify-content: flex-end; gap: var(--space-3); padding: var(--space-4) var(--space-6); border-top: 1px solid var(--line); background: var(--sunken); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* ---- Empty state ---- */
.empty { display: grid; justify-items: center; gap: var(--space-3); padding: var(--space-12) var(--space-6); text-align: center; color: var(--muted); font-size: var(--text-sm); }
.empty h3 { color: var(--ink); font-size: var(--text-base); }

/* ---- Divider with text ---- */
.divider { display: flex; align-items: center; gap: var(--space-3); color: var(--muted); font-size: var(--text-xs); }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* ---- Secret / address value with copy ---- */
.secret { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-2) var(--space-2) var(--space-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--sunken); }
.secret code { flex: 1; min-width: 0; font-size: var(--text-sm); overflow-wrap: anywhere; color: var(--ink); }
.table th[scope="row"] { width: 28%; padding: var(--space-4) var(--space-6); border-bottom: 1px solid var(--line-soft); color: var(--ink); font-size: var(--text-sm); font-weight: var(--weight-semibold); white-space: normal; vertical-align: top; }
.table tr:last-child th[scope="row"] { border-bottom: 0; }

/* ==========================================================================
   Marketing site: header, footer, landing-page sections and their motion.
   Light theme only. Decorative motion stops under prefers-reduced-motion.
   ========================================================================== */

/* ---- Header ---- */
/* The blur sits on a pseudo-layer: backdrop-filter on the header itself would make it the containing block
   for the fixed mobile menu sheet and collapse it to the header's height. */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(22, 26, 33, .35); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: var(--space-8); }

/* Mobile menu: a <details> element, so it works without JavaScript. */
.mobile-menu summary { list-style: none; }
.mobile-menu:not([open]) .mobile-menu__panel { display: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu[open] summary .icon-menu, .mobile-menu:not([open]) summary .icon-close { display: none; }
.mobile-menu__panel { position: absolute; left: 0; right: 0; top: var(--header-h); padding: var(--space-4) var(--gutter) var(--space-6); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); display: grid; gap: var(--space-1); animation: drop-in var(--dur) var(--ease-out); }
.mobile-menu__panel a:not(.btn) { padding: var(--space-3) 0; font-weight: var(--weight-semibold); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.mobile-menu__panel .cluster { margin-top: var(--space-4); }
.mobile-menu__panel .cluster .btn { flex: 1; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (min-width: 1024px) {
    .site-header__signin { display: inline-flex; }
  .mobile-menu { display: none; }
}

/* ---- Highlight marker behind a word ---- */
.mark { position: relative; z-index: 0; white-space: nowrap; }
.mark::before { content: ""; position: absolute; z-index: -1; inset: 8% -.12em 4% -.12em; border-radius: 6px; background: var(--lime); transform: skewX(-6deg); transform-origin: left; }
.mark--rose::before { background: var(--rose); }
.mark--sky::before { background: #cfe3ff; }
.hero .mark::before { animation: mark-in 900ms var(--ease-out) 450ms both; }
@keyframes mark-in { from { transform: skewX(-6deg) scaleX(0); } to { transform: skewX(-6deg) scaleX(1); } }
.js .mark[data-reveal]::before { transform: skewX(-6deg) scaleX(0); transition: transform 900ms var(--ease-out) 250ms; }
.js .mark[data-reveal].is-visible::before { transform: skewX(-6deg) scaleX(1); }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding-block: var(--space-16) 0; background:
  radial-gradient(60% 50% at 50% 0%, #eaf1ff 0%, rgba(234, 241, 255, 0) 70%), var(--bg); }
.hero__copy { position: relative; z-index: 2; display: grid; gap: var(--space-6); justify-items: center; text-align: center; max-width: 900px; margin-inline: auto; }
.hero__copy h1 { font-weight: var(--weight-black); }
.hero__copy .lead { max-width: 40rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) var(--space-6); list-style: none; color: var(--ink-2); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.hero__trust li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero__trust .icon { width: 18px; height: 18px; color: var(--success); }
@media (max-width: 479px) { .hero__actions .btn { flex: 1 1 100%; } }

/* Floating coins and sparkles (decoration only) */
.decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.coin { position: absolute; width: var(--coin, 72px); height: var(--coin, 72px); border-radius: 50%; display: grid; place-items: center; font-weight: var(--weight-black); font-size: calc(var(--coin, 72px) * .44); color: #fff; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .12), inset 0 4px 0 rgba(255, 255, 255, .35), 0 18px 30px -14px rgba(22, 26, 33, .35); animation: float 7s ease-in-out infinite; }
.coin::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); }
.coin .icon { width: 44%; height: 44%; stroke-width: 2.2; }
.coin--usdt { background: #2fb58c; --coin: 84px; top: 12%; left: 6%; }
.coin--btc { background: #f7a23b; --coin: 64px; top: 52%; left: 12%; animation-delay: -2s; animation-duration: 8s; }
.coin--usdc { background: #3b82f6; --coin: 56px; top: 8%; right: 9%; animation-delay: -4s; }
.coin--wallet { background: #ff7fa0; --coin: 76px; top: 40%; right: 5%; animation-delay: -1s; animation-duration: 9s; }
.coin--bank { background: #9ad41f; --coin: 52px; top: 70%; right: 16%; animation-delay: -3s; }
.coin--eth { background: #6c7cf5; --coin: 48px; top: 30%; left: 20%; animation-delay: -5s; animation-duration: 10s; }
.sparkle { position: absolute; width: 22px; height: 22px; color: var(--sky); animation: twinkle 3.2s ease-in-out infinite; }
.sparkle svg { width: 100%; height: 100%; fill: currentColor; }
.sparkle--1 { top: 34%; left: 4%; } .sparkle--2 { top: 6%; right: 22%; animation-delay: -1.2s; color: var(--rose); }
.sparkle--3 { top: 30%; right: 3%; animation-delay: -2.1s; width: 16px; height: 16px; } .sparkle--4 { top: 8%; left: 22%; animation-delay: -.6s; width: 14px; height: 14px; color: #9ad41f; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-18px) rotate(6deg); } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
@media (max-width: 959px) { .coin--btc, .coin--eth, .coin--bank, .sparkle--3, .sparkle--4 { display: none; } .coin { --coin: 48px !important; opacity: .9; } .coin--usdt { top: 3%; left: 3%; } .coin--usdc { top: 2%; right: 4%; } .coin--wallet { top: 28%; right: 2%; } }

/* ---- Product showcase: dashboard + checkout (an illustration of the product) ---- */
.showcase { position: relative; z-index: 2; margin-top: var(--space-16); }
.showcase__stage { position: relative; max-width: 1040px; margin-inline: auto; padding-bottom: var(--space-16); }
.squiggle { position: absolute; z-index: 0; width: 46%; height: auto; fill: none; stroke: var(--lime); stroke-width: 22; stroke-linecap: round; }
.squiggle--left { left: -14%; top: 22%; }
.squiggle--right { right: -12%; top: 4%; transform: scaleX(-1); stroke: #cfe3ff; }
.js .squiggle path { stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 2.2s var(--ease-out) .3s; }
.js .is-visible .squiggle path { stroke-dashoffset: 0; }

.dash { position: relative; z-index: 1; width: min(100%, 720px); background: var(--surface); border: 8px solid #dbe7ff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.dash__bar { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-5); border-bottom: 1px solid var(--line); background: var(--bg-tint); }
.dash__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.dash__bar span { margin-left: var(--space-3); font-size: var(--text-xs); color: var(--muted); font-weight: var(--weight-semibold); }
.dash__body { padding: var(--space-6); display: grid; gap: var(--space-5); }
.dash__title { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.dash__title h3 { font-size: var(--text-lg); }
.dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.dash__stat { padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); }
.dash__stat small { display: block; color: var(--muted); font-size: var(--text-xs); }
.dash__stat strong { font-size: var(--text-lg); font-variant-numeric: tabular-nums; }
.dash__chart { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); }
.dash__chart svg { width: 100%; height: 120px; overflow: visible; }
.chart-area { fill: url(#chart-fill); opacity: 0; transition: opacity 1s var(--ease) 1.4s; }
.chart-line { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart-grid { stroke: var(--line-soft); stroke-width: 1; }
.js .chart-line { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.8s var(--ease-out) .2s; }
.js .is-visible .chart-line { stroke-dashoffset: 0; }
.is-visible .chart-area, html:not(.js) .chart-area { opacity: 1; }
.dash__rows { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: var(--text-xs); }
.dash__row { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--line-soft); }
.dash__row:first-child { border-top: 0; }
.dash__row--head { color: var(--muted); font-weight: var(--weight-semibold); background: var(--bg-tint); }
.dash__row .num { font-variant-numeric: tabular-nums; font-weight: var(--weight-semibold); }
.dash__row--new { animation: row-paid 9s var(--ease) infinite; }
@keyframes row-paid { 0%, 63% { background: transparent; } 68%, 92% { background: var(--success-bg); } 100% { background: transparent; } }
.status-cycle { position: relative; display: grid; justify-items: start; }
.status-cycle > * { grid-area: 1 / 1; }
.status-cycle__wait { animation: state-a 9s infinite; }
.status-cycle__confirm { opacity: 0; animation: state-b 9s infinite; }
.status-cycle__paid { opacity: 0; animation: state-c 9s infinite; }
@media (max-width: 639px) { .dash__stats { grid-template-columns: 1fr 1fr; } .dash__stats .dash__stat:last-child { display: none; } .dash__body { padding: var(--space-4); } }

/* Phone checkout with a looping waiting → confirming → paid sequence */
.phone { position: relative; z-index: 3; width: 290px; margin: calc(-1 * var(--space-24)) auto 0; background: var(--surface); border: 8px solid var(--ink); border-radius: 36px; box-shadow: var(--shadow-lg); overflow: hidden; }
@media (min-width: 900px) { .phone { position: absolute; right: 0; top: var(--space-10); margin: 0; } }
.phone__notch { width: 96px; height: 20px; margin: 0 auto; background: var(--ink); border-radius: 0 0 14px 14px; }
.phone__body { padding: var(--space-5); display: grid; gap: var(--space-4); }
.phone__merchant { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); font-weight: var(--weight-bold); }
.phone__merchant small { display: block; color: var(--muted); font-weight: var(--weight-regular); font-size: var(--text-xs); }
.phone__amount { font-size: 2rem; font-weight: var(--weight-black); letter-spacing: var(--tracking-tight); line-height: 1; font-variant-numeric: tabular-nums; }
.phone__amount span { font-size: var(--text-base); color: var(--muted); font-weight: var(--weight-bold); margin-left: var(--space-1); }
.phone__address { padding: var(--space-3); border-radius: var(--radius-sm); background: var(--sunken); font-family: var(--mono); font-size: 11px; overflow-wrap: anywhere; }
.phone__states { position: relative; height: 74px; }
.phone__state { position: absolute; inset: 0; display: grid; align-content: center; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-radius: var(--radius); font-size: var(--text-sm); font-weight: var(--weight-semibold); opacity: 0; }
.phone__state--wait { background: var(--sunken); color: var(--ink-2); animation: state-a 9s infinite; }
.phone__state--confirm { background: var(--info-bg); color: var(--info); animation: state-b 9s infinite; }
.phone__state--paid { background: var(--success-bg); color: var(--success); animation: state-c 9s infinite; }
.phone__state-row { display: flex; align-items: center; gap: var(--space-2); }
.phone__state .icon { width: 18px; height: 18px; }
.phone__state small { font-weight: var(--weight-regular); color: var(--muted); }
.phone__progress { height: 6px; border-radius: var(--radius-full); background: rgba(42, 99, 240, .15); overflow: hidden; }
.phone__progress i { display: block; height: 100%; width: 10%; border-radius: inherit; background: var(--brand); animation: progress 9s infinite; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--brand); animation: spin .9s linear infinite; }
.phone__paid-check { width: 22px; height: 22px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; animation: pop 9s infinite; }
.phone__paid-check .icon { width: 14px; height: 14px; stroke-width: 3; }
@keyframes state-a { 0%, 30% { opacity: 1; } 33%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes state-b { 0%, 30% { opacity: 0; } 33%, 63% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes state-c { 0%, 63% { opacity: 0; } 66%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes progress { 0%, 33% { width: 8%; } 63%, 100% { width: 100%; } }
@keyframes pop { 0%, 64% { transform: scale(0); } 69% { transform: scale(1.2); } 72%, 100% { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Marquee of payment methods ---- */
.marquee-section { padding-block: var(--space-16); }
.marquee-section__title { text-align: center; font-size: var(--text-2xl); margin-bottom: var(--space-8); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: var(--space-3); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee__group { display: flex; gap: var(--space-3); padding-right: var(--space-3); }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.mchip { display: inline-flex; align-items: center; gap: var(--space-2); height: 48px; padding: 0 var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-full); background: var(--surface); box-shadow: var(--shadow-sm); white-space: nowrap; font-weight: var(--weight-bold); font-size: var(--text-sm); }
.mchip small { color: var(--muted); font-weight: var(--weight-medium); font-size: var(--text-xs); }
.mchip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.mchip--live { border-color: var(--success-line); background: var(--success-bg); }
.mchip__dot--live, .mchip--live .mchip__dot { background: var(--success); box-shadow: 0 0 0 4px rgba(18, 128, 74, .15); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-legend { display: flex; justify-content: center; gap: var(--space-6); margin-top: var(--space-6); font-size: var(--text-sm); color: var(--muted); }
.marquee-legend span { display: inline-flex; align-items: center; gap: var(--space-2); }

/* ---- Figures ---- */
.figures { display: grid; gap: var(--space-8); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); text-align: center; }
.figure__value { display: block; font-size: var(--text-4xl); font-weight: var(--weight-black); letter-spacing: var(--tracking-tight); line-height: 1; font-variant-numeric: tabular-nums; }
.figure__label { display: block; margin-top: var(--space-3); color: var(--ink-2); font-weight: var(--weight-semibold); }
.figure--blue .figure__value { color: var(--brand); }
.figure--lime .figure__value { color: #6a9a07; }
.figure--rose .figure__value { color: #e0466f; }
.figure--ink .figure__value { color: var(--ink); }

/* ---- Feature cards ---- */
.features { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.features .feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-8); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.features .feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature h3 { font-size: var(--text-lg); }
.feature p { font-size: var(--text-sm); }
.icon-tile--blue { background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.icon-tile--lime { background: #effbcf; border-color: transparent; color: #4d7006; }
.icon-tile--rose { background: #ffe8ee; border-color: transparent; color: #c4325b; }

/* ---- How it works ---- */
.how { position: relative; display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); list-style: none; counter-reset: how; }
.how__step { counter-increment: how; display: grid; gap: var(--space-3); align-content: start; padding: var(--space-8); border-radius: var(--radius-lg); }
.how__num { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: var(--text-lg); font-weight: var(--weight-black); box-shadow: 0 0 0 8px var(--brand-soft); margin-bottom: var(--space-2); }
.how__num::before { content: counter(how); }
.how__step h3 { font-size: var(--text-xl); }
.how__step p { color: var(--ink-2); font-size: var(--text-sm); }
.how__step code { font-size: var(--text-xs); padding: 2px var(--space-1); border-radius: 4px; background: var(--sunken); border: 1px solid var(--line); }

/* ---- Industries ---- */
.industry { display: grid; gap: var(--space-3); justify-items: start; padding: var(--space-8); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.industry h3 { font-size: var(--text-lg); }
.industry p { color: var(--ink-2); font-size: var(--text-sm); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.tag { display: inline-flex; align-items: center; height: 40px; padding: 0 var(--space-4); border-radius: var(--radius-full); border: 1.5px solid var(--line-strong); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--ink-2); background: var(--surface); }
.tag--blue { border-color: var(--sky); color: var(--brand); }
.tag--lime { border-color: #b7e04a; background: #f6fde3; color: #4d7006; }
.tag--rose { border-color: var(--rose); color: #c4325b; }

/* ---- Security / custody ---- */
.checklist { list-style: none; display: grid; gap: var(--space-4); }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); color: var(--ink-2); }
.checklist li strong { color: var(--ink); font-weight: var(--weight-bold); }
.checklist .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--success); }
.wallet-flow { display: grid; gap: var(--space-3); }
.wallet { display: grid; grid-template-columns: 48px 1fr auto; gap: var(--space-4); align-items: center; padding: var(--space-5); border-radius: var(--radius-lg); }
.wallet .icon-tile { width: 48px; height: 48px; }
.wallet__title { font-weight: var(--weight-bold); }
.wallet__text { color: var(--muted); font-size: var(--text-xs); margin-top: 2px; }
.wallet-flow__arrow { position: relative; display: flex; align-items: center; gap: var(--space-2); padding-left: var(--space-10); color: var(--muted); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.wallet-flow__arrow .icon { transform: rotate(90deg); width: 16px; height: 16px; color: var(--brand); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { translate: 0 -2px; } 50% { translate: 0 3px; } }
@media (max-width: 479px) { .wallet { grid-template-columns: 48px 1fr; } .wallet .badge { grid-column: 2; justify-self: start; } }

/* ---- Developers ---- */
.dev-code { display: grid; gap: var(--space-4); min-width: 0; }

/* ---- Final call to action: dark band ---- */
.cta { position: relative; overflow: hidden; display: grid; gap: var(--space-6); justify-items: center; text-align: center; padding: var(--space-16) var(--space-6); border-radius: var(--radius-xl); background: var(--ink); color: #fff; }
.cta h2 { color: inherit; max-width: 22ch; font-size: var(--text-3xl); }
.cta p { color: rgba(255, 255, 255, .72); max-width: 52ch; font-size: var(--text-lg); }
.cta .mark::before { background: var(--lime); }
.cta .mark { color: var(--ink); }
.cta .btn--secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); box-shadow: none; }
.cta .btn--secondary:hover { background: rgba(255, 255, 255, .08); }
.cta .coin { opacity: .9; }
.cta .coin--usdt { top: auto; bottom: var(--space-8); left: 6%; --coin: 80px; }
.cta .coin--wallet { top: var(--space-8); right: 6%; --coin: 72px; }
@media (max-width: 959px) { .cta .coin { display: none; } }
.cta > *:not(.coin) { position: relative; z-index: 1; }

/* ---- Inner page hero (methods, developers, legal) ---- */
.page-hero { position: relative; overflow: hidden; padding-block: var(--space-16) var(--space-12); background: radial-gradient(70% 80% at 0% 0%, #eaf1ff 0%, rgba(234, 241, 255, 0) 60%), var(--bg-tint); border-bottom: 1px solid var(--line); }
.page-hero .stack { max-width: var(--container-narrow); }
.page-hero h1 { font-weight: var(--weight-black); }
.prose { max-width: 68ch; color: var(--ink-2); }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-12); color: var(--ink); }
.prose h3 { margin-top: var(--space-8); }
.prose ul, .prose ol { padding-left: var(--space-6); display: grid; gap: var(--space-2); }
.prose a { color: var(--link); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prose th, .prose td { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-tint); color: var(--ink); font-weight: var(--weight-semibold); }
.prose ol { list-style: decimal; }
.prose ul { list-style: disc; }
.placeholder { padding: var(--space-1) var(--space-2); border-radius: 4px; background: var(--warn-bg); color: var(--warn); font-size: var(--text-sm); font-weight: var(--weight-semibold); }

/* ---- Error page ---- */
.error-page { min-height: calc(100vh - var(--header-h) - 1px); display: grid; place-items: center; text-align: center; padding: var(--space-16) var(--gutter); }
.error-page .stack { justify-items: center; }
.error-page__code { font-size: var(--text-4xl); font-weight: var(--weight-black); color: var(--brand); }

/* ---- Payment method list ---- */
.methods { list-style: none; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.method { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.method:hover { border-color: var(--sky); box-shadow: var(--shadow-sm); }
.method__mark { width: 44px; height: 44px; border-radius: 50%; background: var(--sunken); display: grid; place-items: center; font-size: var(--text-xs); font-weight: var(--weight-black); color: var(--ink-2); letter-spacing: .02em; }
.method[data-type="crypto"] .method__mark { background: var(--brand-soft); color: var(--brand); }
.method[data-type="exchange"] .method__mark { background: #fff3d6; color: #a15c07; }
.method[data-type="wallet"] .method__mark { background: #ffe8ee; color: #c4325b; }
.method[data-type="bank"] .method__mark { background: #effbcf; color: #4d7006; }
.method[data-status="live"] .method__mark { background: var(--brand); color: var(--brand-ink); }
.method__text { display: grid; min-width: 0; }
.method__name { font-size: var(--text-sm); font-weight: var(--weight-bold); }
.method__detail { font-size: var(--text-xs); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 479px) { .method__detail { white-space: normal; } }

/* Payment-method type tiles (home) */
.type-tile { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-8) var(--space-6); border-radius: var(--radius-lg); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.type-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.type-tile .icon-tile { margin-bottom: var(--space-2); background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.type-tile__label { font-weight: var(--weight-bold); font-size: var(--text-lg); }
.type-tile__text { color: var(--ink-2); font-size: var(--text-sm); }
.type-tile__count { margin-top: var(--space-2); color: var(--brand); font-size: var(--text-sm); font-weight: var(--weight-bold); }
.section-foot { margin-top: var(--space-10); }
.section-foot--center { text-align: center; display: flex; justify-content: center; }

/* ---- Pricing ---- */
.pricing { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); max-width: 860px; margin-inline: auto; align-items: stretch; }
.price-card { position: relative; display: grid; gap: var(--space-6); align-content: start; padding: var(--space-10) var(--space-8); border-radius: var(--radius-xl); }
.price-card--featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.pricing--3 { max-width: none; }
@media (min-width: 1024px) { .pricing--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price--text { font-size: var(--text-3xl); }
.price-card__ribbon { position: absolute; top: calc(-1 * var(--space-3)); right: var(--space-8); }
.price-card h3 { font-size: var(--text-lg); }
.price { font-size: var(--text-4xl); font-weight: var(--weight-black); letter-spacing: var(--tracking-tight); line-height: 1; }
.price__unit { display: block; margin-top: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--muted); letter-spacing: 0; }
.price-card .checklist { gap: var(--space-3); font-size: var(--text-sm); }
.price-card .checklist .icon { width: 20px; height: 20px; }

/* ---- Payment methods page ---- */
.section--top-tight { padding-top: var(--space-10); }
.counters { margin: var(--space-4) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-12); }
.counters div { display: grid; }
.counters dt { color: var(--muted); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.counters dd { margin: 0; font-size: var(--text-3xl); font-weight: var(--weight-black); color: var(--brand); letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.filter-bar { display: grid; gap: var(--space-3); }
@media (min-width: 768px) { .filter-bar { grid-template-columns: 1fr auto; align-items: center; } }
.filter-bar__search { position: relative; }
.filter-bar__search .input { padding-left: var(--space-10); }
.filter-bar__icon { position: absolute; left: var(--space-3); top: 50%; transform: translateY(-50%); color: var(--muted); display: grid; }
.filter-bar__controls { display: flex; gap: var(--space-4); align-items: center; }
.filter-bar__controls .select { min-width: 220px; }
.filter-bar__live { white-space: nowrap; align-items: center; }
.filter-bar__live input { margin: 0; }
@media (max-width: 479px) { .filter-bar__controls { flex-wrap: wrap; } .filter-bar__controls .select { min-width: 0; flex: 1 1 100%; } }
.chips { display: flex; gap: var(--space-2); overflow-x: auto; padding-bottom: var(--space-1); scrollbar-width: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: var(--space-2); height: var(--control-h-sm); padding: 0 var(--space-4); border: 1.5px solid var(--line-strong); border-radius: var(--radius-full); background: var(--surface); color: var(--ink-2); font-size: var(--text-sm); font-weight: var(--weight-semibold); transition: all var(--dur) var(--ease); }
.chip span { color: var(--muted); font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.chip[aria-pressed="true"] span { color: inherit; opacity: .8; }
.method[hidden] { display: none; }

/* ---- Trust row (styleguide, auth) ---- */
.trust { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.trust li { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-5) var(--space-4); font-size: var(--text-sm); color: var(--muted); }
.trust li .icon { width: 22px; height: 22px; color: var(--brand); }
.trust li span { display: grid; }
.trust strong { color: var(--ink); font-weight: var(--weight-bold); }

/* ---- Scroll reveal (only when JS runs; content is visible without it) ---- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js [data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-visible > :nth-child(2) { transition-delay: 80ms; }
.js [data-reveal-stagger].is-visible > :nth-child(3) { transition-delay: 160ms; }
.js [data-reveal-stagger].is-visible > :nth-child(4) { transition-delay: 240ms; }
.js [data-reveal-stagger].is-visible > :nth-child(5) { transition-delay: 320ms; }
.js [data-reveal-stagger].is-visible > :nth-child(6) { transition-delay: 400ms; }
.js .mark[data-reveal] { opacity: 1; transform: none; }

/* Hero entrance */
.hero__copy > * { animation: rise 800ms var(--ease-out) both; }
.hero__copy > :nth-child(2) { animation-delay: 80ms; }
.hero__copy > :nth-child(3) { animation-delay: 160ms; }
.hero__copy > :nth-child(4) { animation-delay: 240ms; }
.hero__copy > :nth-child(5) { animation-delay: 320ms; }
.showcase { animation: rise 1s var(--ease-out) 300ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Respect reduced motion: no loops, no entrance, final states shown. */
@media (prefers-reduced-motion: reduce) {
  .coin, .sparkle, .marquee__track, .wallet-flow__arrow .icon, .spinner, .phone__progress i, .dash__row--new, .hero__copy > *, .showcase { animation: none !important; }
  .phone__state--wait, .phone__state--confirm { animation: none; opacity: 0; }
  .phone__state--paid { animation: none; opacity: 1; }
  .phone__paid-check { animation: none; transform: none; }
  .status-cycle__wait, .status-cycle__confirm { animation: none; opacity: 0; }
  .status-cycle__paid { animation: none; opacity: 1; }
  .marquee { overflow-x: auto; }
  .js [data-reveal], .js [data-reveal-stagger] > * { opacity: 1; transform: none; transition: none; }
  .js .chart-line, .js .squiggle path { stroke-dashoffset: 0; transition: none; }
  .js .mark[data-reveal]::before { transform: skewX(-6deg); transition: none; }
}

/* ---- Style guide page only ---- */
.sg-section { display: grid; gap: var(--space-6); padding-block: var(--space-12); border-top: 1px solid var(--line); }
.sg-section > h2 { font-size: var(--text-xl); }
.swatches { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.swatch { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); font-size: var(--text-xs); }
.swatch::before { content: ""; display: block; height: 56px; border-bottom: 1px solid var(--line); }
.swatch span { display: block; padding: var(--space-2) var(--space-3); font-family: var(--mono); }
.swatch--bg::before { background: var(--bg); } .swatch--surface::before { background: var(--surface); } .swatch--sunken::before { background: var(--sunken); }
.swatch--line::before { background: var(--line); } .swatch--ink::before { background: var(--ink); } .swatch--ink-2::before { background: var(--ink-2); }
.swatch--muted::before { background: var(--muted); } .swatch--link::before { background: var(--link); } .swatch--success::before { background: var(--success); }
.swatch--warn::before { background: var(--warn); } .swatch--danger::before { background: var(--danger); } .swatch--info::before { background: var(--info); }
.swatch--tron::before { background: var(--tron); } .swatch--bsc::before { background: var(--bsc); }
.swatch--brand::before { background: var(--brand); } .swatch--brand-soft::before { background: var(--brand-soft); } .swatch--sky::before { background: var(--sky); }
.swatch--lime::before { background: var(--lime); } .swatch--rose::before { background: var(--rose); } .swatch--bg-tint::before { background: var(--bg-tint); }
.type-scale { display: grid; gap: var(--space-4); }
.type-scale > div { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-4); align-items: baseline; }
.type-scale code { color: var(--muted); font-size: var(--text-xs); }
.t-xs { font-size: var(--text-xs); } .t-sm { font-size: var(--text-sm); } .t-base { font-size: var(--text-base); } .t-lg { font-size: var(--text-lg); }
.t-xl { font-size: var(--text-xl); } .t-2xl { font-size: var(--text-2xl); font-weight: var(--weight-bold); } .t-3xl { font-size: var(--text-3xl); font-weight: var(--weight-bold); } .t-4xl { font-size: var(--text-4xl); font-weight: var(--weight-bold); line-height: var(--leading-tight); }
.space-scale { display: grid; gap: var(--space-2); }
.space-scale > div { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-4); align-items: center; font-size: var(--text-xs); }
.space-scale i { display: block; height: 12px; background: var(--ink); border-radius: 2px; }
.sp-1 { width: var(--space-1); } .sp-2 { width: var(--space-2); } .sp-3 { width: var(--space-3); } .sp-4 { width: var(--space-4); } .sp-6 { width: var(--space-6); }
.sp-8 { width: var(--space-8); } .sp-12 { width: var(--space-12); } .sp-16 { width: var(--space-16); } .sp-24 { width: var(--space-24); }
@media (max-width: 639px) { .hero .coin { display: none; } }

/* ---- Products (home) ---- */
.product { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-8); border-radius: var(--radius-lg); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product h3 { font-size: var(--text-xl); }
.product > p { color: var(--ink-2); font-size: var(--text-sm); }
.product__points { list-style: none; display: grid; gap: var(--space-2); margin-top: var(--space-2); padding-top: var(--space-4); border-top: 1px solid var(--line-soft); font-size: var(--text-sm); color: var(--ink-2); }
.product__points li { display: flex; align-items: center; gap: var(--space-2); }
.product__points .icon { width: 16px; height: 16px; color: var(--success); }
.feature .badge { justify-self: start; margin-top: var(--space-2); }

/* ---- Compliance block (home) ---- */
.compliance { display: grid; gap: var(--space-10); padding: var(--space-10); border-radius: var(--radius-xl); align-items: center; }
@media (min-width: 960px) { .compliance { grid-template-columns: 1.1fr 1fr; padding: var(--space-16); } }
@media (max-width: 639px) { .compliance { padding: var(--space-6); } }

/* ==========================================================================
   Navigation bar
   ========================================================================== */
.site-header__inner { gap: var(--space-6); }
.site-header .logo { font-family: var(--font-display); font-weight: var(--weight-black); font-size: 1.3rem; letter-spacing: -.03em; }
.site-header .logo__mark { width: 32px; height: 32px; border-radius: 10px; }
.nav { display: none; margin-left: var(--space-4); }
.nav__list { list-style: none; display: flex; align-items: center; gap: var(--space-1); }
.nav__item { position: relative; }
.nav__trigger { display: inline-flex; align-items: center; gap: var(--space-1); height: 40px; padding: 0 var(--space-3); border: 0; border-radius: var(--radius-full); background: transparent; color: var(--ink-2); font-size: var(--text-sm); font-weight: var(--weight-semibold); text-decoration: none; cursor: pointer; transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.nav__trigger .icon { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.nav__trigger:hover, .nav__trigger[aria-current="page"], .nav__item.is-open > .nav__trigger { color: var(--ink); background: var(--sunken); }
.nav__item.is-open > .nav__trigger .icon { transform: rotate(180deg); }
.nav__panel { position: absolute; top: calc(100% + 10px); left: -12px; width: 620px; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); display: none; }
.nav__panel--narrow { width: 380px; }
.nav__item.is-open > .nav__panel { display: block; animation: drop-in var(--dur) var(--ease-out); }
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.nav__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-1); }
.nav__link { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: background var(--dur) var(--ease); }
.nav__link:hover, .nav__link:focus-visible { background: var(--bg-tint); }
.nav__link strong { display: block; font-size: var(--text-sm); font-weight: var(--weight-bold); }
.nav__link small { display: block; margin-top: 2px; font-size: var(--text-xs); color: var(--muted); line-height: 1.4; }
.nav__ico { flex: none; width: 36px; height: 36px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--sunken); color: var(--ink); }
.nav__ico .icon { width: 18px; height: 18px; }
.nav__ico--blue { background: var(--brand-soft); color: var(--brand); }
.nav__ico--lime { background: #effbcf; color: #4d7006; }
.nav__ico--rose { background: #ffe8ee; color: #c4325b; }
.nav__foot { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-2); padding: var(--space-3) var(--space-4); border-radius: var(--radius); background: var(--bg-tint); color: var(--ink-2); font-size: var(--text-sm); font-weight: var(--weight-semibold); text-decoration: none; }
.nav__foot span { flex: 1; }
.nav__foot .icon { width: 16px; height: 16px; }
.nav__foot:hover { color: var(--brand); }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
.btn--quiet { background: var(--sunken); color: var(--ink); }
.btn--quiet:hover { background: var(--hover); }
.site-header__signin { display: none; }
.site-header__cta { border-radius: var(--radius-full); padding: 0 var(--space-4); }
.site-header__signin { border-radius: var(--radius-full); }

/* Mobile menu: full-height sheet (a <details>, so it works without JavaScript). */
.site-menu summary { list-style: none; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu__toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-full); background: var(--sunken); cursor: pointer; }
.site-menu__toggle .icon { width: 20px; height: 20px; }
.site-menu[open] .icon-menu, .site-menu:not([open]) .icon-close { display: none; }
.site-menu:not([open]) .site-menu__sheet { display: none; }
.site-menu__sheet { position: fixed; inset: var(--header-h) 0 0 0; z-index: 60; overflow-y: auto; padding: var(--space-4) var(--gutter) var(--space-8); background: var(--surface); display: flex; flex-direction: column; gap: var(--space-6); animation: drop-in var(--dur) var(--ease-out); }
.site-menu__sheet nav { display: grid; }
.site-menu__sheet nav a { display: flex; align-items: center; gap: var(--space-3); min-height: 52px; font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.site-menu__sheet nav a .icon { width: 20px; height: 20px; color: var(--brand); }
.site-menu__label { margin-top: var(--space-4); font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.site-menu__actions { margin-top: auto; display: grid; gap: var(--space-3); }

@media (min-width: 1024px) {
  .nav { display: block; }
  .site-header__signin { display: inline-flex; }
  .site-menu { display: none; }
}
@media (max-width: 479px) { .site-header__cta { display: none; } }

/* ==========================================================================
   Footer (dark)
   ========================================================================== */
.site-footer { background: var(--night); color: var(--night-muted); padding-block: var(--space-16) var(--space-8); font-size: var(--text-sm); }
.site-footer a { color: var(--night-ink); }
.site-footer .logo { color: #fff; font-family: var(--font-display); font-weight: var(--weight-black); font-size: 1.3rem; letter-spacing: -.03em; }
.site-footer__top { display: grid; gap: var(--space-12); padding-bottom: var(--space-12); border-bottom: 1px solid var(--night-line); }
@media (min-width: 1024px) { .site-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.site-footer__pitch { display: grid; gap: var(--space-5); align-content: start; max-width: 360px; }
.site-footer__pitch p { color: var(--night-muted); font-size: var(--text-base); }
.site-footer__cols { display: grid; gap: var(--space-8); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .site-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.site-footer h2 { color: #fff; font-size: var(--text-sm); font-weight: var(--weight-bold); margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; display: grid; gap: var(--space-3); }
.site-footer ul a { color: var(--night-muted); text-decoration: none; transition: color var(--dur) var(--ease); }
.site-footer ul a:hover { color: #fff; }
.socials { display: flex; gap: var(--space-2); }
.social { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-full); background: var(--night-2); color: #fff; }
.social:hover { background: var(--night-line); }
.social .icon { width: 18px; height: 18px; }

.site-footer__trust { display: grid; gap: var(--space-3); padding-block: var(--space-8); border-bottom: 1px solid var(--night-line); }
@media (min-width: 768px) { .site-footer__trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trust-tile { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4) var(--space-5); border-radius: var(--radius); background: var(--night-2); text-decoration: none; transition: background var(--dur) var(--ease); }
.trust-tile:hover { background: var(--night-line); }
.trust-tile .icon { width: 22px; height: 22px; color: #9db8ff; margin-top: 2px; }
.trust-tile span { display: grid; gap: 2px; color: var(--night-muted); font-size: var(--text-xs); }
.trust-tile strong { color: #fff; font-size: var(--text-sm); }

.site-footer__legal { display: grid; gap: var(--space-3); padding-block: var(--space-8); font-size: var(--text-xs); line-height: 1.7; max-width: 900px; }
.site-footer__legal strong { color: var(--night-ink); }
.site-footer__legal a { color: #9db8ff; }
.site-footer__company { font-style: normal; }
.site-footer .placeholder { background: rgba(251, 191, 36, .14); color: #fcd34d; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-6); border-top: 1px solid var(--night-line); font-size: var(--text-xs); }
.site-footer__top-link { display: inline-flex; align-items: center; gap: var(--space-1); text-decoration: none; }
.site-footer__top-link .icon { width: 14px; height: 14px; transform: rotate(-90deg); }

/* ==========================================================================
   Homepage statement style: huge short headlines, bento tiles, big numbers.
   Uses only tokens; dark tiles are surfaces inside the light theme.
   ========================================================================== */

/* ---- Display type ---- */
.display { font-family: var(--font-display); font-weight: var(--weight-black); font-size: var(--text-5xl); line-height: .98; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.display--hero { font-size: var(--text-6xl); text-align: center; }
.display em { font-style: italic; font-weight: var(--weight-black); }
.display .accent { color: var(--brand); }
.statement { font-size: var(--text-xl); line-height: 1.45; color: var(--ink-2); max-width: 34ch; }
.tile .statement { color: inherit; opacity: .86; }

/* ---- Bento grid and tiles ---- */
.bento { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .bento--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento--feature { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bento--feature > .span-2 { grid-column: span 2; }
  .bento--feature > .span-3 { grid-column: span 3; }
  .bento--feature > .span-4 { grid-column: span 4; }
}
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--space-5); min-height: 340px; padding: clamp(var(--space-6), 3vw, var(--space-12)); border-radius: var(--radius-xl); background: var(--bg-tint); color: var(--ink); isolation: isolate; }
.tile h3, .tile h2 { font-family: var(--font-display); font-weight: var(--weight-black); font-size: clamp(1.75rem, 1.1rem + 2vw, 2.75rem); line-height: 1.02; letter-spacing: -.03em; color: inherit; max-width: 16ch; }
.tile p { font-size: var(--text-base); line-height: 1.5; max-width: 40ch; }
.tile__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.tile__foot .btn { min-width: 200px; }
.tile__visual { position: relative; z-index: -1; }
.tile--dark { background: radial-gradient(120% 80% at 100% 0%, #2a2e36 0%, var(--night) 60%); color: var(--night-ink); }
.tile--dark p, .tile--dark .muted { color: var(--night-muted); }
.tile--brand { background: radial-gradient(120% 90% at 100% 0%, #5b8bff 0%, var(--brand) 55%, #1d4fd6 100%); color: #fff; }
.tile--brand p { color: rgba(255, 255, 255, .86); }
.tile--lime { background: linear-gradient(160deg, #eefbc9 0%, #d9f58a 100%); color: var(--lime-ink); }
.tile--light { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.btn--ink { background: var(--night); color: #fff; }
.btn--ink:hover { background: #000; transform: translateY(-1px); }
.btn--white { background: #fff; color: var(--night); }
.btn--white:hover { background: #eef1f6; transform: translateY(-1px); }
.btn--ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .4); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); }

/* Tag pills (icon + text) */
.tags-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tagpill { display: inline-flex; align-items: center; gap: var(--space-2); height: 34px; padding: 0 var(--space-3); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: var(--weight-semibold); background: rgba(255, 255, 255, .12); color: inherit; }
.tagpill .icon { width: 16px; height: 16px; }
.tile--light .tagpill, .tile:not(.tile--dark):not(.tile--brand) .tagpill { background: rgba(21, 23, 28, .06); }
.tagpill--accent { background: rgba(42, 99, 240, .14); color: var(--brand); }
.tile--dark .tagpill--accent { background: rgba(122, 162, 255, .16); color: #9db8ff; }

/* Big metallic numbers */
.metal { font-family: var(--font-display); font-weight: var(--weight-black); font-size: clamp(4rem, 2.5rem + 6vw, 8rem); line-height: .9; letter-spacing: -.05em; background: linear-gradient(170deg, #ffffff 0%, #b9c0cc 45%, #737b88 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile:not(.tile--dark):not(.tile--brand) .metal { background: linear-gradient(170deg, #3b4150 0%, #8a93a3 100%); -webkit-background-clip: text; background-clip: text; }
.metal-label { font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--night-muted); }
.tile .accent-line { color: #9db8ff; font-weight: var(--weight-semibold); }
.tile:not(.tile--dark) .accent-line { color: var(--brand); }

/* ---- Hero ---- */
.h-hero { padding-block: var(--space-16) var(--space-16); }
.h-hero__lead { text-align: center; max-width: 46rem; margin: var(--space-6) auto var(--space-12); font-size: var(--text-xl); color: var(--ink-2); }
.h-hero .tile { min-height: 520px; }
.h-hero .tile__visual { position: static; }
.tile .phone { color: var(--ink); }
.h-hero .tile--brand > :not(.tile__visual) { max-width: 54%; }
.h-hero .tile--brand h2 { max-width: 10ch; }
.h-hero .phone { position: absolute; right: 28px; top: 96px; width: 250px; margin: 0; transform: rotate(6deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.h-hero .phone .phone__state { animation-duration: 9s; }
@media (max-width: 899px) {
  .h-hero .tile--brand > :not(.tile__visual) { max-width: none; }
  .h-hero .phone { position: relative; right: auto; top: auto; margin: var(--space-4) auto -200px; transform: rotate(-4deg); }
  .h-hero .tile { min-height: 0; }
  .h-hero .tile--brand { padding-bottom: 0; }
}
.h-hero .tile--dark .metal + .metal { margin-top: var(--space-2); }

/* ---- Simple steps row ---- */
.steps-row { display: grid; gap: var(--space-8); grid-template-columns: minmax(0, 1fr); counter-reset: s; list-style: none; }
@media (min-width: 900px) { .steps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps-row li { counter-increment: s; display: grid; gap: var(--space-2); }
.steps-row li::before { content: counter(s); font-family: var(--font-display); font-weight: var(--weight-black); font-size: var(--text-3xl); color: var(--brand); line-height: 1; }
.steps-row strong { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--weight-black); letter-spacing: -.02em; }
.steps-row p { color: var(--ink-2); font-size: var(--text-lg); max-width: 30ch; }

/* ---- Fee list (transparent pricing) ---- */
.fee-card { padding: clamp(var(--space-8), 4vw, var(--space-16)); border-radius: var(--radius-xl); background: var(--surface); box-shadow: 0 40px 80px -40px rgba(31, 60, 140, .28), 0 2px 6px rgba(22, 26, 33, .04); }
.fee-list { list-style: none; display: grid; gap: var(--space-3); margin-top: var(--space-10); }
.fee-list li { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.5rem); line-height: 1.2; color: var(--ink-2); font-weight: var(--weight-regular); letter-spacing: -.01em; }
.fee-list b { font-family: var(--font-display); font-weight: var(--weight-black); color: var(--ink); margin-right: .25em; }
.fee-list .note { font-size: var(--text-base); color: var(--muted); margin-top: var(--space-4); }

/* ---- Product rows (like a card catalogue) ---- */
.prod { display: grid; gap: var(--space-8); align-items: center; padding: clamp(var(--space-6), 3vw, var(--space-12)); border-radius: var(--radius-xl); }
@media (min-width: 900px) { .prod { grid-template-columns: 1.1fr .9fr; } }
.prod h3 { color: inherit; font-family: var(--font-display); font-size: var(--text-3xl); font-weight: var(--weight-black); letter-spacing: -.03em; line-height: 1.05; }
.prod p { font-size: var(--text-lg); max-width: 44ch; }
.prod__stats { display: flex; gap: var(--space-10); }
.prod__stats div { display: grid; }
.prod__stats b { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--weight-black); }
.prod__stats span { font-size: var(--text-sm); opacity: .7; }
.prod__visual { border-radius: var(--radius-lg); overflow: hidden; }
.prod + .prod { margin-top: var(--space-4); }
.prod.tile--dark .prod__stats span { color: var(--night-muted); opacity: 1; }

/* Mini UI mocks inside tiles (illustrations of the product) */
.mock { border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); padding: var(--space-5); font-size: var(--text-sm); display: grid; gap: var(--space-3); }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--line-soft); }
.mock__row:first-child { border-top: 0; }
.mock__row b { font-variant-numeric: tabular-nums; }
.mock__title { font-weight: var(--weight-bold); }
.mock .badge { height: 22px; }
.code-mock { border-radius: var(--radius-lg); background: #0e1014; color: #d8dce6; padding: var(--space-5); font-family: var(--mono); font-size: 13px; line-height: 1.7; overflow-x: auto; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.code-mock .k { color: #9db8ff; } .code-mock .s { color: #c4f07a; } .code-mock .c { color: #6b7280; }

/* ---- Dark statement band ---- */
.band-dark { background: var(--night); color: var(--night-ink); padding-block: var(--section-y); text-align: center; }
.band-dark .display { color: #fff; }
.band-dark p { color: var(--night-muted); font-size: var(--text-xl); max-width: 40rem; margin: var(--space-6) auto var(--space-10); }
.band-dark .eyebrow { color: #9db8ff; }

/* Section rhythm on the homepage: headline blocks get room. */
.h-section { padding-block: var(--section-y); }
.h-section__head { margin-bottom: var(--space-12); display: grid; gap: var(--space-6); }
.h-section__head--center { justify-items: center; text-align: center; }

@media (prefers-reduced-motion: reduce) { .h-hero .phone .phone__state { animation: none; } }

/* ==========================================================================
   Merchant area: auth screens and the signed-in dashboard shell.
   ========================================================================== */

/* ---- Auth layout: form on the left, context panel on the right (desktop) ---- */
.auth { min-height: 100vh; display: grid; }
.auth__main { display: grid; grid-template-rows: auto 1fr auto; padding: var(--space-6) var(--gutter); }
.auth__form { width: 100%; max-width: 400px; margin: auto; padding-block: var(--space-12); display: grid; gap: var(--space-8); }
.auth__head { display: grid; gap: var(--space-2); }
.auth__head h1 { font-size: var(--text-2xl); letter-spacing: var(--tracking-snug); }
.auth__head p { color: var(--muted); }
.auth__foot { text-align: center; font-size: var(--text-sm); color: var(--muted); }
.auth__legal { font-size: var(--text-xs); color: var(--muted); text-align: center; }
.auth__aside { display: none; }
.auth__icon { width: 48px; height: 48px; border-radius: var(--radius-lg); background: var(--sunken); border: 1px solid var(--line); display: grid; place-items: center; }
.auth__icon .icon { width: 22px; height: 22px; }
@media (min-width: 1024px) {
  .auth { grid-template-columns: 1fr 1fr; }
  .auth__aside { position: relative; overflow: hidden; display: grid; align-content: center; gap: var(--space-8); padding: var(--space-16); background: radial-gradient(80% 60% at 100% 0%, #dfe9ff 0%, rgba(223, 233, 255, 0) 70%), var(--bg-tint); border-left: 1px solid var(--line); }
  .auth__aside .coin { opacity: .95; }
  .auth__aside .coin--usdt { top: 8%; left: auto; right: 10%; --coin: 72px; }
  .auth__aside .coin--wallet { top: auto; bottom: 10%; right: 18%; --coin: 64px; }
  .auth__aside .coin--usdc { top: auto; bottom: 22%; left: 12%; right: auto; --coin: 48px; }
  .auth__aside-inner { position: relative; z-index: 1; }
  .auth__aside-inner { max-width: 440px; display: grid; gap: var(--space-8); }
}

/* ---- Dashboard shell ---- */
.shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
.shell__sidebar { display: none; }
.shell__topbar { position: sticky; top: 0; z-index: 40; height: var(--header-h); display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--gutter); background: var(--surface); border-bottom: 1px solid var(--line); }
.shell__topbar .mobile-menu { margin-left: auto; }
.shell__main { padding: var(--space-8) var(--gutter) var(--space-16); min-width: 0; }
.shell__content { max-width: 1040px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }

@media (min-width: 1024px) {
  .shell { grid-template-columns: 248px minmax(0, 1fr); grid-template-rows: 1fr; }
  .shell__topbar { display: none; }
  .shell__sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: var(--space-6); padding: var(--space-5) var(--space-4); background: var(--surface); border-right: 1px solid var(--line); }
  .shell__main { padding: var(--space-10) var(--space-10) var(--space-16); }
}

.app-nav { display: grid; gap: 2px; }
.app-nav__label { padding: var(--space-4) var(--space-3) var(--space-2); font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--muted); }
.app-nav a { display: flex; align-items: center; gap: var(--space-3); height: 36px; padding: 0 var(--space-3); border-radius: var(--radius-sm); color: var(--ink-2); font-size: var(--text-sm); font-weight: var(--weight-medium); text-decoration: none; }
.app-nav a .icon { width: 16px; height: 16px; color: var(--muted); }
.app-nav a:hover { background: var(--hover); color: var(--ink); }
.app-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); font-weight: var(--weight-bold); }
.app-nav a[aria-current="page"] .icon { color: var(--brand); }
.app-nav .badge { margin-left: auto; }

.mode-switch { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: var(--radius); background: var(--sunken); border: 1px solid var(--line); }
.mode-switch a { display: flex; align-items: center; justify-content: center; gap: var(--space-2); height: 30px; border-radius: var(--radius-sm); font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--muted); text-decoration: none; }
.mode-switch a[aria-current="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.mode-switch a[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.account { margin-top: auto; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border-top: 1px solid var(--line); font-size: var(--text-sm); }
.account__name { font-weight: var(--weight-semibold); line-height: 1.3; }
.account__email { color: var(--muted); font-size: var(--text-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.account .btn { margin-left: auto; }

/* Test-mode banner */
.mode-banner { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4); background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.mode-banner .icon { width: 14px; height: 14px; color: var(--warn); }

/* Page header inside the dashboard */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4); }
.page-head h1 { font-size: var(--text-2xl); letter-spacing: var(--tracking-snug); }
.page-head p { color: var(--muted); margin-top: var(--space-1); }

/* Stat tiles */
.stats { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat { padding: var(--space-5); display: grid; gap: var(--space-1); }
.stat__label { font-size: var(--text-xs); color: var(--muted); font-weight: var(--weight-medium); }
.stat__value { font-size: var(--text-2xl); font-weight: var(--weight-bold); letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.stat__meta { font-size: var(--text-xs); color: var(--muted); }

/* Onboarding checklist */
.tasks { list-style: none; display: grid; }
.task { display: grid; grid-template-columns: 28px 1fr auto; gap: var(--space-4); align-items: center; padding: var(--space-4) var(--space-6); border-top: 1px solid var(--line-soft); }
.task:first-child { border-top: 0; }
.task__check { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: transparent; }
.task__check .icon { width: 14px; height: 14px; stroke-width: 3; }
.task.is-done .task__check { background: var(--success); border-color: var(--success); color: #fff; }
.task.is-done .task__title { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.task__title { font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.task__text { font-size: var(--text-xs); color: var(--muted); margin-top: 2px; }
@media (max-width: 479px) { .task { grid-template-columns: 28px 1fr; padding-inline: var(--space-4); } .task > .btn, .task > .badge { grid-column: 2; justify-self: start; } }

/* Multi-step application form */
.wizard { display: grid; gap: var(--space-8); }
.wizard__panel { display: grid; gap: var(--space-6); }
.wizard__panel-head { display: grid; gap: var(--space-1); }
.wizard__panel-head h2 { font-size: var(--text-lg); }
.wizard__panel-head p { color: var(--muted); font-size: var(--text-sm); }
.wizard__nav { display: flex; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--space-5); min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: var(--space-4); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.review { display: grid; gap: var(--space-6); }
.review__group h3 { font-size: var(--text-sm); margin-bottom: var(--space-3); }

/* Dashboard navigation inside the mobile menu */
.mobile-menu__panel .app-nav a { padding: 0 var(--space-3); border-bottom: 0; }
.mobile-menu__panel .mode-switch { margin-bottom: var(--space-2); }
.mobile-menu__panel .account { margin-top: var(--space-4); padding-inline: 0; }
.auth__aside-inner > .badge { justify-self: start; }
