/* ============================================================
   Swim Meet Portal product site. One stylesheet, desktop first.
   Sections: tokens, base, layout, header, buttons, cards, the
   lane line, device frames, page sections, pricing, contact, footer,
   narrow screens.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --navy: #041E42;
  --navy-2: #0b2a57;
  --ink: #16263a;
  --blue: #2B78D6;
  --blue-dk: #1f5fae;
  --gold: #FFC72C;
  --bg: #eef1f4;
  --card: #ffffff;
  --body: #41525f;
  --label: #5a6b7b;
  --border: #cfd8df;
  --soft: #f5f7f9;
  --green: #1f6b2e;
  --red: #b02a2a;
  --shadow: 0 8px 28px rgba(22, 38, 58, .10);
  --shadow-lg: 0 24px 60px rgba(4, 30, 66, .22);
  --radius: 16px;
  --max: 1180px;
  /* The app's own stack (web/src/styles/fonts.css): San Francisco on Apple devices, Inter everywhere else. */
  --font: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

/* ---------- Inter, self-hosted (public/fonts, from @fontsource-variable/inter 5.3.0, OFL) ----------
   Never preloaded: a @font-face file is fetched only when text needs it, so an Apple device, which
   stops at -apple-system, never downloads Inter. latin-ext is fetched only for such a letter. */
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--body); background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dk); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; }
h1 { font-size: 56px; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 36px; font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 6px; }
strong { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-white { background: var(--card); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-dk); margin: 0 0 12px; }
.lead { font-size: 20px; line-height: 1.55; color: var(--body); max-width: 62ch; }
.prose { max-width: 64ch; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-text h2 { font-size: 32px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { border-radius: 9px; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) { color: var(--body); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 10px 14px; border-radius: 10px; white-space: nowrap; }
.site-nav a:not(.btn):hover { background: var(--soft); color: var(--ink); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--navy); background: var(--bg); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; content: ''; position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  font: inherit; font-weight: 700; font-size: 16px; border-radius: 12px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-secondary { background: var(--card); color: var(--navy); border-color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link::after { content: ' \2192'; }
.text-link:hover { text-decoration: underline; }

/* ---------- the lane line (owner 2026-10-23) ----------
   The racing-disc rope the app draws under the coach and swimmer page headers (owner pick
   2026-10-12): web/src/styles/lane-line.css, without the folding. The disc outline and the light
   and shade (--ll-shape, --ll-shade-light, --ll-shade-dark) are drawn by the app's own
   web/src/lib/laneLine.js at build time (build.mjs adds them to this file), so the tile is the
   app's. SMP's gold and navy, as the app draws them with no meet colours; on the navy band the
   app's dark pair (gold and #2B78D6) and its dark shade. Markup: {{laneline}} in a page. */
.lane-line {
  --ll-h: 18px;
  --ll-tile: calc(var(--ll-h) * 10 / 3); /* one tile, ten discs: LANE_LINE_TILE's 100 by 30 */
  --ll-c1: var(--gold);
  --ll-c2: var(--navy);
  --ll-shade: var(--ll-shade-light, none);
  --ll-cable: rgba(38, 50, 64, .55);
  position: relative; height: var(--ll-h); width: 100%; max-width: 240px;
}
.lane-line .ll-rope { position: absolute; left: 0; right: 0; top: 50%; height: var(--ll-h); transform: translateY(-50%); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .26)); }
.lane-line .ll-cable { position: absolute; left: 1px; right: 1px; top: calc(50% - 1px); height: 2px; border-radius: 1px; background: var(--ll-cable); }
.lane-line .ll-discs {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-image: var(--ll-shade), linear-gradient(90deg, var(--ll-c1) 0 50%, var(--ll-c2) 50% 100%);
  background-size: var(--ll-tile) 100%;
  background-repeat: round no-repeat;
  -webkit-mask-image: var(--ll-shape, none); mask-image: var(--ll-shape, none);
  -webkit-mask-size: var(--ll-tile) 100%; mask-size: var(--ll-tile) 100%;
  -webkit-mask-repeat: round no-repeat; mask-repeat: round no-repeat;
}
.cta-band .lane-line { --ll-c2: #2B78D6; --ll-shade: var(--ll-shade-dark, none); --ll-cable: rgba(190, 200, 212, .42); margin: 0 auto 28px; }
.cta-band .lane-line .ll-rope { filter: drop-shadow(0 1px 1.2px rgba(0, 0, 0, .6)); }
.page-title .lane-line { margin: 22px 0 0; }
.hero .lane-line { margin: 0 0 24px; }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #b9c6d2; }
.card-kicker { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.feature { padding: 22px 24px; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
/* A heading that is an h2 for the outline but sits in a card at the h3 size. */
h2.h3 { font-size: 21px; font-weight: 700; }
.fine { font-size: 14.5px; color: var(--label); }
.feature p { font-size: 15.5px; margin: 0; }
.group-title { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); margin: 36px 0 14px; }
.group-title:first-child { margin-top: 0; }
.pill { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: #e8f0fb; color: var(--blue-dk); }

/* ---------- device frames ----------
   Phone shots are 390 x 844 with the status bar in a 59 px band at the top and the home bar in
   a 34 px band at the bottom (tools/shots.cjs paints both and fails a shot with text in them).
   The camera island is drawn here in percent of the screen, inside that top band: from 1.3% to
   5.7% of the height, where the band ends at 7%. At any size it never covers the app. */
.frame { margin: 0; }
.frame-screen { position: relative; overflow: hidden; background: #dfe5ea; }
.frame-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* Each screenshot opens full size (its @2x file) when tapped. */
.frame-zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.frame-zoom:focus-visible { outline-offset: -3px; }
.frame-placeholder { width: 100%; height: 100%; background: repeating-linear-gradient(135deg, #e6ebef 0 14px, #dde4ea 14px 28px); }
.frame-laptop { position: relative; padding: 12px 12px 0; background: #1c222b; border-radius: 16px 16px 0 0; box-shadow: var(--shadow-lg); }
.frame-laptop .frame-screen { aspect-ratio: 16 / 10; border-radius: 6px 6px 0 0; }
.frame-laptop::before { content: ''; position: absolute; top: 4px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #3b434e; }
.frame-laptop::after { content: ''; display: block; height: 16px; margin: 0 -5%; background: linear-gradient(#cfd5db, #aab3bc); border-radius: 0 0 14px 14px; }
.frame-phone { width: 100%; max-width: 300px; padding: 10px; background: #1c222b; border-radius: 16% / 7.6%; box-shadow: var(--shadow-lg); position: relative; }
.frame-phone .frame-screen { aspect-ratio: 390 / 844; border-radius: 13.5% / 6.25%; }
.frame-phone .frame-screen::after { content: ''; position: absolute; top: 1.3%; left: 50%; width: 32.3%; height: 4.4%; transform: translateX(-50%); background: #0b0d10; border-radius: 999px; z-index: 2; pointer-events: none; }
.frame-tablet { position: relative; padding: 14px; background: #1c222b; border-radius: 26px; box-shadow: var(--shadow-lg); }
.frame-tablet::before { content: ''; position: absolute; top: 4px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3b434e; box-shadow: inset 0 0 0 1.5px #12161c; }
.frame-tablet .frame-screen { aspect-ratio: 4 / 3; border-radius: 12px; }
.shot-note { margin: 14px 0 0; font-size: 14.5px; color: var(--label); text-align: center; }
.phones { display: flex; gap: 28px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.phones .frame-phone { max-width: 260px; }
.phones .frame-phone:nth-child(2) { margin-top: 36px; }
.split .phones { flex-wrap: nowrap; gap: 20px; }
.split .phones .frame-phone { max-width: 230px; flex: 1 1 0; min-width: 0; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 96px; background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; font-size: 52px; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--label); }
.hero-art { position: relative; padding-bottom: 40px; }
.hero-art .frame-phone { position: absolute; right: -8px; bottom: -6px; width: 30%; max-width: 220px; padding: 7px; }
.page-title { padding: 72px 0 48px; background: #fff; border-bottom: 1px solid var(--border); }
.page-title h1 { font-size: 48px; max-width: 24ch; }
.page-title .lead { margin: 0; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 72px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; margin-bottom: 14px; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 16px; height: 9px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

/* ---------- features page ---------- */
.subnav { position: sticky; top: 73px; z-index: 40; background: rgba(238, 241, 244, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
/* Only the top and bottom: the row is also the .container, whose side padding lines it up with the page. */
.subnav-row { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav-row::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; padding: 8px 16px; border-radius: 20px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--body); border: 1.5px solid transparent; white-space: nowrap; }
.subnav a:hover { background: #fff; border-color: var(--border); }
.subnav a.active { background: var(--navy); color: #fff; }
.audience { scroll-margin-top: 140px; }

/* ---------- call to action band ---------- */
.cta-band { background: var(--navy); color: #d5deea; padding: 84px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: 38px; }
.cta-band p { max-width: 56ch; margin: 0 auto 28px; font-size: 18px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- pricing ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 0; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.calc-controls { padding: 34px; }
.calc-result { padding: 34px; background: var(--navy); color: #d5deea; display: flex; flex-direction: column; justify-content: center; }
.field { margin-bottom: 26px; }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.field label, .field .field-label { font-weight: 700; color: var(--ink); font-size: 16px; }
.field-hint { font-size: 14.5px; color: var(--label); margin: 8px 0 0; }
input[type="number"], input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px; width: 100%;
}
input[type="number"] { width: 108px; text-align: right; font-weight: 700; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(43, 120, 214, .28); border-color: var(--blue); }
input[type="range"] { width: 100%; accent-color: var(--navy); height: 28px; cursor: pointer; }
.switch { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; padding: 16px; border: 1.5px solid var(--border); border-radius: 12px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { flex: 0 0 auto; width: 46px; height: 26px; border-radius: 13px; background: #b9c4ce; position: relative; transition: background .15s; margin-top: 2px; }
.switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked + .switch-track { background: var(--navy); }
.switch input:checked + .switch-track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--blue); outline-offset: 3px; }
.switch-text strong { display: block; }
.switch-text span { font-size: 14.5px; color: var(--label); }
details.linked { border: 1.5px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-top: 14px; }
details.linked summary { cursor: pointer; font-weight: 700; color: var(--ink); }
details.linked .field { margin: 16px 0 0; }
.calc-label { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #9fb3cc; margin: 0 0 8px; }
.calc-price { font-size: 64px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; display: inline-block; padding-bottom: 10px; border-bottom: 5px solid var(--gold); margin-bottom: 22px; align-self: flex-start; }
.calc-math { font-size: 16px; line-height: 1.6; margin: 0 0 20px; }
.calc-math strong { color: #fff; }
.calc-share { font-size: 14px; color: #9fb3cc; margin: 0; }
.calc-result .btn { align-self: flex-start; margin-bottom: 18px; }
.band-table, .calc-price, .calc-math, .price-tag, .step-num, .release-date, .latest time { font-variant-numeric: tabular-nums; }
.band-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.band-table th, .band-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.band-table th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); background: var(--soft); }
.band-table tr:last-child td { border-bottom: 0; }
.band-table tr.active td { background: #fff7dc; font-weight: 700; color: var(--ink); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.timeline .card { position: relative; }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--blue-dk); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 12px 0 0; }
.price-tag { font-size: 40px; font-weight: 800; color: var(--ink); line-height: 1; }
.price-tag small { font-size: 16px; font-weight: 600; color: var(--label); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.form-card { padding: 34px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 15.5px; }
.form-field .optional { font-weight: 500; color: var(--label); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 26px; }
.form-status.ok { color: var(--green); }
.form-status.bad { color: var(--red); }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding: 56px 0 28px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; padding-bottom: 36px; }
.footer-brand p { margin: 14px 0 0; max-width: 44ch; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-link { color: var(--body); text-decoration: none; font-weight: 600; }
.footer-nav a:hover, .footer-link:hover { color: var(--navy); text-decoration: underline; }
.footer-label { font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.footer-app { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--label); font-size: 14.5px; }
.footer-base a { color: var(--label); }

/* ---------- headline features, New tags, notes ---------- */
.headline .eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag-new { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; padding: 5px 8px; border-radius: 6px; background: var(--gold); color: var(--navy); vertical-align: middle; margin-left: 6px; }
.eyebrow .tag-new { margin-left: 0; }
.availability { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.pill-live { background: #e3f1e6; color: var(--green); }
.pill-soon { background: #fff4d6; color: #7a5600; }
.note { margin: 22px 0 0; font-size: 15px; color: var(--label); max-width: 72ch; }
.note-card { display: flex; flex-direction: column; gap: 12px; }
.note-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); margin: 0; }
.notice { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--border); font-size: 15px; }
.notice strong { color: var(--ink); }
.feature[id], .split[id], .card[id] { scroll-margin-top: 140px; }
.prose-card p { max-width: 80ch; }

/* ---------- what's new ---------- */
.releases-wrap { max-width: 820px; }
.release-month { font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); margin: 40px 0 14px; }
.release-month:first-child { margin-top: 0; }
.releases { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.release h3 { font-size: 21px; margin: 2px 0 8px; }
.release p { margin: 0 0 10px; }
.release-date { font-size: 14px; font-weight: 700; color: var(--blue-dk); }
.release-roles { display: flex; flex-wrap: wrap; gap: 6px; }
.role { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: var(--soft); border: 1px solid var(--border); color: var(--body); }
.latest { list-style: none; padding: 0; margin: 0 0 18px; }
.latest li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.latest time { display: block; font-size: 13.5px; font-weight: 700; color: var(--label); }
.latest a { font-weight: 700; text-decoration: none; }

/* ---------- narrower screens ---------- */
/* The menu button takes over once the six links and the button no longer fit on one line. */
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: 12px 16px 18px; gap: 2px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 13px 12px; font-size: 17px; }
  .nav-cta { margin: 10px 0 0; }
  .site-nav { max-height: calc(100vh - 80px); overflow-y: auto; }
}
@media (max-width: 1100px) {
  h1 { font-size: 46px; }
  .page-title h1 { font-size: 42px; }
  .hero-grid { gap: 40px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .split, .calc, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
  .hero { padding: 56px 0 72px; }
  .hero-art { max-width: 640px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .frame-laptop::after { margin: 0 -3%; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: 36px; }
  h2, .cta-band h2 { font-size: 28px; }
  .split-text h2 { font-size: 26px; }
  .role-panel .split-text h3 { font-size: 22px; }
  h3 { font-size: 20px; }
  .page-title { padding: 48px 0 36px; }
  .page-title h1 { font-size: 34px; }
  .lead { font-size: 18px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 44px 0; }
  .cta-band { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .two-lists, .timeline, .form-row { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 52px; }
  .subnav { top: 73px; }
  .calc-controls, .calc-result, .form-card { padding: 24px; }
  .calc-price { font-size: 52px; }
  .phones { gap: 18px; }
  .phones .frame-phone { max-width: 220px; }
  .phones .frame-phone:nth-child(2) { margin-top: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-base { flex-direction: column; }
}
@media (max-width: 480px) {
  /* Sides only: .footer-grid, .footer-base and .subnav-row keep their own top and bottom padding. */
  .container { padding-left: 16px; padding-right: 16px; }
  .brand-name { font-size: 17px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .field-row { flex-wrap: wrap; }
  .phones .frame-phone { max-width: 240px; }
  /* Paired phones go one to a row, big enough to read; the hero phone keeps a thin bezel. */
  .split .phones { flex-wrap: wrap; gap: 24px; }
  .split .phones .frame-phone { flex: 0 0 auto; width: 100%; max-width: 240px; }
  .hero-art .frame-phone { padding: 4px; }
  .band-table th, .band-table td { padding: 12px 10px; }
  .band-table td:first-child { white-space: nowrap; }
}
@media (max-width: 360px) {
  /* The rate table at 320 px: Inter is a little wider than the old system font. */
  .band-table th, .band-table td { padding: 11px 7px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, a.card, .switch-track, .switch-track::after { transition: none; }
  .btn:hover, a.card:hover { transform: none; }
}

/* ---------- Features: the role tabs (nav.js; without JavaScript every panel shows) ---------- */
.role-bar { position: sticky; top: 73px; z-index: 40; background: rgba(238, 241, 244, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.role-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.role-tabs::-webkit-scrollbar { display: none; }
.role-tab { flex: 0 0 auto; padding: 9px 18px; border-radius: 22px; text-decoration: none; font-weight: 700; font-size: 15.5px; color: var(--body); border: 1.5px solid transparent; white-space: nowrap; }
.role-tab:hover { background: #fff; border-color: var(--border); color: var(--ink); }
.role-tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.role-panel, .role-panel [id] { scroll-margin-top: 140px; }
.js-tabs .role-panel[hidden] { display: none; }
.role-panel .group-title:first-of-type { margin-top: 8px; }
.group-gap { margin-top: 28px; }
.two-lists.stack { grid-template-columns: minmax(0, 1fr); }
/* A screenshot with a caption (build.mjs, "|cap:"), and rows of them. */
.shot { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.shot > .frame { width: 100%; }
.shot-phone > .frame-phone { max-width: 260px; }
.shots-row { display: grid; gap: 28px; margin-top: 28px; align-items: start; }
.shots-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shots-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shots-phones { margin-top: 28px; }
.split .phones .shot { flex: 1 1 0; max-width: 230px; }
.soon-split { margin-top: 36px; }
.soon-split .soon-card { margin-top: 0; }
.phones .shot > .frame-phone, .split .phones .shot > .frame-phone { flex: 0 0 auto; width: 100%; max-width: none; }
@media (max-width: 900px) { .shots-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .shots-2, .shots-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .split .phones .shot, .phones .shot { flex: 0 0 auto; width: 100%; max-width: 240px; } }
.block-gap { margin-top: 64px; }
.role-panel .split-text h3 { font-size: 26px; }
.soon-card { margin-top: 36px; border-style: dashed; }
.soon-card p:last-child { max-width: 80ch; }

/* ---------- Support ---------- */
.faq-group { margin-bottom: 56px; scroll-margin-top: 140px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group > h2 { font-size: 30px; margin-bottom: 8px; }
.faq-group .faq { max-width: 860px; }

/* Built from web/src/lib/laneLine.js */
:root { --ll-shape: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20100%2030'%20preserveAspectRatio%3D'none'%3E%3Crect%20x%3D'1.5'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'%23000'%2F%3E%3Crect%20x%3D'11.1'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'%23000'%2F%3E%3Crect%20x%3D'20.7'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'%23000'%2F%3E%3Crect%20x%3D'30.3'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'%23000'%2F%3E%3Crect%20x%3D'39.9'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'%23000'%2F%3E%3Crect%20x%3D'51.5'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'%23000'%2F%3E%3Crect%20x%3D'61.1'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'%23000'%2F%3E%3Crect%20x%3D'70.7'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'%23000'%2F%3E%3Crect%20x%3D'80.3'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'%23000'%2F%3E%3Crect%20x%3D'89.9'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'%23000'%2F%3E%3C%2Fsvg%3E"); --ll-shade-light: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20100%2030'%20preserveAspectRatio%3D'none'%3E%3Cdefs%3E%3ClinearGradient%20id%3D'v'%20x1%3D'0'%20y1%3D'0'%20x2%3D'0'%20y2%3D'1'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%23000'%20stop-opacity%3D'.22'%2F%3E%3Cstop%20offset%3D'.2'%20stop-color%3D'%23fff'%20stop-opacity%3D'0.34'%2F%3E%3Cstop%20offset%3D'.36'%20stop-color%3D'%23fff'%20stop-opacity%3D'0.1'%2F%3E%3Cstop%20offset%3D'.58'%20stop-color%3D'%23fff'%20stop-opacity%3D'0'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%23000'%20stop-opacity%3D'.36'%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D'r'%20x1%3D'0'%20y1%3D'0'%20x2%3D'1'%20y2%3D'0'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%23000'%20stop-opacity%3D'.42'%2F%3E%3Cstop%20offset%3D'.2'%20stop-color%3D'%23000'%20stop-opacity%3D'.06'%2F%3E%3Cstop%20offset%3D'.38'%20stop-color%3D'%23fff'%20stop-opacity%3D'0.24'%2F%3E%3Cstop%20offset%3D'.6'%20stop-color%3D'%23fff'%20stop-opacity%3D'0'%2F%3E%3Cstop%20offset%3D'.82'%20stop-color%3D'%23000'%20stop-opacity%3D'.12'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%23000'%20stop-opacity%3D'.46'%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D'h'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%23fff'%20stop-opacity%3D'0.75'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%23fff'%20stop-opacity%3D'0'%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D'100'%20height%3D'30'%20fill%3D'url(%23v)'%2F%3E%3Crect%20x%3D'1.5'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'4.94'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'11.1'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'14.54'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'20.7'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'24.14'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'30.3'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'33.74'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'39.9'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'43.34'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'51.5'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'54.94'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'61.1'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'64.54'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'70.7'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'74.14'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'80.3'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'83.74'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'89.9'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'93.34'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3C%2Fsvg%3E"); --ll-shade-dark: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20100%2030'%20preserveAspectRatio%3D'none'%3E%3Cdefs%3E%3ClinearGradient%20id%3D'v'%20x1%3D'0'%20y1%3D'0'%20x2%3D'0'%20y2%3D'1'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%23000'%20stop-opacity%3D'.22'%2F%3E%3Cstop%20offset%3D'.2'%20stop-color%3D'%23fff'%20stop-opacity%3D'0.24'%2F%3E%3Cstop%20offset%3D'.36'%20stop-color%3D'%23fff'%20stop-opacity%3D'0.07'%2F%3E%3Cstop%20offset%3D'.58'%20stop-color%3D'%23fff'%20stop-opacity%3D'0'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%23000'%20stop-opacity%3D'.36'%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D'r'%20x1%3D'0'%20y1%3D'0'%20x2%3D'1'%20y2%3D'0'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%23000'%20stop-opacity%3D'.42'%2F%3E%3Cstop%20offset%3D'.2'%20stop-color%3D'%23000'%20stop-opacity%3D'.06'%2F%3E%3Cstop%20offset%3D'.38'%20stop-color%3D'%23fff'%20stop-opacity%3D'0.17'%2F%3E%3Cstop%20offset%3D'.6'%20stop-color%3D'%23fff'%20stop-opacity%3D'0'%2F%3E%3Cstop%20offset%3D'.82'%20stop-color%3D'%23000'%20stop-opacity%3D'.12'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%23000'%20stop-opacity%3D'.46'%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D'h'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%23fff'%20stop-opacity%3D'0.52'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%23fff'%20stop-opacity%3D'0'%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D'100'%20height%3D'30'%20fill%3D'url(%23v)'%2F%3E%3Crect%20x%3D'1.5'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'4.94'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'11.1'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'14.54'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'20.7'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'24.14'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'30.3'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'33.74'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'39.9'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'43.34'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'51.5'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'54.94'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'61.1'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'64.54'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'70.7'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'74.14'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'80.3'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'83.74'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3Crect%20x%3D'89.9'%20y%3D'0.5'%20width%3D'8.6'%20height%3D'29'%20rx%3D'3.61'%20ry%3D'5.8'%20fill%3D'url(%23r)'%2F%3E%3Cellipse%20cx%3D'93.34'%20cy%3D'9'%20rx%3D'2.24'%20ry%3D'4.5'%20fill%3D'url(%23h)'%2F%3E%3C%2Fsvg%3E"); }
