/* ==========================================================================
   Urbanese Seller Centre — design system
   Tokens → base → layout → components → pages → responsive
   ========================================================================== */

:root {
  /* Brand */
  --yellow: #FFD703;
  --yellow-deep: #F2C200;
  --yellow-soft: #FFF6C2;
  --ink-brand: #0E0E0C;

  /* Surfaces & text (light) */
  --bg: #FFFFFF;
  --bg-alt: #F6F5EE;
  --surface: #FFFFFF;
  --surface-2: #FBFAF5;
  --line: #E6E2D3;
  --line-strong: #D3CEBB;
  --text: #0E0E0C;
  --text-2: #55534B;
  --text-3: #7A776C;
  --on-yellow: #0E0E0C;
  --focus: #0E0E0C;
  --note-bg: #FFFBE6;
  --note-line: #E9C900;
  --pending-bg: #F4F3EC;
  --pending-line: #B9B39C;
  --ok: #1E7B45;
  --ok-bg: #E6F4EA;
  --err: #B3261E;
  --err-bg: #FCEBEA;
  --logo-filter: none;
  --solid: #0E0E0C;
  --on-solid: #FFFFFF;
  --stage: #FFD703;
  --stage-soft: #FFF3B0;
  --shadow-1: 0 1px 2px rgba(20, 18, 8, .06), 0 1px 1px rgba(20, 18, 8, .04);
  --shadow-2: 0 18px 40px -18px rgba(20, 18, 8, .28), 0 2px 6px rgba(20, 18, 8, .06);

  /* Type */
  --font-display: "Urbanist", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --fs-2xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem);
  --fs-3xl: clamp(2.375rem, 1.6rem + 3.4vw, 4.25rem);

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121210;
    --bg-alt: #191916;
    --surface: #1C1C19;
    --surface-2: #22221E;
    --line: #2E2D28;
    --line-strong: #3E3C35;
    --text: #F5F3EA;
    --text-2: #C4C0B2;
    --text-3: #9B978A;
    --focus: #FFD703;
    --note-bg: #2A2610;
    --note-line: #B89A00;
    --pending-bg: #23231F;
    --pending-line: #5E5A4C;
    --ok: #7FD39C;
    --ok-bg: #16301F;
    --err: #FF9C94;
    --err-bg: #3A1917;
    --logo-filter: invert(1);
  --solid: #FFD703;
  --on-solid: #0E0E0C;
  --yellow-soft: #3A3417;
    --stage-soft: #F2CC00;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-2: 0 18px 40px -18px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .3);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121210;
  --bg-alt: #191916;
  --surface: #1C1C19;
  --surface-2: #22221E;
  --line: #2E2D28;
  --line-strong: #3E3C35;
  --text: #F5F3EA;
  --text-2: #C4C0B2;
  --text-3: #9B978A;
  --focus: #FFD703;
  --note-bg: #2A2610;
  --note-line: #B89A00;
  --pending-bg: #23231F;
  --pending-line: #5E5A4C;
  --ok: #7FD39C;
  --ok-bg: #16301F;
  --err: #FF9C94;
  --err-bg: #3A1917;
  --logo-filter: invert(1);
  --solid: #FFD703;
  --on-solid: #0E0E0C;
  --yellow-soft: #3A3417;
  --stage-soft: #F2CC00;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 18px 40px -18px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .3);
}


/* Site theme switch (data-ui on <html>) — overrides viewer/OS theme. Default: dark. */
:root[data-ui="dark"] {
  color-scheme: dark;
  --bg: #121210;
  --bg-alt: #191916;
  --surface: #1C1C19;
  --surface-2: #22221E;
  --line: #2E2D28;
  --line-strong: #3E3C35;
  --text: #F5F3EA;
  --text-2: #C4C0B2;
  --text-3: #9B978A;
  --focus: #FFD703;
  --note-bg: #2A2610;
  --note-line: #B89A00;
  --pending-bg: #23231F;
  --pending-line: #5E5A4C;
  --ok: #7FD39C;
  --ok-bg: #16301F;
  --err: #FF9C94;
  --err-bg: #3A1917;
  --logo-filter: invert(1);
  --solid: #FFD703;
  --on-solid: #0E0E0C;
  --yellow-soft: #3A3417;
  --stage-soft: #F2CC00;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 18px 40px -18px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .3);
}
:root[data-ui="light"] {
  color-scheme: light;
  --bg: #FFFFFF;
  --bg-alt: #F6F5EE;
  --surface: #FFFFFF;
  --surface-2: #FBFAF5;
  --line: #E6E2D3;
  --line-strong: #D3CEBB;
  --text: #0E0E0C;
  --text-2: #55534B;
  --text-3: #7A776C;
  --focus: #0E0E0C;
  --note-bg: #FFFBE6;
  --note-line: #E9C900;
  --pending-bg: #F4F3EC;
  --pending-line: #B9B39C;
  --ok: #1E7B45;
  --ok-bg: #E6F4EA;
  --err: #B3261E;
  --err-bg: #FCEBEA;
  --logo-filter: none;
  --stage-soft: #FFF3B0;
  --shadow-1: 0 1px 2px rgba(20, 18, 8, .06), 0 1px 1px rgba(20, 18, 8, .04);
  --shadow-2: 0 18px 40px -18px rgba(20, 18, 8, .28), 0 2px 6px rgba(20, 18, 8, .06);
  --solid: #0E0E0C;
  --on-solid: #FFFFFF;
  --yellow-soft: #FFF6C2;
}

/* ---------- Base ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
  font-weight: 800;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: var(--fs-md); font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.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: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--on-yellow); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
mark { background: var(--yellow); color: var(--on-yellow); padding: 0 .15em; border-radius: 3px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--alt { background: var(--bg-alt); }
.section-head { display: grid; gap: 12px; max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--yellow); }
.lede { font-size: var(--fs-lg); color: var(--text-2); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--text-2); }
.small { font-size: var(--fs-sm); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 700; font-size: var(--fs-sm);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s, box-shadow .18s;
}
.btn:hover { border-color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn--primary { --btn-bg: var(--yellow); --btn-fg: var(--on-yellow); --btn-bd: var(--yellow); }
.btn--primary:hover { --btn-bg: var(--yellow-deep); --btn-bd: var(--yellow-deep); box-shadow: 0 8px 20px -10px rgba(180, 140, 0, .8); }
.btn--dark { --btn-bg: var(--solid); --btn-fg: var(--on-solid); --btn-bd: var(--solid); }
.cta-band .btn--dark, .aside-card--yellow .btn--dark { --btn-bg: #0E0E0C; --btn-fg: #fff; --btn-bd: #0E0E0C; }
.btn--dark:hover { --btn-bd: var(--solid); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); }
.btn--ghost { --btn-bg: transparent; --btn-bd: transparent; padding-inline: 14px; }
.btn--ghost:hover { --btn-bd: var(--line-strong); }
.btn--sm { min-height: 40px; padding: 0 16px; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.text-link {
  font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-size: 100% 3px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size .2s var(--ease);
}
.text-link:hover { background-size: 100% 100%; color: var(--on-yellow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; border-radius: 10px; }
.brand-mark { width: 40px; height: auto; }
.brand-word { width: 128px; height: auto; filter: var(--logo-filter); }
.brand-sub {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
  border-left: 1.5px solid var(--line-strong); padding-left: 10px; line-height: 1.2;
}
.nav-primary { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.res-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 42px; padding: 0 14px; border-radius: 999px;
  border: 0; background: transparent; cursor: pointer; font-weight: 700; font-size: var(--fs-sm);
}
.res-toggle:hover, .res-toggle[aria-expanded="true"] { background: var(--bg-alt); }
.res-toggle .chev { transition: transform .2s var(--ease); }
.res-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px -28px rgba(20, 18, 8, .35);
  max-height: calc(100vh - var(--header-h) - 16px);
  overflow-y: auto;
  animation: megaIn .18s var(--ease);
}
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr 1fr;
  gap: 32px;
  padding-block: 32px 36px;
}
.mega-col h2 {
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.mega-col ul { list-style: none; display: grid; gap: 2px; }
.mega-col--modules ul { grid-template-columns: 1fr 1fr; column-gap: 12px; }
.mega-link {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px; margin-inline: -8px; border-radius: 8px;
  text-decoration: none; font-size: var(--fs-sm); font-weight: 600; line-height: 1.3;
}
.mega-link:hover, .mega-link:focus-visible { background: var(--bg-alt); }
.mega-link img { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; background: #fff; flex-shrink: 0; }
.mega-link.is-current { box-shadow: inset 3px 0 0 var(--yellow); }
.mega-foot {
  border-top: 1px solid var(--line);
  padding-block: 14px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
  font-size: var(--fs-sm); color: var(--text-2);
}

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: var(--surface); cursor: pointer; align-items: center; justify-content: center;
}
.mobile-nav {
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
  background: var(--bg); overflow-y: auto; z-index: 49;
  padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
}
.mobile-nav .acc { border-bottom: 1px solid var(--line); }
.mobile-nav .acc-btn { padding: 16px 0; font-size: var(--fs-lg); }
.mobile-nav .acc-panel ul { list-style: none; display: grid; gap: 2px; padding-bottom: 14px; }
.mobile-nav .acc-panel a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.mobile-nav .acc-panel a:hover { background: var(--bg-alt); }
.mobile-actions { display: grid; gap: 10px; margin-top: 24px; }
body.nav-open { overflow: hidden; }

/* ---------- Accordion ---------- */
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 700;
}
.acc-btn .plus { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; transition: transform .2s var(--ease), background .2s; }
.acc-btn[aria-expanded="true"] .plus { transform: rotate(45deg); background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: var(--fs-3xl); letter-spacing: -.035em; }
.hero h1 .hl { position: relative; white-space: nowrap; z-index: 0; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .34em;
  background: var(--yellow); z-index: -1; border-radius: 4px;
  transform-origin: left; animation: swipe .7s .2s var(--ease) both;
}
@keyframes swipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-copy { display: grid; gap: 24px; }
.hero-copy .lede { max-width: 48ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-sm); color: var(--text-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { color: var(--ok); }

.hero-stage {
  position: relative; aspect-ratio: 1 / 1.02; max-width: 100%;
  border-radius: 32px; background: var(--stage);
  overflow: hidden; isolation: isolate;
}
.hero-stage::before {
  /* crosshair grid, echoing the Urbanese deck backgrounds */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image:
    linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)),
    linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9));
  background-size: 14px 2px, 2px 14px;
  background-position: 0 0, 6px -6px;
  background-repeat: no-repeat;
  -webkit-mask: none;
}
.hero-stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6;
  background:
    radial-gradient(circle, transparent 0 0) ,
    repeating-linear-gradient(0deg, transparent 0 59px, rgba(255, 255, 255, .55) 59px 60px),
    repeating-linear-gradient(90deg, transparent 0 59px, rgba(255, 255, 255, .55) 59px 60px);
}
.hero-stage .mascot {
  position: absolute; left: 50%; bottom: -2px; width: 122%; max-width: none; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
}
.ui-chip {
  position: absolute; background: var(--surface); color: var(--text);
  border-radius: 16px; box-shadow: var(--shadow-2); padding: 12px 14px;
  font-size: 13px; line-height: 1.3; border: 1px solid var(--line);
}
.ui-chip small { display: block; color: var(--text-3); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.chip-avail { top: 7%; left: 6%; display: flex; align-items: center; gap: 14px; animation: float 6s ease-in-out infinite; }
.chip-orders { top: 30%; right: 5%; display: grid; gap: 8px; animation: float 7s .6s ease-in-out infinite; }
.chip-orders .tabs { display: flex; gap: 6px; }
.chip-orders .tabs button {
  border: 1px solid var(--line-strong); background: var(--surface); border-radius: 8px; padding: 4px 8px;
  font-size: 11px; font-weight: 700; cursor: pointer;
}
.chip-orders .tabs button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.chip-orders .status { font-size: 11px; color: var(--text-2); min-height: 1.3em; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.switch {
  position: relative; width: 44px; height: 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--line-strong); transition: background .2s; flex-shrink: 0;
}
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s var(--ease); }
.switch[aria-checked="true"] { background: var(--yellow-deep); }
.switch[aria-checked="true"]::after { transform: translateX(18px); }
.stage-caption { position: absolute; left: 16px; bottom: 14px; font-size: 11px; color: rgba(14, 14, 12, .7); font-weight: 600; background: rgba(255, 255, 255, .7); padding: 3px 8px; border-radius: 6px; }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.benefit { padding: 28px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; background: var(--surface); transition: background .2s; }
.benefit:hover { background: var(--surface-2); }
.benefit-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: var(--on-yellow); display: grid; place-items: center; }
.benefit h3 { font-size: var(--fs-lg); }
.benefit p { color: var(--text-2); font-size: var(--fs-sm); }
.benefit .fine { font-size: var(--fs-xs); color: var(--text-3); }
.disclaimer { margin-top: 16px; font-size: var(--fs-xs); color: var(--text-3); }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 24px 24px 28px 0; display: grid; gap: 8px; align-content: start; }
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--text); margin-bottom: 6px;
  position: relative; z-index: 1;
}
.step::before { content: ""; position: absolute; top: 44px; left: 40px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.step:nth-child(3n)::before { display: none; }
.step:hover .step-num { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.step p { color: var(--text-2); font-size: var(--fs-sm); max-width: 32ch; }

/* ---------- Module cards ---------- */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.module-card {
  position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start;
  padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  text-decoration: none; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.module-card:hover { border-color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.module-card .ico { width: 64px; height: 64px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.module-card .ico img { width: 56px; height: 56px; object-fit: contain; }
.module-card h3 { font-size: var(--fs-md); margin-bottom: 4px; }
.module-card p { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.5; }
.module-card .go { position: absolute; top: 18px; right: 18px; opacity: 0; transform: translateX(-4px); transition: .2s var(--ease); }
.module-card:hover .go { opacity: 1; transform: none; }

/* ---------- Quick resources ---------- */
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick a {
  display: grid; gap: 10px; padding: 24px; border-radius: var(--radius); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .2s;
}
.quick a:hover { border-color: var(--text); }
.quick a:hover .text-link { background-size: 100% 100%; }
.quick h3 { font-size: var(--fs-lg); }
.quick p { color: var(--text-2); font-size: var(--fs-sm); }
.quick .tag { font-size: var(--fs-xs); font-weight: 700; color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--yellow); color: var(--on-yellow);
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; min-height: 300px;
}
.cta-band .copy { padding: clamp(28px, 5vw, 56px); display: grid; gap: 16px; align-self: center; }
.cta-band h2 { font-size: var(--fs-2xl); }
.cta-band p { font-size: var(--fs-lg); }
.cta-band .art { align-self: end; justify-self: end; width: min(420px, 100%); mix-blend-mode: multiply; }
.cta-band .btn--dark:focus-visible { outline-color: var(--ink-brand); }

/* ---------- Page intro ---------- */
.page-intro { padding-block: clamp(32px, 5vw, 64px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.page-intro-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.page-intro h1 { font-size: var(--fs-2xl); max-width: 22ch; }
.page-intro .lede { margin-top: 14px; }
.page-intro .art { width: clamp(120px, 18vw, 200px); border-radius: 20px; background: var(--stage); padding-top: 14px; overflow: hidden; }
.page-intro .art img { mix-blend-mode: multiply; }
.page-intro .art.icon-art { background: #fff; border: 1px solid var(--line); padding: 16px; }
.page-intro .art.icon-art img { mix-blend-mode: normal; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: var(--fs-sm); color: var(--text-2); margin-bottom: 16px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--text-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Article / doc layout ---------- */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; font-size: var(--fs-sm); }
.toc h2 { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.toc a { text-decoration: none; padding: 6px 10px; border-radius: 8px; color: var(--text-2); border-left: 2px solid var(--line); border-radius: 0 8px 8px 0; }
.toc a:hover { color: var(--text); background: var(--bg-alt); }
.toc a.is-active { color: var(--text); border-left-color: var(--yellow-deep); font-weight: 700; }
.prose { display: grid; gap: 20px; max-width: 72ch; }
.prose > section { display: grid; gap: 16px; scroll-margin-top: calc(var(--header-h) + 24px); padding-bottom: 12px; }
.prose > section + section { border-top: 1px solid var(--line); padding-top: 32px; }
.prose h2 { font-size: var(--fs-xl); }
.prose h3 { font-size: var(--fs-md); }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ul.bullets { list-style: none; display: grid; gap: 10px; }
.prose ul.bullets li { position: relative; padding-left: 22px; }
.prose ul.bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow-deep); transform: rotate(45deg); }
.prose a:not(.btn):not(.card-link) { font-weight: 600; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.numbered { list-style: none; counter-reset: n; display: grid; gap: 14px; }
.numbered > li { counter-increment: n; position: relative; padding: 16px 18px 16px 64px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.numbered > li::before {
  content: counter(n); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--yellow); color: var(--on-yellow); font-family: var(--font-display); font-weight: 800; display: grid; place-items: center; font-size: 14px;
}
.numbered strong { display: block; margin-bottom: 2px; }

/* Notes */
.note { border-radius: var(--radius); padding: 16px 18px; display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: var(--fs-sm); line-height: 1.55; }
.note svg { margin-top: 2px; }
.note p { color: var(--text); }
.note--info { background: var(--note-bg); border: 1px solid var(--note-line); }
.note--pending { background: var(--pending-bg); border: 1.5px dashed var(--pending-line); }
.note--pending .label { font-weight: 800; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); display: block; margin-bottom: 2px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; line-height: 1;
  padding: 6px 10px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--text-2); white-space: nowrap;
}
.pill--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.pill--pending { background: var(--pending-bg); border-style: dashed; border-color: var(--pending-line); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 520px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-alt); font-weight: 800; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
tr:last-child td { border-bottom: 0; }
td.num { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); font-variant-numeric: tabular-nums; color: var(--text); }

/* Doc checklists */
.doc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.doc-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--surface); display: grid; gap: 12px; align-content: start; }
.doc-box h3 { display: flex; align-items: center; gap: 10px; }
.doc-box h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-top: 4px; }
.check-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.check-list li { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: var(--bg-alt); color: var(--text); border: 1px solid var(--line); }

/* Tabs */
.tabs-bar { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); gap: 4px; flex-wrap: wrap; }
.tabs-bar button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: var(--fs-sm); cursor: pointer; color: var(--text-2); }
.tabs-bar button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }

/* Figure */
.figure { border-radius: var(--radius-lg); overflow: hidden; background: var(--stage); border: 1px solid var(--line); }
.figure figcaption { font-size: var(--fs-xs); color: var(--text-3); padding: 10px 14px; background: var(--surface); border-top: 1px solid var(--line); }
figure { margin: 0; }

/* Mock app panels (rebuilt from seller app screens) */
.app-mock { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); padding: 18px; display: grid; gap: 12px; box-shadow: var(--shadow-1); max-width: 380px; }
.app-mock .bar { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-family: var(--font-display); }
.app-mock .balance { background: var(--yellow); color: var(--on-yellow); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.app-mock .balance small { font-size: 12px; font-weight: 600; }
.app-mock .balance strong { font-family: var(--font-display); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.app-mock .row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.app-mock .row:last-child { border-bottom: 0; }
.app-mock .row b { font-variant-numeric: tabular-nums; }
.app-mock .ex { font-size: 11px; color: var(--text-3); }

/* Cards (generic) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card-link { display: grid; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; align-content: start; transition: border-color .2s, transform .2s var(--ease); }
.card-link:hover { border-color: var(--text); transform: translateY(-2px); }
.card-link h3 { font-size: var(--fs-md); }
.card-link p { color: var(--text-2); font-size: var(--fs-sm); }
.card-link .ico-sq { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); color: var(--on-yellow); display: grid; place-items: center; margin-bottom: 6px; }

/* Ecosystem (how Urbanese works) */
.eco { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.eco-card { border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; background: var(--surface); display: grid; gap: 10px; align-content: start; }
.eco-card .role { display: flex; align-items: center; gap: 10px; }
.eco-card .role span { width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; color: var(--on-yellow); }
.eco-card p { color: var(--text-2); font-size: var(--fs-sm); }
.flow { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flow li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--fs-sm); }
.flow li span { padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.flow li + li::before { content: "→"; color: var(--text-3); }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.video-slot { border-radius: var(--radius); border: 1.5px dashed var(--pending-line); background: var(--pending-bg); aspect-ratio: 16 / 10; max-width: 100%; display: grid; place-items: center; text-align: center; padding: 16px; gap: 6px; }
.video-slot .play { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; border: 1px solid var(--line); margin-inline: auto; }
.video-slot p { font-size: var(--fs-sm); font-weight: 700; color: var(--text); }
.video-slot small { font-size: 12px; color: var(--text-3); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item .acc-btn { padding: 18px 0; font-size: var(--fs-md); }
.faq-item .acc-panel { padding: 0 44px 20px 0; color: var(--text-2); }
.faq-item .acc-panel p + p { margin-top: 8px; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.faq-cats a { text-decoration: none; }
.faq-cats a:hover .pill { border-color: var(--text); color: var(--text); }
.faq-group { scroll-margin-top: calc(var(--header-h) + 24px); display: grid; gap: 8px; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-search { position: relative; max-width: 520px; margin-bottom: 20px; }
.faq-search input { padding-left: 44px; }
.faq-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.empty { padding: 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--text-2); text-align: center; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 700; font-size: var(--fs-sm); }
.field .hint { font-size: var(--fs-xs); color: var(--text-3); }
input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; font: inherit; font-size: var(--fs-md); color: var(--text);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 12px;
  padding: 12px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 55%, transparent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field .error { color: var(--err); font-size: var(--fs-xs); font-weight: 700; display: flex; gap: 6px; align-items: center; }
.form-status { border-radius: var(--radius); padding: 16px 18px; font-size: var(--fs-sm); display: grid; gap: 10px; }
.form-status--err { background: var(--err-bg); color: var(--err); border: 1px solid currentColor; }
.form-status--ok { background: var(--ok-bg); color: var(--ok); border: 1px solid currentColor; }
.form-status--pending { background: var(--pending-bg); border: 1.5px dashed var(--pending-line); color: var(--text); }
.form-status pre { white-space: pre-wrap; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin: 0; max-height: 220px; overflow: auto; color: var(--text); }
.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-aside { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); display: grid; gap: 4px; }
.contact-card .k { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.contact-card .v { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); word-break: break-word; }
.contact-card .src { font-size: 12px; color: var(--text-3); }
.copy-btn { justify-self: start; margin-top: 6px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
.copy-btn:hover { border-color: var(--text); }

/* Blog */
.blog-toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.blog-toolbar .faq-search { margin: 0; flex: 1 1 260px; max-width: 360px; }
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-filter button { border: 1.5px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: var(--fs-sm); cursor: pointer; }
.cat-filter button[aria-pressed="true"] { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }
.featured { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; background: var(--surface); margin-bottom: 32px; transition: border-color .2s; }
.featured:hover { border-color: var(--text); }
.featured .img { background: var(--stage); min-height: 260px; display: grid; place-items: end center; overflow: hidden; }
.featured .img img { mix-blend-mode: multiply; max-height: 320px; width: auto; }
.featured .body { padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; align-content: center; }
.featured h2 { font-size: var(--fs-xl); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; background: var(--surface); transition: border-color .2s, transform .2s var(--ease); }
.post-card:hover { border-color: var(--text); transform: translateY(-2px); }
.post-card .img { aspect-ratio: 16 / 10; max-width: 100%; background: var(--stage-soft); display: grid; place-items: end center; overflow: hidden; }
.post-card .img img { height: 92%; width: auto; mix-blend-mode: multiply; object-fit: contain; }
.post-card .img.cover img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.post-card .body { padding: 18px 20px 22px; display: grid; gap: 10px; align-content: start; }
.post-card h3 { font-size: var(--fs-md); }
.post-card p { font-size: var(--fs-sm); color: var(--text-2); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--fs-xs); color: var(--text-3); }
.article-hero { border-radius: var(--radius-lg); background: var(--stage); overflow: hidden; display: grid; place-items: end center; max-height: 380px; }
.article-hero img { mix-blend-mode: multiply; max-height: 360px; width: auto; }
.article-hero.cover img { width: 100%; max-height: 380px; object-fit: cover; mix-blend-mode: normal; }

/* 404 */
.nf { text-align: center; display: grid; justify-items: center; gap: 16px; }
.nf img { width: 220px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-brand); color: #EDEBE3; padding-block: 64px 28px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid #2B2A25; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand .brand-word { filter: invert(1); width: 150px; }
.footer-brand p { color: #B5B2A6; font-size: var(--fs-sm); max-width: 34ch; }
.site-footer h2 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: #EDEBE3; font-size: var(--fs-sm); }
.site-footer a:hover { color: var(--yellow); }
.site-footer :focus-visible { outline-color: var(--yellow); }
.footer-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 28px; border-bottom: 1px solid #2B2A25; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a, .social span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid #3A3832; font-size: var(--fs-sm);
}
.social a:hover { border-color: var(--yellow); }
.social span { color: #86837A; border-style: dashed; cursor: not-allowed; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 24px; font-size: var(--fs-xs); color: #908D82; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { font-size: var(--fs-xs); }


/* ---------- Pills & badges (v2) ---------- */
.pill--soon { background: var(--ink-brand); border-color: var(--yellow-deep); color: var(--yellow); }
.pill--lg { font-size: 13px; padding: 8px 12px; vertical-align: middle; position: relative; top: -.4em; }
.pill--dark { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }
.soon-dot { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--ink-brand); color: var(--yellow); padding: 2px 6px; border-radius: 999px; margin-left: 4px; vertical-align: 1px; }
.site-footer .soon-dot { background: var(--yellow); color: var(--ink-brand); }
.module-card.is-soon .ico img { filter: grayscale(.2); }
.card-link--row { grid-template-columns: 44px 1fr; align-items: center; column-gap: 12px; }
.card-link--row img { border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.card-link--row span { display: grid; gap: 4px; justify-items: start; }

/* ---------- Video player ---------- */
.video-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.yt-wrap { display: grid; gap: 8px; }
.yt { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--ink-brand); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-poster {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; text-align: left;
  display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 16px 18px;
  background:
    radial-gradient(120% 90% at 100% 100%, rgba(255, 215, 3, .95) 0 38%, transparent 38.5%),
    var(--ink-brand);
  color: #fff;
}
.yt-poster::after { content: ""; position: absolute; right: -6%; bottom: -14%; width: 52%; aspect-ratio: 1.27; background: url("../img/mascot-flat.png") center / contain no-repeat; opacity: .95; transition: transform .3s var(--ease); }
.yt-poster:hover::after { transform: translateY(-4px) rotate(-3deg); }
.yt-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.yt-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, .9rem + .4vw, 1.2rem); line-height: 1.2; max-width: 70%; position: relative; z-index: 1; }
.yt-play { width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--ink-brand); display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .6); transition: transform .2s var(--ease); }
.yt-play svg { margin-left: 3px; }
.yt-poster:hover .yt-play { transform: scale(1.08); }
.yt-poster:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.yt-wrap figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: var(--fs-xs); color: var(--text-2); }
.yt-wrap figcaption span { font-weight: 700; color: var(--text); }
.yt-wrap figcaption a { display: inline-flex; align-items: center; gap: 4px; color: var(--text-3); }
.doc-video { margin-top: 8px; }

/* ---------- App badges ---------- */
.app-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px; background: var(--solid); color: var(--on-solid); text-decoration: none; border: 1px solid var(--solid); transition: transform .2s var(--ease); }
.app-badge:hover { transform: translateY(-2px); }
.app-badge span { display: grid; line-height: 1.1; font-weight: 800; font-size: 14px; }
.app-badge small { font-weight: 500; font-size: 10px; opacity: .8; }
.app-badges--dark .app-badge { background: #fff; color: var(--ink-brand); border-color: #fff; }
.prose .app-badges a { text-decoration: none; }

/* ---------- Docs & offers ---------- */
.doc-accepted { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 20px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.doc-accepted h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 8px; }
.offer-band { display: grid; gap: 2px; padding: 18px 20px; border-radius: var(--radius); background: var(--yellow); color: var(--on-yellow); }
.offer-band strong { font-family: var(--font-display); font-size: var(--fs-lg); }

/* ---------- Dashboard mocks ---------- */
.dash-mock { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); display: grid; align-content: start; }
.dash-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--yellow); color: var(--on-yellow); font-size: 13px; animation: nudge 3s ease-in-out infinite; }
.dash-top p { flex: 1; color: var(--on-yellow) !important; }
@keyframes nudge { 0%, 100% { transform: none; } 6% { transform: translateY(-2px); } 12% { transform: none; } }
.dash-body { display: grid; gap: 8px; padding: 16px; }
.dash-body span { height: 12px; border-radius: 6px; background: var(--bg-alt); }
.dash-body span:nth-child(1) { width: 70%; } .dash-body span:nth-child(2) { width: 90%; } .dash-body span:nth-child(3) { width: 55%; }
.dash-mock .ex { padding: 0 16px 14px; }
.app-mock--wallet { max-width: 420px; justify-self: end; }
.app-mock .balance { position: relative; }
.bal-actions { display: flex; gap: 6px; margin-top: 8px; }
.bal-actions span { font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 8px; background: var(--ink-brand); color: #fff; }
.bal-actions span + span { background: rgba(255, 255, 255, .7); color: var(--ink-brand); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpis > div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.kpis small { font-size: 11px; color: var(--text-3); font-weight: 600; }
.kpis b { font-family: var(--font-display); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.kpis em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ok); display: inline-flex; align-items: center; gap: 4px; }
.spark { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 96px; align-items: end; padding: 8px 4px 0; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(0deg, transparent 0 23px, var(--line) 23px 24px); }
.spark-col { display: grid; grid-template-rows: 1fr auto; height: 100%; align-items: end; justify-items: center; gap: 4px; }
.spark-bar { width: 70%; border-radius: 5px 5px 2px 2px; background: color-mix(in srgb, var(--yellow) 55%, var(--surface)); transform-origin: bottom; animation: grow .8s var(--ease) both; }
.spark-bar.is-peak { background: var(--yellow-deep); }
.spark-col small { font-size: 10px; color: var(--text-3); }
@keyframes grow { from { transform: scaleY(.15); } to { transform: none; } }

/* ---------- Registration ---------- */
.req { color: var(--err); }
.reg-hero { background: var(--yellow); color: var(--on-yellow); padding-block: 28px 0; overflow: hidden; }
.reg-hero .crumbs, .reg-hero .crumbs a { color: rgba(14, 14, 12, .75); }
.reg-hero .eyebrow { color: var(--on-yellow); }
.reg-hero .eyebrow::before { background: var(--on-yellow); }
.reg-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.reg-hero-grid > div { padding-bottom: 36px; display: grid; gap: 12px; }
.reg-hero h1 { font-size: var(--fs-2xl); }
.reg-hero .lede { color: rgba(14, 14, 12, .8); }
.reg-hero img { width: clamp(120px, 16vw, 190px); mix-blend-mode: multiply; margin-bottom: -4px; }
.reg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.reg-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 36px); box-shadow: var(--shadow-1); scroll-margin-top: calc(var(--header-h) + 16px); }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 28px; counter-reset: s; }
.stepper li { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 3px solid var(--line); color: var(--text-3); font-weight: 700; font-size: var(--fs-sm); }
.stepper li span { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-strong); font-family: var(--font-display); font-weight: 800; }
.stepper li em { font-style: normal; }
.stepper li.is-current { color: var(--text); border-color: var(--yellow-deep); }
.stepper li.is-current span { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.stepper li.is-done { color: var(--text); border-color: var(--text); }
.stepper li.is-done span { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }
.reg-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 28px; }
.reg-block { display: grid; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.reg-block h2 { font-size: var(--fs-lg); }
.block-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.lang-tabs { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line); }
.lang-tabs button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--text-2); }
.lang-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
.form-row--3 { grid-template-columns: repeat(3, 1fr); }
.field .lbl { font-weight: 700; font-size: var(--fs-sm); }
.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice, .package { position: relative; cursor: pointer; }
.choice input, .package input, .chip-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice > span { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius); border: 2px solid var(--line-strong); background: var(--surface); transition: border-color .15s, background .15s; }
.choice small { color: var(--text-2); font-size: var(--fs-xs); }
.choice input:checked + span { border-color: var(--solid); background: var(--yellow-soft); color: var(--text); }
.choice input:checked + span small { color: var(--text-2); }
.choice input:focus-visible + span, .package input:focus-visible + span, .chip-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-size: 13px; font-weight: 600; cursor: pointer; background: var(--surface); transition: .15s; }
.chip-opt input:checked + span { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }
.has-error .chip-select .chip-opt span { border-color: var(--err); }
.time-row { display: grid; grid-template-columns: 1fr auto 1fr 1.2fr; gap: 10px; align-items: center; max-width: 520px; }
.time-row span { color: var(--text-3); font-size: var(--fs-sm); }
.drop { display: block; position: relative; border: 2px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface-2); padding: 18px; cursor: pointer; min-height: 96px; transition: border-color .15s, background .15s; }
.drop:hover, .drop.is-drag { border-color: var(--yellow-deep); background: var(--yellow-soft); color: var(--text); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.drop-empty { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); color: var(--text-2); }
.drop:hover .drop-empty, .drop.is-drag .drop-empty { color: var(--text); }
.drop-full { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); }
.drop-full img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.drop-full .fname { flex: 1; font-weight: 600; word-break: break-all; }
.drop-full .change { font-weight: 800; font-size: 12px; text-decoration: underline; }
.upload.has-error .drop { border-color: var(--err); }
.package-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.package > span { display: grid; gap: 2px; padding: 20px; border-radius: var(--radius); border: 2px solid var(--line-strong); background: var(--surface); position: relative; min-height: 140px; align-content: start; transition: .15s; }
.package small { font-weight: 800; font-size: var(--fs-sm); }
.package b { font-family: var(--font-display); font-size: 2.4rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.package em { font-style: normal; font-size: var(--fs-xs); color: var(--text-3); }
.package i { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: 10px; padding: 4px 8px; }
.package input:checked + span { border-color: var(--ink-brand); background: var(--yellow); color: var(--ink-brand); }
.package input:checked + span em { color: rgba(14, 14, 12, .7); }
.reg-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.reg-aside { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); display: grid; gap: 10px; }
.aside-card h3 { font-size: var(--fs-md); }
.aside-card--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.ticks { list-style: none; display: grid; gap: 8px; font-size: var(--fs-sm); }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks svg { flex-shrink: 0; margin-top: 2px; }
.aside-phone { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); }
.reg-done { display: grid; justify-items: center; text-align: center; gap: 16px; padding-block: 24px; }
.reg-done img { mix-blend-mode: multiply; max-height: 240px; width: auto; background: var(--yellow); border-radius: 20px; padding-top: 10px; }
.reg-done h2 { font-size: var(--fs-2xl); }
.reg-done .lede { max-width: 52ch; }

/* ---------- Legal ---------- */
.legal-hero { background: var(--ink-brand); color: #F5F3EA; padding-block: 32px 40px; }
.legal-hero .crumbs, .legal-hero .crumbs a { color: #B5B2A6; }
.legal-hero .eyebrow { color: var(--yellow); }
.legal-hero h1 { font-size: var(--fs-2xl); color: #fff; margin-top: 10px; }
.legal-hero .lede { color: #C9C6BA; margin-top: 12px; }
.legal-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.legal-switch { display: flex; flex-wrap: wrap; gap: 6px; }
.legal-switch a { text-decoration: none; font-size: var(--fs-sm); font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid #3A3832; color: #EDEBE3; }
.legal-switch a:hover { border-color: var(--yellow); }
.legal-switch a[aria-current="page"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink-brand); }
.legal-hero :focus-visible { outline-color: var(--yellow); }
.glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.glance > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; background: var(--surface); }
.glance span { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: var(--on-yellow); display: grid; place-items: center; }
.glance h3 { font-size: var(--fs-md); }
.glance p { font-size: var(--fs-sm); color: var(--text-2); }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.role-grid--2 { grid-template-columns: 1fr 1fr; }
.role-grid > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; align-content: start; }
.role-grid > div.is-hl { border-color: var(--yellow-deep); background: var(--note-bg); }
.prose h3 { margin-top: 4px; }

/* ---------- Footer extras ---------- */
.footer-contact { color: #EDEBE3 !important; font-weight: 700; }
.footer-apps { margin-top: 12px; font-size: var(--fs-xs); color: #908D82; }
.footer-apps a { font-size: var(--fs-xs); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 960px) {
  .reg-grid { grid-template-columns: 1fr; }
  .reg-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .legal-hero-grid { grid-template-columns: 1fr; }
  .app-mock--wallet { justify-self: start; }
}
@media (max-width: 720px) {
  .form-row--3, .package-cards, .glance, .role-grid, .role-grid--2, .doc-accepted { grid-template-columns: 1fr; }
  .stepper em { display: none; }
  .stepper li.is-current em { display: inline; }
  .reg-hero-grid { grid-template-columns: 1fr auto; }
  .reg-hero img { width: 96px; }
  .time-row { grid-template-columns: 1fr auto 1fr; }
  .time-row select { grid-column: 1 / -1; }
  .choice-cards { grid-template-columns: 1fr 1fr; }
}


/* ---------- v3: guide components ---------- */
.note--tip { background: var(--ok-bg); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); }
.note .label { font-weight: 800; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); display: block; margin-bottom: 2px; }
.offer-band--dark { background: var(--ink-brand); color: #fff; }
.offer-band--dark strong { color: var(--yellow); }
.tool-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.tool-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font-size: var(--fs-sm); line-height: 1.45; }
.tool-list svg { flex-shrink: 0; margin-top: 2px; color: var(--on-yellow); background: var(--yellow); border-radius: 50%; padding: 2px; width: 20px; height: 20px; }
.reserve { display: grid; grid-template-columns: 9fr 1fr; gap: 6px; }
.reserve > div { border-radius: 12px; padding: 14px 16px; display: grid; gap: 2px; background: var(--yellow); color: var(--on-yellow); min-width: 0; }
.reserve > div + div { background: var(--ink-brand); color: #fff; padding-inline: 10px; }
.reserve b { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.reserve span { font-size: var(--fs-xs); font-weight: 600; }
@media (max-width: 720px) { .reserve { grid-template-columns: 1fr; } }
.bands { display: flex; flex-wrap: wrap; gap: 8px; }
.bands span { font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; border: 1.5px solid; }
.b-ok { color: var(--ok); } .b-warn { color: #9A6B00; } .b-res { color: #B25400; } .b-sus { color: var(--err); }
:root[data-theme="dark"] .b-warn { color: #F2C94C; }
strong.pos { color: var(--ok); } strong.neg { color: var(--err); }
.prose td .num { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); }

/* Stepper (4) */
.stepper--4 { grid-template-columns: repeat(4, 1fr); }

/* Map picker */
.map-picker { display: grid; gap: 10px; }
.map-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.map-search { position: relative; flex: 1 1 240px; }
.map-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.map-search input { padding-left: 42px; }
.map-canvas {
  position: relative; height: 260px; border-radius: var(--radius); overflow: hidden; cursor: not-allowed; border: 1.5px solid var(--line-strong);
  background:
    linear-gradient(28deg, transparent 47%, color-mix(in srgb, var(--yellow) 55%, #fff) 47% 50%, transparent 50%),
    linear-gradient(-62deg, transparent 58%, #fff 58% 60%, transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(0, 0, 0, .06) 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(0, 0, 0, .06) 54px 56px),
    #EEF0E6;
}
.map-canvas.is-ready { cursor: crosshair; }
.map-zone { position: absolute; left: 50%; top: 50%; width: 60%; aspect-ratio: 1; max-height: 90%; transform: translate(-50%, -50%); border-radius: 50%; border: 2.5px dashed var(--line-strong); background: transparent; transition: .2s; display: grid; place-items: start center; }
.map-zone em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); color: var(--text-2); padding: 2px 8px; border-radius: 999px; margin-top: -10px; opacity: 0; }
.map-canvas.is-ready .map-zone { border-color: var(--ink-brand); background: color-mix(in srgb, var(--yellow) 28%, transparent); }
.map-canvas.is-ready .map-zone em { opacity: 1; }
.map-pin { position: absolute; transform: translate(-50%, -92%); color: var(--ink-brand); filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .3)); pointer-events: none; animation: drop .35s var(--ease); }
.map-pin svg { fill: var(--yellow); }
@keyframes drop { from { transform: translate(-50%, -140%); opacity: 0; } to { transform: translate(-50%, -92%); opacity: 1; } }
.map-hint { position: absolute; left: 12px; bottom: 12px; right: 12px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .92); color: #0E0E0C; padding: 8px 10px; border-radius: 10px; text-align: center; }
.map-note { font-style: normal; color: var(--text-3); }
.has-error .map-canvas { border-color: var(--err); }

/* Password rules */
.pw-rules { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pw-rules li { font-size: 12px; font-weight: 700; padding: 5px 10px 5px 26px; border-radius: 999px; background: var(--bg-alt); color: var(--text-2); border: 1px solid var(--line); position: relative; }
.pw-rules li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); background: var(--line-strong); }
.pw-rules li.ok { background: var(--ok-bg); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.pw-rules li.ok::before { background: var(--ok); }

/* Login */
.login { padding-block: clamp(28px, 5vw, 64px); background: var(--bg-alt); }
.login-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid var(--line); max-width: 1080px; }
.login-card { background: var(--surface); padding: clamp(24px, 4vw, 56px); display: grid; gap: 20px; align-content: start; }
.login-card h1 { font-size: var(--fs-2xl); }
.login-card #login-view, .login-card #forgot-view { display: grid; gap: 16px; }
.login-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); justify-self: start; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; border-radius: 8px; cursor: pointer; color: var(--text-2); display: grid; place-items: center; }
.pw-toggle[aria-pressed="true"] { color: var(--text); background: var(--bg-alt); }
.login-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink-brand); }
.link-btn { border: 0; background: none; padding: 4px 0; font-weight: 700; font-size: var(--fs-sm); cursor: pointer; text-decoration: underline; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 6px; justify-self: start; }
.btn--block { width: 100%; }
.login-alt { font-size: var(--fs-sm); color: var(--text-2); }
.login-side { position: relative; background: var(--yellow); color: var(--on-yellow); padding: clamp(24px, 4vw, 48px); display: grid; overflow: hidden; min-height: 520px; }
.login-side-copy { display: grid; gap: 16px; align-content: start; position: relative; z-index: 1; max-width: 400px; }
.login-side .eyebrow { color: var(--on-yellow); }
.login-side .eyebrow::before { background: var(--on-yellow); }
.login-side h2 { font-size: var(--fs-xl); }
.login-feats { list-style: none; display: grid; gap: 12px; }
.login-feats li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); }
.login-feats svg { flex-shrink: 0; background: var(--ink-brand); color: var(--yellow); border-radius: 10px; padding: 6px; width: 32px; height: 32px; }
.login-feats strong { display: block; font-size: var(--fs-md); }
.login-mascot { position: absolute; right: -40px; bottom: -10px; width: 58%; max-width: 330px; mix-blend-mode: multiply; }
@media (max-width: 960px) {
  .login-grid { grid-template-columns: 1fr; }
  .login-side { min-height: 0; padding-bottom: 220px; }
  .login-mascot { width: 200px; right: 0; }
}
@media (max-width: 720px) { .stepper--4 li em { display: none; } .stepper--4 li.is-current em { display: inline; } .map-canvas { height: 220px; } }

/* ---------- Route transition ---------- */
#app { min-height: 60vh; }
#app.enter { animation: pageIn .35s var(--ease); }
@keyframes pageIn { from { opacity: .001; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--solid); color: var(--on-solid); padding: 10px 16px; border-radius: 12px; font-size: var(--fs-sm); font-weight: 600; z-index: 80; box-shadow: var(--shadow-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .mega-grid { grid-template-columns: 1fr 1.4fr 1fr 1fr; gap: 20px; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-primary, .nav-actions .btn--login { display: none; }
  .menu-btn { display: inline-flex; }
  .brand-sub { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 560px; width: 100%; justify-self: center; }
  .benefits, .module-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3n)::before { display: block; }
  .step:nth-child(2n)::before { display: none; }
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc h2 { width: 100%; margin: 0; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
  .toc a.is-active { border-color: var(--yellow-deep); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .featured { grid-template-columns: 1fr; }
  .eco { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1101px) { .mobile-nav { display: none !important; } }
@media (max-width: 1100px) { .nav-primary, .nav-actions .btn--login { display: none; } .menu-btn { display: inline-flex; } .brand-sub { display: none; } }
@media (max-width: 720px) {
  :root { --header-h: 62px; }
  .brand-word { width: 108px; }
  .brand-mark { width: 34px; }
  .nav-actions .btn--primary { min-height: 40px; padding: 0 14px; }
  .benefits, .module-grid, .quick, .post-grid, .doc-cols, .eco { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 0 0 24px 56px; }
  .step .step-num { position: absolute; left: 0; top: 0; }
  .step::before, .step:nth-child(3n)::before, .step:nth-child(2n)::before { display: block; top: 42px; left: 19px; right: auto; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px); }
  .step:last-child::before { display: none; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .art { width: min(300px, 80%); justify-self: center; }
  .section-head--row { grid-template-columns: 1fr; }
  .page-intro-grid { grid-template-columns: 1fr; }
  .page-intro .art { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-mid { grid-template-columns: 1fr; }
  .chip-orders { right: 4%; top: 34%; }
  .ui-chip { padding: 10px 12px; }
}
.nav-actions .short { display: none; }
@media (max-width: 420px) {
  .footer-top { grid-template-columns: 1fr 1fr !important; }
  .nav-actions .btn--primary .long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-actions .short { display: inline; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .chip-orders .tabs button { padding: 4px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

.card-link .pill, .module-card .pill { justify-self: start; }
.doc-cols > .prose { align-content: start; }
.reg-hero img { mix-blend-mode: multiply; }

.login-grid.container { padding-inline: 0; width: calc(100% - 2 * var(--gutter)); }

/* v4: role switch & employee login */
.role-switch { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); gap: 4px; }
.role-switch a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: var(--fs-sm); color: var(--text-2); }
.role-switch a:hover { color: var(--text); }
.role-switch a[aria-current="page"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
.login-card[data-role="employee"] ~ .login-side { background: var(--ink-brand); color: #F5F3EA; }
.login-card[data-role="employee"] ~ .login-side .eyebrow { color: var(--yellow); }
.login-card[data-role="employee"] ~ .login-side .eyebrow::before { background: var(--yellow); }
.login-card[data-role="employee"] ~ .login-side .login-feats svg { background: var(--yellow); color: var(--ink-brand); }
.login-mascot--flat { mix-blend-mode: normal !important; width: 44% !important; max-width: 240px; right: 28px !important; bottom: 28px !important; transform: rotate(-8deg); }
.nav-actions { gap: 4px; }
@media (max-width: 1120px) { .nav-actions .btn--login { padding-inline: 10px; } .brand-sub { display: none; } }

/* ---------- Theme switch ---------- */
.theme-toggle { width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--text); cursor: pointer; display: inline-grid; place-items: center; flex-shrink: 0; transition: border-color .2s, transform .2s var(--ease); }
.theme-toggle:hover { border-color: var(--text); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle .i-moon, :root[data-ui="light"] .theme-toggle .i-sun { display: none; }
:root[data-ui="light"] .theme-toggle .i-moon { display: block; }
:root:not([data-ui="light"]) .hero h1 .hl { color: var(--yellow); }
:root:not([data-ui="light"]) .hero h1 .hl::after { opacity: .22; }
:root:not([data-ui="light"]) .site-footer { border-top: 1px solid var(--line); }
:root:not([data-ui="light"]) .legal-hero { border-bottom: 1px solid var(--line); }
:root:not([data-ui="light"]) .site-footer, :root:not([data-ui="light"]) .legal-hero { background: #0A0A09; }
html { transition: background-color .25s; }

/* Business Types header menu */
.nav-primary { gap: 2px; }
.bt-head { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline; padding-top: 28px; }
.bt-head h2 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.bt-head p { font-size: var(--fs-sm); color: var(--text-2); }
.bt-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 16px; padding-block: 18px 26px; }
.bt-link { align-items: flex-start; gap: 14px; padding: 10px; margin: 0; border: 1px solid transparent; }
.bt-link:hover, .bt-link:focus-visible { border-color: var(--line); }
.bt-link img { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); }
.bt-link span { display: grid; gap: 2px; }
.bt-link strong { font-size: var(--fs-sm); }
.bt-link small { font-size: var(--fs-xs); color: var(--text-2); font-weight: 500; line-height: 1.4; }
@media (max-width: 1180px) { .res-toggle { padding: 0 10px; } .nav-actions .btn--login .ico-hide { display: none; } }
@media (max-width: 1080px) { .bt-grid { grid-template-columns: 1fr 1fr; } }

.res-toggle { white-space: nowrap; }

/* ---------- Mobile responsiveness pass ---------- */
.eco--2 { grid-template-columns: 1fr 1fr; }
.quick--2 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.prose, .doc > *, .reg-card, .contact-grid > *, .login-card, .login-side { min-width: 0; }
.prose p, .prose li, .check-list li, .contact-card .v { overflow-wrap: anywhere; }
.prose td { overflow-wrap: break-word; hyphens: auto; }
.copy-btn { min-height: 40px; padding: 6px 14px; font-size: 13px; }
.link-btn { min-height: 40px; }
.app-badge small, .spark-col small, .soon-dot, .map-zone em { font-size: 11px; }
@media (max-width: 960px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { max-width: 100%; }
}
@media (max-width: 720px) {
  /* type & rhythm */
  :root { --fs-3xl: clamp(2.1rem, 8.5vw, 2.6rem); --fs-2xl: clamp(1.6rem, 6.4vw, 2rem); --fs-xl: 1.3rem; --fs-lg: 1.125rem; }
  .section { padding-block: 48px; }
  .section--tight { padding-block: 36px; }
  .lede { font-size: 1.0625rem; }
  .section-head { margin-bottom: 24px; }
  .eco, .eco--2 { grid-template-columns: 1fr; }
  /* header */
  .header-inner { gap: 8px; }
  .theme-toggle, .menu-btn { width: 42px; height: 42px; }
  .mobile-nav .acc-panel a { padding: 12px; min-height: 44px; display: flex; align-items: center; }
  /* hero */
  .hero { padding-block: 28px 44px; }
  .hero-copy { gap: 18px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-stage { aspect-ratio: 1 / 1.05; border-radius: 24px; }
  .chip-avail { left: 4%; top: 5%; }
  .chip-orders { left: 4%; right: 4%; top: auto; bottom: 30%; }
  .chip-orders .tabs { flex-wrap: wrap; }
  .stage-caption { display: none; }
  /* cards & lists */
  .benefit { padding: 22px 20px; }
  .module-card { grid-template-columns: 52px 1fr; padding: 16px; gap: 14px; }
  .module-card .ico { width: 52px; height: 52px; }
  .module-card .ico img { width: 44px; height: 44px; }
  .module-card .go { display: none; }
  .cta-band { border-radius: 22px; min-height: 0; }
  .cta-band .btn { width: 100%; }
  .page-intro { padding-block: 24px 28px; }
  .crumbs { font-size: 13px; margin-bottom: 12px; }
  .toc { gap: 6px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .toc::-webkit-scrollbar { display: none; }
  .toc h2 { display: none; }
  .toc a { white-space: nowrap; flex-shrink: 0; min-height: 38px; display: inline-flex; align-items: center; }
  .numbered > li { padding: 14px 14px 14px 56px; }
  .numbered > li::before { left: 12px; }
  .flow { gap: 6px; }
  .flow li { font-size: 13px; }
  .table-wrap { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; border-inline: 0; }
  .note { grid-template-columns: 20px 1fr; padding: 14px; }
  .tool-list { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .faq-item .acc-panel { padding-right: 0; }
  .faq-item .acc-btn { font-size: 1rem; min-height: 56px; }
  /* blog */
  .blog-toolbar { gap: 14px; }
  .cat-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 4px; scrollbar-width: none; width: calc(100% + 2 * var(--gutter)); }
  .cat-filter::-webkit-scrollbar { display: none; }
  .cat-filter button { white-space: nowrap; flex-shrink: 0; min-height: 40px; }
  .blog-toolbar .faq-search { max-width: none; }
  .featured .img { min-height: 200px; }
  /* wallet mock */
  .app-mock--wallet { max-width: 100%; justify-self: stretch; }
  .kpis b { font-size: .95rem; }
  .app-mock .row { font-size: 13px; }
  .reserve { grid-template-columns: 1fr; }
  /* forms */
  .reg-card { padding: 18px 16px; border-radius: 18px; }
  .reg-block { gap: 14px; padding-bottom: 22px; }
  .reg-nav .btn { flex: 1 1 auto; }
  .reg-nav .btn--ghost { flex: 0 0 auto; }
  .choice > span { padding: 14px; }
  .package-cards { grid-template-columns: 1fr; }
  .package > span { min-height: 0; grid-template-columns: 1fr auto; align-items: center; }
  .package b { grid-row: 1 / 3; grid-column: 2; font-size: 2rem; }
  .package i { position: static; justify-self: start; margin-top: 6px; }
  .map-tools .btn { width: 100%; }
  .reg-hero-grid > div { padding-bottom: 24px; }
  .reg-hero .lede { font-size: 1rem; }
  .contact-card { padding: 16px; }
  input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="password"], select, textarea { font-size: 16px; }
  /* login */
  .login { padding-block: 16px 32px; }
  .login-grid.container { width: calc(100% - 2 * var(--gutter)); border-radius: 22px; }
  .login-card { padding: 22px 18px; }
  .login-side { padding: 24px 20px 200px; }
  .login-mascot { width: 170px; right: -10px; }
  .login-mascot--flat { width: 150px !important; }
  /* legal */
  .legal-hero { padding-block: 24px 28px; }
  .legal-switch { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .legal-switch::-webkit-scrollbar { display: none; }
  .legal-switch a { white-space: nowrap; flex-shrink: 0; }
  .role-grid > div { padding: 16px; }
  /* footer */
  .site-footer { padding-block: 44px 24px; }
  .footer-top { gap: 28px 20px; }
  .footer-bottom { flex-direction: column; }
  .site-footer ul a { display: inline-block; padding-block: 4px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  table { min-width: 0; font-size: 14px; }
  th, td { padding: 10px 12px; }
  th { font-size: 11px; }
  .table-wrap td:first-child { min-width: 110px; }
  .kpis { grid-template-columns: 1fr; }
  .kpis > div { grid-template-columns: 1fr auto; align-items: baseline; column-gap: 10px; }
  .kpis em { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .hero-meta { font-size: 13px; }
  .chip-orders .tabs button { font-size: 11px; padding: 4px 6px; }
  .nav-actions .btn--primary { padding: 0 12px; }
  .brand-word { width: 96px; }
}

.footer-brand .brand { flex-wrap: nowrap; }

/* Disbursement mock */
.disb-mock { max-width: 460px; }
.disb-card { border: 1.5px solid var(--yellow-deep); border-radius: 14px; padding: 14px; display: grid; gap: 12px; background: var(--surface-2); }
.disb-top { display: flex; align-items: center; gap: 12px; }
.disb-top > span:nth-child(2) { display: grid; flex: 1; }
.disb-top small { color: var(--text-2); font-size: 12px; }
.disb-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--yellow); color: var(--on-yellow); display: grid; place-items: center; }
.disb-dl { margin: 0; display: grid; gap: 8px; }
.disb-dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.disb-dl div:last-child { border-bottom: 0; }
.disb-dl dt { color: var(--text-2); }
.disb-dl dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.disb-add { display: flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px dashed var(--line-strong); border-radius: 12px; padding: 10px; font-size: 13px; font-weight: 700; color: var(--text-2); }

/* Contact: tabs, slots, tickets */
.contact-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); margin-bottom: 24px; }
.contact-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 0; background: none; border-radius: 10px; font-weight: 800; font-size: var(--fs-sm); cursor: pointer; color: var(--text-2); }
.contact-tabs button[aria-selected="true"] { background: var(--yellow); color: var(--on-yellow); box-shadow: var(--shadow-1); }
.slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.slot { position: relative; cursor: pointer; }
.slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slot span { display: grid; place-items: center; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line-strong); font-weight: 700; font-size: var(--fs-sm); background: var(--surface); }
.slot input:checked + span { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }
.slot input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.has-error .slot span { border-color: var(--err); }
input[type="date"] { width: 100%; font: inherit; font-size: var(--fs-md); color: var(--text); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
input[type="date"]:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 55%, transparent); }
.ticket { border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 8px; background: var(--ok-bg); border: 1.5px solid color-mix(in srgb, var(--ok) 45%, transparent); position: relative; overflow: hidden; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); transform: translateY(-50%); }
.ticket::before { left: -11px; } .ticket::after { right: -11px; }
.ticket--pending { background: var(--pending-bg); border: 1.5px dashed var(--pending-line); }
.ticket--pending::before, .ticket--pending::after { display: none; }
.ticket-k { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.ticket-id { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .04em; }
.ticket pre { white-space: pre-wrap; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin: 0; max-height: 220px; overflow: auto; color: var(--text); }
.cb-steps { list-style: none; counter-reset: cb; display: grid; gap: 12px; }
.cb-steps li { counter-increment: cb; display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; font-size: var(--fs-sm); }
.cb-steps li::before { content: counter(cb); grid-row: 1 / 3; width: 28px; height: 28px; border-radius: 50%; background: var(--ink-brand); color: var(--yellow); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.cb-steps span { color: rgba(14, 14, 12, .8); }
@media (max-width: 720px) { .contact-tabs button { font-size: 14px; } }
.dash-top strong, .dash-top p { color: var(--on-yellow) !important; }
.dash-mock .ex { display: block; font-size: 12px; color: var(--text-3); line-height: 1.45; }
.doc-cols > .app-mock, .doc-cols > .dash-mock { align-self: start; }
.aside-card--yellow .cb-steps strong { color: var(--on-yellow); }

/* Payout reminder illustration v2 */
.dash-mock { margin: 0; }
.dash-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.dash-chrome span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.dash-chrome em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--text-2); margin-left: 8px; }
.dash-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--yellow); color: #0E0E0C !important; font-size: 13px; line-height: 1.35; }
.dash-top p, .dash-top b { color: #0E0E0C !important; margin: 0; }
.dash-top b { font-weight: 800; }
.dash-btn { flex-shrink: 0; background: #0E0E0C; color: #FFD703; font-weight: 800; font-size: 12px; padding: 7px 12px; border-radius: 8px; white-space: nowrap; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; }
.dash-stats div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 2px; }
.dash-stats small { font-size: 11px; color: var(--text-3); font-weight: 600; }
.dash-stats b { font-family: var(--font-display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.dash-mock figcaption { padding: 0 14px 14px; font-size: 12px; color: var(--text-3); line-height: 1.45; }

/* ---------- Call-back scheduler ---------- */
.scheduler { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 18px 18px; margin: 0; display: grid; gap: 14px; background: var(--surface-2); min-width: 0; }
.scheduler legend { font-weight: 800; font-size: var(--fs-md); padding: 0 6px; font-family: var(--font-display); }
.tz-pill { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; background: var(--solid); color: var(--on-solid); border-radius: 6px; padding: 2px 6px; margin-left: 6px; vertical-align: 1px; }
.day-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.day { position: relative; flex: 0 0 auto; cursor: pointer; }
.day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.day span { display: grid; justify-items: center; gap: 1px; width: 76px; padding: 10px 6px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--surface); transition: .15s; }
.day small { font-size: 11px; font-weight: 700; color: var(--text-2); }
.day b { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; }
.day em { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--ok); margin-top: 2px; }
.day:hover span { border-color: var(--text); }
.day input:checked + span { background: var(--yellow); border-color: var(--yellow); color: #0E0E0C; }
.day input:checked + span small, .day input:checked + span em { color: #0E0E0C; }
.day input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.day.is-full { cursor: not-allowed; }
.day.is-full span { opacity: .45; }
.day.is-full em { color: var(--err); }
#slot-board { display: grid; gap: 8px; }
.slot-row { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; }
.slot-hour { font-weight: 800; font-size: 13px; color: var(--text-2); }
.scheduler .slot-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.scheduler .slot span { min-height: 42px; font-size: 14px; font-variant-numeric: tabular-nums; position: relative; }
.slot:hover input:not(:disabled) + span { border-color: var(--text); }
.slot input:disabled + span { cursor: not-allowed; }
.slot.is-past span { opacity: .35; text-decoration: line-through; }
.slot.is-taken span { background: var(--bg-alt); color: var(--text-3); border-style: dashed; }
.slot.is-taken i { position: absolute; bottom: 2px; font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.slot-summary:empty { display: none; }
.slot-summary { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--note-bg); border: 1px solid var(--note-line); }
.slot-summary span { display: grid; gap: 2px; }
.slot-summary small { color: var(--text-2); font-size: 13px; }
.has-error .day span { border-color: var(--err); }
@media (max-width: 720px) {
  .scheduler { padding: 14px 12px 14px; }
  .slot-row { grid-template-columns: 1fr; gap: 6px; }
  .day span { width: 68px; }
  .scheduler .slot span { font-size: 13px; }
}

/* ---------- Clock-based time picker ---------- */
.clock-picker { display: grid; grid-template-columns: 200px minmax(0, 280px); grid-template-areas: "read face" "legend face"; gap: 12px 28px; align-items: center; justify-content: start; }
.clock-read { grid-area: read; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px; font-family: var(--font-display); }
.clock-read > span { font-size: 2.4rem; font-weight: 800; color: var(--text-3); }
.clock-read .seg { font: inherit; font-size: 2.6rem; font-weight: 800; line-height: 1; padding: 6px 10px; border-radius: 12px; border: 0; background: var(--bg-alt); color: var(--text); cursor: pointer; font-variant-numeric: tabular-nums; min-width: 72px; }
.clock-read .seg.is-active { background: var(--yellow); color: #0E0E0C; }
.clock-read .seg:disabled { opacity: .5; cursor: default; }
.clock-read em { font-style: normal; font-weight: 800; font-size: 1rem; margin-left: 6px; color: var(--text-2); }
.clock-read small { flex-basis: 100%; font-family: var(--font-body); font-size: 13px; color: var(--text-2); margin-top: 6px; }
.clock-legend { grid-area: legend; font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 8px; margin: 0; align-self: start; }
.lg-window { width: 22px; height: 10px; border-radius: 6px; background: color-mix(in srgb, var(--yellow) 45%, transparent); border: 1px solid var(--yellow-deep); }
.clock-face { grid-area: face; position: relative; width: 100%; max-width: 280px; aspect-ratio: 1; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line-strong); box-shadow: inset 0 0 0 10px var(--bg-alt); }
.clock-face.is-hours { background:
    conic-gradient(from 90deg, color-mix(in srgb, var(--yellow) 30%, transparent) 0deg 150deg, transparent 150deg 360deg),
    var(--surface); }
.clock-pin { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--solid); transform: translate(-50%, -50%); z-index: 2; }
.clock-hand { position: absolute; left: 50%; top: 50%; width: 3px; height: 34%; margin-left: -1.5px; background: var(--yellow-deep); transform-origin: 50% 0; border-radius: 3px; z-index: 1; translate: 0 -100%; transform-origin: 50% 100%; transition: transform .35s var(--ease); }
.dial-num, .dial-min { position: absolute; transform: translate(-50%, -50%); border: 0; cursor: pointer; font-family: var(--font-display); font-weight: 800; z-index: 3; display: grid; place-items: center; transition: background .15s, transform .15s; }
.dial-num { width: 40px; height: 40px; border-radius: 50%; background: transparent; color: var(--text-3); font-size: 1rem; }
.dial-num.is-window { color: var(--text); background: var(--surface); box-shadow: 0 0 0 1.5px var(--yellow-deep); }
.dial-num.is-window:hover:not(:disabled) { background: var(--yellow); color: #0E0E0C; transform: translate(-50%, -50%) scale(1.08); }
.dial-num:disabled { cursor: default; }
.dial-num.is-window:disabled { opacity: .45; text-decoration: line-through; }
.dial-num.is-on { background: var(--yellow) !important; color: #0E0E0C !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 35%, transparent); }
.dial-min { width: 70px; height: 56px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1.5px var(--line-strong); color: var(--text); gap: 0; line-height: 1.1; }
.dial-min b { font-size: 1.15rem; }
.dial-min small { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--text-2); }
.dial-min:hover:not(:disabled) { box-shadow: 0 0 0 2px var(--text); }
.dial-min.is-on { background: var(--yellow); box-shadow: 0 0 0 2px var(--yellow); color: #0E0E0C; }
.dial-min.is-on small { color: #0E0E0C; }
.dial-min:disabled { cursor: not-allowed; opacity: .5; }
.dial-min.is-taken { background: var(--bg-alt); box-shadow: 0 0 0 1.5px dashed var(--line-strong); }
.dial-tick { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); transform: translate(-50%, -50%); }
.dial-num:focus-visible, .dial-min:focus-visible, .clock-read .seg:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (max-width: 720px) {
  .clock-picker { grid-template-columns: 1fr; grid-template-areas: "read" "face" "legend"; justify-items: center; }
  .clock-read { justify-content: center; text-align: center; }
  .clock-face { max-width: 260px; }
  .clock-legend { justify-content: center; align-self: center; }
}
@media (prefers-reduced-motion: reduce) { .clock-hand { transition: none; } }
