/*
  vib-app.com — VIB red/black stylesheet.
  Visual target: website/references/VIB_RedBlack_Approved_Mockup.svg (approved by the owner).
  Tokens follow the app's AppColors and the mockup: canvas #0B0B0B, surfaces #171717/#242424,
  CTA red #C1121F, bright accent red #FF3B4D / #FF3137, text #F5F5F5.
  Rules to preserve when editing: visible keyboard focus, >= 4.5:1 text contrast (accent red is for
  large text, labels and icons on dark; small text on red buttons is white on #C1121F), no horizontal
  page scroll at 320 px, tables scroll inside .table-wrap, reduced motion respected.
  Typeface: Outfit (bundled with the app; SIL OFL — confirm licence file before launch).
*/
@font-face { font-family: "Outfit"; src: url("/assets/fonts/Outfit-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/assets/fonts/Outfit-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/assets/fonts/Outfit-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/assets/fonts/Outfit-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --bg-deep: #050505;
  --surface: #171717;
  --surface-2: #242424;
  --elevated: #2c2c2e;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f5f5;
  --muted: #a9afba;
  --red: #c1121f;
  --red-dark: #a80f1b;
  --red-hot: #ff3b4d;
  --logo-red: #ff3137;
  --mark-bg: #ffe066;
  --mark-text: #000;
  --max: 80rem;
  --measure: 45rem;
  --gutter: 1.25rem;
  --radius: 1.5rem;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (min-width: 640px) { :root { --gutter: 2rem; } }
@media (min-width: 1280px) { :root { --gutter: 4rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  overflow-x: clip;
}
@media (min-width: 640px) { body { font-size: 1.125rem; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-hot); text-underline-offset: 0.18em; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 4px; box-shadow: 0 0 0 6px rgba(193, 18, 31, 0.9); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 0.75rem 1rem; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 0; }
.draft-banner { margin: 0; padding: 0.4rem var(--gutter); background: #2a0a0d; color: #ffd9dc; text-align: center; font-size: 0.8rem; border-bottom: 1px solid var(--red); }
mark.placeholder { background: var(--mark-bg); color: var(--mark-text); padding: 0 0.2em; border-radius: 3px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.85em; }
.hl { color: var(--logo-red); }
.kicker { margin: 0 0 0.9rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-hot); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 5, 5, 0.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(6px); }
.site-header__inner { max-width: var(--max); margin: 0 auto; padding: 0.55rem var(--gutter); display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); margin-right: auto; }
.brand__mark { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 1.6rem; color: var(--logo-red); letter-spacing: 0.01em; }
.brand__tag { font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); font-weight: 500; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.15rem 1.6rem; }
.primary-nav a { display: inline-block; padding: 0.55rem 0; color: var(--text); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.primary-nav a:hover { color: var(--red-hot); }
.primary-nav a[aria-current="page"] { color: var(--red-hot); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; 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(--text); content: ""; position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.header-cta { padding: 0.6rem 1.1rem; font-size: 0.95rem; }

@media (max-width: 1099px) {
  .js .nav-toggle { display: inline-flex; }
  .js .primary-nav { display: none; order: 5; flex-basis: 100%; }
  .js .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; padding: 0.5rem 0 0.75rem; }
  .primary-nav { order: 5; flex-basis: 100%; }
  .primary-nav a { display: block; padding: 0.7rem 0; border-top: 1px solid var(--border); font-size: 1.05rem; }
}
@media (max-width: 420px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1.4rem; }
  .header-cta { padding: 0.55rem 0.8rem; font-size: 0.875rem; }
}

/* ---------- buttons ---------- */
.cta { margin: 1.5rem 0 0; display: inline-block; margin-right: 0.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.8rem 1.5rem; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 1rem; border: 2px solid var(--red); color: #fff; line-height: 1.2; transition: background-color 0.15s, transform 0.15s, border-color 0.15s; }
.button--primary { background: var(--red); }
.button--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.button--secondary { background: transparent; border-color: var(--red-hot); color: #fff; }
.button--secondary:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- sections ---------- */
main { display: block; }
.section { position: relative; padding: 4rem 0; background: var(--bg); }
@media (min-width: 640px) { .section { padding: 5rem 0; } }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }
.section__inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section__inner > :first-child { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.1; margin: 1.6em 0 0.5em; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 4.8vw, 4.5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
h4 { font-size: 1.1rem; }
p, ul, ol, blockquote { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.4rem; }
li + li { margin-top: 0.4em; }
.section__head { max-width: 46rem; margin-bottom: 2.5rem; }
.section__head > :first-child { margin-top: 0; }
.section__head > :last-child { margin-bottom: 0; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.92em; overflow-wrap: anywhere; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
blockquote { border-left: 4px solid var(--red); padding: 0.1rem 0 0.1rem 1rem; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; border: 1px solid var(--border); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--border); }
th { background: var(--surface-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* hero */
.section--hero { padding: 3rem 0 3.5rem; background: linear-gradient(100deg, #050505 0%, #210205 55%, #080808 100%); overflow: hidden; min-height: 28rem; }
@media (min-width: 1024px) { .section--hero { padding: 5rem 0; min-height: 36rem; } }
.section--hero::before { content: ""; position: absolute; width: 38rem; height: 38rem; border-radius: 50%; right: 8%; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(193, 18, 31, 0.28), rgba(193, 18, 31, 0) 65%); pointer-events: none; }
.hero__bg { position: absolute; inset: 0 0 0 auto; width: 70%; opacity: 0.55; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: saturate(0.85) contrast(1.05); }
@media (max-width: 900px) { .hero__bg { width: 100%; opacity: 0.3; } }
.section--hero .section__inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .section--hero .section__inner.has-devices, .section--hero .section__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.hero__copy { max-width: 38rem; }
.hero__copy > p:not(.kicker):not(.cta) { color: #d9d9d9; font-size: 1.15rem; max-width: 30rem; }
.hero__copy h1 { margin: 0 0 1rem; }
.hero__devices { display: flex; justify-content: center; gap: 1.25rem; align-items: center; }
.hero__devices .device { width: min(46%, 15rem); }
.hero__devices .device:nth-child(1) { transform: rotate(-3deg); }
.hero__devices .device:nth-child(2) { transform: rotate(2deg) translateY(1.5rem); }
@media (max-width: 899px) { .hero__devices { margin-top: 1rem; } .hero__devices .device { width: min(42%, 11rem); } }

/* app store buttons */
.stores { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.stores li { margin: 0; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 3.5rem; padding: 0.4rem 1.3rem; border-radius: 10px; background: #121212; border: 1px solid #6b6b6b; color: #fff; text-decoration: none; line-height: 1.15; }
.store__small { font-size: 0.7rem; letter-spacing: 0.04em; color: #c9c9c9; }
.store__big { font-size: 1.1rem; font-weight: 700; }
.store--soon { border-style: dashed; }
a.store:hover { border-color: var(--red-hot); }

/* device frames: real app captures, kept large enough to read */
.device { margin: 0; }
.device__frame { position: relative; aspect-ratio: 390 / 844; background: #080808; border: 3px solid #4a4a4a; border-radius: 2.4rem; padding: 0.55rem; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.6), 0 0 0 1px #000; overflow: hidden; }
.device__frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.8rem; background: #000; }
.device figcaption { text-align: center; margin-top: 0.9rem; color: var(--muted); font-size: 0.95rem; }

/* feature strip */
.section--strip { padding: 2rem 0; background: #111; border-block: 1px solid var(--border); }
.section--strip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .section--strip ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .section--strip ul { grid-template-columns: repeat(4, 1fr); } .section--strip { padding: 2.5rem 0; } }
.section--strip li { margin: 0; padding-left: 3.6rem; position: relative; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.section--strip li strong { display: block; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1rem; margin-bottom: 0.15rem; }
.section--strip li::before { content: ""; position: absolute; left: 0; top: 0.1rem; width: 2.4rem; height: 2.4rem; background: var(--logo-red); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.section--strip li:nth-child(1) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3v18H4V4h3zM6 10v10h12V10zm0-4v2h12V6z'/%3E%3C/svg%3E"); }
.section--strip li:nth-child(2) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8 3v6c0 5-3.4 9.3-8 11-4.6-1.7-8-6-8-11V5zm-1 13l6-6-1.4-1.4L11 12.2 8.4 9.6 7 11z'/%3E%3C/svg%3E"); }
.section--strip li:nth-child(3) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 6.5 7 .9-5.1 4.9 1.3 7L12 17.8 5.8 21.3l1.3-7L2 9.4l7-.9z'/%3E%3C/svg%3E"); }
.section--strip li:nth-child(4) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 11a4 4 0 100-8 4 4 0 000 8zm8 0a3 3 0 100-6 3 3 0 000 6zM9 13c-3.3 0-7 1.7-7 4v3h14v-3c0-2.3-3.7-4-7-4zm8 0c-.5 0-1 .1-1.5.2 1.5 1 2.5 2.4 2.5 3.8v3h4v-3c0-2-3-4-5-4z'/%3E%3C/svg%3E"); }

/* audience panels */
.section--panels { padding-block: 0; }
.section--panels .section__inner { max-width: none; padding: 0; }
.section--panels .section__head { max-width: var(--max); margin: 0 auto; padding: 4rem var(--gutter) 2rem; }
.panels { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .panels { grid-template-columns: repeat(3, 1fr); } }
.panel { position: relative; min-height: 26rem; display: flex; align-items: flex-end; overflow: hidden; background: #140708; border-top: 1px solid var(--border); isolation: isolate; }
@media (min-width: 900px) { .panel { min-height: 34rem; border-left: 1px solid var(--border); } .panel:first-child { border-left: 0; } }
.panel__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(0.6) contrast(1.1); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 5, 5, 0.25) 0%, rgba(5, 5, 5, 0.92) 78%), linear-gradient(135deg, rgba(193, 18, 31, 0.35), rgba(0, 0, 0, 0) 60%); }
.panel__body { padding: 2rem var(--gutter) 2.5rem; max-width: 28rem; }
@media (min-width: 900px) { .panel__body { padding: 2.5rem 2rem 3rem; } }
.panel__body h3 { text-transform: uppercase; font-size: clamp(1.9rem, 2.8vw, 2.6rem); margin: 0 0 0.75rem; }
.panel__body p { color: #dedede; }
.panel__body .cta { margin-top: 0.5rem; }

/* app showcase */
.section--showcase { background: linear-gradient(180deg, #080808, #120405 60%, #080808); text-align: left; }
.section--showcase h2 { text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.75rem); margin-top: 0; }
.showcase__devices { display: grid; gap: 2rem 1.5rem; grid-template-columns: 1fr; justify-items: center; margin-top: 3rem; }
.showcase__devices .device { width: min(100%, 17.5rem); }
@media (min-width: 640px) { .showcase__devices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .showcase__devices { grid-template-columns: repeat(4, 1fr); } }

/* cards: feature lists, proof, card grid */
.section--feature ul, .section--feature-list ul, .section--proof ul, .section--card-grid ul, .section--trust ul:not(.stores) { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .section--proof ul, .section--card-grid ul, .section--feature ul, .section--feature-list ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .section--proof ul, .section--card-grid ul { grid-template-columns: repeat(3, 1fr); } }
.section--feature li, .section--feature-list li, .section--proof li, .section--card-grid li { margin: 0; padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: transform 0.2s, border-color 0.2s; }
.section--feature li:hover, .section--proof li:hover, .section--card-grid li:hover { transform: translateY(-3px); border-color: rgba(255, 59, 77, 0.45); }
.section--feature li strong, .section--feature-list li strong, .section--proof li strong, .section--card-grid li strong { display: block; color: #fff; font-size: 1.2rem; margin-bottom: 0.35rem; }
.section--feature, .section--feature-list { background: var(--bg); }
.section--feature:nth-of-type(odd) { background: #0f0f0f; }
.section--feature, .section--feature-list { padding: 3.5rem 0; }
.section--proof { background: #0e0e0e; border-top: 1px solid var(--border); }

/* steps */
.section--steps ol { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .section--steps ol { grid-template-columns: repeat(3, 1fr); } }
.section--steps li { counter-increment: step; margin: 0; padding: 1.5rem 1.5rem 1.5rem 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); position: relative; }
.section--steps li::before { content: counter(step); display: block; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--logo-red); margin-bottom: 0.5rem; }
.section--steps li strong { display: block; font-size: 1.2rem; color: #fff; }

/* trust, info, summary */
.section--trust, .section--info, .section--summary { background: #0e0e0e; }
.section--trust .section__inner > *, .section--info .section__inner > * { max-width: 52rem; }
.section--trust h2, .section--info h2 { margin-top: 0; }

/* faq */
.section--faq { background: #0d0d0d; border-top: 1px solid var(--border); }
.faq { max-width: 52rem; display: grid; gap: 0.75rem; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: 1rem; }
.faq__item[open] { border-color: rgba(255, 59, 77, 0.5); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.25rem; font-weight: 700; font-size: 1.1rem; position: relative; min-height: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--red-hot); font-size: 1.6rem; font-weight: 500; }
.faq__item[open] summary::after { content: "\2212"; }
.faq__a { padding: 0 1.25rem 1.1rem; color: #d9d9d9; }
.faq__a > :last-child { margin-bottom: 0; }

/* closing bands */
.section--download-cta, .section--cta-band { background: linear-gradient(120deg, #1a0305 0%, #4a070d 55%, #1a0305 100%); text-align: center; border-block: 1px solid rgba(255, 59, 77, 0.35); padding: 4rem 0; }
.section--download-cta .section__inner > *, .section--cta-band .section__inner > * { margin-inline: auto; max-width: 40rem; }
.section--download-cta h2, .section--cta-band h2 { text-transform: uppercase; margin-top: 0; }
.section--download-cta .stores { justify-content: center; }
.section--download-cta .cta, .section--cta-band .cta { margin-inline: 0.4rem; }

/* page intro for non-legal marketing pages without a hero */
.page--marketing .section--hero h1 { font-size: clamp(2.3rem, 4.4vw, 4rem); }

/* ---------- legal / support / readable pages: black, narrow column, no cinematic effects ---------- */
.section--legal-intro, .section--legal-section, .section--how-to, .section--summary, .section--link-list,
.section--support-contact, .section--support-topic, .section--contact, .section--utility { padding: 2.5rem 0; background: var(--bg); }
.section--legal-intro { padding-top: 4rem; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #160406, #0b0b0b); }
.section--legal-intro h1 { text-transform: none; font-size: clamp(2.1rem, 4vw, 3.25rem); }
.section--legal-intro .section__inner > *, .section--legal-section .section__inner > *, .section--how-to .section__inner > *, .section--summary .section__inner > *,
.section--link-list .section__inner > *, .section--support-contact .section__inner > *, .section--support-topic .section__inner > *, .section--contact .section__inner > *, .section--utility .section__inner > * { max-width: var(--measure); margin-inline: auto; }
.section--legal-section .section__inner > .table-wrap, .section--support-topic .section__inner > .table-wrap { max-width: 64rem; }
.section--legal-section h2, .section--support-topic h2, .section--how-to h2, .section--contact h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 0; padding-top: 0.2rem; }
.section--legal-section h2::before { content: ""; display: block; width: 3rem; height: 3px; background: var(--red); margin-bottom: 0.9rem; }
.section--legal-section + .section--legal-section { border-top: 1px solid var(--border); }
.section--legal-section, .section--support-topic, .section--how-to, .section--contact { font-size: 1.0625rem; }
@media (min-width: 640px) { .section--legal-section, .section--support-topic, .section--how-to, .section--contact { font-size: 1.125rem; } }
.section--support-contact { background: linear-gradient(180deg, #1a0406, #0b0b0b); padding-top: 4rem; }
.section--support-contact h1 { text-transform: none; font-size: clamp(2.1rem, 4vw, 3.25rem); }
.toc { background: #0e0e0e; border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.toc__inner { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }
.toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 0.75rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 1; font-size: 1rem; }
@media (min-width: 720px) { .toc ol { columns: 2; column-gap: 2rem; } }
.toc li { margin: 0 0 0.35rem; break-inside: avoid; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: 3rem 0 2rem; }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .site-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } .footer-legal { grid-column: 1 / -1; } }
.footer-blurb { color: var(--muted); max-width: 22rem; font-size: 0.95rem; margin: 1rem 0 0; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.5rem; }
.footer-group ul { list-style: none; margin: 0; padding: 0; }
.footer-group__title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--red-hot); margin: 0 0 0.6rem; font-weight: 700; }
.footer-group li { margin: 0; }
.footer-group a { display: inline-block; padding: 0.35rem 0; color: var(--text); text-decoration: none; font-size: 0.98rem; }
.footer-group a:hover { color: var(--red-hot); text-decoration: underline; }
.site-footer .stores { margin-top: 1.25rem; }
.site-footer .store { min-height: 3rem; padding: 0.3rem 1rem; }
.footer-legal { color: var(--muted); font-size: 0.85rem; margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ---------- motion: restrained reveal only ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__devices .device { transform: none !important; }
}
@media print { .site-header, .site-footer, .skip-link, .draft-banner { display: none; } body { background: #fff; color: #000; } a { color: #000; } .section { background: #fff !important; } }
.section--strip h2 { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* reflow safety: long words and grid children never force sideways scroll, even with enlarged text */
h1, h2, h3, h4, .kicker, .store__big { overflow-wrap: break-word; }
.section--hero .section__inner > *, .site-footer__inner > *, .footer-brand, .panel__body { min-width: 0; }
mark.placeholder, .footer-blurb, .section__inner p, .section__inner li, .section__inner a { overflow-wrap: anywhere; }
@media (max-width: 480px) { h1 { font-size: clamp(2rem, 11vw, 2.5rem); } }
.faq { grid-template-columns: minmax(0, 1fr); }
.footer-nav { grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr)); }
.panels, .section--strip ul, .showcase__devices { min-width: 0; }

/* ---------- post-launch cleanup (2026-10-03): rhythm, line length, balance ---------- */
.section { padding: 3.25rem 0; }
@media (min-width: 640px) { .section { padding: 4rem 0; } }
@media (min-width: 1024px) { .section { padding: 5.5rem 0; } }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* hero: tighter, plain variant when there are no devices */
.section--hero { min-height: 0; padding: 2.75rem 0 3.25rem; }
@media (min-width: 1024px) { .section--hero { padding: 4.5rem 0; min-height: 32rem; } }
.section--hero-plain { padding: 3.5rem 0; }
@media (min-width: 1024px) { .section--hero-plain { padding: 5rem 0; min-height: 22rem; } }
.section--hero-plain .section__inner { grid-template-columns: minmax(0, 40rem); }
.hero__copy .cta { margin: 1.25rem 0.6rem 0 0; }
.hero__copy h1 { text-wrap: balance; max-width: 12ch; }
.section--hero-plain .hero__copy h1 { max-width: 16ch; }
.hero__copy .stores { margin-top: 1.5rem; }
@media (max-width: 480px) { .hero__copy .cta { display: block; margin-right: 0; } .hero__copy .button { width: 100%; } }

/* audience pages: heading on the left, copy in a readable column on the right */
@media (min-width: 900px) {
  .section--feature .section__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 3rem; align-items: start; }
  .section--feature .section__inner > h2 { grid-column: 1; grid-row: 1 / span 12; margin: 0; position: sticky; top: 6rem; }
  .section--feature .section__inner > :not(h2) { grid-column: 2; max-width: 40rem; }
  .section--feature .section__inner > :nth-child(2) { margin-top: 0; }
}
.section--feature .section__inner > p { color: #dcdcdc; }
.section--feature, .section--feature-list { padding: 2.75rem 0; }
@media (min-width: 1024px) { .section--feature, .section--feature-list { padding: 3.75rem 0; } }
.section--feature + .section--feature { border-top: 1px solid var(--border); }
.section--info .section__inner > p, .section--trust .section__inner > p { max-width: 40rem; }

/* panels: even heights, aligned headings, no dead space at the top */
.panel { min-height: 22rem; }
@media (min-width: 900px) { .panel { min-height: 30rem; } .panel__body p:not(.kicker):not(.cta) { min-height: 5.6em; } }
.section--panels .section__head { padding: 3.25rem var(--gutter) 1.75rem; }
@media (min-width: 1024px) { .section--panels .section__head { padding-top: 5.5rem; } }
.panel__body .cta { display: block; margin: 0.5rem 0 0; }

/* showcase: tidy intro, equal device sizes */
.section--showcase .section__inner > p:not(.kicker) { max-width: 40rem; color: #dcdcdc; }
.section--showcase .section__inner > p:last-of-type:not(.kicker) { font-size: 0.9rem; color: var(--muted); }
.showcase__devices { margin-top: 2.25rem; }
.device figcaption { font-size: 0.9rem; letter-spacing: 0.02em; }

/* cards */
.section--proof ul, .section--card-grid ul { align-items: stretch; }
.section--feature li, .section--proof li { height: 100%; }
.section--proof .section__inner > h2 { margin-bottom: 1.75rem; }
.section--steps .section__inner > h2 { margin-bottom: 1.75rem; }

/* faq */
.section--faq .section__head { margin-bottom: 1.75rem; }
.faq { gap: 0.6rem; }

/* closing bands */
.section--download-cta, .section--cta-band { padding: 3.25rem 0; }
@media (min-width: 1024px) { .section--download-cta, .section--cta-band { padding: 4.5rem 0; } }
.section--download-cta .section__inner > p, .section--cta-band .section__inner > p { color: #e6e6e6; }

/* legal and support pages: comfortable measure and rhythm */
.section--legal-section, .section--support-topic, .section--how-to, .section--contact { padding: 2.25rem 0; }
.section--legal-intro h1, .section--support-contact h1 { letter-spacing: -0.02em; }
.section--legal-section h3, .section--support-topic h3 { margin: 1.6em 0 0.4em; }
.section--legal-section p, .section--legal-section li, .section--support-topic p, .section--support-topic li, .section--how-to li { line-height: 1.65; }
.section--legal-section .section__inner > ul, .section--legal-section .section__inner > ol { margin-bottom: 1.25em; }

/* footer: compact */
.site-footer { padding: 2.5rem 0 1.75rem; }
.footer-group a { padding: 0.3rem 0; }

/* header: keep the menu tidy between breakpoints */
@media (min-width: 1100px) and (max-width: 1240px) { .primary-nav ul { gap: 0.15rem 1.1rem; } }
.section--panels { padding-block: 0; }

/* ---------- visual QA pass (2026-10-03, round 2): product imagery on every audience page, balance, rhythm ---------- */

/* hero devices: large enough to read; on phones show one big screen instead of two tiny ones */
.section--hero .section__inner { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .section--hero .section__inner.has-devices, .section--hero .section__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.section--hero-plain .section__inner { grid-template-columns: minmax(0, 40rem); }
.hero__devices { gap: 1.5rem; padding: 0.5rem 0 1.5rem; }
.hero__devices .device { width: min(46%, 17.5rem); }
@media (min-width: 1280px) { .hero__devices .device { width: min(46%, 18.5rem); } }
@media (max-width: 899px) {
  .hero__devices { margin-top: 0.5rem; }
  .hero__devices .device { width: min(72%, 16rem); transform: none !important; }
  .hero__devices .device:nth-child(n + 2) { display: none; }
}

/* feature rows with a real app screen: text one side, phone the other, sides alternate */
.section--has-shot .section__inner { display: block; }
.feature__split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .feature__split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 4rem; }
  .section--has-shot:nth-of-type(even) .feature__devices { order: -1; }
  .section--has-shot:nth-of-type(even) .feature__split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}
.feature__copy > h2 { margin: 0 0 1rem; position: static; }
.feature__copy > :not(h2) { max-width: 36rem; }
.feature__copy > p { color: #dcdcdc; }
.feature__devices { position: relative; display: flex; justify-content: center; }
.feature__devices::before { content: ""; position: absolute; width: min(26rem, 100%); aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(193, 18, 31, 0.22), rgba(193, 18, 31, 0) 65%); pointer-events: none; }
.feature__devices .device { position: relative; width: min(100%, 17rem); }
.section--has-shot { padding: 3.25rem 0; }
@media (min-width: 1024px) { .section--has-shot { padding: 4.5rem 0; } }

/* info, trust and FAQ sections use the same heading-left / content-right rhythm as the feature rows */
@media (min-width: 900px) {
  .section--info .section__inner, .section--trust .section__inner, .section--faq .section__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 3rem; align-items: start; }
  .section--info .section__inner > h2, .section--trust .section__inner > h2 { grid-column: 1; grid-row: 1 / span 12; margin: 0; position: sticky; top: 6rem; }
  .section--info .section__inner > :not(h2), .section--trust .section__inner > :not(h2) { grid-column: 2; max-width: 40rem; }
  .section--faq .section__head { grid-column: 1; grid-row: 1 / span 2; margin: 0; position: sticky; top: 6rem; }
  .section--faq .faq { grid-column: 2; max-width: none; }
}

/* cards: a short list reads better as one column; steps centre their last row instead of orphaning it */
.section--feature ul:not(:has(> li:nth-child(4))) { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .section--steps ol { grid-template-columns: repeat(6, 1fr); }
  .section--steps li { grid-column: span 2; }
  .section--steps li:last-child:nth-child(3n + 1) { grid-column: 3 / span 2; }
  .section--steps li:last-child:nth-child(3n + 2) { grid-column: 4 / span 2; }
  .section--steps li:nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
  .section--steps li:last-child:nth-child(3n + 2) { grid-column: 4 / span 2; }
}
.section--steps li { height: 100%; }

/* showcase: tighter and balanced */
.section--showcase { padding-bottom: 4rem; }
.showcase__devices .device { width: min(100%, 16.5rem); }
@media (min-width: 640px) { .showcase__devices { justify-items: center; } }
.section--has-shot .section__inner > .feature__split { max-width: none; grid-column: auto; }

/* very narrow phones (320-360): keep logo, Download App and the menu button on one row */
@media (max-width: 360px) {
  .site-header__inner { gap: 0.4rem; }
  .brand { gap: 0.4rem; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 1.2rem; }
  .header-cta { padding: 0.5rem 0.6rem; font-size: 0.8rem; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* header (desktop): the nav is centred on the HEADER itself (left:50% + translateX(-50%)), independent of the logo and
   button widths, so the visible link group sits on the viewport centre line. Logo left, Download App right. */
@media (min-width: 1100px) {
  .site-header__inner { position: relative; display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; }
  .brand { margin-right: 0; }
  .primary-nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .primary-nav ul { white-space: nowrap; }
  .header-cta { margin-left: auto; }
}
.primary-nav li { margin: 0; } /* the global li + li top margin pushed every nav item but the first down */
