/* ===========================================================================
   The public site.

   Formscoop's chrome, in AttendBeacon's livery: a header that fades in over a
   navy hero, a drawer on a phone, a language panel and the light and dark
   switch. The ramp keeps the suite's slot names, so /brand.css, which the API
   writes from brands/attendbeacon.json and links after this file, re-skins it
   without a rebuild. Blue is the harbour navy; the two turquoise slots carry the
   beacon's amber, which is a fill and a highlight on navy, never text on white.

   Written for a phone first. Every rule below works at 320 pixels wide with
   sixteen pixels either side; the media queries only add room.
   =========================================================================== */

/* Inter, self-hosted: the variable Latin subset covers English and Dutch and the four languages
   after them, and no request leaves for anybody else's server while somebody reads the page.
   SIL Open Font License, see Inter-OFL.txt. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-variable.woff2") format("woff2");
}

:root {
  /* The defaults /brand.css redefines. The same values as brands/attendbeacon.json, so the page
     is right before that file arrives and right if it never does. */
  --ramp-blue-25: #f6f9fc;
  --ramp-blue-50: #e9f1f8;
  --ramp-blue-100: #cfe0ee;
  --ramp-blue-200: #a9c8e2;
  --ramp-blue-300: #79a8d0;
  --ramp-blue-400: #4a86ba;
  --ramp-blue-500: #2a6aa3;
  --ramp-blue-600: #1d5287;
  --ramp-blue-700: #173f6b;
  --ramp-blue-800: #123257;
  --ramp-blue-900: #0b1f38;
  --ramp-lightblue-300: #8cc6ea;
  --ramp-lightblue-600: #2b8fd0;
  --ramp-turquoise-400: #ffc24d;
  --ramp-turquoise-600: #f59e0b;
  --ramp-ink-700: #33415c;
  --ramp-ink-900: #0f1b2d;

  --surface: #ffffff;
  --surface-tint: var(--ramp-blue-25);
  --surface-card: #ffffff;
  --text-high: var(--ramp-ink-900);
  --text-mid: var(--ramp-ink-700);
  --text-soft: #5b6b80;
  --border: #dde6f0;
  --border-strong: #b9c9da;
  --accent: var(--ramp-blue-500);
  --focus: var(--ramp-blue-600);
  --on-dark-high: #ffffff;
  --on-dark-mid: #c6d5e5;
  --shadow: 0 1px 2px rgba(11, 31, 56, .06), 0 12px 32px -14px rgba(11, 31, 56, .2);
  --shadow-lg: 0 30px 80px -24px rgba(4, 12, 24, .55);

  /* Where a feature stands. Text on its own tint, at least 6.5 to 1 in either theme. */
  --now-bg: #e3f5e9; --now-ink: #14632f;
  --part-bg: #fff3d6; --part-ink: #7a4a00;
  --next-bg: #e9f1f8; --next-ink: #173f6b;

  /* The drawing of the app. */
  --app-surface: #f6f9fc;
  --app-card: #ffffff;
  --app-ink: #0f1b2d;
  --app-mute: #5b6b80;
  --app-line: #e1e8f0;

  --header-h: 64px;
  --shell: 1180px;
  --pad-x: clamp(16px, 5vw, 64px);
}

/* The dark values, twice: once for a machine that is dark and has not been told otherwise, once
   for somebody who chose dark on a light machine. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface: #0a1726;
    --surface-tint: #0d1c2e;
    --surface-card: #11233a;
    --text-high: #eef4fb;
    --text-mid: #b6c5d6;
    --text-soft: #91a4ba;
    --border: #1f3550;
    --border-strong: #2f4a6b;
    --accent: var(--ramp-lightblue-300);
    --focus: var(--ramp-turquoise-400);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --now-bg: rgba(34, 197, 94, .16); --now-ink: #86efac;
    --part-bg: rgba(255, 194, 77, .15); --part-ink: #ffc24d;
    --next-bg: rgba(140, 198, 234, .14); --next-ink: #a9d4f0;
    --app-surface: #0c1828; --app-card: #13263d; --app-ink: #eef4fb; --app-mute: #9fb2c8; --app-line: #20374f;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface: #0a1726;
  --surface-tint: #0d1c2e;
  --surface-card: #11233a;
  --text-high: #eef4fb;
  --text-mid: #b6c5d6;
  --text-soft: #91a4ba;
  --border: #1f3550;
  --border-strong: #2f4a6b;
  --accent: var(--ramp-lightblue-300);
  --focus: var(--ramp-turquoise-400);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
  --now-bg: rgba(34, 197, 94, .16); --now-ink: #86efac;
  --part-bg: rgba(255, 194, 77, .15); --part-ink: #ffc24d;
  --next-bg: rgba(140, 198, 234, .14); --next-ink: #a9d4f0;
  --app-surface: #0c1828; --app-card: #13263d; --app-ink: #eef4fb; --app-mute: #9fb2c8; --app-line: #20374f;
}

/* The parts that are navy in both themes: the focus ring turns amber there, and the status chips
   take their dark colours. */
.topbar, .drawer, .hero, .page-band, .closing, footer {
  --focus: var(--ramp-turquoise-400);
  --now-bg: rgba(34, 197, 94, .18); --now-ink: #86efac;
  --part-bg: rgba(255, 194, 77, .16); --part-ink: #ffc24d;
  --next-bg: rgba(140, 198, 234, .16); --next-ink: #b9dcf3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16.5px; line-height: 1.65; color: var(--text-mid); background: var(--surface); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
body.menu-open { overflow: hidden; }
h1, h2, h3 { margin: 0; color: var(--text-high); letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
img { height: auto; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .92em; }
.shell { max-width: var(--shell); margin: 0 auto; padding-inline: var(--pad-x); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 16px; border-radius: 10px; background: var(--ramp-turquoise-400); color: var(--ramp-ink-900); font-weight: 700; text-decoration: none; transform: translateY(-160%); }
.skip:focus { transform: none; outline-color: var(--ramp-ink-900); }

/* ------------------------------------------------------------------ chrome -- */
.topbar {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--pad-x);
  color: #fff; background: transparent; transition: background .25s ease, box-shadow .25s ease;
}
.topbar.is-stuck, .topbar.is-open { background: color-mix(in srgb, var(--ramp-blue-900) 92%, transparent); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand img { display: block; height: 28px; width: auto; }
.topbar nav { display: none; gap: 22px; margin-left: auto; }
.topbar nav a { padding: 8px 0; font-size: 14.5px; font-weight: 500; text-decoration: none; color: rgba(255, 255, 255, .86); }
.topbar nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--ramp-turquoise-400); }
.utility { display: none; align-items: center; gap: 10px; }
.lang-button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.lang-button:hover, .theme-toggle:hover { border-color: #fff; }
.theme-toggle { position: relative; display: inline-flex; align-items: center; justify-content: space-between; width: 64px; height: 36px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px; background: transparent; color: inherit; cursor: pointer; }
.theme-toggle .icon { position: relative; z-index: 1; display: grid; opacity: .7; }
.theme-toggle[aria-checked="false"] .sun, .theme-toggle[aria-checked="true"] .moon { opacity: 1; color: var(--ramp-blue-900); }
.theme-toggle .ball { position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--ramp-turquoise-400); transition: transform .25s cubic-bezier(.3, .7, .3, 1); }
.theme-toggle[aria-checked="true"] .ball { transform: translateX(28px); background: #fff; }
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; padding: 0 11px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); cursor: pointer; }
.burger span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { position: fixed; z-index: 45; inset: var(--header-h) 0 0 0; display: none; flex-direction: column; justify-content: space-between; gap: 24px; padding: 12px var(--pad-x) 28px; overflow-y: auto; background: var(--ramp-blue-900); color: #fff; }
.drawer.is-open { display: flex; }
.drawer-links { display: grid; }
.drawer-links a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 18px; font-weight: 500; text-decoration: none; }
.drawer-links .button { margin-top: 20px; border-bottom: 0; font-size: 16px; font-weight: 650; }
.drawer-floor { display: flex; justify-content: space-between; gap: 12px; }
.lang-menu { position: fixed; z-index: 60; inset: 0; display: none; place-items: center; padding: 16px; background: rgba(4, 12, 24, .62); backdrop-filter: blur(4px); }
.lang-menu.is-open { display: grid; }
.lang-menu-panel { width: min(360px, 100%); padding: 10px; background: var(--surface-card); color: var(--text-high); border-radius: 18px; box-shadow: var(--shadow-lg); }
.lang-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px 10px; font-weight: 700; }
.lang-menu-close { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: inherit; font-size: 24px; cursor: pointer; }
.lang-menu-close:hover { background: var(--surface-tint); }
.lang-option { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.lang-option:hover, .lang-option[aria-current="true"] { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.badge { display: grid; place-items: center; width: 32px; height: 24px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--text-high); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.tick { margin-left: auto; color: var(--accent); }

/* ----------------------------------------------------------------- buttons -- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 12px; font-size: 15.5px; font-weight: 650; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease; }
.button:active { transform: translateY(1px); }
.button--primary { background: var(--ramp-turquoise-400); color: var(--ramp-ink-900); box-shadow: 0 10px 28px -12px rgba(245, 158, 11, .7); }
.button--primary:hover { background: var(--ramp-turquoise-600); }
.button--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.button--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.button--outline { border-color: var(--border-strong); color: var(--text-high); background: transparent; }
.button--outline:hover { border-color: var(--accent); color: var(--accent); }
.button--small { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* -------------------------------------------------------------------- hero -- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 56px; color: var(--on-dark-mid);
  background:
    radial-gradient(900px 480px at 90% -10%, color-mix(in srgb, var(--ramp-lightblue-600) 38%, transparent), transparent 62%),
    linear-gradient(165deg, var(--ramp-blue-800) 0%, var(--ramp-blue-900) 58%, #06111f 100%); }
.hero-glow { position: absolute; inset: auto -20% -35% 35%; height: 70%; background: radial-gradient(closest-side, rgba(255, 194, 77, .16), transparent); pointer-events: none; }
.hero .shell { position: relative; }
.hero h1 { color: #fff; font-size: clamp(34px, 9vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.hero .eyebrow, .page-band .eyebrow, .closing .eyebrow { color: var(--ramp-turquoise-400); }
.hero .lede { max-width: 58ch; margin-top: 20px; font-size: clamp(17px, 2.2vw, 19.5px); color: var(--on-dark-mid); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { max-width: 52ch; margin-top: 16px; font-size: 14px; color: #a9bdd3; }
.hero--page { padding-bottom: clamp(44px, 7vw, 80px); }
.hero--page .shell { max-width: 940px; }
.split { display: grid; gap: 44px; align-items: center; }
.hero-visual { min-width: 0; }

/* --------------------------------------------------------------- sections -- */
section { padding: clamp(60px, 10vw, 112px) 0; }
.on-tint { background: var(--surface-tint); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2, section h2 { font-size: clamp(28px, 5.4vw, 44px); font-weight: 750; text-wrap: balance; }
.section-head p { margin-top: 14px; font-size: 18px; }
.body { margin-top: 16px; font-size: 17px; }
.more { margin-top: 24px; font-weight: 650; }
.more a { color: var(--accent); text-decoration: none; }
.more a:hover { text-decoration: underline; }

.ticks, .dots { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.ticks li, .dots li { display: flex; gap: 12px; }
.ticks li::before { content: "\2713"; flex: 0 0 22px; display: grid; place-items: center; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--now-bg); color: var(--now-ink); font-size: 12px; font-weight: 800; }
.dots li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 2px dashed var(--border-strong); }
.hero .ticks li, .closing .ticks li { color: var(--on-dark-mid); }

.grid { display: grid; gap: 16px; }
.card { min-width: 0; padding: 24px; background: var(--surface-card); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); }
.card h3, .card-title { margin-bottom: 8px; font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.card p { font-size: 15.5px; }
.card--accent { background: linear-gradient(160deg, color-mix(in srgb, var(--ramp-turquoise-400) 12%, var(--surface-card)), var(--surface-card) 70%); border-color: color-mix(in srgb, var(--ramp-turquoise-600) 40%, var(--border)); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); }
.card > .card-icon { margin-bottom: 16px; }
.card--wide { display: grid; gap: 4px 24px; margin-top: 16px; }
.card--wide .card-top { margin-bottom: 8px; }
.card--wide .button { justify-self: start; margin-top: 14px; }

/* Where a feature stands, in words, never only in colour. */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--now { background: var(--now-bg); color: var(--now-ink); }
.status--part { background: var(--part-bg); color: var(--part-ink); }
.status--next { background: var(--next-bg); color: var(--next-ink); }
.status--next::before { background: transparent; border: 1.5px solid currentColor; }
.legend { display: flex; flex-direction: column; gap: 10px 22px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 14.5px; }
.legend li { display: flex; align-items: baseline; gap: 10px; }
.legend .status { flex: 0 0 auto; }
.legend--dark { margin-top: 28px; color: var(--on-dark-mid); }
.roadmap-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 22px; font-size: 15px; }

.feature { display: grid; gap: 40px; align-items: center; }
.feature > * { min-width: 0; }

/* -------------------------------------------------------- the phone drawing -- */
/* Sized in the scene's own width, so it scales like a picture from 288 pixels to 520. */
.device-scene { position: relative; container-type: inline-size; width: 100%; max-width: 500px; margin: 0 auto; padding: 0 0 6% ; }
.device-scene::before { content: ""; position: absolute; inset: 10% 0 0 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(43, 143, 208, .35), transparent); filter: blur(20px); pointer-events: none; }
.phone { position: relative; width: 64cqi; margin-left: 2cqi; padding: 1.6cqi; border-radius: 9cqi; background: linear-gradient(150deg, #24364d, #0b1626); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: clamp(8px, 2.9cqi, 13px); line-height: 1.35; }
.phone-screen { position: relative; display: flex; flex-direction: column; aspect-ratio: 9 / 18.5; overflow: hidden; border-radius: 7.6cqi; background: var(--app-surface); color: var(--app-ink); }
.phone-status { display: flex; align-items: center; justify-content: space-between; padding: 1em 1.6em .4em; font-size: .85em; font-weight: 700; }
.phone-island { width: 30%; height: 1.6em; border-radius: 1em; background: #050b14; }
.phone-icons { display: flex; gap: .25em; }
.phone-icons i { width: .45em; height: .9em; border-radius: .15em; background: currentColor; opacity: .75; }
.phone-icons i:nth-child(1) { height: .5em; align-self: end; }
.phone-icons i:nth-child(2) { height: .7em; align-self: end; }
.app-bar { display: flex; align-items: center; gap: .7em; padding: .6em 1.2em .8em; }
.app-mark { flex: 0 0 2.4em; height: 2.4em; border-radius: .7em; background: radial-gradient(circle at 50% 45%, var(--ramp-turquoise-400) 0 22%, transparent 24%), var(--ramp-blue-600); }
.app-title { display: grid; min-width: 0; }
.app-title strong { font-size: 1.15em; letter-spacing: -.01em; }
.app-title small { color: var(--app-mute); font-size: .85em; }
.app-days { display: flex; gap: .4em; padding: 0 1.2em .7em; }
.chip { display: inline-flex; align-items: center; gap: .3em; padding: .3em .75em; border: 1px solid var(--app-line); border-radius: 999px; background: var(--app-card); font-size: .82em; font-weight: 600; white-space: nowrap; }
.chip.is-on { border-color: var(--ramp-blue-600); background: var(--ramp-blue-600); color: #fff; }
.chip--star { margin-left: auto; color: #b45309; }
:root[data-theme="dark"] .chip--star { color: var(--ramp-turquoise-400); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip--star { color: var(--ramp-turquoise-400); } }
.app-agenda { flex: 1; display: grid; align-content: start; gap: .45em; margin: 0; padding: 0 .9em; list-style: none; overflow: hidden; }
.slot { position: relative; display: grid; grid-template-columns: 2.9em minmax(0, 1fr) 1.4em; gap: .5em; align-items: start; padding: .65em .7em; border: 1px solid var(--app-line); border-radius: .9em; background: var(--app-card); }
.slot time { color: var(--app-mute); font-size: .85em; font-weight: 700; font-variant-numeric: tabular-nums; }
.slot div { display: grid; gap: .15em; min-width: 0; }
.slot b { font-size: .92em; font-weight: 650; line-height: 1.25; }
.slot small { display: flex; align-items: center; gap: .35em; color: var(--app-mute); font-size: .8em; }
.slot--past { opacity: .55; }
.slot--now { border-color: var(--ramp-blue-500); box-shadow: inset .25em 0 0 var(--ramp-blue-500); }
.slot--pause { grid-template-columns: 2.9em 1fr; padding: .45em .7em; background: transparent; border-style: dashed; }
.slot--pause b { color: var(--app-mute); font-weight: 600; }
.now-pill { justify-self: start; padding: .05em .55em; border-radius: 999px; background: var(--ramp-blue-600); color: #fff; font-size: .72em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.track { display: inline-block; width: .6em; height: .6em; border-radius: 50%; }
.track--a { background: #2b8fd0; }
.track--b { background: #c2410c; }
.track--c { background: #15803d; }
.star { width: 1.25em; height: 1.25em; background: var(--app-line); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.star.is-on { background: var(--ramp-turquoise-600); }
.app-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: .6em .6em 1.3em; border-top: 1px solid var(--app-line); background: var(--app-card); }
.app-tabs span { display: grid; justify-items: center; gap: .3em; color: var(--app-mute); font-size: .72em; font-weight: 600; }
.app-tabs .is-on { color: var(--ramp-blue-500); }
:root[data-theme="dark"] .app-tabs .is-on { color: var(--ramp-lightblue-300); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app-tabs .is-on { color: var(--ramp-lightblue-300); } }
.tab-icon { width: 1.9em; height: 1.9em; border-radius: .5em; background: currentColor; opacity: .85; mask: var(--glyph) center / 100% no-repeat; -webkit-mask: var(--glyph) center / 100% no-repeat; }
.tab-icon--agenda { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M4 10h16M9 3v4M15 3v4'/%3E%3C/svg%3E"); }
.tab-icon--people { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20a7 7 0 0 1 14 0'/%3E%3C/svg%3E"); }
.tab-icon--ticket { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='4' y='4' width='6' height='6'/%3E%3Crect x='14' y='4' width='6' height='6'/%3E%3Crect x='4' y='14' width='6' height='6'/%3E%3Cpath d='M14 14h2v2h-2zM18 18h2v2h-2zM14 18h2'/%3E%3C/svg%3E"); }
.tab-icon--more { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='6' cy='12' r='1.8'/%3E%3Ccircle cx='12' cy='12' r='1.8'/%3E%3Ccircle cx='18' cy='12' r='1.8'/%3E%3C/svg%3E"); }

.ticket { position: absolute; right: 0; top: 30%; display: grid; gap: .7em; width: 40cqi; padding: 1em 1em 1.1em; border-radius: 1.2em; background: #fff; color: #0f1b2d; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 31, 56, .06); font-size: clamp(8px, 2.7cqi, 12.5px); line-height: 1.3; transform: rotate(3deg); }
.ticket-head { display: grid; gap: .1em; padding-bottom: .6em; border-bottom: 1.5px dashed #cfdbe7; }
.ticket-head small { color: #5b6b80; font-size: .82em; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ticket-head strong { font-size: 1.15em; }
.ticket-code { padding: .2em; border-radius: .5em; }
.ticket-code .qr { display: block; width: 100%; height: auto; }
.ticket-foot { display: grid; gap: .1em; }
.ticket-foot strong { font-size: 1.05em; }
.ticket-foot small { color: #14632f; font-size: .85em; font-weight: 600; }
.ticket-saved { position: absolute; left: -1em; bottom: -1.2em; display: inline-flex; align-items: center; gap: .4em; padding: .45em .8em; border-radius: 999px; background: var(--ramp-turquoise-400); color: var(--ramp-ink-900); font-size: .88em; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45); }

/* ------------------------------------------------------ the sign-in drawing -- */
.signin-visual { display: grid; place-items: center; }
.mail { width: min(420px, 100%); padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface-card); box-shadow: var(--shadow); }
.mail-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.mail-head div { display: grid; min-width: 0; }
.mail-head strong { color: var(--text-high); }
.mail-head small { color: var(--text-soft); font-size: 13.5px; }
.mail-dot { flex: 0 0 38px; height: 38px; border-radius: 11px; background: radial-gradient(circle at 50% 45%, var(--ramp-turquoise-400) 0 22%, transparent 24%), var(--ramp-blue-600); }
.mail p { font-size: 15px; }
.code-boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 16px 0 12px; }
.code-boxes span { display: grid; place-items: center; aspect-ratio: 4 / 5; border: 1.5px solid var(--border-strong); border-radius: 10px; background: var(--surface-tint); color: var(--text-high); font-size: clamp(18px, 6vw, 26px); font-weight: 750; font-variant-numeric: tabular-nums; }
.mail-foot { color: var(--text-soft); font-size: 13px; }

/* ------------------------------------------------------- the scanner drawing -- */
.scanner-scene { display: grid; gap: 14px; width: min(420px, 100%); margin: 0 auto; }
.scanner { padding: 12px; border-radius: 26px; background: linear-gradient(150deg, #24364d, #0b1626); box-shadow: var(--shadow-lg); }
.scanner-result { display: grid; justify-items: center; gap: 4px; padding: 28px 16px 24px; border-radius: 18px; background: #15803d; color: #fff; text-align: center; }
.scanner-mark { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 6px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.scanner-result strong { font-size: clamp(24px, 7vw, 30px); letter-spacing: -.02em; }
.scanner-name { font-size: 18px; font-weight: 650; }
.scanner-result small { font-size: 14px; opacity: .92; }
.scanner-search { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #c6d5e5; font-size: 14px; }
.scanner-states { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.state { display: grid; grid-template-columns: 14px auto minmax(0, 1fr); align-items: baseline; gap: 4px 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-card); font-size: 14.5px; }
.state span { width: 14px; height: 14px; border-radius: 4px; align-self: center; }
.state b { color: var(--text-high); }
.state--ok span { background: #15803d; }
.state--again span { background: #d97706; }
.state--stop span { background: #b91c1c; }

/* ------------------------------------------------------------------ steps -- */
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.step { min-width: 0; padding: 26px 24px; background: var(--surface-card); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); }
.step h3 { margin: 16px 0 8px; font-size: 19px; font-weight: 700; }
.step p { font-size: 15.5px; }
.step-number { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ramp-blue-600); color: #fff; font-weight: 800; box-shadow: inset 0 -3px 0 var(--ramp-turquoise-400); }

/* -------------------------------------------------------- the features page -- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.jump a:hover { border-color: var(--ramp-turquoise-400); background: rgba(255, 255, 255, .06); }
.module-section { padding: clamp(40px, 6vw, 72px) 0; }
.module { display: grid; gap: 8px 48px; }
.module-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.module-copy h2 { font-size: clamp(26px, 4.6vw, 36px); }
.module-lists { display: grid; gap: 24px; align-content: start; }
.list-head { margin: 8px 0 0; font-size: 13px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }
.list-head + .ticks, .list-head + .dots { margin-top: 12px; }

/* --------------------------------------------------------- the pricing page -- */
.price-panel { display: grid; gap: 8px 48px; padding: clamp(24px, 5vw, 44px); border: 1px solid color-mix(in srgb, var(--ramp-turquoise-600) 40%, var(--border)); border-radius: 24px; background: linear-gradient(160deg, color-mix(in srgb, var(--ramp-turquoise-400) 13%, var(--surface-card)), var(--surface-card) 65%); box-shadow: var(--shadow); }
.price-pending { color: var(--text-high); font-size: clamp(26px, 5.4vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.pricing-grid { margin-top: 16px; }

/* ----------------------------------------------------------- closing, footer -- */
.closing { text-align: center; color: var(--on-dark-mid);
  background:
    radial-gradient(800px 360px at 50% 110%, rgba(255, 194, 77, .18), transparent 70%),
    linear-gradient(165deg, var(--ramp-blue-800) 0%, var(--ramp-blue-900) 100%); }
.closing h2 { color: #fff; }
.closing p { max-width: 56ch; margin: 14px auto 0; font-size: 18px; }
.closing .actions { justify-content: center; }

footer { padding: 36px 0 32px; background: #06111f; color: #a9bdd3; font-size: 14px; }
.footer-grid { display: grid; gap: 22px; }
.footer-brand { display: grid; gap: 10px; }
.footer-brand img { height: 24px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a, .footer-note a { display: inline-block; padding: 6px 0; color: #dbe7f3; text-decoration: none; }
.footer-links a:hover, .footer-note a:hover { text-decoration: underline; }
.footer-note { color: #a9bdd3; }

/* ---------------------------------------------------------------- prose -- */
.page-band { padding: calc(var(--header-h) + 48px) 0 48px; color: var(--on-dark-mid);
  background: radial-gradient(700px 300px at 90% 0%, color-mix(in srgb, var(--ramp-lightblue-600) 30%, transparent), transparent 70%), linear-gradient(165deg, var(--ramp-blue-800), var(--ramp-blue-900)); }
.page-band h1 { color: #fff; font-size: clamp(32px, 7vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.page-band .lede { max-width: 60ch; margin-top: 14px; font-size: 18px; }
.prose-section { padding: clamp(40px, 7vw, 80px) 0; }
.prose-layout { display: grid; gap: 32px; }
.summary-box { align-self: start; padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface-tint); }
.summary-box h2 { font-size: 18px; }
.summary-box .ticks { margin-top: 14px; font-size: 15px; }
.prose { max-width: 720px; min-width: 0; }
.prose h2 { margin: 36px 0 10px; font-size: clamp(21px, 3.6vw, 25px); }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--accent); }
.plain-list { margin: 12px 0 0; padding-left: 1.2em; }
.plain-list li + li { margin-top: 6px; }
.table-wrap { margin: 16px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cookie-table th, .cookie-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.cookie-table tr:last-child td { border-bottom: 0; }
.cookie-table th { background: var(--surface-tint); color: var(--text-high); font-size: 13px; }
.cookie-table code { color: var(--text-high); white-space: nowrap; }
/* On a phone, each cookie is a small card rather than a row to scroll sideways through. */
@media (max-width: 599px) {
  .table-wrap { overflow: visible; border: 0; }
  .cookie-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cookie-table, .cookie-table tbody, .cookie-table tr, .cookie-table td { display: block; }
  .cookie-table tr { margin-bottom: 10px; padding: 6px 0; border: 1px solid var(--border); border-radius: 14px; }
  .cookie-table td { padding: 6px 14px; border: 0; }
  .cookie-table td::before { content: attr(data-label); display: block; color: var(--text-soft); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
}

/* --------------------------------------------------------------- reveals -- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .theme-toggle .ball, .burger span, .button { transition: none; }
}

/* ------------------------------------------------------- room to spread out -- */
@media (min-width: 600px) {
  .legend { flex-direction: row; flex-wrap: wrap; }
  .grid--2, .grid--3, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 28px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .footer-note { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .hero { padding: calc(var(--header-h) + clamp(56px, 8vh, 100px)) 0 clamp(64px, 10vh, 112px); }
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 5vw, 72px); }
  .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 80px); }
  .feature--reverse > :first-child { order: 2; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card--wide { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
  .card--wide .card-top { flex-direction: column; align-items: flex-start; margin: 0; }
  .card--wide .button { margin: 0; }
  .module { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .module-head { grid-column: 1 / -1; }
  .price-panel { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
  .price-panel .ticks { margin-top: 0; }
  .prose-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .summary-box { position: sticky; top: calc(var(--header-h) + 24px); order: 2; }
}
@media (min-width: 960px) {
  .topbar nav { display: flex; }
  .utility { display: flex; }
  .burger { display: none; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card { transition: transform .2s ease, box-shadow .2s ease; }
  .card:hover { transform: translateY(-2px); }
}
