/* Sisa website: dark only, like the console and the app. Shared tokens only; gold is for placeholders and detail, never meaning. */
/* tokens:start: generated by docs/design/tokens.mjs from docs/design/tokens.css; edit there and rerun. */
:root {
  /* surfaces, darkest to lightest; --deep is the website's ink hero and footer */
  --deep: #0A120E; --bg: #121413; --soft: #191C1A; --card: #1E2220; --hover: #242826;
  /* --line and --line-2 divide (decorative); --edge is a control's edge, 3:1 on every surface; --edge-field
     is the hairline edge of inputs, chips and segments (the owner's call, 2026-10-31: softer than 3:1; the
     focused field's brand-ink edge still shows at 3:1) */
  --line: #2B302D; --line-2: #3A403C; --edge: #737A74; --edge-field: #3A403C;
  /* text, 4.5:1 on every surface */
  --text: #ECEDE9; --text-2: #A8ADA6; --text-3: #8C918A;
  /* brand: --brand fills and links; --brand-ink is words, hover and focus; --on-brand is the label on a fill (white is 2.77:1 there) */
  --brand: #3FAE80; --brand-ink: #62C79C; --brand-wash: #173A2C; --on-brand: #08140F;
  /* gold is decoration, never meaning; --gold-text when it has to be read */
  --gold: #C9A84C; --gold-text: #D9BE6E;
  /* layers: white marks on photos and fills (the camera frame, bank marks, the toggle knob), the dim behind a sheet,
     a faint track under a progress bar (the rate timer); never text on the page */
  --white: #FFFFFF; --scrim: #0000008C; --track: #ECEDE91F;
  /* status: the word on its own wash */
  --ok: #52C48E; --ok-bg: #16322A; --warn: #E3AD52; --warn-bg: #362B15; --err: #F2766C; --err-bg: #3B1E1C; --info: #86ABEB; --info-bg: #1B2739;
  /* radii and type steps */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px;
  --fs-cap: 12px; --fs-lbl: 13px; --fs-sm: 14px; --fs-base: 16px; --fs-lead: 18px; --fs-h2: 22px; --fs-h1: 28px; --fs-disp: 34px;
}
/* tokens:end */
:root {
  color-scheme: dark;
  --dash-v: repeating-linear-gradient(to bottom, var(--line-2) 0 6px, transparent 6px 12px) left top / 1px 100% no-repeat;
  --dash-h: repeating-linear-gradient(to right, var(--line-2) 0 6px, transparent 6px 12px) left top / 100% 1px no-repeat;
  --shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, .8);
  --font: "Inter", "Inter var", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--font); font-feature-settings: "cv11"; -webkit-font-smoothing: antialiased; }
@media (min-width: 960px) { body { font-size: 17px; } }
/* Medium is the heaviest weight on the site (the wordmark aside), browser-default bold included */
b, strong, th, dt, summary, caption { font-weight: 500; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.2vw, 40px); }
h3 { font-size: 18px; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--card); color: var(--text); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[id] { scroll-margin-top: 80px; }
.tbd { display: inline-block; font-weight: 500; font-size: .92em; color: var(--gold-text); background: var(--warn-bg); border: 1px dashed var(--gold); border-radius: 6px; padding: 0 6px; line-height: 1.5; }

/* ---------- shared pieces: buttons, icon tiles, cards, grids ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--r-md); padding: 11px 18px; font-weight: 500; font-size: 15px; line-height: 20px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn[hidden] { display: none; }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-ghost { background: var(--soft); color: var(--text); box-shadow: inset 0 0 0 1px var(--edge); }
.btn-link { background: none; color: var(--brand-ink); padding-inline: 4px; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.btn-wide { width: 100%; padding-block: 14px; font-size: 16px; }
/* icons: 20 px in a 40 px tile, 24 in 48; they never carry meaning alone (aria-hidden) */
.tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-wash); color: var(--brand-ink); flex: none; }
.tile svg { width: 20px; height: 20px; }
.tile-sm { width: 32px; height: 32px; border-radius: var(--r-sm); } .tile-sm svg { width: 18px; height: 18px; }
.eyebrow { display: block; margin-bottom: 12px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--brand-ink); }
.eyebrow a { color: inherit; }
.lead { margin-top: 16px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--text-2); max-width: 36em; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.card .tile + h3, .card .tile + h2 { margin-top: 16px; }
.card h2 { font-size: 18px; letter-spacing: -0.01em; }
.card p { margin-top: 6px; color: var(--text-2); font-size: 15px; }
a.card { display: block; color: var(--text); text-decoration: none; }

.go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 500; font-size: 15px; text-decoration: none; }
.go svg { width: 18px; height: 18px; }

.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .g3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .g2, .g4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; 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); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 6px; padding: 4px; margin-left: -4px; color: var(--text); text-decoration: none; }
.mark { width: 22px; height: 22px; stroke: var(--brand); stroke-width: 4.4; stroke-linecap: round; stroke-linejoin: round; }
.wordmark { font-weight: 650; font-size: 23px; letter-spacing: -0.04em; line-height: 1; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-size: 15px; text-decoration: none; }

.nav a[aria-current="page"] { color: var(--text); font-weight: 500; box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.top-cta .btn { padding: 8px 14px; font-size: 14px; border-radius: 10px; } /* compact in the bar; 36px tall */
.menu-btn { display: none; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; background: none; border: 0; padding: 8px; border-radius: 10px; cursor: pointer; color: var(--text); }
@media (max-width: 920px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; padding: 8px var(--gut) 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -24px rgba(0, 0, 0, .35); }
  .top.open .nav { display: flex; }
  .nav a { font-size: 17px; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--text); background: none; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); padding-left: 12px; }
  .menu-btn:not([hidden]) { display: inline-flex; }
}
@media (max-width: 380px) { .top-cta .btn-brand { padding-inline: 12px; } }

/* ---------- home hero: headline, lead and calculator; the app's tracker beside it ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.035em; max-width: 17ch; }
.hero .lead { max-width: 30em; }
/* Wide screens: the copy column is as tall as the calculator, title at the top and the app buttons at the bottom */
@media (min-width: 861px) { .hero-in { align-items: stretch; } .hero-copy { display: flex; flex-direction: column; justify-content: space-between; } }
.hero .calc { justify-self: end; width: 100%; max-width: 480px; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; background: var(--soft); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 6px 18px 6px 16px; cursor: pointer; font-weight: 500; font-size: 14px; }

.store img { height: 18px; width: auto; flex: none; opacity: .75; }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero .calc { justify-self: stretch; max-width: none; }
}

/* calculator */
.calc { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 20px; box-shadow: var(--shadow); }
.calc-top { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin: 0 2px 12px; }
.calc-h { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--text-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); white-space: nowrap; }
.pill svg { width: 16px; height: 16px; color: var(--brand-ink); }
.field { display: flex; align-items: stretch; border: 1px solid var(--edge); border-radius: 14px; background: var(--card); transition: border-color .15s, box-shadow .15s; }
.field:focus-within { border-color: var(--brand-ink); box-shadow: 0 0 0 3px var(--brand-wash); }
.field-in { flex: 1; min-width: 0; padding: 10px 14px 8px; }
.field label { display: block; font-size: 13px; color: var(--text-2); }
.field input { width: 100%; border: 0; outline: none; background: transparent; color: var(--text); font: 500 28px/1.2 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; padding: 2px 0; }
.field-get { background: var(--brand-wash); border-color: transparent; }
.field-get input { font-size: 32px; color: var(--brand-ink); }
.ccy { display: flex; align-items: center; gap: 8px; padding: 0 14px; font-weight: 500; font-size: 15px; }
.ccy svg { width: 24px; height: 16px; border-radius: 3px; stroke: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
@media (max-width: 480px) { /* long amounts shrink to stay whole on phones */
  .field input { font-size: 26px; } .field-get input { font-size: 28px; } .ccy { padding: 0 10px; gap: 6px; }
  .field input.long { font-size: 21px; } .field-get input.long { font-size: 23px; }
}
@media (max-width: 360px) { /* the smallest phones */
  .calc { padding: 14px; } .field-in { padding: 8px 10px 6px; }
  .field input { font-size: 20px; } .field-get input { font-size: 20px; }
  .field input.long, .field-get input.long { font-size: 18px; }
}
.rows { list-style: none; margin: 8px 0; padding: 0; }
.rows li { display: flex; align-items: center; gap: 12px; padding: 5px 2px; font-size: 14px; color: var(--text-2); position: relative; }
/* A timeline: each row draws its half of the line to the next icon, behind the (solid) tiles */
.rows li:not(:first-child)::before, .rows li:not(:last-child)::after { content: ""; position: absolute; left: 17px; width: 2px; background: var(--brand-wash); }
.rows li:not(:first-child)::before { top: 0; height: 50%; } .rows li:not(:last-child)::after { top: 50%; bottom: 0; }
.rows .tile { position: relative; z-index: 1; }
.rows b { margin-left: auto; padding-left: 8px; color: var(--text); font-weight: 500; white-space: nowrap; }
.hint { min-height: 22px; margin: 10px 2px 0; font-size: 14px; color: var(--text-2); }
.hint.err { color: var(--err); }
.hint:empty { display: none; }
.calc-actions:not(:has(> :not([hidden]))) { display: none; } /* only the desk link, and only above $250,000 */
.calc-actions { margin-top: 12px; display: grid; gap: 2px; justify-items: center; }


/* proof strip: facts next to the call to action */
.proof { background: var(--soft); border-block: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0 auto; padding-block: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--text-2); padding: 4px 24px; }
.proof li:first-child { padding-left: 0; }
.proof li + li { background: var(--dash-v); } /* a divider between facts: 6px dashes, 6px gaps; rows of two or one below */
.proof b { display: block; color: var(--text); font-size: 15px; font-weight: 500; }
@media (max-width: 960px) { .proof ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof li { padding-block: 14px; } .proof li:nth-child(odd) { background: none; padding-left: 0; } .proof li:nth-child(3) { background: var(--dash-h); } .proof li:nth-child(4) { background: var(--dash-v), var(--dash-h); } }
@media (max-width: 480px) { .proof ul { grid-template-columns: minmax(0, 1fr); } .proof li { padding-inline: 0; } .proof li:nth-child(n+2) { background: var(--dash-h); } }

/* ---------- sections ---------- */
.sec { padding: clamp(56px, 8vw, 96px) 0; }
.sec-soft { background: var(--soft); border-block: 1px solid var(--line); }
.sec:not(.sec-soft) + .sec:not(.sec-soft) { padding-top: 0; } /* same background: don't double the gap */
.sec-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.sec-head p { margin-top: 12px; color: var(--text-2); font-size: var(--fs-lead); }
.more { margin-top: 24px; font-weight: 500; }

/* page head: eyebrow, one h1, one short lead */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }
.page-head h1 { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -0.03em; max-width: 20ch; }
.page-head + .sec:not(.sec-soft) { padding-top: 0; }
/* Page titles are centred, like the home sections; a legal document keeps its title over its left-aligned text */
.page-head > .wrap:not(.narrow) { text-align: center; } .page-head > .wrap:not(.narrow) :is(h1, .lead) { margin-inline: auto; }

/* step rows: the step on one side, a small piece of the app on the other */
.flow { display: grid; gap: 16px; }
.flow-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.flow-row:nth-child(even) .frag { order: -1; }
.flow-row .card { display: flex; flex-direction: column; justify-content: center; }
.flow-row h3 { font-size: 22px; margin-top: 8px; } .flow-row .card p { font-size: 16px; }
.step-n { font-size: 14px; font-weight: 500; color: var(--brand-ink); }
.frag { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; place-items: center; min-height: 180px; }
.mini { width: 100%; max-width: 340px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 6px 14px; font-size: 13px; color: var(--text-2); }
.mini > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; }
.mini > div + div { border-top: 1px solid var(--line); }
.mini b { color: var(--text); font-weight: 500; text-align: right; }
.mini svg { width: 16px; height: 16px; color: var(--brand-ink); vertical-align: -3px; margin-right: 6px; }
@media (max-width: 760px) { .flow-row { grid-template-columns: minmax(0, 1fr); } .flow-row:nth-child(even) .frag { order: 0; } }

/* how it works: four steps */

/* security: what Sisa will never do */
.never { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); }
.never h2, .never h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.02em; }
.never ul { list-style: none; margin: 16px 0 0; padding: 0; }
.never li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.never li svg { width: 20px; height: 20px; color: var(--err); margin-top: 1px; }
.never strong { display: block; font-weight: 500; }
.never li span { display: block; margin-top: 2px; color: var(--text-2); }
.never-foot { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
@media (min-width: 861px) {
  .never-lg li { font-size: 17px; }
  .never-lg li > div { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: baseline; }
  .never-lg li span { margin-top: 0; font-size: 15px; }
}
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.trust-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.tcol h2 { font-size: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 20px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px; border-radius: 2px; background: var(--warn); transform: rotate(45deg); }
.chan { list-style: none; margin: 4px 0 0; padding: 0; }
.chan li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.chan b { display: block; font-weight: 500; }
.chan div > span:not(.tbd) { display: block; font-size: 14px; color: var(--text-2); margin-top: 2px; }
.report { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: rep; }
.report li { counter-increment: rep; position: relative; padding: 12px 0 12px 36px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
.report li::before { content: counter(rep); position: absolute; left: 0; top: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-wash); color: var(--brand-ink); font-size: 13px; font-weight: 500; }
.report b { color: var(--text); }
@media (max-width: 960px) { .trust-cols { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* questions */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 500; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--text-2); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--text-2); max-width: 60ch; }
.faq-g { margin: 36px 0 4px; padding-top: 4px; font-size: 15px; color: var(--text-2); letter-spacing: 0; font-weight: 500; }
.faq-g:first-child { margin-top: 0; }
.chips { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); font-size: 15px; color: var(--text); text-decoration: none; }

.chips svg { width: 18px; height: 18px; color: var(--brand-ink); }

/* one call to action per page */
.cta-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- rates: today's rate and the banking day in both clocks ---------- */
.today { background: var(--soft); border-block: 1px solid var(--line); padding: 44px 0 40px; }
.today-in { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.small-h { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--text-2); }
.big { font-size: clamp(64px, 9vw, 96px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; margin-top: 8px; }
.unit { color: var(--text-2); margin-top: 6px; font-size: 15px; }
.status { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; padding: 6px 12px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--text-3); flex: none; }
.dot.open { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.day-line { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.day-line::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line-2); border-radius: 2px; }
.day-line li { position: relative; padding: 26px 16px 0 0; }
.day-line li::before { content: ""; position: absolute; left: 0; top: 1px; width: 14px; height: 14px; border-radius: 50%; background: var(--soft); border: 2px solid var(--line-2); }
.day-line li.past::before { background: var(--brand); border-color: var(--brand); }
.day-line li.next::before { border-color: var(--brand-ink); box-shadow: 0 0 0 4px var(--brand-wash); }
.day-line .t { font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
.day-line .a { display: block; font-size: 14px; color: var(--text-2); }
.day-line .l { display: block; margin-top: 8px; font-size: 15px; }
.day-line .chip { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--brand-ink); background: var(--brand-wash); vertical-align: 2px; }
.day-line li.past .t, .day-line li.past .l { color: var(--text-2); }
@media (max-width: 860px) {
  .today-in { grid-template-columns: minmax(0, 1fr); }
  .day-line { grid-template-columns: minmax(0, 1fr); padding-left: 30px; }
  .day-line::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .day-line li { padding: 0 0 20px; }
  .day-line li::before { left: -30px; top: 6px; }
}
/* ---------- business: the desk ---------- */
.desk { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.desk .big { margin: 0; color: var(--brand-ink); font-size: clamp(56px, 7vw, 84px); }
.desk .unit { font-weight: 500; color: var(--text); }
.desk p + p { margin-top: 10px; }
.desk .body { color: var(--text-2); }
.desk .cta-actions { margin-top: 20px; }
@media (max-width: 760px) { .desk { grid-template-columns: minmax(0, 1fr); } }

/* ---------- help: questions beside the contact card ---------- */
.help-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact { position: sticky; top: 92px; }
.contact h2 { font-size: 22px; }
.contact .chan li:last-child { border-bottom: 0; }
.contact .small-h { margin-top: 16px; }
.hours { margin: 8px 0 0; }
.hours > div { padding: 8px 0; border-top: 1px solid var(--line); }
.hours dt { font-weight: 500; font-size: 15px; } .hours dd { margin: 2px 0 0; font-size: 14px; color: var(--text-2); }
@media (max-width: 860px) { .help-in { grid-template-columns: minmax(0, 1fr); } .contact { position: static; } }

/* ---------- legal ---------- */
.docs { list-style: none; margin: 0; padding: 0; } .docs .card { height: 100%; }
.disclosure { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; color: var(--text-2); max-width: 70em; }
.doc-in { display: grid; grid-template-columns: minmax(0, 760px) minmax(200px, 260px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 92px; max-height: calc(100vh - 120px); overflow-y: auto; font-size: 14px; }
.toc .small-h { margin-top: 0; font-size: 15px; }
.toc ol { list-style: none; margin: 8px 0 0; padding: 0; border-left: 1px solid var(--line-2); }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--text-2); text-decoration: none; }

@media (max-width: 960px) { .doc-in { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
.narrow { max-width: 840px; }
.crumb { margin-bottom: 12px; font-size: 15px; font-weight: 500; }
.doc h2 { font-size: 21px; margin-top: 32px; }
.doc .draft-note { margin: 0 0 8px; padding: 14px 16px; border: 1px solid var(--gold); border-left-width: 4px; border-radius: var(--r-md); background: var(--warn-bg); color: var(--gold-text); font-size: 15px; font-weight: 500; }
.doc p, .doc dl, .doc ul, .doc ol { margin-top: 10px; color: var(--text-2); }
.doc h3 { font-size: 17px; margin-top: 20px; }
.doc li + li { margin-top: 4px; }
.doc dt { font-weight: 500; color: var(--text); margin-top: 12px; }
.doc dd { margin: 4px 0 0; }
.table-scroll { overflow-x: auto; margin-top: 12px; }
.lic { width: 100%; border-collapse: collapse; font-size: 15px; }
.lic th, .lic td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-2); }
.lic th { font-weight: 500; }

/* ---------- /verify: a business owner's verification form (verify.js) ---------- */
.verify { display: grid; gap: 20px; }
.verify .card { display: grid; gap: 14px; }
.verify label { display: grid; gap: 6px; font-size: var(--fs-sm); color: var(--text-2); }
.verify label[hidden], .verify form[hidden] { display: none; }
.verify input:not([type=checkbox]), .verify select { min-height: 48px; padding: 10px 14px; border: 1px solid var(--edge); border-radius: var(--r-md); background: var(--soft); color: var(--text); font: 400 16px/1.3 var(--font); }
.verify input:focus-visible, .verify select:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
.verify input[type=file] { padding: 12px; }
.verify .v-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .verify .v-row { grid-template-columns: 1fr; } }
.verify .v-opt, .verify .v-note { color: var(--text-3); font-size: var(--fs-lbl); }
.verify .v-name { color: var(--text); font-weight: 500; }
.verify .v-check { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: var(--fs-base); min-height: 44px; }
.verify .v-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); }
.verify .btn { justify-self: start; min-height: 48px; }
.verify .v-done { font-size: var(--fs-lead); color: var(--ok); }

/* ---------- footer: brand and app buttons, three link columns, the disclosures, a © bar, the wordmark closing the page ---------- */
.foot { background: var(--deep); color: var(--text-2); padding-top: 64px; font-size: 14px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand .brand { margin-bottom: 10px; }
.foot-brand p { max-width: 28ch; }
.foot-brand .stores { margin-top: 20px; }
.foot-h { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot ul a { display: inline-flex; align-items: center; min-height: 32px; color: var(--text-2); text-decoration: none; }
.foot-h a { color: inherit; text-decoration: none; }
.foot ul a[aria-current="page"] { color: var(--text); text-decoration: underline; } /* not the logo: it's the current page on Home */
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13px; }
.foot-legal p { max-width: 96ch; }
.foot-legal a, .foot-bar a { color: var(--text-2); }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 20px; font-size: 13px; color: var(--text-3); }
/* Decorative: brand green fading into the page, cut by the bottom edge */
.foot-mark { margin: 32px 0 -.2em; text-align: center; font-weight: 650; font-size: clamp(120px, 30vw, 380px); letter-spacing: -0.06em; line-height: .9; background: linear-gradient(color-mix(in srgb, var(--brand) 16%, var(--deep)), var(--deep) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- the app dialog: every Get started opens it ---------- */
.app-dialog { width: min(320px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-xl); background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.app-dialog::backdrop { background: rgb(0 0 0 / .6); }
.app-dialog-in { position: relative; padding: 12px; } /* 12 + the inner 12px radius = the dialog's 24px */
.app-dialog .qr { display: block; width: 100%; height: auto; aspect-ratio: 1; padding: 14px; background: #fff; border-radius: var(--r-md); } /* dark on light: phone cameras can't read an inverted code */
.app-dialog .stores { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.app-dialog .store { justify-content: center; padding-inline: 8px; }
/* Closing is a click outside or Escape; the button is there for keyboards and screen readers, shown when it has focus */
.app-close { position: absolute; top: 8px; right: 8px; z-index: 1; padding: 6px 10px; border: 0; border-radius: var(--r-sm); background: var(--card); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.app-close:not(:focus-visible) { clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; }

/* ---------- hover: only where there is a pointer that hovers (a phone keeps the style stuck after a tap) ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn-brand:hover { background: var(--brand-ink); }
  .btn-ghost:hover { background: var(--hover); }
  a.card:hover { background: var(--hover); }
  a.card:hover h2, a.card:hover h3 { text-decoration: underline; }
  .go:hover { text-decoration: underline; }
  .nav a:hover { color: var(--text); background: var(--soft); }
  .store:hover { border-color: var(--text-3); }
  .chips a:hover { background: var(--hover); }
  .toc a:hover { color: var(--text); }
  .foot a:hover { color: var(--text); }
}

/* ---------- press: a tap sinks the control a little; the grey iOS flash is off ---------- */
html { -webkit-tap-highlight-color: transparent; }
.btn, .store, .chips a { transition: transform 120ms cubic-bezier(.23, 1, .32, 1); }
:is(.btn, .store, .chips a):active { transform: scale(.97); }
/* the page behind the app dialog stays put */
html:has(dialog[open]) { overflow: hidden; }
