/* Headstart · Daylight web styles (headstartgo.com)
   Tokens copied exactly from the app's Daylight theme. */
:root {
  --ground: #deefef; --paper: #eff5f9; --card: #fbfdfe; --mist: #dde7ef; --sunk: #d3dee8;
  --line: #c1cdd8; --line-soft: #d9e2e9; --ledge: #cad6e0;
  --ink: #201e1d; --ink-body: #3a3634; --ink-soft: #4a4643; --ink-muted: #645c50; --on-ink: #e6eef5;
  --accent: #4274bd; --accent-bright: #74a6ed; --accent-600: #3565aa; --accent-700: #214985; --accent-800: #183767;
  --accent-100: #ecf4fe; --accent-200: #d3e4fc; --accent-300: #abccf9; --accent-border: #afc9ec; --accent-ledge: #98b7e0;
  --sage: #65837f; --sage-700: #455d5a; --sage-200: #d1e9e5; --sage-border: #b3cfcb; --sage-ledge: #a1c0bd;
  --amber: #8a5a12; --amber-tint: #f6e6c4; --amber-border: #e6cf9f; --amber-ledge: #d9b878;
  --violet: #6b3d7a; --violet-tint: #efdff5;
  --slate-border: #c0ceda; --slate-ledge: #b6c4d1;
  --ink-block: #201e1d;
  --shade: 46, 43, 37;
  /* The Fallback faces (fonts.css) stand in, at the same size, until the real face arrives. */
  --display: "Caprasimo", "Caprasimo Fallback Georgia", "Caprasimo Fallback Noto Serif", Georgia, serif;
  --sans: "Figtree", "Figtree Fallback Roboto", system-ui, sans-serif;
  --r-tile: 28px; --r-card: 24px; --r-md: 20px; --r-sm: 12px; --r-xs: 7px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--ink-body);
  background-color: var(--ground);
}
/* The two soft lights sit on a fixed layer under everything. As a fixed
   background on the body they made the browser repaint the whole screen on
   every frame of a scroll; a layer of its own is drawn once and slides. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(120% 70% at 20% -10%, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(90% 60% at 100% 100%, rgba(66,116,189,.10) 0%, rgba(66,116,189,0) 60%);
}
[data-theme] body::after { content: none; } /* the web app's other themes have a plain ground (themes.css) */
body::before { /* paper grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .07; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* On touch screens the grain is left out: blended over the page it is
   recomposited on every scroll frame, and at 7% it is barely visible there. */
@media (pointer: coarse) { body::before { content: none; } }
img { max-width: 100%; display: block; }
a { color: var(--accent-700); text-underline-offset: 3px; }
/* Hover looks only where there is a mouse: on a touch screen :hover sticks to
   whatever was tapped last. A tap shows the same look while the finger is
   down (:active), in place of the browser's grey flash. */
@media (hover: hover) and (pointer: fine) { a:hover { color: var(--accent-800); } }
a:active { color: var(--accent-800); }
a, button, .press { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; color: var(--ink); margin: 0; line-height: 1.06; letter-spacing: -.005em; }
p { margin: 0; }

/* ---------- layout ---------- */
.wrap { position: relative; z-index: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 20px); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; align-items: center; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- type ---------- */
.display-xl { font-size: clamp(44px, 7.4vw, 84px); line-height: 1.02; }
.display-l { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; }
.display-m { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.1; }
.display-s { font-size: 24px; line-height: 1.12; }
.em { color: var(--accent-700); }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--ink-body); }
.eyebrow { font-family: var(--sans); font-weight: 800; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.2; }
.muted { color: var(--ink-muted); }
.small { font-size: 15px; line-height: 1.5; }
.tiny { font-size: 13px; line-height: 1.4; }

/* ---------- icons (Lucide, stroke 2.25) ---------- */
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.ic-s { width: 18px; height: 18px; }
.ic-l { width: 28px; height: 28px; }

/* ---------- the raised style ---------- */
.raised {
  --fill: var(--paper); --border: var(--line); --ledge-c: var(--ledge);
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 55%), var(--fill);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -2px 0 rgba(46,43,37,.07), 0 4px 0 var(--ledge-c), 0 10px 20px rgba(46,43,37,.13);
  transition: transform .14s ease;
}
.press { cursor: pointer; }
/* A press animates only transform and opacity, which the graphics chip does
   on its own, so the button answers even while the page is busy. The shadow
   used to slide from one look to the next, repainting the button on every
   frame; now each state's shadow is put down once:
   - at rest, the same shadow as always (above);
   - lifted (mouse over), the lifted ledge and shadow sit on an ::after layer
     that fades in over the resting one (its shadow is lighter than the old
     lifted one, .11 not .20, so the two together match the old look);
   - pressed, the pressed shadow is set at once, and on release the resting
     one comes back once the button has risen (the 0s .14s). */
.raised.press { transition: transform .14s ease, box-shadow 0s .14s; }
.raised.press::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: 0 6px 0 var(--ledge-c), 0 16px 28px rgba(46,43,37,.11); transition: opacity .14s ease; }
@media (hover: hover) and (pointer: fine) {
  .press:hover { transform: translateY(-2px); }
  .press:not(.raised):hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -2px 0 rgba(46,43,37,.07), 0 6px 0 var(--ledge-c), 0 16px 28px rgba(46,43,37,.20); }
  .raised.press:not(:disabled):hover::after { opacity: 1; } /* a disabled button never gets the lifted shadow (app.css .sure-row) */
}
.is-hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -2px 0 rgba(46,43,37,.07), 0 6px 0 var(--ledge-c), 0 16px 28px rgba(46,43,37,.20); }
.press:active, .is-pressed { transform: translateY(3px); box-shadow: inset 0 2px 4px rgba(46,43,37,.18), 0 1px 0 var(--ledge-c), 0 3px 6px rgba(46,43,37,.10); }
.raised.press:active { transition: transform .14s ease, box-shadow 0s; }
.raised.press:active::after, .raised.press.is-pressed::after { opacity: 0; transition: none; }
.sunk { background: var(--sunk); border-radius: var(--r-md); box-shadow: inset 0 2px 4px rgba(46,43,37,.12); }

/* colour families */
.t-blue  { --fill: var(--accent-200); --border: var(--accent-border); --ledge-c: var(--accent-ledge); --ic: var(--accent-700); }
.t-sage  { --fill: var(--sage-200); --border: var(--sage-border); --ledge-c: var(--sage-ledge); --ic: var(--sage-700); }
.t-amber { --fill: var(--amber-tint); --border: var(--amber-border); --ledge-c: var(--amber-ledge); --ic: var(--amber); }
.t-slate { --fill: var(--mist); --border: var(--slate-border); --ledge-c: var(--slate-ledge); --ic: #3d4a57; }
.t-paper { --fill: var(--paper); --border: var(--line); --ledge-c: var(--ledge); --ic: var(--ink-soft); }
.t-card  { --fill: var(--card); --border: var(--line-soft); --ledge-c: var(--ledge); --ic: var(--ink-soft); }
.t-ink   { --fill: var(--ink-block); --border: #000; --ledge-c: #000; --ic: var(--accent-bright); color: var(--on-ink); }
.t-ink.raised { background: linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 45%), var(--ink-block); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 4px 0 #000, 0 14px 28px rgba(46,43,37,.22); }
/* Ink keeps one shadow in every state (it always has), so it gets no lifted
   layer; nor do the web app's other themes, whose .raised shadow never changes. */
.t-ink.raised.press::after, [data-theme] .raised.press::after { content: none; }
.t-ink h1, .t-ink h2, .t-ink h3 { color: #fff; }
.icon-c { color: var(--ic); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; text-decoration: none; cursor: pointer; font: inherit; white-space: nowrap; }
.btn-primary {
  --fill: var(--accent-700); --border: var(--accent-800); --ledge-c: var(--accent-800);
  background: linear-gradient(180deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 55%), var(--accent-700);
  color: #fff; font-family: var(--display); font-size: 20px; min-height: 58px; padding: 0 30px;
}
.btn-primary:hover, .btn-primary:active { color: #fff; }
.btn-ink {
  --fill: var(--ink-block); --border: #000; --ledge-c: #000;
  background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 55%), var(--ink-block);
  color: #fff; font-family: var(--display); font-size: 20px; min-height: 58px; padding: 0 30px;
}
.btn-ink:hover, .btn-ink:active { color: #fff; }
.btn-secondary { color: var(--ink-soft); font-weight: 800; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) { .btn-secondary:hover { color: var(--ink); } }
.btn-secondary:active { color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 12.5px; }
.btn .sub { display: block; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; line-height: 1; }
.btn .lbl { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1; }

.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 800; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: 13.5px; line-height: 1.3; }
.chip-blue { background: var(--accent-100); color: var(--accent-700); }
.chip-sage { background: var(--sage-200); color: var(--sage-700); }
.chip-amber { background: var(--amber-tint); color: var(--amber); }
.chip-violet { background: var(--violet-tint); color: var(--violet); }
.chip-ink { background: var(--ink-block); color: #fff; }
.chip-paper { background: var(--paper); color: var(--ink-soft); border: 1px solid var(--line); }
:is(a, button, label).chip:active { filter: brightness(.95); } /* a chip that does something dims under the finger */
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }

/* number badges */
.badge { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 22px; border: 2.5px solid; }
.b-blue { background: var(--accent-100); border-color: var(--accent); color: var(--accent-700); }
.b-sage { background: var(--sage-200); border-color: var(--sage); color: var(--sage-700); }
.b-amber { background: var(--amber-tint); border-color: #b9842f; color: var(--amber); }
.b-violet { background: var(--violet-tint); border-color: #8f5ba0; color: var(--violet); }
.badge-s { width: 34px; height: 34px; font-size: 16px; border-width: 2px; }

/* icon wells inside tiles */
.well { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: var(--ic); background: rgba(255,255,255,.6); border: 1px solid var(--border); }

/* ---------- phone frame ---------- */
.phone { width: 270px; flex: none; background: #1c1a1b; border-radius: 38px; padding: 9px; box-shadow: 0 2px 0 #000, 0 30px 60px rgba(46,43,37,.28), 0 10px 20px rgba(46,43,37,.18); }
.phone img { width: 100%; height: auto; border-radius: 30px; }
.phone-s { width: 220px; border-radius: 32px; padding: 8px; }
.phone-s img { border-radius: 25px; }

/* ---------- header / footer ---------- */
.site-header { position: relative; z-index: 2; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 28px; line-height: 1; }
.brand svg { width: 30px; height: auto; }
.site-footer { position: relative; z-index: 1; padding-block: 40px 56px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 15px; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:active { color: var(--accent-800); } /* after the rule above, so a tap still shows */

/* ---------- policy pages ---------- */
.policy-card { --fill: var(--card); --border: var(--line-soft); --ledge-c: var(--ledge); max-width: 820px; margin: 0 auto; border-radius: var(--r-tile); padding: clamp(24px, 5vw, 64px); }
.policy h2 { font-size: clamp(24px, 3vw, 30px); margin: 48px 0 14px; scroll-margin-top: 24px; }
.policy h3 { font-family: var(--sans); font-weight: 800; font-size: 18px; color: var(--ink); margin: 26px 0 8px; }
.policy p { margin: 0 0 14px; max-width: 68ch; }
.policy ul, .policy ol { margin: 0 0 16px; padding-left: 22px; }
.policy li { margin: 0 0 8px; padding-left: 4px; }
.policy li::marker { color: var(--accent); font-weight: 800; }
.tbl-box { overflow-x: auto; margin: 6px 0 22px; border: 1px solid var(--line-soft); border-radius: 16px; background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 520px; }
.tbl th { text-align: left; background: var(--paper); font-weight: 800; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.toc a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--accent-700); text-decoration: underline; } }
.toc a:active { color: var(--accent-700); text-decoration: underline; }

/* ---------- web app shell ---------- */
.app { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 24px; padding: 20px clamp(12px, 2.4vw, 28px) 40px; max-width: 1360px; margin: 0 auto; align-items: flex-start; }
.app-side { flex: 1 1 232px; max-width: 248px; display: flex; flex-direction: column; gap: 6px; }
.app-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 16px; border-radius: 999px; text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size: 16px; }
@media (hover: hover) and (pointer: fine) { .nav-item:hover { background: rgba(255,255,255,.55); color: var(--ink); } }
.nav-item:active { background: rgba(255,255,255,.55); color: var(--ink); }
.nav-item.on { color: var(--accent-800); }
.nav-item .dot { width: 10px; height: 10px; }
.side-group { display: flex; flex-direction: column; gap: 4px; }
/* phone width: the sidebar becomes a bottom bar with the same five places */
@media (max-width: 820px) {
  .app { gap: 16px; padding-bottom: 104px; }
  .app-side { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; max-width: none; flex-direction: row; padding: 6px 8px 10px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(46,43,37,.10); }
  .app-side .brand { display: none; }
  .app-side .side-group { flex-direction: row; width: 100%; gap: 2px; justify-content: space-between; }
  .nav-item { flex: 1 1 0; flex-direction: column; justify-content: center; gap: 2px; min-height: 56px; padding: 4px 2px; font-size: 12px; border-radius: 16px; text-align: center; }
  .hide-sm { display: none !important; }
  .app.in-app { padding-bottom: 40px; }
}
@media (min-width: 821px) { .show-sm { display: none !important; } }

/* ---------- overlays: menu, dialog, toast, select bar ---------- */
.menu { position: absolute; z-index: 25; right: 8px; top: 48px; min-width: 200px; padding: 6px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 4px 0 var(--ledge), 0 16px 32px rgba(46,43,37,.20); }
.menu button, .menu a { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; background: transparent; border-radius: 10px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; text-decoration: none; text-align: left; }
@media (hover: hover) and (pointer: fine) { .menu button:hover, .menu a:hover { background: var(--paper); } }
.menu button:active, .menu a:active { background: var(--paper); }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(32,30,29,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dialog { width: 100%; max-width: 480px; border-radius: 28px; padding: clamp(22px, 4vw, 32px); display: flex; flex-direction: column; gap: 14px; }
/* Toast and select bar live in a DOCK: a solid band at the end of the page
   content. It takes its own space, so when you reach the end nothing is behind
   it. On long pages it sticks to the bottom edge as a solid bar (like the phone
   navigation bar) and rows scroll cleanly under its top border. Nothing floats
   over cards, buttons or text. */
.dock { position: sticky; z-index: 35; bottom: 0; padding: 12px 16px 14px; background: var(--paper); border: 1px solid var(--line); border-bottom: 0; border-radius: 20px 20px 0 0; box-shadow: 0 -8px 18px -10px rgba(46,43,37,.18); display: flex; justify-content: center; }
.app-main > .dock { margin-bottom: -40px; padding-bottom: 22px; }
.toast { display: flex; align-items: center; gap: 18px; max-width: 100%; padding: 8px 8px 8px 22px; min-height: 56px; border-radius: 999px; background: var(--ink-block); color: #fff; font-weight: 700; box-shadow: 0 3px 0 #000; }
.toast button { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: rgba(255,255,255,.10); color: var(--accent-bright); font: inherit; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; cursor: pointer; }
.toast button:active { background: rgba(255,255,255,.18); }
.select-bar { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 760px; white-space: nowrap; }
.select-bar .grow { flex: 1; }
@media (max-width: 820px) {
  .app-main > .dock { bottom: 73px; margin: 0 -12px; padding: 12px 12px 14px; border-left: 0; border-right: 0; border-radius: 0; box-shadow: none; } /* sits right on top of the bottom navigation bar */
  .app.in-app > .app-main > .dock { bottom: 0; } /* no bottom bar inside the Android app */
}

/* deck rows: bin shows on hover on desktop, never on touch */
.card-row { position: relative; }
.card-row .bin { opacity: 0; transition: opacity .12s ease; }
.card-row:focus-within .bin { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .card-row:hover .bin { opacity: 1; } }
@media (hover: none), (max-width: 820px) { .card-row .bin { display: none; } }

/* switches */
.switch { width: 52px; height: 30px; border-radius: 999px; flex: none; position: relative; background: var(--sunk); border: 1px solid var(--line); box-shadow: inset 0 2px 3px rgba(46,43,37,.12); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 0 var(--ledge); transition: left .14s ease; }
.switch.on { background: var(--accent-700); border-color: var(--accent-800); }
.switch.on::after { left: 25px; }

/* quiet loading skeletons in the raised style */
.skel { background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0)), var(--mist); border: 1px solid var(--line-soft); border-radius: 20px; box-shadow: 0 3px 0 var(--ledge); animation: skel 1.6s ease-in-out infinite; }
.skel-line { height: 12px; border-radius: 6px; background: var(--sunk); }
@keyframes skel { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }

.kbd { display: inline-block; min-width: 24px; padding: 1px 7px; border-radius: 7px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 2px 0 var(--ledge); font-weight: 800; font-size: 12px; color: var(--ink-soft); text-align: center; }
.banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 18px; border-radius: 20px; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-soft); cursor: pointer; padding: 0; font: inherit; flex: none; }
.bar { height: 8px; border-radius: 99px; background: var(--sunk); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.field { width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; min-height: 52px; box-shadow: inset 0 2px 3px rgba(46,43,37,.06); }
.field::placeholder { color: var(--ink-muted); }
label.lbl-f { font-weight: 800; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); }
.seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--sunk); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { font: inherit; font-weight: 700; font-size: 15px; color: var(--ink-soft); border: 0; background: transparent; min-height: 42px; padding: 0 22px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex: none; }
@media (max-width: 560px) { .seg { display: flex; width: 100%; } .seg button { flex: 1 0 auto; justify-content: center; padding: 0 14px; font-size: 14px; } }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 2px 0 var(--ledge), 0 4px 10px rgba(46,43,37,.10); }
.seg button:not(.on):active { background: rgba(255,255,255,.55); color: var(--ink); } /* the nav's pressed look */
.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; text-decoration: none; color: inherit; }
.sq { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }

/* ---------- moving between pages ----------
   Going from one page of the site to another (the web app included) is a
   short crossfade instead of a white flash. The top bar and the logo are
   captured on their own and stay where they are: their own movement is off,
   so a header that was scrolled away does not slide in. The start screen and
   the course pages use the same two names. Each name is on one element. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: .18s; }
::view-transition-group(hs-topbar), ::view-transition-group(hs-logo) { animation: none; }
.site-header { view-transition-name: hs-topbar; }
.site-header .brand, .app-side .brand { view-transition-name: hs-logo; }

@media (prefers-reduced-motion: reduce) {
  .raised, .press, .raised.press, .raised.press:active, .raised.press::after, .switch::after, .card-row .bin { transition: none; }
  .skel { animation: none; }
  .press:hover, .press:active { transform: none; }
}
