/* Brightgrain marketing pages. Generated pages link this file; the app-link landing pages
   (/join/, /threadcircle/join/, /hypothetically/challenge/, /hypothetically/q/) keep /style.css. */
/* Brand preview (branch brand-coastal-modern-preview, 2026-11-16): Coastal Modern tokens from brightgrain-standards
   tokens/brightgrain.tokens.json v1.0.0-draft. PROPOSAL pending Matthew's visual approval; not deployed.
   Old values (v0.1.0): ink #17202a, text #3d4954, muted #5d6a75, paper #fbfcfa, tint #eef5f1, line #dfe7e2,
   accent #1d7163, accent-strong #145449, accent-soft #e8f3ef. */
/* Self-hosted, SIL OFL 1.1: licences and checksums beside the files in /assets/fonts/ (brightgrain-standards tokens/fonts/README.md). */
@font-face { font-family: "Manrope"; src: url("/assets/fonts/Manrope-VariableFont_wght.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/InterVariable-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
:root {
  --navy: #102D37;
  --teal: #4DBABD;
  --ivory: #F6F4EF;
  --coastal-slate: #6A858D;
  --gold: #D8A86B;
  --reading-slate: #536B73;
  --quiet-line: #D8DFDC;
  --ink: var(--navy);
  --text: var(--navy);
  --muted: var(--reading-slate);
  --paper: var(--ivory);
  --surface: #ffffff;
  --tint: #ffffff;
  --line: var(--quiet-line);
  --line-strong: var(--coastal-slate);
  --accent: var(--teal);
  --accent-strong: var(--navy);
  --accent-soft: var(--quiet-line);
  --focus: var(--navy);
  --focus-ring: 0 0 0 3px var(--ivory), 0 0 0 6px var(--navy);
  --font-heading: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(16,45,55,.06), 0 8px 24px rgba(16,45,55,.06);
  --radius: 16px;
  --app: var(--navy);
  color-scheme: light;
}
/* No dark mode in this preview: the standard covers navy sections only. A system dark mode needs its own tested
   surfaces, borders, states and product imagery (decision for Matthew). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; color: var(--text); background: var(--paper);
  font: 400 clamp(1.0625rem, 1.04rem + .1vw, 1.125rem)/1.58 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
/* Long words (and long words at 200% text on narrow screens) wrap instead of overflowing; hyphens where the browser can. */
h1, h2, h3, h4, p, li, dt, dd, figcaption, summary, td, th { overflow-wrap: break-word; }
h1, h2, h3, h4 { hyphens: auto; -webkit-hyphens: auto; }
a { color: var(--accent-strong); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid transparent; outline-offset: 3px; box-shadow: var(--focus-ring); border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-heading); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.2rem + 4.2vw, 3.5rem); line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.25rem); }
h3 { font-size: clamp(1.375rem, 1.3rem + .3vw, 1.5rem); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
p, ul, ol { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter, 20px)); margin-inline: auto; }
:root { --gutter: 20px; }
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; } }
.narrow { max-width: 720px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 20; padding: .7rem 1rem; border-radius: 8px; color: var(--ivory); background: var(--navy); }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(12px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; color: var(--ink); font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; letter-spacing: 0; text-decoration: none; }
/* The 80 px logo file has the mark on a padded canvas (visible height 58.6%). 44 px shows a 26 px mark, above the
   proposed 24 px minimum; negative margins keep the header height. */
.brand img { width: 44px; height: 44px; margin: -4px -8px -4px -10px; }
.nav-links { display: flex; flex-wrap: wrap; gap: .1rem .3rem; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7rem; border-radius: 8px; color: var(--ink); font-size: 1rem; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--ink); background: var(--quiet-line); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; text-decoration-color: var(--teal); }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 2rem; }
.eyebrow { margin: 0 0 .6rem; color: var(--app); font-size: .875rem; font-weight: 600; letter-spacing: .02em; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.25rem); line-height: 1.55; max-width: 680px; }
.intro { padding: clamp(2.5rem, 6vw, 4.5rem) 0; color: var(--ivory); background: var(--navy); }
.intro h1 { max-width: 820px; color: var(--ivory); }
.intro .eyebrow { color: var(--teal); }
.intro .lead { color: var(--quiet-line); }
.intro :focus-visible { box-shadow: 0 0 0 3px var(--navy), 0 0 0 6px var(--ivory); }
.intro .button { border-color: var(--teal); }
.intro .button:hover { color: var(--navy); background: var(--ivory); border-color: var(--ivory); }
.intro .button-quiet { color: var(--ivory); border-color: var(--ivory); background: transparent; }
.intro .button-quiet:hover { color: var(--navy); background: var(--ivory); }
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); background: var(--tint); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .6rem 1.2rem; border: 2px solid var(--navy); border-radius: 10px; color: var(--navy); background: var(--teal); font-weight: 600; text-decoration: none; }
.button:hover { color: var(--ivory); background: var(--navy); }
.button:active { color: var(--ivory); background: var(--navy); box-shadow: inset 0 0 0 2px var(--teal); transform: translateY(1px); }
.button-quiet { color: var(--navy); background: transparent; border: 2px solid var(--navy); }
.button-quiet:hover { color: var(--navy); background: var(--quiet-line); }
.button-quiet:active { color: var(--ivory); background: var(--navy); box-shadow: none; }

/* App catalog cards */
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.app-card { display: flex; flex-direction: column; padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--line); border-top: 4px solid var(--app); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.app-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.app-card :is(h2, h3) { margin: 0; font-size: 1.35rem; }
.app-card .kicker { margin: .15rem 0 0; color: var(--muted); font-size: .92rem; }
.app-card .benefit { flex: 1; color: var(--text); }
.app-card .platforms { margin-bottom: .9rem; color: var(--muted); font-size: .9rem; }
.app-card-foot { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.app-icon { flex: none; display: block; width: 64px; height: 64px; border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(23,32,42,.08), 0 4px 12px rgba(23,32,42,.12); }
.app-icon-lg { width: 96px; height: 96px; }

/* Store badges: official artwork, equal visual height, at least the required clear space between them */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.badge { display: inline-block; line-height: 0; border-radius: 8px; }
.badge img { display: block; height: 44px; width: auto; max-width: none; }
.badge-play img { height: calc(44px * 250 / 168); margin: calc(-44px * 41 / 168); }
.badge-play { padding: 0; }
.soon { display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--tint); font-size: .9rem; font-weight: 700; }
.soon::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); }

/* Product pages */
.product-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.product-hero .app-icon { margin-bottom: 1.2rem; }
.product-hero .lead { margin-bottom: 1.4rem; }
.product-hero .platforms { margin-top: 1rem; color: var(--muted); font-size: .92rem; }
.hero-shot { justify-self: center; }
.product-head { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--app) 9%, var(--paper)), var(--paper)); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.feature { padding: 1.35rem 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.feature h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.feature p { margin: 0; color: var(--muted); }
.steps { counter-reset: step; display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; max-width: 760px; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: #fff; background: var(--app); font-weight: 800; font-size: .95rem; }
.steps strong { color: var(--ink); }

/* Screenshots: phone-proportioned, readable, horizontally scrollable on small screens */
.shots { display: flex; gap: 1.25rem; margin: 0; padding: .5rem .25rem 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; overscroll-behavior-x: contain; }
.shots li { flex: 0 0 auto; scroll-snap-align: start; }
.shot { margin: 0; width: 230px; }
.shot img, .hero-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.hero-shot { width: min(280px, 100%); margin: 0; }
.shot figcaption { margin-top: .6rem; color: var(--muted); font-size: .9rem; line-height: 1.4; }

/* FAQ, notes, contact */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .8rem 0; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--muted); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 1rem; }
.note { padding: 1rem 1.2rem; border: 1px solid var(--line); border-left: 4px solid var(--app); border-radius: 10px; background: var(--surface); }
.links-row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.links-row a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.contact-card { padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.contact-card h2 { font-size: 1.2rem; margin-bottom: .4rem; }
.contact-card p { color: var(--muted); }
.contact-card .address { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.contact-card .address a { display: inline-flex; align-items: center; min-height: 44px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.principles { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.principles h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.principles p { margin: 0; color: var(--muted); }

/* Legal pages */
.legal { max-width: 780px; }
.legal h2 { margin-top: 2.6rem; padding-top: .5rem; font-size: 1.6rem; }
.legal h3 { margin-top: 1.8rem; font-size: 1.2rem; }
.legal h4 { margin-top: 1.4rem; font-size: 1.02rem; }
.legal li { margin: .35rem 0; }
.legal .product-section { margin-top: 3rem; padding-top: 1.5rem; border-top: 2px solid var(--line); }
.updated { display: inline-block; margin: 0; padding: .3rem .7rem; border-radius: 999px; color: var(--accent-strong); background: var(--accent-soft); font-size: .9rem; font-weight: 700; }
.toc { margin: 2rem 0; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.toc h2 { margin: 0 0 .5rem; padding: 0; font-size: 1.05rem; }
.toc ol { margin: 0; padding-left: 1.3rem; }
.toc a { display: inline-block; padding: .3rem 0; }
.applies { color: var(--muted); font-size: .95rem; font-style: italic; }
.back-top { margin-top: 1rem; font-size: .9rem; }

/* Footer */
.site-footer { margin-top: clamp(2rem, 6vw, 4rem); padding: 3rem 0 2rem; color: var(--quiet-line); font-size: .95rem; background: var(--navy); }
.site-footer .brand { color: var(--ivory); }
.site-footer a { color: var(--ivory); }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--navy), 0 0 0 6px var(--ivory); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem 2rem; }
.footer-grid h2 { margin: 0 0 .4rem; color: var(--ivory); font-family: var(--font-body); font-size: .875rem; font-weight: 600; letter-spacing: .02em; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ivory); text-decoration: none; }
.footer-grid li a:hover { color: var(--teal); text-decoration: underline; }
.footer-brand p { margin: .5rem 0 0; max-width: 34ch; }
.social-links { display: flex; gap: .5rem; margin: 1rem 0 0 -6px; padding: 0; list-style: none; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 8px; }
.social-links a:hover { background: rgba(246,244,239,.12); }
.social-links img { display: block; width: auto; height: 32px; }
.footer-legal { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--coastal-slate); font-size: .875rem; }

.error-page { padding: clamp(4rem, 12vw, 8rem) 0; }

/* Hypothetically Speaking 2.6: release pill, hero pair, Together tour, packs, Free vs Premium */
.release-pill { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 1rem; padding: .35rem .85rem; border: 1px solid color-mix(in srgb, var(--app) 35%, transparent); border-radius: 999px; color: var(--app); background: color-mix(in srgb, var(--app) 10%, var(--surface)); font-size: .92rem; font-weight: 750; }
.release-pill-live { color: #14664f; border-color: color-mix(in srgb, #14664f 35%, transparent); background: color-mix(in srgb, #14664f 10%, var(--surface)); }
.release-note { max-width: 560px; margin: 1rem 0 0; color: var(--text); font-size: .95rem; }
.release-note strong { color: var(--ink); }
.hs-head { background: linear-gradient(180deg, color-mix(in srgb, var(--app) 11%, var(--paper)), var(--paper)); }
.hero-duo { position: relative; justify-self: center; display: flex; align-items: flex-start; width: min(100%, 470px); min-height: 0; }
.hero-duo img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow); background: var(--surface); }
.hero-duo-back { flex: 0 0 52%; margin-top: 3.5rem; margin-right: -9%; transform: rotate(-3deg); }
.hero-duo-front { flex: 0 0 57%; position: relative; z-index: 1; transform: rotate(2deg); }
.card-tag { display: inline-block; align-self: flex-start; margin: 0 0 .7rem; padding: .25rem .7rem; border-radius: 999px; color: var(--app); background: color-mix(in srgb, var(--app) 12%, var(--surface)); font-size: .85rem; font-weight: 750; }
.app-card-featured { grid-column: 1 / -1; flex-direction: row; align-items: stretch; gap: clamp(1rem, 4vw, 3rem); overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--app) 8%, var(--surface)), var(--surface) 60%); }
.app-card-featured .app-card-body { display: flex; flex: 1 1 0; flex-direction: column; min-width: 0; }
.app-card-art { display: flex; flex: 0 0 auto; gap: .75rem; align-items: flex-start; align-self: flex-start; max-height: 330px; overflow: hidden; margin: -.25rem 0 -2rem; padding-top: .25rem; }
.app-card-art img { display: block; width: 190px; height: auto; border-radius: 18px; box-shadow: var(--shadow); }
.app-card-art img:first-child { margin-top: 2.5rem; }

.tour-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tour-tabs[hidden] { display: none; }
.tour-tabs button { min-height: 44px; padding: .45rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface); font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; }
.tour-tabs button:hover { border-color: var(--app); }
.tour-tabs button[aria-selected="true"] { color: #fff; border-color: var(--app); background: var(--app); }
.tour-panels { display: grid; gap: 2.5rem; }
.tour-panel { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.tour-panel[hidden] { display: none; }
.tour-shot { margin: 0; }
.tour-shot img, .how-shot img, .packs-shot img { display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: var(--shadow); background: var(--surface); }
.tour-copy h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.tour-copy p { max-width: 520px; font-size: 1.05rem; }
.tour-fact { padding: .75rem 1rem; border-left: 4px solid var(--app); border-radius: 0 10px 10px 0; background: var(--surface); color: var(--ink); font-size: .98rem !important; font-weight: 600; }

.how-grid { align-items: center; }
.how-shot { margin: 0; justify-self: center; width: min(280px, 100%); }
.how-shot figcaption { margin-top: .8rem; color: var(--muted); font-size: .92rem; }
.control-head { margin-top: 2rem; font-size: 1.15rem; }
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; margin: 0 0 .7rem; padding-left: 1.7rem; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .45rem; height: .8rem; border: solid var(--app); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }

.packs { display: grid; grid-template-columns: 1fr 1fr 240px; gap: 1.25rem; align-items: start; }
.pack { padding: 1.5rem; border: 1px solid var(--line); border-top: 5px solid #c03a74; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.pack-date { border-top-color: #6b4fd3; }
.pack h3 { font-size: 1.35rem; }
.pack p { color: var(--text); }
.pack .pack-meta { margin: 0; color: var(--muted); font-size: .9rem; font-weight: 700; }
.packs-shot { grid-column: 3; grid-row: 1 / span 1; margin: 0; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.compare { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .98rem; }
.compare th, .compare td { padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { color: var(--ink); background: var(--tint); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.compare tbody th { width: 34%; color: var(--ink); font-weight: 700; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td:last-child, .compare thead th:last-child { background: color-mix(in srgb, var(--app) 6%, var(--surface)); }
.premium-notes { max-width: 760px; margin-top: 1.5rem; color: var(--text); }
.premium-notes p { margin-bottom: .8rem; }
.spotlight { --app: #2a46d6; padding: clamp(2rem, 5vw, 3.5rem) 0 0; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--app) 12%, var(--paper)), var(--paper)); border-block: 1px solid var(--line); }
.banner-slides { margin: 0; padding: 0; list-style: none; }
.banner-slide { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.banner-slide + .banner-slide { padding-top: clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid var(--line); }
.banner-art-cs { align-items: flex-end; max-height: 330px; }
.banner-art-cs .app-icon { align-self: center; flex: none; width: 140px; height: 140px; border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(23,32,42,.08), 0 8px 24px rgba(23,32,42,.18); }
.banner-art-cs > picture { align-self: center; flex: none; }
.banner-js .banner-slides { display: grid; }
.banner-js .banner-slide { grid-area: 1 / 1; padding-top: 0; border-top: 0; visibility: hidden; opacity: 0; }
.banner-js .banner-slide.is-active { visibility: visible; opacity: 1; }
.banner-controls { display: flex; align-items: center; gap: .6rem; padding: 0 0 1.25rem; }
.banner-controls[hidden] { display: none; }
.banner-btn { min-width: 44px; min-height: 44px; padding: 0 .9rem; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface); font: inherit; font-size: 1.2rem; font-weight: 700; line-height: 1; cursor: pointer; }
.banner-pause { margin-left: auto; font-size: .9rem; }
.banner-btn:hover { border-color: var(--app); }
.banner-dots { display: flex; gap: .2rem; }
.banner-dots button { position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.banner-dots button::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; border-radius: 50%; background: var(--line); box-shadow: inset 0 0 0 1.5px var(--muted); }
.banner-dots button[aria-current="true"]::after { background: var(--app, var(--accent-strong)); box-shadow: none; }
.spotlight-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.spotlight h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.spotlight-art { display: flex; gap: 1rem; align-items: flex-start; justify-content: center; max-height: 330px; overflow: hidden; }
.spotlight-art img { display: block; width: 200px; height: auto; border-radius: 22px 22px 0 0; box-shadow: var(--shadow); }
.spotlight-art img:last-child { margin-top: 2.2rem; }
.features-solo { margin-top: 1.5rem; }

@media (max-width: 860px) {
  .product-hero { grid-template-columns: 1fr; }
  .hero-duo { justify-self: start; width: min(380px, 100%); }
  .tour-panel { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
  .packs { grid-template-columns: 1fr 1fr; }
  .packs-shot { grid-column: 1 / -1; width: min(240px, 100%); }
  .app-card-featured { flex-direction: column; }
  .banner-slide { grid-template-columns: 1fr; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .spotlight-art { justify-content: flex-start; max-height: 240px; }
  .spotlight-art img { width: 150px; }
  .app-card-art { margin: 0; max-height: 260px; }
  .app-card-art img { width: 150px; }
  .hero-shot { justify-self: start; width: min(230px, 70%); }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .tour-panel { grid-template-columns: 1fr; gap: 1.2rem; }
  .tour-shot { width: min(240px, 70%); }
  .packs { grid-template-columns: 1fr; }
  .hero-duo-back { margin-top: 2.5rem; }
  .compare th, .compare td { padding: .7rem .75rem; font-size: .92rem; }
  .compare { min-width: 0; }
  body { font-size: 1.0625rem; }
  .wrap { width: calc(100% - 2rem); }
  .nav { flex-wrap: wrap; gap: 0; padding: .4rem 0; min-height: 0; }
  .nav-links { width: calc(100% + 1rem); margin-left: -.55rem; gap: 0; }
  .nav-links a { padding: 0 .55rem; }
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .shot { width: 200px; }
  /* Enlarged text on narrow screens: single columns that may shrink below their longest word, and images that
     share the row instead of forcing it wider. */
  .footer-grid, .banner-slide, .spotlight-grid, .two-col, .product-hero, .packs, .tour-panel { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
  .spotlight-art img, .app-card-art img { width: calc(50% - .5rem); max-width: 150px; }
  .app-card-art { max-width: 100%; }
  .actions .button { max-width: 100%; white-space: normal; text-align: center; }
  .brand { flex-wrap: wrap; }
  .app-card-head > div { min-width: 0; }
  .banner-controls { flex-wrap: wrap; }
  .toc a, .links-row a { max-width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-duo-back { animation: duo-in .7s .1s ease-out both; }
  .hero-duo-front { animation: duo-in .7s .25s ease-out both; }
  .tour-js .tour-panel:not([hidden]) { animation: tour-in .35s ease-out both; }
  .tour-tabs button { transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
  .app-card-featured:hover .app-card-art img { transform: translateY(-4px); }
  .app-card-art img { transition: transform .3s ease; }
  .banner-js .banner-slide { transition: opacity .25s ease, visibility 0s .25s; }
  .banner-js .banner-slide.is-active { transition: opacity .4s ease .25s, visibility 0s; }
  @keyframes duo-in { from { opacity: 0; transform: translateY(18px) rotate(0deg); } }
  @keyframes tour-in { from { opacity: 0; transform: translateY(10px); } }
  .button, .nav-links a { transition: background-color .15s ease, color .15s ease; }
}
@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  body { color: #000; background: #fff; }
}

/* What's new (generated from src/releases/<app>.json) */
.latest-release { margin: .5rem 0 0; color: var(--muted); font-size: .95rem; }
.latest-release a { font-weight: 600; }
.crumbs { margin: 0 0 1.25rem; font-size: .95rem; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.updates-title { display: flex; align-items: center; gap: 1rem; }
.updates-title h1 { margin: 0; }
.updates-title .eyebrow { margin-bottom: .2rem; }
.updates-head .lead { margin-top: 1rem; }
.releases { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.release { padding: 2rem 0; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.release:first-child { padding-top: 0; border-top: 0; }
.release h2 { margin: 0; display: flex; flex-direction: column; gap: .2rem; }
.release-version { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.6rem); line-height: 1.25; }
.release-title { color: var(--muted); font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.release-meta { margin: .6rem 0 0; color: var(--muted); font-size: .95rem; }
.release-changes { margin: 1rem 0 0; padding-left: 1.25rem; display: grid; gap: .55rem; }
.release-changes li { padding-left: .25rem; line-height: 1.55; }
.release:target { background: var(--tint); box-shadow: 0 0 0 1rem var(--tint); border-radius: 2px; }
.updates-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
