/* Gig Management landing page: the notebook.
   Colours are the app's own tokens (DESIGN-AND-CONTENT.md section 5). Light is the default;
   dark follows the phone and is deep teal, never flat black. Phone first from 320 px.
   No inline style anywhere: the page's Content-Security-Policy is style-src 'self'. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #F3F8F7; --surface: #FFFFFF; --sunken: #EDF2F2; --line: #DDE5E6;
  --ink: #131C1E; --ink-soft: #435154; --ink-faint: #59696C;
  --teal: #0F766E; --teal-strong: #115E59; --teal-bright: #14B8A6; --teal-glow: #2DD4BF;
  --teal-soft: #CCFBF1; --teal-softest: #F0FDFA;
  --gold: #8A5A12; --gold-fill: #E8B83A;
  --btn: #0F766E; --btn-ink: #FFFFFF; --btn-hover: #115E59;
  --focus: #0F766E;
  --shadow: 19 28 30;
  --bezel: #0E3532;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-card: 16px; --r-sheet: 22px;
  --top-h: 60px; --tabs-h: 60px;
  /* each tab: --tc its edge (decoration), --ta its accent for text and filled marks */
  --tc-home: #0F766E; --tc-shift: #14B8A6; --tc-features: #0E7490; --tc-plans: #B7791F;
  --tc-download: #15803D; --tc-questions: #435154; --tc-about: #115E59;
  --ta-home: #0F766E; --ta-shift: #0F766E; --ta-features: #0E7490; --ta-plans: #8A5A12;
  --ta-download: #15803D; --ta-questions: #435154; --ta-about: #115E59;
  --tint-mix: 22%; --hover-add: 6%;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0A2826; --surface: #11403C; --sunken: #0D3431; --line: #1F5A54;
    --ink: #E8EEEF; --ink-soft: #B5C3C5; --ink-faint: #A3B4B6;
    --teal: #5EEAD4; --teal-strong: #99F6E4; --teal-soft: #134E48; --teal-softest: #0F3A36;
    --gold: #F2C94C;
    --btn: #2DD4BF; --btn-ink: #042F2E; --btn-hover: #5EEAD4;
    --focus: #5EEAD4;
    --shadow: 0 10 9;
    --bezel: #06201E;
    --tc-home: #2DD4BF; --tc-shift: #5EEAD4; --tc-features: #22D3EE; --tc-plans: #E8B83A;
    --tc-download: #4ADE80; --tc-questions: #B5C3C5; --tc-about: #14B8A6;
    --ta-home: #5EEAD4; --ta-shift: #5EEAD4; --ta-features: #67E8F9; --ta-plans: #F2C94C;
    --ta-download: #86EFAC; --ta-questions: #CBD5D7; --ta-about: #5EEAD4;
    --tint-mix: 26%; --hover-add: 4%;
  }
}

* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100% }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 400 1.0625rem/1.6 var(--sans);
  background:
    radial-gradient(1100px 420px at 50% -120px, color-mix(in srgb, var(--teal-glow) 22%, transparent), transparent 70%),
    var(--page);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px }
a:hover { text-decoration-thickness: 2px }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; font-weight: 700 }
p { margin: 0 }
ul, ol { margin: 0; padding: 0 }
strong { font-weight: 650 }
[hidden] { display: none !important }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px }

.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 12px 18px; border-radius: 12px; background: var(--btn); color: var(--btn-ink); font-weight: 700; text-decoration: none }
.skip:focus { top: 10px }

/* ------------------------------------------------------------------ top bar */
.top {
  position: sticky; top: 0; z-index: 30; min-height: var(--top-h);
  background: color-mix(in srgb, var(--page) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--top-h); width: min(1120px, 100% - 32px); margin-inline: auto }
.brand { min-width: 0; flex-wrap: wrap; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -0.01em }
.brand img { width: 34px; height: 34px; border-radius: 9px }
.brand-name { font-size: 1.0625rem }
.beta-pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.02em; color: var(--teal-strong); background: var(--teal-soft) }
.top-acts { display: flex; align-items: center; gap: 10px }
.btn.top-cta { display: none }
@media (min-width: 720px) { .btn.top-cta { display: inline-flex } }
/* the top bar's Android button stands in for the bottom bar at 900 px and wider */
.btn.top-android { display: none }
@media (min-width: 900px) { .btn.top-android { display: inline-flex } }
html[data-platform="ios"] .btn.top-android { display: none }
.kicker .beta-pill { text-transform: none; letter-spacing: 0.02em; font-size: 0.75rem }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 14px; border: 1.5px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.btn-main { background: var(--btn); color: var(--btn-ink) }
.btn-main:hover { background: var(--btn-hover) }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line) }
.btn-line:hover { border-color: var(--teal) }
.btn-sm { min-height: 48px; padding: 0 16px; font-size: 0.9375rem; border-radius: 12px }
.btn-soon { background: var(--sunken); color: var(--ink-soft); border-color: var(--line); cursor: default }
.btn-wide { width: 100% }
.btn svg { flex: none }
.btns { display: flex; flex-wrap: wrap; gap: 12px }

/* ------------------------------------------------------------------ the desk and the notebook */
.desk { width: min(1120px, 100% - 24px); margin-inline: auto; padding-bottom: 40px }
@media (min-width: 600px) { .desk { width: min(1120px, 100% - 40px) } }

.tabs {
  position: sticky; top: var(--top-h); z-index: 20;
  background: var(--page);
  margin-inline: -12px; padding-inline: 12px;
}
@media (min-width: 600px) { .tabs { margin-inline: 0; padding-inline: 0; background: transparent } }
.tabs-row {
  display: flex; gap: 4px; padding: 8px 10px 0; overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
}
.tabs-row::-webkit-scrollbar { display: none }
.tabs-row.at-end { -webkit-mask-image: none; mask-image: none }
@media (min-width: 900px) { .tabs-row { -webkit-mask-image: none; mask-image: none; padding-inline: 18px; gap: 6px } }

.tab {
  --c: var(--tc-home);
  position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 4px 18px 0; border-radius: 14px 14px 0 0;
  border: 1px solid var(--line); border-bottom: 0; border-top: 4px solid var(--c);
  background: color-mix(in srgb, var(--c) var(--tint-mix), var(--surface));
  color: var(--ink); font-weight: 600; font-size: 0.9375rem; white-space: nowrap; text-decoration: none;
  transition: background-color 150ms ease;
}
.tab:hover { background: color-mix(in srgb, var(--c) calc(var(--tint-mix) + var(--hover-add)), var(--surface)) }
.tab:focus-visible { outline-offset: -4px; border-radius: 14px 14px 0 0 }
.tab-num { display: none }
.tab[data-t="home"] { --c: var(--tc-home) }
.tab[data-t="shift"] { --c: var(--tc-shift) }
.tab[data-t="features"] { --c: var(--tc-features) }
.tab[data-t="plans"] { --c: var(--tc-plans) }
.tab[data-t="download"] { --c: var(--tc-download) }
.tab[data-t="questions"] { --c: var(--tc-questions) }
.tab[data-t="about"] { --c: var(--tc-about) }
.tab[aria-selected="true"] {
  z-index: 2; background: var(--surface); border-top-width: 6px; font-weight: 700;
  margin-bottom: -4px; padding-bottom: 4px;
}
@media (min-width: 900px) { .tab { padding-inline: 22px; font-size: 1rem } }

/* the sheet: its top edge takes the colour of the open tab */
.notebook { --tc: var(--tc-home); --ta: var(--ta-home) }
html[data-tab="shift"] .notebook { --tc: var(--tc-shift); --ta: var(--ta-shift) }
html[data-tab="features"] .notebook { --tc: var(--tc-features); --ta: var(--ta-features) }
html[data-tab="plans"] .notebook { --tc: var(--tc-plans); --ta: var(--ta-plans) }
html[data-tab="download"] .notebook { --tc: var(--tc-download); --ta: var(--ta-download) }
html[data-tab="questions"] .notebook { --tc: var(--tc-questions); --ta: var(--ta-questions) }
html[data-tab="about"] .notebook { --tc: var(--tc-about); --ta: var(--ta-about) }

.sheet {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--tc);
  border-radius: 6px var(--r-sheet) var(--r-sheet) var(--r-sheet);
  box-shadow: 0 1px 2px rgb(var(--shadow) / 0.05), 0 18px 48px -18px rgb(var(--shadow) / 0.22);
}

/* Without JavaScript every part shows, one under the other; each has its own colour edge. */
.panel { padding: 28px 18px 40px; scroll-margin-top: calc(var(--top-h) + var(--tabs-h)) }
@media (min-width: 600px) { .panel { padding: 40px 36px 56px } }
@media (min-width: 1000px) { .panel { padding: 48px 56px 64px } }
.panel:focus:not(:focus-visible) { outline: none }
html:not(.js) .panel + .panel { border-top: 4px solid var(--line) }

/* With JavaScript one part shows at a time (data-tab is set before the first paint). */
.js .panel { display: none }
html.js[data-tab="home"] #home, html.js[data-tab="shift"] #shift, html.js[data-tab="features"] #features,
html.js[data-tab="plans"] #plans, html.js[data-tab="download"] #download, html.js[data-tab="questions"] #questions,
html.js[data-tab="about"] #about { display: block; animation: sheet-in 150ms ease-out }
@keyframes sheet-in { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

/* the header line of each sheet, like the date line in a notebook */
.sheet-head { display: grid; gap: 6px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line) }
.sheet-head h2 { font-size: clamp(1.75rem, 5.2vw, 2.5rem); letter-spacing: -0.03em }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ta) }
.kicker::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--tc) }
.sheet-sub { color: var(--ink-soft); font-size: 1.0625rem; max-width: 60ch }
.note-sample { color: var(--ink-faint); font-size: 0.875rem }

.lead { font-size: clamp(1.125rem, 2.6vw, 1.3rem); line-height: 1.5; color: var(--ink-soft); max-width: 40ch }
.muted { color: var(--ink-soft) }
.fine { color: var(--ink-faint); font-size: 0.875rem }
.prose { display: grid; gap: 12px; max-width: 64ch }

/* app words: the exact words of a button or label in the app */
.ui {
  display: inline; padding: 1px 7px; border-radius: 7px; white-space: nowrap;
  background: var(--teal-softest); border: 1px solid var(--line); color: var(--ink);
  font-weight: 600; font-size: 0.95em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
@media (max-width: 380px) { .ui { white-space: normal } }
q { quotes: "\201C" "\201D" }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.02em; white-space: normal; max-width: 100% }
.chip-free { background: var(--teal-soft); color: var(--teal-strong) }
.chip-pro { background: color-mix(in srgb, var(--gold-fill) 26%, var(--surface)); color: var(--gold) }
.chip-unl { background: color-mix(in srgb, var(--tc-features) 18%, var(--surface)); color: var(--ink) }
.chip-ai { background: var(--sunken); color: var(--ink-soft) }

.callout { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; border-left: 4px solid var(--tc); background: var(--sunken); font-size: 0.9375rem; color: var(--ink) }
.callout b { font-weight: 650 }

/* the phone outline around a screen picture */
.phone {
  width: min(280px, 100%); margin-inline: auto; padding: 7px; border-radius: 38px;
  background: var(--bezel); border: 1px solid color-mix(in srgb, var(--teal-glow) 25%, var(--bezel));
  box-shadow: 0 2px 4px rgb(var(--shadow) / 0.08), 0 26px 50px -20px rgb(var(--shadow) / 0.45);
}
.phone img { width: 100%; aspect-ratio: 786 / 1704; border-radius: 31px; background: var(--sunken) }
.cap { margin-top: 10px; text-align: center; font-size: 0.875rem; color: var(--ink-faint) }

/* ------------------------------------------------------------------ Home */
.hero { display: grid; gap: 36px; align-items: center }
@media (min-width: 880px) { .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px } }
.hero-text { display: grid; gap: 22px; justify-items: start }
.hero h1 { font-size: clamp(2.5rem, 9vw, 4.4rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1.02 }
.hero h1 em { font-style: normal; color: var(--teal); position: relative }
.beta-line { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 600; color: var(--ink-soft) }
.beta-line .beta-pill { font-size: 0.8125rem }
/* "Beta means a test launch": plain body text in a soft teal note */
.beta-means { padding: 10px 14px; border-radius: 10px; border-left: 3px solid var(--teal); background: var(--teal-softest); color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.55; max-width: 60ch }
.facts { display: grid; gap: 12px; list-style: none; margin-top: 8px; width: 100% }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
@media (min-width: 880px) { .facts { grid-template-columns: 1fr } }
@media (min-width: 1040px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
.fact { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border-radius: var(--r-card); background: var(--teal-softest); border: 1px solid var(--line); font-size: 0.9375rem; color: var(--ink-soft) }
.fact b { color: var(--ink); font-weight: 650; font-size: 1rem }
.home-missing { padding: 12px 14px; border-radius: 12px; background: var(--sunken); color: var(--ink); font-size: 0.9375rem }
.next-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 18px 20px;
  border-radius: var(--r-card); border: 1.5px dashed color-mix(in srgb, var(--tc-shift) 60%, var(--line));
  background: color-mix(in srgb, var(--tc-shift) 8%, var(--surface)); color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.0625rem; min-height: 64px;
}
.next-link span:last-child { color: var(--teal); font-size: 1.4rem; line-height: 1 }
.next-link:hover { border-style: solid }

/* ------------------------------------------------------------------ Your shift */
.shift { display: grid; gap: 28px }
@media (min-width: 960px) { .shift { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start } }
.steps > *, .cards > *, .plans > *, .shift-body > *, .step-text > *, .shift > *, .hero > *, .dl-grid > *, .qa > *, .about > *, .step > *, .trial > * { min-width: 0 }
.parts-nav { position: sticky; top: calc(var(--top-h) + var(--tabs-h)); z-index: 5; margin-inline: -18px; padding: 10px 18px; background: var(--surface); border-bottom: 1px solid var(--line) }
@media (min-width: 600px) { .parts-nav { margin-inline: -36px; padding-inline: 36px } }
@media (min-width: 960px) { .parts-nav { margin: 0; padding: 0; border: 0; top: calc(var(--top-h) + var(--tabs-h) + 24px) } }
.parts-nav p { display: none }
.parts { display: flex; gap: 8px; list-style: none; overflow-x: auto; scrollbar-width: none; padding-block: 2px }
.parts::-webkit-scrollbar { display: none }
.parts a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; white-space: nowrap;
}
.parts a .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sunken); color: var(--ink-soft); font-size: 0.8125rem; font-weight: 700 }
.parts a[aria-current="true"] { border-color: var(--ta); background: color-mix(in srgb, var(--tc-shift) 12%, var(--surface)) }
.parts a[aria-current="true"] .n { background: var(--ta); color: var(--surface) }
@media (min-width: 960px) {
  .parts-nav p { display: block; margin-bottom: 12px; font-size: 0.875rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint) }
  .parts { flex-direction: column; gap: 2px; overflow: visible; border-left: 2px solid var(--line) }
  .parts a { border: 0; border-radius: 0 10px 10px 0; margin-left: -2px; border-left: 2px solid transparent; white-space: normal; padding: 8px 12px; min-height: 48px; background: transparent }
  .parts a[aria-current="true"] { border-left-color: var(--ta) }
}

.part { display: grid; gap: 22px; scroll-margin-top: calc(var(--top-h) + var(--tabs-h) + 76px) }
.part + .part { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line) }
@media (min-width: 960px) { .part { scroll-margin-top: calc(var(--top-h) + var(--tabs-h) + 24px) } }
.part-head { display: grid; gap: 6px }
.part-head .kicker { color: var(--ta) }
.part-head h3 { font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: -0.03em }
.steps { display: grid; gap: 18px; list-style: none }
.step {
  display: grid; gap: 18px; padding: 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(var(--shadow) / 0.04);
}
@media (min-width: 720px) { .step.has-shot { grid-template-columns: minmax(0, 1fr) 230px; gap: 28px; padding: 26px; align-items: start } }
.step-text { display: grid; gap: 12px; align-content: start }
.step-title { display: flex; align-items: center; gap: 12px }
.step-n { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--ta); color: var(--surface); font-weight: 750; font-size: 1rem; font-variant-numeric: tabular-nums }
.step h4 { font-size: 1.25rem; letter-spacing: -0.02em }
.step ul { display: grid; gap: 8px; padding-left: 1.15em; color: var(--ink-soft) }
.step li::marker { color: var(--ta) }
.step .chips { display: flex; flex-wrap: wrap; gap: 6px }
.step .phone { width: min(230px, 100%) }
.also { display: grid; gap: 10px; padding: 18px 20px; border-radius: var(--r-card); background: var(--sunken) }
.also h4 { font-size: 1rem; letter-spacing: 0 }
.also ul { display: grid; gap: 8px; padding-left: 1.15em; color: var(--ink-soft); font-size: 0.9375rem }
.shift-end { margin-top: 48px; padding: 24px; border-radius: var(--r-card); background: color-mix(in srgb, var(--tc-shift) 10%, var(--surface)); border: 1px solid var(--line); display: grid; gap: 14px }
.shift-end h3 { font-size: 1.375rem }

/* ------------------------------------------------------------------ Features */
.group + .group { margin-top: 44px }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 16px }
.group-head h3 { font-size: 1.375rem }
.group-head p { color: var(--ink-faint); font-size: 0.9375rem }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); list-style: none }
.card {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgb(var(--shadow) / 0.04);
}
.card-shot { height: 148px; overflow: hidden; background: color-mix(in srgb, var(--tc-features) 8%, var(--sunken)); border-bottom: 1px solid var(--line); display: flex; justify-content: center; padding-top: 16px }
.card-shot img { width: 168px; aspect-ratio: 786 / 1704; border-radius: 18px 18px 0 0; box-shadow: 0 0 0 5px var(--bezel); margin-top: 5px }
.card-body { display: grid; gap: 8px; align-content: start; padding: 16px 18px 18px }
.card-body h4 { font-size: 1.0625rem; letter-spacing: -0.01em; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px }
.card-body p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5 }

/* ------------------------------------------------------------------ Plans */
.trial {
  display: grid; gap: 14px; padding: 24px; margin-bottom: 28px; border-radius: var(--r-card);
  background: linear-gradient(135deg, color-mix(in srgb, var(--teal-glow) 16%, var(--surface)), color-mix(in srgb, var(--gold-fill) 12%, var(--surface)));
  border: 1px solid var(--line);
}
@media (min-width: 820px) { .trial { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 28px 32px } }
.trial h3 { font-size: clamp(1.375rem, 3.4vw, 1.75rem) }
.trial ul { display: grid; gap: 4px; list-style: none; color: var(--ink-soft) }
.trial li::before { content: "\2713"; color: var(--teal); font-weight: 700; margin-right: 8px }
.plans { display: grid; gap: 16px; list-style: none }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch } }
.plan { display: grid; grid-template-rows: auto auto auto 1fr; gap: 16px; padding: 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line) }
.plan[data-plan="pro"] { border-top: 4px solid var(--tc-plans) }
.plan[data-plan="unlimited"] { border-top: 4px solid var(--tc-features) }
.plan[data-plan="free"] { border-top: 4px solid var(--tc-home) }
.plan h3 { font-size: 1.25rem }
.price { display: grid; gap: 2px }
.price b { font-size: 2.4rem; font-weight: 750; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums }
.price b small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--ink-soft) }
.price span { color: var(--ink-soft); font-size: 0.9375rem; font-variant-numeric: tabular-nums }
.plan-act { display: grid; gap: 8px }
.plan-act .fine { text-align: center }
.plan ul { display: grid; gap: 8px; list-style: none; align-content: start; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--ink-soft) }
.plan li { padding-left: 26px; position: relative }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg) }
.plans-notes { display: grid; gap: 6px; margin-top: 22px }

/* ------------------------------------------------------------------ Download */
.dl-grid { display: grid; gap: 22px }
#dl-platform { margin-bottom: 22px }
@media (min-width: 960px) { .dl-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: start } }
.box { display: grid; gap: 18px; padding: 22px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); scroll-margin-top: calc(var(--top-h) + var(--tabs-h) + 12px) }
@media (min-width: 600px) { .box { padding: 28px } }
.box > h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px }
.dl-state { display: grid; gap: 12px; padding: 18px; border-radius: 14px; background: var(--sunken) }
.dl-state .btn { justify-self: start }
#dl-meta { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums }
.num-steps { display: grid; gap: 14px; list-style: none; counter-reset: s }
.num-steps li { counter-increment: s; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start }
.num-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ta); color: var(--surface); font-weight: 750; font-size: 0.9375rem }
.num-steps b { display: block; font-weight: 650; color: var(--ink) }
.num-steps span { color: var(--ink-soft); font-size: 0.9375rem }
details.check { border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding: 0 16px }
details.check summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-weight: 650 }
details.check p { color: var(--ink-soft); font-size: 0.9375rem; margin-bottom: 8px }
details.check code { display: block; margin-bottom: 14px; font: 500 0.875rem/1.5 var(--mono); overflow-wrap: anywhere; word-break: break-all; color: var(--ink) }

/* ------------------------------------------------------------------ Questions */
.qa { display: grid; gap: 28px }
@media (min-width: 960px) { .qa { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); align-items: start; gap: 40px } }
.faq { display: grid; gap: 10px }
.faq details { border-radius: 14px; border: 1px solid var(--line); background: var(--surface); padding: 0 18px }
.faq details[open] { background: color-mix(in srgb, var(--tc-questions) 5%, var(--surface)) }
.faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; font-weight: 650; list-style: none; padding-block: 10px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--sunken); color: var(--ink); font-weight: 600 }
.faq details[open] summary::after { content: "\2212" }
.faq details > div { display: grid; gap: 10px; padding-bottom: 18px; color: var(--ink-soft) }
.side { display: grid; gap: 16px }
.side .box { gap: 10px; padding: 20px }
.side h3 { font-size: 1.125rem }
.links { display: grid; gap: 2px; list-style: none }
.links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600 }
.safe { font-weight: 650; color: var(--ink) }

/* ------------------------------------------------------------------ About */
.about { display: grid; gap: 32px }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 48px; align-items: start } }
.poster { margin: 0 }
.poster img { width: 100%; max-width: 560px; aspect-ratio: 1122 / 1402; border-radius: 14px; border: 1px solid var(--line); background: var(--sunken) }
.about-text { display: grid; gap: 22px; align-content: start }
.about-text h3 { font-size: clamp(1.5rem, 3.6vw, 2rem); letter-spacing: -0.03em }
.about-points { display: grid; gap: 14px; list-style: none }
.about-points li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--sunken); border-left: 4px solid var(--tc) }
.about-points b { color: var(--ink); font-weight: 650 }
.about-points span { color: var(--ink-soft); font-size: 0.9375rem }
.sign { font-style: italic; font-weight: 600; color: var(--ink) }

/* ------------------------------------------------------------------ footer and action bar */
.foot { width: min(1120px, 100% - 32px); margin: 8px auto 0; padding: 28px 0 32px; display: grid; gap: 14px; color: var(--ink-soft); font-size: 0.9375rem }
.foot-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px }
.foot-top b { color: var(--ink); font-weight: 700 }
.slogan { color: var(--teal); font-weight: 600 }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; list-style: none }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft) }
.foot-line { max-width: 80ch; color: var(--ink-faint); font-size: 0.875rem }

.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgb(var(--shadow) / 0.35);
}
.bar-in { display: flex; gap: 10px; justify-content: center; width: min(1120px, 100%); margin-inline: auto }
.bar .btn { flex: 1 1 0; max-width: 320px; min-height: 52px }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) }
html[data-tab="download"] .bar { display: none }
html[data-tab="download"] body { padding-bottom: 0 }
/* which button the bar holds: Android shows the file, iPhone the web app, a computer both */
html[data-platform="android"] .bar #bar-web { display: none }
html[data-platform="ios"] .bar #bar-android { display: none }
html[data-platform="android"][data-file="missing"] .bar #bar-web { display: inline-flex }
/* at 900 px and wider the top bar holds the actions; the bottom bar would only cover the page */
@media (min-width: 900px) {
  .bar { display: none }
  body { padding-bottom: 0 }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
}

/* dark: the Pro chip keeps 4.5 to 1 on the deep teal sheet */
@media (prefers-color-scheme: dark) { .chip-pro { background: color-mix(in srgb, var(--gold-fill) 12%, var(--surface)) } }
.card-shot img { flex: none; align-self: flex-start; height: auto }
.trial h3 { margin-bottom: 10px }
