  /* First-party SIL-OFL fonts: retain Indic shaping tables and load only when
     a Hindi/Bengali page or language-selector entry uses the family. */
  @font-face { font-family: "Noto Sans Devanagari"; src: url("../fonts/indic/NotoSansDevanagari-Regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
  @font-face { font-family: "Noto Sans Devanagari"; src: url("../fonts/indic/NotoSansDevanagari-SemiBold.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
  @font-face { font-family: "Noto Sans Devanagari"; src: url("../fonts/indic/NotoSansDevanagari-Bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
  @font-face { font-family: "Noto Sans Bengali"; src: url("../fonts/indic/NotoSansBengali-Regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
  @font-face { font-family: "Noto Sans Bengali"; src: url("../fonts/indic/NotoSansBengali-SemiBold.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
  @font-face { font-family: "Noto Sans Bengali"; src: url("../fonts/indic/NotoSansBengali-Bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

  /* ---------- Design tokens (authoritative; mirror Avalonia app) ----------

     Theme states:
     - Dark (default on `:root`)         — original brand palette
     - Light via OS preference           — `@media (prefers-color-scheme: light)`
                                           applies when no explicit override
     - Explicit light                     — `:root[data-site-theme="light"]`
     - Explicit dark (override OS-light)  — `:root[data-site-theme="dark"]`

     `/js/site-theme.js` writes the `data-site-theme` attribute
     synchronously in <head> before paint, so there's no flash.
     `localStorage.ffb-site-theme` holds `light` / `dark`.                     */
  :root {
    --bg: #0E1013;
    --section-bg: #13161A;
    --card: #15181D;
    --card-2: #191D23;
    --card-hi: #1E232A;
    --card-hover: #1E232A;
    --well: #0A0C0F;
    --border: #24292F;
    --border-hi: #2F353D;
    --hairline: #1C2027;

    --fg:           #E7EAEE;
    --text-primary: #E7EAEE;
    --fg-dim:       #AEB4BD;
    --text-dim:     #AEB4BD;
    --fg-mute:      #9AA3AF;
    --text-mute:    #9AA3AF;
    --fg-faint:     #8A95A3;
    --text-faint:   #8A95A3;

    --brand: #4F9CFF;
    --brand-hover: #68ADFF;
    --brand-on-fill: #0A1628;
    --brand-fill: #2563EB;
    --brand-fill-hover: #1D4ED8;
    --brand-soft: rgba(79, 156, 255, 0.4);
    --profile-recovery-focus-ring: #4F9CFF;

    --signal: #E8B53C;
    --signal-soft: rgba(232, 181, 60, 0.12);
    --beta: #6D28D9;
    --ok: #6CC66B;
    --err: #E86B6B;

    /* Theme-sensitive overlays that need to flip with the palette.
       `--nav-bg` is the translucent sticky nav; `--hover-wash` is
       the subtle hover-tint used on text links in compact lists
       (docs sidebar, list rows). */
    --nav-bg:      rgba(10, 12, 15, 0.9);
    --nav-menu-bg: #0A0C0F;
    --hover-wash:  rgba(255, 255, 255, 0.03);

    --max: 1100px;
    --pad-v: 96px;
    --pad-v-mob: 64px;
    --nav-h: 64px;
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --font-ui: var(--font-sans);
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
    --shadow: 0 10px 30px rgba(0,0,0,0.40);
    --shadow-lg: 0 30px 60px rgba(0,0,0,0.50);

    color-scheme: dark;
  }

  html:lang(hi), .language-selector a:lang(hi) {
    --font-sans: "Noto Sans Devanagari", system-ui, sans-serif;
    --font-mono: ui-monospace, Consolas, "Noto Sans Devanagari", monospace;
    font-family: var(--font-sans);
  }
  html:lang(bn), .language-selector a:lang(bn) {
    --font-sans: "Noto Sans Bengali", system-ui, sans-serif;
    --font-mono: ui-monospace, Consolas, "Noto Sans Bengali", monospace;
    font-family: var(--font-sans);
  }

  /* OS fallback — follow the browser preference when JS has not stamped
     an explicit light/dark choice yet.
     `:not([data-site-theme="dark"])` keeps explicit dark-on-light-OS
     working. */
  @media (prefers-color-scheme: light) {
    :root:not([data-site-theme="dark"]) {
      --bg:          #FBFCFD;
      --section-bg:  #F3F5F8;
      --card:        #FFFFFF;
      --card-2:      #F7F9FB;
      --card-hi:     #EEF1F5;
      --card-hover:  #EEF1F5;
      --well:        #F7F9FB;
      --border:      #DDE2E8;
      --border-hi:   #C7CDD5;
      --hairline:    #E7EAEE;

      --fg:           #0F172A;
      --text-primary: #0F172A;
      --fg-dim:       #475569;
      --text-dim:     #475569;
      --fg-mute:      #5B6678;
      --text-mute:    #5B6678;
      --fg-faint:     #64748B;
      --text-faint:   #64748B;

      /* `--brand-on-fill` is the dark navy still used by the small
         `.beta-tag` pill (dark bg / white text). Filled CTA buttons
         use `--brand-fill` + white text instead — see `.btn-primary`. */
      --brand-on-fill: #0A1628;
      --brand-fill:    #2563EB;
      --brand-fill-hover: #1D4ED8;
      --brand-soft:    rgba(79, 156, 255, 0.28);
      --profile-recovery-focus-ring: #2563EB;

      --signal:       #8A6200;
      --signal-soft:  rgba(183, 134, 11, 0.14);
      --beta:         #6D28D9;
      --ok:           #15803D;
      --err:          #B91C1C;

      --nav-bg:       rgba(251, 252, 253, 0.9);

      --nav-menu-bg: #FBFCFD;
      --hover-wash:   rgba(15, 23, 42, 0.045);
      --shadow-lg:    0 24px 60px rgba(15,23,42,.14);

      color-scheme: light;
    }
  }

  /* Explicit user override — wins over OS preference. */
  :root[data-site-theme="light"] {
    --bg:          #FBFCFD;
    --section-bg:  #F3F5F8;
    --card:        #FFFFFF;
    --card-2:      #F7F9FB;
    --card-hi:     #EEF1F5;
    --card-hover:  #EEF1F5;
    --well:        #F7F9FB;
    --border:      #DDE2E8;
    --border-hi:   #C7CDD5;
    --hairline:    #E7EAEE;

    --fg:           #0F172A;
    --text-primary: #0F172A;
    --fg-dim:       #475569;
    --text-dim:     #475569;
    --fg-mute:      #5B6678;
    --text-mute:    #5B6678;
    --fg-faint:     #64748B;
    --text-faint:   #64748B;

    --brand-on-fill: #0A1628;
    --brand-fill:    #2563EB;
    --brand-fill-hover: #1D4ED8;
    --brand-soft:    rgba(79, 156, 255, 0.28);
    --profile-recovery-focus-ring: #2563EB;

    --signal:       #8A6200;
    --signal-soft:  rgba(183, 134, 11, 0.14);
    --beta:         #6D28D9;
    --ok:           #15803D;
    --err:          #B91C1C;

    --nav-bg:       rgba(251, 252, 253, 0.9);

    --nav-menu-bg: #FBFCFD;
    --hover-wash:   rgba(15, 23, 42, 0.045);
    --shadow-lg:    0 24px 60px rgba(15,23,42,.14);

    color-scheme: light;
  }

  /* Explicit dark override — defeats OS-light preference. The base
     `:root` already carries the dark tokens, so we just re-assert
     `color-scheme: dark` in case the media query above flipped it. */
  :root[data-site-theme="dark"] {
    color-scheme: dark;
  }

  /* ---------- Theme-aware images ----------
     ResponsiveAssetImage.razor emits a <span class="theme-aware-image">
     wrapper around two <picture> blocks (.theme-light + .theme-dark)
     when the root light/default PNG and an images/.../dark/ sibling
     exist. CSS hides the wrong variant per the active data-site-theme
     attribute. */
  .theme-aware-image {
    display: contents;
  }
  :root[data-site-theme="light"] .theme-aware-image .theme-dark,
  :root[data-site-theme="dark"]  .theme-aware-image .theme-light {
    display: none;
  }
  :root:not([data-site-theme]) .theme-aware-image .theme-dark {
    display: none;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-site-theme]) .theme-aware-image .theme-light {
      display: none;
    }
    :root:not([data-site-theme]) .theme-aware-image .theme-dark {
      display: block;
    }
  }

  /* ---------- Reset ---------- */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-primary);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  h1, h2, h3, p, ul, ol { margin: 0; }
  ul { padding: 0; list-style: none; }
  a { color: var(--brand); text-decoration: none; }
  a:hover { color: var(--brand-hover); }
  img { display: block; max-width: 100%; height: auto; }

  :where(.form-hint, .subscribe-consent, .legal, .confirm-card-body,
         .confirm-card-fine) a {
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
  }

  :where(.docs-article p, .docs-article li,
         .docs-manual p, .docs-manual li,
         .docs-release-banner) a {
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.22em;
  }

  :where(.docs-article p, .docs-article li,
         .docs-manual p, .docs-manual li,
         .docs-release-banner) a:hover,
  :where(.docs-article p, .docs-article li,
         .docs-manual p, .docs-manual li,
         .docs-release-banner) a:focus-visible {
    text-decoration-color: currentColor;
    text-decoration-thickness: 0.08em;
  }

  a[href],
  button,
  input,
  select,
  textarea,
  summary,
  [tabindex]:not([tabindex="-1"]) {
    outline: 2px solid transparent;
    outline-offset: 3px;
    border-radius: 4px;
  }
  a[href]:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  summary:focus-visible,
  [tabindex]:not([tabindex="-1"]):focus-visible {
    outline-color: var(--brand) !important;
  }
  /* Blazor's <FocusOnNavigate> sets focus on the first h1 after
     route load so screen readers announce the new page. Sighted
     users shouldn't see a focus ring on something they didn't
     tab to; FocusOnNavigate marks the target with tabindex="-1",
     which we use as the signal to suppress the outline. */
  [tabindex="-1"]:focus,
  [tabindex="-1"]:focus-visible { outline: none; }

  .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  code, .mono { font-family: var(--font-mono); }

  /* ---------- Layout ---------- */
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
  section { padding-top: var(--pad-v); padding-bottom: var(--pad-v); }
  @media (max-width: 900px) {
    section { padding-top: var(--pad-v-mob); padding-bottom: var(--pad-v-mob); }
  }
  @media (max-width: 500px) {
    .wrap { padding: 0 18px; }
  }

  .section-alt { background: var(--section-bg); }

  .eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
  }
  .eyebrow-free {
    display: inline-block;
    margin-right: 10px;
    padding: 2px 8px;
    background: rgba(108, 198, 107, 0.16);
    color: var(--ok);
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 4px;
  }

  /* Hero trust strip — sits below the subscribe form (under the consent
     checkbox), replacing the old tiny uppercase eyebrow. Reads as a
     confident statement, not a row of buttons: a green "free" badge and
     the supported OSes as bold inline text, with the sims on a quieter
     line beneath. */
  .hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
  }
  .hero-trust-free {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    background: rgba(108, 198, 107, 0.15);
    color: var(--ok);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    border-radius: 999px;
  }
  .hero-trust-os {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.005em;
  }
  .hero-trust-os i {
    font-style: normal;
    font-weight: 400;
    margin: 0 9px;
    color: var(--text-mute);
    opacity: 0.7;
  }
  .hero-trust-sims {
    margin: 11px 0 0;
    font-size: 13.5px;
    color: var(--text-mute);
  }

  h1 {
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--text-primary);
  }
  h2 {
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.2;
    font-weight: 600;
    color: var(--text-primary);
  }
  h3 {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--text-primary);
  }
  .lede {
    color: var(--text-dim);
    font-size: 18px;
    line-height: 1.55;
    max-width: 78ch;
    text-wrap: pretty;
  }
  .lede-emph {
    display: inline-block;
    padding: 1px 8px;
    background: rgba(108, 198, 107, 0.14);
    color: var(--ok);
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: -0.01em;
  }
  .subhead {
    color: var(--text-dim);
    max-width: 78ch;
    text-wrap: pretty;
  }
  .small { font-size: 14px; line-height: 1.5;  color: var(--text-mute); }
  .tiny  { font-size: 13px; line-height: 1.45; color: var(--text-faint); }

  @media (max-width: 700px) {
    h1 { font-size: 30px; line-height: 1.15; }
    h2 { font-size: 22px; }
    .lede { font-size: 16px; }
  }

  /* ---------- Nav ---------- */
  .site-header { position: relative; z-index: 50; }
  .skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    transform: translateY(-160%);
    z-index: 100;
    padding: 10px 14px;
    color: var(--bg);
    background: var(--text-primary);
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: transform .15s ease;
  }
  /* Shadow only while the link is on-screen (focused). At rest the link is
     translated above the viewport, but a base box-shadow's 24px blur leaked a
     soft smudge into the top-left corner of every page. */
  .skip-link:focus { transform: translateY(0); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); }
  nav.top {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--nav-h);
    background: var(--nav-bg);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
  }
  nav.top .wrap {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 1220px;
    gap: 24px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
  }
  /* The brand block is an <a> on every page (see SiteNav.razor).
     Strip the default link styling so it reads the same whether we
     re-use the component on Home (anchor to self) or a sub-page. */
  .brand-link { text-decoration: none; }
  .brand-link:hover .brand-glyph { filter: brightness(1.15); }
  .brand-link:hover > span { color: var(--brand); }
  .brand-glyph {
    width: 26px; height: 26px;
    display: inline-block;
    flex-shrink: 0;
  }
  .pill-beta {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 7px;
    background: var(--beta);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    border-radius: 999px;
    vertical-align: 2px;
  }
  #primary-nav {
    display: flex;
    gap: 24px;
    align-items: center;
  }
  #primary-nav a {
    color: var(--text-dim);
    font-size: 15px;
    font-weight: 500;
  }
  #primary-nav a:hover { color: var(--text-primary); }

  /* ---- Dropdown menus (Features / Community / Docs) ----------------
     <details>-based: CSP-safe (no inline JS), keyboard-operable, and they
     expand inline inside the mobile drawer. site.js closes an open menu on
     outside-click / Escape / navigation as a progressive enhancement. */
  .nav-dd-li { position: relative; display: flex; }
  .nav-dd { position: relative; }
  .nav-dd > summary {
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--text-dim); font-size: 15px; font-weight: 500;
    cursor: pointer; list-style: none; user-select: none;
  }
  .nav-dd > summary::-webkit-details-marker { display: none; }
  .nav-dd > summary::marker { content: ""; }
  .nav-dd > summary:hover,
  .nav-dd[open] > summary { color: var(--text-primary); }
  .nav-dd-caret { transition: transform .15s ease; opacity: .7; }
  .nav-dd[open] .nav-dd-caret { transform: rotate(180deg); }
  .nav-dd-menu {
    position: absolute; top: calc(100% + 14px); left: -14px;
    min-width: 252px; z-index: 60;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: 0 14px 36px rgba(0,0,0,.20);
    padding: 8px; display: flex; flex-direction: column; gap: 2px;
  }
  .nav-dd-menu a {
    display: flex; flex-direction: column; gap: 2px;
    padding: 9px 12px; border-radius: var(--radius); text-decoration: none;
  }
  .nav-dd-menu a:hover { background: var(--hover-wash); }
  .nav-dd-t { font-size: 14px; font-weight: 600; color: var(--text-primary); }
  .nav-dd-d { font-size: 12px; color: var(--text-dim); }

  /* Spaced top nav bar: generous breathing room across desktop widths. */
  #primary-nav { gap: 24px; }
  #primary-nav a, .nav-dd > summary { font-size: 14.5px; white-space: nowrap; }
  @media (max-width: 1120px) {
    #primary-nav { gap: 16px; }
    #primary-nav a, .nav-dd > summary { font-size: 14px; }
  }
  .nav-dd-menu { max-width: calc(100vw - 32px); }
  .nav-dd-menu a { white-space: normal; }
  .nav-dd-t { display: flex; align-items: center; gap: 8px; }
  .nav-dd-menu.nav-dd-end { left: auto; right: -14px; }
  .nav-dd-menu.nav-dd-docs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; min-width: 540px;
  }
  .nav-dd-col { display: flex; flex-direction: column; gap: 2px; }
  .nav-dd-h {
    margin: 6px 12px 2px; font-size: 11px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute);
  }
  .nav-pro-dot {
    display: inline-block; padding: 3px 5px; border-radius: 4px;
    background: var(--brand-fill); color: #fff;
    font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: 0.06em;
  }
  #primary-nav a.nav-download {
    padding: 9px 16px; border-radius: var(--radius-sm);
    background: var(--brand-fill); color: #fff; font-weight: 600;
    transition: background 150ms ease-out;
  }
  #primary-nav a.nav-download:hover { background: var(--brand-fill-hover); color: #fff; }

  @media (max-width: 820px) {
    #primary-nav { gap: 16px; }
    #primary-nav a { font-size: 14px; }
  }

  /* Mobile nav drawer. A real button toggles `.is-open` so the drawer
     is reachable by keyboard and exposes aria-expanded state. */
  .nav-burger { display: none; }
  .nav-scrim { display: none; }

  .language-selector {
    position: relative;
    flex: 0 0 auto;
  }
  .language-selector summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    color: var(--text-dim);
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
  }
  .language-selector summary::-webkit-details-marker { display: none; }
  .language-selector summary::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  .language-selector[open] summary,
  .language-selector summary:hover {
    color: var(--text-primary);
    background: var(--card);
    border-color: var(--border);
  }
  .language-selector-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    color: var(--text-faint);
  }
  .language-selector-current {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .language-selector ul {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    width: min(300px, calc(100vw - 28px));
    max-height: min(520px, calc(100vh - var(--nav-h) - 30px));
    overflow-y: auto;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
    z-index: 60;
  }
  .language-selector:not([open]) ul { display: none; }
  .language-selector li { display: block; }
  .language-selector a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
  }
  .language-selector a:hover,
  .language-selector a[aria-current="true"] {
    background: var(--hover-wash);
  }
  .language-selector a[aria-current="true"] {
    box-shadow: inset 3px 0 0 var(--brand);
  }
  .language-selector-english {
    color: var(--text-faint);
    font-size: 12px;
    white-space: nowrap;
  }

  .translation-notice {
    color: var(--text-primary);
    background: color-mix(in srgb, var(--brand) 14%, var(--bg));
    border-bottom: 1px solid var(--border);
  }
  .translation-notice .wrap {
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    line-height: 1.45;
  }
  .translation-notice strong {
    flex: 0 0 auto;
  }
  .translation-notice a {
    color: var(--brand);
    font-weight: 700;
  }

  @media (max-width: 640px) {
    .brand { font-size: 15px; }
    .language-selector summary {
      width: auto;
      justify-content: center;
      padding: 0 9px;
    }
    .language-selector-current {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
    }
    .translation-notice .wrap {
      display: block;
      font-size: 13px;
    }
    .translation-notice strong {
      display: block;
      margin-bottom: 2px;
    }
  }

  /* Navigation drawer. Seven top-level items plus the language and theme
     controls do not fit the 1100px column below this width, so the menu
     collapses into the burger drawer. */
  @media (max-width: 1100px) {
    .nav-burger {
      order: 10;
      display: inline-flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 40px;
      height: 40px;
      padding: 10px 9px;
      background: transparent;
      border: 1px solid transparent;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: border-color .15s ease, background-color .15s ease;
    }
    .nav-burger span {
      display: block;
      height: 2px;
      width: 100%;
      background: var(--text-dim);
      border-radius: 2px;
      transition: transform .2s ease, opacity .15s ease, background-color .15s ease;
      transform-origin: center;
    }
    .nav-burger:hover span { background: var(--text-primary); }

    /* Drawer state: ul becomes a column, pinned to the right edge
       below the nav. It stays out of layout entirely while closed so
       it does not create horizontal document overflow on mobile. */
    #primary-nav {
      display: none;
      position: fixed;
      top: var(--nav-h);
      right: 0;
      width: min(300px, 85vw);
      max-height: calc(100dvh - var(--nav-h));
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 12px 0 max(16px, env(safe-area-inset-bottom));
      margin: 0;
      background: var(--card);
      border-left: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      box-shadow: -12px 20px 40px rgba(0, 0, 0, 0.35);
      z-index: 49;
    }
    #primary-nav li { display: block; }
    #primary-nav a {
      display: block;
      padding: 12px 20px;
      font-size: 15px;
      color: var(--text-primary);
    }
    /* Dropdowns expand inline within the drawer instead of as popovers. */
    .nav-dd-li, .nav-dd { display: block; width: 100%; }
    .nav-dd > summary {
      display: flex; justify-content: space-between; align-items: center;
      box-sizing: border-box; width: 100%;
      padding: 12px 20px; font-size: 15px; color: var(--text-primary);
    }
    .nav-dd-menu {
      position: static; min-width: 0; z-index: auto;
      background: transparent; border: none; box-shadow: none;
      border-radius: 0; padding: 0 0 6px 0; gap: 0;
    }
    .nav-dd-menu a { padding: 9px 20px 9px 34px; }
    .nav-dd-t { font-weight: 500; }
    .nav-dd-d { display: none; }
    #primary-nav a:hover { background: var(--hover-wash); }

    /* Scrim — full-viewport tint below the drawer. Hidden by default;
       becomes interactive + visible when the menu is open. Explicit dvh
       height (not bottom: 0) because nav.top's backdrop-filter makes it
       the containing block for fixed descendants, which collapsed bottom:0
       to 0px height. */
    .nav-scrim {
      display: block;
      position: fixed;
      top: var(--nav-h);
      left: 0;
      right: 0;
      bottom: auto;
      height: calc(100dvh - var(--nav-h));
      background: rgba(0, 0, 0, 0.45);
      border: 0;
      padding: 0;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s ease-out;
      z-index: 48;
    }

    nav.top.is-open #primary-nav { display: flex; }
    nav.top.is-open .nav-scrim { opacity: 1; pointer-events: auto; }

    /* Burger → X animation when open. */
    nav.top.is-open .nav-burger span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }
    nav.top.is-open .nav-burger span:nth-child(2) {
      opacity: 0;
    }
    nav.top.is-open .nav-burger span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    #primary-nav li.nav-download-li { padding: 8px 20px 4px; }
    #primary-nav a.nav-download {
      display: block; text-align: center; padding: 12px 20px; font-size: 15px;
    }
    .nav-dd-menu.nav-dd-docs { display: block; min-width: 0; max-width: none; }
    .nav-dd-col { padding-bottom: 4px; }
    .nav-dd-h { margin: 8px 20px 2px 34px; }
  }

  /* Theme toggle — rightmost item in the top nav. Shows a sun OR
     moon depending on the active theme; click flips
     Light ↔ Dark via /js/site-theme.js. Visible on
     every viewport, including mobile (where ul hides but the button
     stays reachable). */
  .theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 4px;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text-dim);
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
  }
  .theme-toggle:hover {
    color: var(--text-primary);
    border-color: var(--hairline);
    background: var(--card);
  }
  .theme-toggle svg { width: 18px; height: 18px; display: block; }
  /* Swap which glyph is visible based on the current theme. Default
     visibility hides both; the .is-light / .is-dark class (set by
     site-theme.js) reveals the matching glyph. */
  .theme-toggle .i-sun,
  .theme-toggle .i-moon { display: none; }
  .theme-toggle.is-dark  .i-sun  { display: block; }
  .theme-toggle.is-light .i-moon { display: block; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    padding-top: 72px;
    padding-bottom: 96px;
    background:
      radial-gradient(circle at 50% 0%,
        rgba(79, 156, 255, 0.07) 0%,
        transparent 55%),
      var(--bg);
  }
  /* Hero breaks the standard 1100px wrap on wide screens so the
     product shot has more room to breathe — text still wraps nicely
     against the 580px lede max-width. Below 900px the layout stacks
     and we inherit the default wrap width again. */
  .hero .wrap { max-width: var(--max); }
  .hero-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 64px;
    align-items: center;
  }
  @media (max-width: 900px) {
    .hero .wrap { max-width: var(--max); }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero { padding-top: 48px; padding-bottom: 64px; }
  }
  .hero picture { display: block; width: 100%; height: 100%; }
  .hero h1 { margin-bottom: 20px; }
  .hero .lede { margin-bottom: 28px; }
  .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    height: auto;
    min-width: 168px;
    padding: 10px 18px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 150ms ease-out, transform 150ms ease-out, border-color 150ms ease-out;
    text-decoration: none;
  }
  .btn-primary {
    background: var(--brand-fill);
    color: #fff;
  }
  .btn-primary:hover {
    background: var(--brand-fill-hover);
    color: #fff;
    transform: translateY(-1px);
  }
  .btn-secondary {
    background: var(--card);
    color: var(--text-primary);
    border-color: var(--border);
  }
  .btn-secondary:hover {
    background: var(--card-hover);
    border-color: var(--brand-soft);
    color: var(--text-primary);
    transform: translateY(-1px);
  }
  .btn-disabled {
    background: var(--card);
    color: var(--text-mute);
    border-color: var(--border);
    cursor: not-allowed;
  }
  .btn-disabled:hover { transform: none; }
  .btn .glyph {
    width: 16px; height: 16px;
    display: inline-block;
    flex-shrink: 0;
  }
  .btn .tag {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--well);
    color: var(--text-mute);
    letter-spacing: 0.05em;
  }
  .btn .beta-tag {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--brand-on-fill);
    color: #fff;
    margin-left: 2px;
  }
  .hero-spec {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
    margin-top: 14px;
  }
  .hero-img-frame {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--well);
    overflow: hidden;
    aspect-ratio: 1 / 1;
  }
  .hero-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ---------- Features ---------- */
  .features .header { margin-bottom: 48px; }
  .features .header h2 { margin-bottom: 10px; }
  .feature-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 28px;
    align-items: start;
    padding: 28px 0;
    border-top: 1px solid var(--hairline);
  }
  .feature-row:last-child { border-bottom: 1px solid var(--hairline); }
  .feature-icon {
    width: 56px; height: 56px;
    color: var(--brand);
    flex-shrink: 0;
  }
  .feature-row h3 { margin-bottom: 8px; }
  .feature-row p { color: var(--text-dim); }
  @media (max-width: 700px) {
    .feature-row { grid-template-columns: 1fr; gap: 14px; }
  }

  /* ---------- App tour ---------- */
  .tour .header { margin-bottom: 40px; }
  .tour .header h2 { margin-bottom: 10px; }
  .tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  @media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }
  .tile {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 150ms ease-out, background 150ms ease-out;
  }
  .tile:hover { border-color: var(--brand-soft); background: var(--card-hover); }
  .tile .shot {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--well);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    cursor: zoom-in;
  }
  .tile .shot picture,
  .app-shot-link picture {
    display: block;
    width: 100%;
    height: 100%;
  }
  .tile .shot img {
    width: 100%; height: 100%; object-fit: cover; object-position: top left;
    transition: transform 200ms ease-out;
  }
  .tile .shot:hover img { transform: scale(1.03); }
  .tile .shot::after {
    content: '';
    position: absolute;
    top: 10px; right: 10px;
    width: 28px; height: 28px;
    background: rgba(10, 12, 15, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 150ms ease-out;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23E7EAEE' stroke-width='1.5' stroke-linecap='round'><circle cx='7' cy='7' r='4.5'/><path d='M10.3 10.3L14 14'/><path d='M7 5v4M5 7h4'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
  }
  .tile:hover .shot::after { opacity: 1; }

  /* ---------- Lightbox ----------
     The backdrop stays dark in both themes (standard lightbox
     convention — focus the eye on the image, not the page). That
     means every control INSIDE the lightbox has to use fixed
     light-on-dark colours, not the site's theme tokens — otherwise
     in light mode the chrome inherits dark text on a dark overlay
     and the close + prev/next buttons vanish. */
  .lightbox {
    padding: 0;
    border: none;
    background: transparent;
    color: #E5E7EB;
    max-width: none;
    max-height: none;
    width: 100vw;
    height: 100vh;
    margin: 0;
    overflow: visible;
  }
  .lightbox::backdrop {
    background: rgba(5, 7, 10, 0.92);
    backdrop-filter: blur(6px);
  }
  .lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .lb-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 96vw;
  }
  .lb-stage img {
    max-width: 96vw;
    max-height: calc(100vh - 140px);
    width: auto;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    display: block;
  }
  .lb-caption {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(229, 231, 235, 0.8);
  }
  .lb-caption .lb-count {
    color: rgba(229, 231, 235, 0.55);
    font-family: var(--font-mono);
    font-size: 12px;
    margin-left: 10px;
    letter-spacing: 0.04em;
    text-transform: none;
  }
  .lb-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(10, 12, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 150ms ease-out, border-color 150ms ease-out;
  }
  .lb-btn:hover {
    background: rgba(30, 35, 42, 0.9);
    border-color: rgba(120, 170, 255, 0.55);
  }
  .lb-prev { left: -60px; }
  .lb-next { right: -60px; }
  @media (max-width: 820px) {
    .lb-prev { left: 8px; }
    .lb-next { right: 8px; }
    .lb-btn { background: rgba(10, 12, 15, 0.85); }
  }
  .lb-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(10, 12, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #E5E7EB;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
  }
  .lb-close:hover {
    background: rgba(30, 35, 42, 0.9);
    border-color: rgba(120, 170, 255, 0.55);
  }
  .tile .body { padding: 16px 18px 18px; }
  .tile h3 { font-size: 17px; margin-bottom: 4px; }
  .tile p { font-size: 14px; color: var(--text-dim); line-height: 1.5; }

  /* ---------- Compatibility ---------- */
  .compat .header { margin-bottom: 40px; }
  .compat .header h2 { margin-bottom: 10px; }
  .compat-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  @media (max-width: 800px) { .compat-cols { grid-template-columns: 1fr; gap: 24px; } }
  .compat-col {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
  }
  .compat-col .label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 10px;
  }
  .compat-col h3 { font-size: 20px; margin-bottom: 10px; }
  .compat-col p { color: var(--text-dim); font-size: 16px; line-height: 1.6; }
  .compat-col .note {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--hairline);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
    line-height: 1.5;
  }

  /* ---------- FFB Probe promotion ---------- */
  .probe-promo {
    padding-top: 80px;
    padding-bottom: 80px;
    background: var(--section-bg);
  }
  .probe-promo-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 44px;
    align-items: center;
  }
  .probe-promo h2 {
    margin-bottom: 12px;
  }
  .probe-promo .subhead {
    margin-bottom: 24px;
  }
  .probe-promo-actions {
    margin-bottom: 14px;
  }
  .probe-promo-facts {
    display: grid;
    gap: 14px;
  }
  .probe-promo-facts > div {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 6px 14px;
    align-items: start;
    padding: 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  .probe-fact-k {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--border));
    background: color-mix(in srgb, var(--brand) 12%, var(--card));
    color: var(--brand);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
  }
  .probe-promo-facts strong {
    color: var(--text-primary);
    font-size: 16px;
  }
  .probe-promo-facts p {
    margin: 0;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
  }
  @media (max-width: 850px) {
    .probe-promo-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
  }

  /* ---------- Pricing ---------- */
  .pricing .header { margin-bottom: 40px; max-width: 720px; }
  .pricing .header h2 { margin-bottom: 10px; }
  .pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
  }
  @media (max-width: 800px) { .pricing-grid { grid-template-columns: 1fr; } }
  .pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .pricing-card .label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand);
  }
  .pricing-card h3 { font-size: 20px; margin: 0; }
  .pricing-support-cta {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
  }
  .pricing-support-cta .btn {
    margin-bottom: 10px;
  }
  .pricing-support-cta p {
    color: var(--text-mute);
    font-size: 13px;
    line-height: 1.5;
  }
  .pricing-card-muted .label { color: var(--text-mute); }
  .pricing-card-muted { background: transparent; border-style: dashed; }
  .pricing-muted-body { color: var(--text-dim); font-size: 16px; line-height: 1.6; }
  .checklist { display: flex; flex-direction: column; gap: 10px; }
  .checklist li {
    position: relative;
    padding-left: 26px;
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.6;
  }
  .checklist li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 7px;
    width: 6px;
    height: 10px;
    border-right: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(45deg);
  }
  .checklist-dim li::before {
    border-color: var(--text-mute);
  }

  /* ---------- Support payment ---------- */
  .support-dev {
    padding-top: 72px;
    padding-bottom: 88px;
    background: var(--bg);
  }
  .support-dev-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 56px;
    align-items: start;
  }
  .support-dev h1 {
    max-width: 720px;
    margin-bottom: 20px;
  }
  .support-dev .lede {
    max-width: 680px;
  }
  .support-dev-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
  }
  .support-dev-facts > div,
  .support-dev-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  .support-dev-facts > div {
    padding: 16px;
  }
  .support-dev-facts strong,
  .support-dev-facts span {
    display: block;
  }
  .support-dev-facts strong {
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 14px;
  }
  .support-dev-facts span {
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.45;
  }
  .support-dev-card {
    padding: 28px;
  }
  .support-dev-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .support-dev-card > p {
    color: var(--text-dim);
    margin-bottom: 22px;
  }
  .support-form {
    display: grid;
    gap: 20px;
  }
  .support-form input[type="email"],
  .support-form input[type="number"] {
    background: var(--well);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.55;
    width: 100%;
    transition: border-color .15s ease, background-color .15s ease;
  }
  .support-form input:focus {
    border-color: var(--brand);
    background: var(--card-hover);
  }
  .money-input {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
    background: var(--well);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding-left: 14px;
  }
  .money-input span {
    color: var(--text-mute);
    font-family: var(--font-mono);
  }
  .money-input input[type="number"] {
    border: 0;
    background: transparent;
    padding-left: 0;
  }
  .money-input:focus-within {
    border-color: var(--brand);
    background: var(--card-hover);
  }
  .support-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .amount-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    background: var(--well);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .12s ease, background .12s ease, transform .04s ease;
  }
  .amount-btn:hover {
    border-color: var(--brand);
    background: var(--card-hover);
  }
  .amount-btn:active { transform: translateY(1px); }
  .amount-btn.is-suggested {
    border-color: var(--brand);
    box-shadow: inset 0 0 0 1px var(--brand);
  }
  .support-custom {
    border-top: 1px solid var(--hairline);
    padding-top: 18px;
  }
  .support-custom-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: stretch;
  }
  .support-custom-row .money-input { margin: 0; }
  .support-custom-row .btn { white-space: nowrap; }
  .support-checkout-note { margin-top: 2px; }
  .support-dev-notice {
    padding: 14px 16px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    background: var(--well);
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .support-dev-notice code {
    color: var(--text-primary);
  }
  .support-identity-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 56px;
    align-items: start;
  }
  .support-identity h2,
  .support-funding h2 {
    margin-bottom: 14px;
  }
  .support-identity p {
    max-width: 710px;
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
  }
  .support-profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
  }
  .support-profile-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
  }
  .support-profile-links a:hover {
    border-color: color-mix(in srgb, var(--brand) 55%, var(--border));
    color: var(--brand-hover);
    background: var(--card-hover);
  }
  .support-identity-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
  }
  .support-identity-panel p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.65;
  }
  .support-proof-list {
    display: grid;
    gap: 10px;
  }
  .support-proof-list li {
    position: relative;
    padding-left: 22px;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.5;
  }
  .support-proof-list li::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
  }
  .support-section-header {
    max-width: 780px;
    margin-bottom: 36px;
  }
  .support-section-header h2 {
    margin-bottom: 12px;
  }
  .support-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .support-trust-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
  }
  .support-trust-card .label {
    margin-bottom: 10px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .support-trust-card h3 {
    margin-bottom: 8px;
    font-size: 19px;
  }
  .support-trust-card p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
  }
  .support-funding-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 48px;
    align-items: start;
  }
  .support-final-actions {
    margin-top: 28px;
  }
  .support-funded-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .support-funded-list > div {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
  }
  .support-funded-list strong,
  .support-funded-list span {
    display: block;
  }
  .support-funded-list strong {
    margin-bottom: 6px;
    color: var(--text-primary);
    font-size: 15px;
  }
  .support-funded-list span {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
  }
  @media (max-width: 900px) {
    .support-dev-grid,
    .support-identity-grid,
    .support-funding-grid {
      grid-template-columns: 1fr;
      gap: 34px;
    }
    .support-trust-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 700px) {
    .support-dev-facts,
    .support-trust-grid,
    .support-funded-list {
      grid-template-columns: 1fr;
    }
    .support-dev-card,
    .support-identity-panel {
      padding: 22px;
    }
  }

  /* ---------- FAQ ---------- */
  .faq .header { margin-bottom: 32px; }
  .faq .header h2 { margin-bottom: 10px; }
  .faq-list { display: flex; flex-direction: column; gap: 10px; }
  .faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }
  .faq-item summary {
    padding: 16px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .faq-item[open] summary {
    border-bottom: 1px solid var(--hairline);
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: '';
    flex-shrink: 0;
    width: 10px; height: 10px;
    border-right: 2px solid var(--text-mute);
    border-bottom: 2px solid var(--text-mute);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 180ms ease-out;
  }
  .faq-item[open] summary::after {
    transform: rotate(-135deg) translate(-2px, -2px);
  }
  .faq-item .faq-body {
    padding: 18px 20px 22px;
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.7;
  }
  .faq-item .faq-body p { margin: 0 0 14px; }
  .faq-item .faq-body p:last-child { margin-bottom: 0; }

  /* ---------- SEO landing + download pages ---------- */
  .landing-hero,
  .download-hero {
    padding-top: 72px;
    padding-bottom: 88px;
    background: var(--bg);
  }
  .landing-hero-grid,
  .download-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 48px;
    align-items: center;
  }
  .landing-hero-grid > *,
  .download-grid > *,
  .landing-split > *,
  .landing-shot-grid > * {
    min-width: 0;
  }
  .landing-hero h1,
  .download-hero h1 {
    margin-bottom: 20px;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .landing-hero .lede,
  .download-hero .lede {
    margin-bottom: 28px;
  }
  .landing-fact-panel,
  .download-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
  }
  .landing-panel-kicker,
  .download-panel-kicker,
  .landing-card .label,
  .trust-card .label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
  }
  .landing-fact-panel dl,
  .download-panel dl {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 12px 18px;
    margin: 0;
  }
  .landing-fact-panel dt,
  .download-panel dt {
    color: var(--text-mute);
    font-size: 13px;
    font-weight: 600;
  }
  .landing-fact-panel dd,
  .download-panel dd {
    margin: 0;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.5;
  }
  .landing-fact-panel code,
  .download-panel code {
    color: var(--text-primary);
  }
  .landing-hero-media,
  .download-media,
  .landing-visual-stack {
    display: grid;
    gap: 16px;
  }
  .app-shot {
    margin: 0;
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .app-shot-link {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--well);
    border-bottom: 1px solid var(--hairline);
    overflow: hidden;
  }
  .app-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
  }
  .app-shot figcaption {
    padding: 12px 14px 14px;
    color: var(--text-dim);
    font-size: 13.5px;
    line-height: 1.5;
  }
  .landing-shot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .download-panel h2 {
    margin-bottom: 18px;
  }
  .download-manifest {
    margin-bottom: 24px !important;
  }
  .download-manifest dd strong,
  .download-manifest dd span {
    display: block;
    overflow-wrap: anywhere;
  }
  .download-manifest dd strong {
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 13px;
    margin-bottom: 4px;
  }
  .download-manifest dd span {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
  }
  .probe-inline-note {
    margin-top: 18px;
    padding: 14px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--brand);
    border-radius: var(--radius-sm);
  }
  .probe-inline-note .label {
    margin-bottom: 5px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .probe-inline-note p {
    margin: 0 0 8px 0;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.5;
  }
  .probe-inline-note a {
    display: inline-block;
    font-weight: 700;
    margin-right: 14px;
    margin-top: 4px;
  }
  .landing-card-grid,
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .landing-card,
  .trust-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
  }
  .landing-card h2,
  .landing-card h3,
  .trust-card h2,
  .trust-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .landing-card p,
  .trust-card p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .landing-split {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: start;
  }
  /* The 1.3 intro has two descriptive CTAs. Give its copy column enough
     room to keep both actions together at normal desktop widths. */
  .home-version-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
  .landing-split-visual {
    align-items: center;
  }
  .landing-split h2 {
    margin-bottom: 10px;
  }
  .landing-list {
    display: grid;
    gap: 12px;
  }
  .landing-list > div {
    padding: 16px 18px;
    background: var(--card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
  }
  .landing-list strong,
  .landing-list span {
    display: block;
  }
  .landing-list strong {
    margin-bottom: 4px;
    color: var(--text-primary);
  }
  .landing-list span {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.5;
  }
  .landing-list-actions {
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 0;
  }
  .landing-list-actions .btn {
    min-height: 52px;
    padding-inline: 24px;
  }
  .landing-steps .header,
  .download-steps .header {
    margin-bottom: 22px;
  }
  .landing-steps ol,
  .download-steps ol {
    counter-reset: landing-step;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
  }
  .landing-steps li,
  .download-steps li {
    position: relative;
    padding: 44px 18px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.5;
  }
  .landing-steps li::before,
  .download-steps li::before {
    counter-increment: landing-step;
    content: counter(landing-step);
    position: absolute;
    top: 16px;
    left: 18px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--brand-fill);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
  }
  .landing-split-visual .landing-steps ol,
  .landing-split-visual .download-steps ol {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-final h2 {
    margin-bottom: 10px;
  }
  .landing-final .subhead {
    margin-bottom: 24px;
  }
  .landing-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
  }
  .landing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-size: 14px;
  }
  .landing-table th,
  .landing-table td {
    text-align: left;
    padding: 16px 18px;
    border-bottom: 1px solid var(--hairline);
    vertical-align: top;
  }
  .landing-table tr:last-child td {
    border-bottom: 0;
  }
  .landing-table th {
    color: var(--text-mute);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .landing-table td {
    color: var(--text-dim);
    line-height: 1.5;
  }
  .landing-table td:first-child {
    color: var(--text-primary);
    font-weight: 600;
  }
  .setup-paths .header {
    margin-bottom: 40px;
  }
  .setup-paths .header h2 {
    margin-bottom: 10px;
  }
  @media (max-width: 900px) {
    .landing-hero-grid,
    .download-grid,
    .landing-split,
    .landing-shot-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .landing-card-grid,
    .trust-grid,
    .landing-steps ol,
    .download-steps ol {
      grid-template-columns: 1fr 1fr;
    }
  }
  @media (max-width: 620px) {
    .landing-hero,
    .download-hero {
      padding-top: 48px;
      padding-bottom: 64px;
    }
    .landing-fact-panel dl,
    .download-panel dl,
    .landing-card-grid,
    .trust-grid,
    .landing-steps ol,
    .download-steps ol {
      grid-template-columns: 1fr;
    }
    .landing-fact-panel,
    .download-panel,
    .landing-card,
    .trust-card {
      padding: 20px;
    }
    .app-shot figcaption {
      padding: 11px 12px 13px;
      font-size: 13px;
    }
    .landing-list-actions {
      flex-direction: column;
    }
    .landing-list-actions .btn {
      width: 100%;
    }
  }

  /* ---------- Footer ---------- */
  footer {
    background: var(--well);
    border-top: 1px solid var(--border);
    padding-top: 48px;
    padding-bottom: 40px;
  }
  footer .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3.4fr);
    gap: 32px;
    align-items: start;
  }
  .footer-groups {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 24px;
    align-items: start;
  }
  @media (max-width: 900px) {
    .footer-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (max-width: 560px) {
    .footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 800px) {
    footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  }
  .footer-heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin: 0 0 12px 0;
  }
  footer p, footer li {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.55;
  }
  footer ul { display: flex; flex-direction: column; gap: 8px; }
  /* Links column has 6+ entries; break it into two visual columns so
     the column doesn't run long and crowd the skyline flourish below. */
  footer ul.footer-links-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
  }
  footer a { color: var(--text-dim); }
  footer a:hover { color: var(--brand); }
  .footer-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-faint);
  }
  /* Toronto skyline flourish above the footer-bottom line.
     Pulled from FfbBridge.Desktop/Views/AboutView.axaml so site +
     app share the same 220×46 path. Kept faint — an ambient mark,
     not a visual anchor. */
  .footer-skyline {
    max-width: var(--max);
    margin: 32px auto 0;
    padding: 0 24px;
    display: flex;
    justify-content: center;
  }
  .footer-skyline .skyline {
    width: 220px;
    height: 46px;
    color: var(--text-faint);
    opacity: 0.65;
  }
  .footer-bottom {
    max-width: var(--max);
    margin: 16px auto 0;
    padding: 20px 24px 0;
    border-top: 1px solid var(--hairline);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 12px;
    font-size: 12px;
    color: var(--text-faint);
  }
  .footer-bottom .footer-made-in {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .footer-bottom .ca-flag {
    width: 22px;
    height: 11px;
    border-radius: 1px;
  }
  .footer-bottom-sep { color: var(--text-faint); opacity: 0.5; }
  @media (max-width: 500px) {
    .footer-bottom-sep { display: none; }
    .footer-bottom { flex-direction: column; gap: 6px; }
  }

  /* ---------- MOZA partnership launch ---------- */
  .launch-banner {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid color-mix(in srgb, #d5ad68 42%, #25344f);
    background:
      radial-gradient(circle at 10% 15%, rgba(71, 145, 255, .22), transparent 31%),
      radial-gradient(circle at 88% 85%, rgba(213, 173, 104, .2), transparent 32%),
      linear-gradient(112deg, #07101f 0%, #0c1729 56%, #17130d 100%);
  }

  .launch-banner-inner {
    min-height: 190px;
    display: grid;
    grid-template-columns: 215px minmax(350px, 1fr) 350px;
    align-items: center;
    gap: clamp(24px, 3.5vw, 52px);
    color: #f7f9ff;
    text-decoration: none;
  }

  .launch-banner-partners {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "moza times"
      "ffb ffb";
    align-items: center;
    gap: 9px 14px;
  }

  .launch-banner-moza-logo {
    grid-area: moza;
    display: block;
    width: 178px;
    height: auto;
  }

  .launch-banner-times {
    grid-area: times;
    color: #7d91ad;
    font-size: 24px;
    line-height: 1;
  }

  .launch-banner-ffb {
    grid-area: ffb;
    color: #67a2ff;
    font-family: var(--font-mono);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .12em;
  }

  .launch-banner-kicker {
    color: #d5ad68;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
  }

  .launch-banner-copy { display: grid; gap: 7px; position: relative; z-index: 2; line-height: 1.38; }
  .launch-banner-copy strong { max-width: 30ch; color: #fff; font-size: clamp(21px, 2vw, 28px); line-height: 1.15; letter-spacing: -.015em; }
  .launch-banner-copy > span:not(.launch-banner-kicker):not(.launch-banner-action) { max-width: 55ch; color: #b5c0d2; font-size: 15px; }
  .launch-banner-action { margin-top: 3px; color: #67a2ff; font-size: 14px; font-weight: 750; white-space: nowrap; }
  .launch-banner-inner:hover .launch-banner-action { text-decoration: underline; }

  .launch-banner-product {
    position: relative;
    align-self: stretch;
    min-width: 0;
  }

  .launch-banner-product picture { display: contents; }

  .launch-banner-product img {
    position: absolute;
    z-index: 1;
    width: 385px;
    max-width: none;
    height: auto;
    right: -26px;
    bottom: -24px;
    filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .5));
    transition: transform 180ms ease;
  }

  .launch-banner-inner:hover .launch-banner-product img { transform: translateY(-3px) scale(1.015); }

  .launch-banner-product-name {
    position: absolute;
    z-index: 2;
    right: 0;
    top: 21px;
    padding: 4px 8px;
    border: 1px solid rgba(213, 173, 104, .35);
    border-radius: 999px;
    background: rgba(7, 11, 18, .62);
    color: #e5c68e;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .09em;
  }

  .partnership-date { margin: 8px 0 14px; color: var(--text-dim); font-size: 14px; }

  .partnership-hero-card {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border: 1px solid #dfe4eb;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
  }

  .partnership-hero-card::before,
  .partnership-hero-card::after { content: none; }

  .partnership-hero-lockup {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 44px;
  }

  .partnership-hero-lockup > img {
    width: min(270px, 75%);
    height: auto;
    filter: brightness(0) saturate(100%);
  }
  .partnership-hero-lockup > span { color: #7a8492; font-size: 27px; font-weight: 300; line-height: 1; }

  .partnership-hero-ffb {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #101b2d;
    font-family: var(--font-sans);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 650;
    letter-spacing: -.025em;
  }

  .partnership-hero-ffb img { width: 48px; height: 48px; }

  .partnership-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .partnership-product-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow-sm);
  }

  .partnership-product-media {
    display: grid;
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: #f7f7f6;
  }

  .partnership-product-media img {
    display: block;
    width: 88%;
    height: 88%;
    object-fit: contain;
    transition: transform 180ms ease;
  }

  .partnership-product-card:hover .partnership-product-media img { transform: scale(1.025); }
  .partnership-product-card-ay210 .partnership-product-media img { width: 98%; height: 98%; }
  .partnership-product-card-ay90 .partnership-product-media img { width: 96%; height: 96%; }
  .partnership-product-card-planned { border-color: var(--border-strong); border-style: dashed; }

  .partnership-product-copy { display: flex; flex-direction: column; padding: 20px 22px 22px; }
  .partnership-product-copy > span {
    color: var(--brand);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .partnership-product-copy h3 { margin: 5px 0 6px; color: var(--text); font-size: 24px; }
  .partnership-product-copy p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.5; }
  .partnership-product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
  }
  .partnership-product-link span { opacity: .72; }
  .partnership-product-link:hover { text-decoration: underline; }

  .partnership-quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .partnership-quote {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
  }

  .partnership-quote blockquote {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.1rem, 1.9vw, 1.4rem);
    line-height: 1.55;
  }

  .partnership-quote figcaption {
    margin: 0;
    color: var(--brand);
    font-size: clamp(13px, 1.15vw, 16px);
    font-weight: 650;
    white-space: nowrap;
  }

  .partnership-quote-source {
    display: grid;
    gap: 13px;
    align-items: start;
    margin-top: auto;
    padding-top: 20px;
  }

  .partnership-quote-logo {
    display: flex;
    min-height: 32px;
    align-items: center;
  }

  .partnership-quote-logo-ffb { gap: 9px; color: var(--text); font-size: 18px; font-weight: 650; }
  .partnership-quote-logo-ffb img { width: 30px; height: 30px; }
  .partnership-quote-logo-moza img { width: 132px; height: auto; }

  @media (prefers-color-scheme: light) {
    :root:not([data-site-theme="dark"]) .partnership-quote-logo-moza img { filter: invert(1); }
  }
  :root[data-site-theme="light"] .partnership-quote-logo-moza img { filter: invert(1); }

  .partnership-details-shell {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow-sm);
  }

  .partnership-details-headings,
  .partnership-details-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partnership-detail-head { padding: clamp(28px, 4vw, 46px); }
  .partnership-detail-head + .partnership-detail-head,
  .partnership-platform-item { border-left: 1px solid var(--border); }
  .partnership-detail-head h2 {
    max-width: 20ch;
    margin: 8px 0 12px;
    color: var(--text);
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    line-height: 1.12;
  }
  .partnership-detail-head p { max-width: 58ch; margin: 0; color: var(--text-dim); line-height: 1.65; }

  .partnership-details-rows { border-top: 1px solid var(--border); }
  .partnership-details-row + .partnership-details-row { border-top: 1px solid var(--border); }
  .partnership-benefit-item,
  .partnership-platform-item { padding: 24px clamp(28px, 4vw, 46px); }
  .partnership-benefit-item .label { margin-bottom: 5px; }
  .partnership-benefit-item h3,
  .partnership-platform-item h3 { margin: 0 0 6px; color: var(--text); font-size: 18px; }
  .partnership-benefit-item p,
  .partnership-platform-item p { max-width: 55ch; margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.55; }

  @media (max-width: 1100px) and (min-width: 761px) {
    .partnership-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 760px) {
    .launch-banner-inner {
      min-height: 330px;
      grid-template-columns: 1fr;
      grid-template-rows: auto auto 118px;
      gap: 13px;
      padding-top: 22px;
    }
    .launch-banner-partners {
      width: 220px;
      grid-template-columns: 165px auto;
      grid-template-areas: "moza times" "ffb ffb";
      gap: 7px 12px;
    }
    .launch-banner-moza-logo { width: 165px; }
    .launch-banner-ffb { font-size: 17px; }
    .launch-banner-copy { gap: 6px; }
    .launch-banner-copy strong { font-size: 22px; }
    .launch-banner-copy > span:not(.launch-banner-kicker):not(.launch-banner-action) { font-size: 14px; }
    .launch-banner-product { height: 118px; }
    .launch-banner-product img { width: 285px; right: -30px; bottom: -25px; }
    .launch-banner-product-name { top: 2px; right: 0; }
    .partnership-hero-card { min-height: 340px; }
    .partnership-hero-lockup { gap: 22px; padding: 32px; }
    .partnership-hero-lockup > img { width: min(220px, 72%); }
    .partnership-hero-ffb img { width: 40px; height: 40px; }
    .partnership-product-grid { grid-template-columns: 1fr; }
    .partnership-product-media { aspect-ratio: 16 / 10; }
    .partnership-quote-grid { grid-template-columns: 1fr; }
    .partnership-quote figcaption { white-space: normal; }
    .partnership-quote-source { margin-top: 0; }
    .partnership-details-headings,
    .partnership-details-row { grid-template-columns: 1fr; }
    .partnership-detail-head + .partnership-detail-head,
    .partnership-platform-item { border-left: 0; border-top: 1px solid var(--border); }
  }

  /* ---------- Partnership launch refinement ---------- */
  .launch-banner {
    overflow: visible;
    border-bottom: 1px solid var(--border);
    background: var(--section-bg);
  }

  .launch-banner-inner {
    min-height: 92px;
    grid-template-columns: 230px minmax(0, 1fr) max-content;
    gap: clamp(18px, 2vw, 28px);
    color: var(--text-primary);
  }

  .launch-banner-partners {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
  }

  .launch-banner-moza-logo {
    width: 108px;
    height: auto;
  }

  .launch-banner-times {
    color: var(--text-faint);
    font-size: 16px;
  }

  .launch-banner-ffb {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .launch-banner-ffb-glyph { width: 22px; height: 22px; }

  .launch-banner-copy {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2px 20px;
    line-height: 1.4;
  }

  .launch-banner-kicker {
    grid-column: 1 / -1;
    color: var(--signal);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .12em;
  }

  .launch-banner-copy strong {
    min-width: 0;
    max-width: none;
    color: var(--text-primary);
    font-size: 17px;
    line-height: 1.3;
    letter-spacing: 0;
  }

  .launch-banner-copy > span:not(.launch-banner-kicker):not(.launch-banner-action) {
    min-width: 0;
    max-width: 52ch;
    color: var(--text-dim);
    font-size: 13px;
  }

  .launch-banner-action {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 5px;
    margin: 0;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }

  .launch-banner-action svg { transition: transform 150ms ease; }
  .launch-banner-inner:hover .launch-banner-action { text-decoration: none; }
  .launch-banner-inner:hover .launch-banner-action svg { transform: translateX(3px); }

  @media (prefers-color-scheme: light) {
    :root:not([data-site-theme="dark"]) .launch-banner-moza-logo { filter: invert(1); }
  }

  :root[data-site-theme="light"] .launch-banner-moza-logo { filter: invert(1); }

  @media (max-width: 900px) {
    .launch-banner-copy {
      grid-template-columns: 1fr;
    }
    .launch-banner-copy > span:not(.launch-banner-kicker):not(.launch-banner-action) { display: none; }
  }

  @media (max-width: 760px) {
    .launch-banner-inner {
      min-height: 0;
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-rows: auto auto;
      gap: 10px 16px;
      padding-top: 14px;
      padding-bottom: 14px;
    }

    .launch-banner-partners {
      grid-column: 1 / -1;
      width: auto;
    }

    .launch-banner-moza-logo { width: 98px; }
    .launch-banner-ffb { font-size: 13px; }
    .launch-banner-ffb-glyph { width: 20px; height: 20px; }

    .launch-banner-copy {
      gap: 2px;
    }

    .launch-banner-copy strong { font-size: 15px; }
    .launch-banner-action { font-size: 0; }
    .launch-banner-action svg { width: 20px; height: 20px; }

  }

  /* ---------- Subscribe form (hero island) ---------- */
  .subscribe { margin: 24px 0 14px; max-width: 520px; }
  .subscribe-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .subscribe-input {
    flex: 1 1 260px;
    min-width: 0;
    padding: 11px 14px;
    background: var(--well);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font: inherit;
    font-size: 15px;
    transition: border-color .15s ease, background .15s ease;
  }
  .subscribe-input::placeholder { color: var(--text-faint); }
  .subscribe-input:focus {
    border-color: var(--brand);
    background: var(--card-hover);
  }
  .subscribe-hint {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-mute);
    line-height: 1.5;
  }
  /* CASL consent row: checkbox + inline label. The checkbox is
     unchecked by default and the submit button stays disabled
     until it's ticked. Privacy policy link lives inside the label
     so the consent is genuinely informed. */
  .subscribe-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dim);
    cursor: pointer;
    user-select: none;
  }
  .subscribe-consent input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--brand);
    cursor: pointer;
  }
  .subscribe-consent a { color: var(--brand); }
  .subscribe-error {
    margin-top: 10px;
    font-size: 13px;
    color: var(--err);
  }
  /* Amber-toned "heads up" block — less severe than .subscribe-error.
     Used for the re-opt-in confirmation state when an address that
     previously unsubscribed is trying to sign up again. */
  .subscribe-warning {
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(232, 181, 60, 0.10);
    border: 1px solid rgba(232, 181, 60, 0.35);
    border-radius: var(--radius);
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dim);
  }
  .subscribe-warning strong { color: var(--text-primary); }
  .subscribe-warning em { font-style: normal; color: var(--signal); font-weight: 600; }
  .subscribe-success {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
  }
  .subscribe-success h3 { margin-bottom: 8px; color: var(--text-primary); }
  .subscribe-success p  { color: var(--text-dim); font-size: 15px; }
  .subscribe-success a  { color: var(--brand); }

  /* ---------- Legal pages (Privacy, Terms etc) ---------- */
  .legal { padding-top: 72px; padding-bottom: 72px; }
  .legal h1 { font-size: 34px; line-height: 1.15; margin-bottom: 16px; }
  .legal .lede { margin-bottom: 24px; }
  .legal .small { color: var(--text-faint); margin-bottom: 40px; }
  .legal h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 36px 0 12px;
    padding-top: 20px;
    border-top: 1px solid var(--hairline);
  }
  .legal h2:first-of-type { padding-top: 0; border-top: 0; margin-top: 40px; }
  .legal p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 14px;
  }
  .legal p:last-child { margin-bottom: 0; }
  /* Per-browser analytics switch on /privacy: status text beside its button. */
  .analytics-choice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin: 0 0 14px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
  }
  .analytics-choice p { margin: 0; flex: 1 1 260px; }
  .legal-list {
    margin: 0 0 14px;
    padding-left: 0;
    list-style: none;
  }
  .legal-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
  }
  .legal-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0.6;
  }
  .legal-list strong { color: var(--text-primary); font-weight: 600; }
  /* Buttons opt out: .legal's link color has higher specificity than
     .btn-primary's white text, which turned the /beta download
     buttons brand-on-brand (owner report 2026-07-09 — /beta is the
     first page with buttons inside .legal). */
  .legal a:not(.btn) { color: var(--brand); }

  /* ---------- /releases — rendered RELEASE-NOTES.md ----------
     The markdown renderer emits bare h2/h3/p/ul/li/code with no
     classes, so restore list bullets (the global reset strips them)
     and give version headings the same section rhythm as .legal h2.
     h2 ids are the raw version strings (deep-link anchors); the
     scroll-margin keeps an anchored heading clear of the fixed nav. */
  .release-notes ul {
    margin: 0 0 14px;
    padding-left: 0;
    list-style: none;
  }
  .release-notes li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
  }
  .release-notes li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0.6;
  }
  .release-notes table {
    display: block;
    width: 100%;
    overflow-x: auto;
    margin: 20px 0 28px;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    border-spacing: 0;
    font-size: 14px;
    line-height: 1.5;
  }
  .release-notes th,
  .release-notes td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--hairline);
  }
  .release-notes th {
    background: var(--well);
    color: var(--text-primary);
    font-weight: 600;
  }
  .release-notes td { color: var(--text-dim); }
  .release-notes tbody tr:nth-child(even) { background: var(--well); }
  .release-notes tbody tr:last-child td { border-bottom: 0; }
  .release-notes h2 { scroll-margin-top: 90px; }
  .release-notes h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 8px;
  }
  .release-notes strong { color: var(--text-primary); font-weight: 600; }
  .release-notes code {
    font-size: 13px;
    background: var(--well);
    border: 1px solid var(--hairline);
    border-radius: 4px;
    padding: 1px 5px;
  }

  /* ---------- /beta — beta-channel downloads ----------
     The current-beta block reuses .download-panel / .doc-callout /
     .cta-row; this class only supplies the section rhythm inside the
     .legal column (divs don't get the .legal p margins). */
  .beta-current { margin: 28px 0; }
  .beta-current .cta-row { margin: 20px 0 0; }
  /* Content-sized buttons, all three on one row (owner report
     2026-07-09: the macOS button wrapped because the buttons
     inherited a stretch basis). flex-wrap on .cta-row still lets
     them stack on narrow screens. */
  .beta-current .cta-row .btn {
    flex: 0 0 auto;
    width: auto;
  }

  /* ---------- Confirm / download pages ----------
     Tuned to fit a 1920×1080 viewport without scrolling at default
     zoom. If you add content to this page, trim an existing piece
     first — spacing here is lean on purpose. */
  .confirm { padding-top: 44px; padding-bottom: 36px; }
  .wrap.narrow { max-width: 680px; }

  /* Override the site-wide 56px h1 with a more restrained size for
     the post-flow success headline — the hero's big marquee isn't
     needed on a transactional confirmation page. */
  .confirm h1 { font-size: 38px; line-height: 1.15; }
  .confirm .lede { max-width: 580px; font-size: 16px; line-height: 1.5; }

  .confirm-hero { margin-bottom: 24px; }
  .confirm-check {
    width: 40px;
    height: 40px;
    color: var(--ok);
    margin-bottom: 12px;
  }
  /* Muted variant for "neutral" outcomes (unsubscribed, invalid token,
     etc.) where a green success tick would be too celebratory. */
  .confirm-check-muted { color: var(--text-mute); }

  /* Body paragraph inside a default (non-muted) confirm-card — used
     on /unsubscribe's "Still on the fence?" card which isn't a
     status block like "Your downloads". */
  .confirm-card-body {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
  }
  .confirm-card-body a { color: var(--brand); }

  .confirm-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 26px;
    margin-bottom: 14px;
  }
  /* Inside the downloads card specifically, size the two platform
     buttons to share width equally — side-by-side on desktop, equal
     full-width stack on mobile. Without this, "Download for Windows"
     and "Download for Linux" render at their natural (different)
     content widths when stacked and look misaligned. */
  .confirm-card .cta-row { margin-bottom: 0; }
  .confirm-card .cta-row .btn { flex: 1 1 220px; }
  .confirm-card-muted {
    background: var(--section-bg);
    border-color: var(--hairline);
  }
  .confirm-card-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 12px;
  }
  .confirm-card-fine {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-mute);
  }
  .confirm-card-fine a { color: var(--brand); }
  .confirm-card-muted h2 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--text-primary);
  }
  .confirm-card-muted p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
  }

  /* ---------- Slim pages (SlimPage.razor) ----------
     13 November 2026 layout for /pro/activate/confirm and its outcomes:
     the brand in a thin header, one centred panel (460px on a desktop,
     full width inside 16px gutters on a phone) and a one-line footer.
     Every class here is new; pages with SiteNav/SiteFooter are untouched. */
  .slim-page {
    --slim-panel-shadow: 0 1px 2px rgba(0,0,0,.35), 0 12px 32px rgba(0,0,0,.28);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  @media (prefers-color-scheme: light) {
    :root:not([data-site-theme="dark"]) .slim-page {
      --slim-panel-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 28px rgba(15,23,42,.06);
    }
  }
  :root[data-site-theme="light"] .slim-page {
    --slim-panel-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 28px rgba(15,23,42,.06);
  }
  .slim-head { border-bottom: 1px solid var(--border); }
  .slim-head-in {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
  }
  .slim-main { flex: 1; }
  .slim-flow { padding: 64px 16px 48px; }

  .slim-panel {
    max-width: 460px;
    margin: 0 auto;
    padding: 32px 32px 28px;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--slim-panel-shadow);
    /* Japanese lines break between phrases, not inside a word. */
    word-break: auto-phrase;
  }
  .slim-nowrap { white-space: nowrap; }
  .slim-mark { display: block; margin: 0 auto 18px; }
  .slim-mark-app { width: 56px; height: 56px; }
  svg.slim-mark { width: 44px; height: 44px; }
  .slim-mark-ok { color: var(--ok); }
  .slim-mark-warn { color: var(--signal); }
  .slim-mark-muted { color: var(--text-mute); }
  .slim-panel h1 {
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.015em;
    font-weight: 700;
    text-wrap: balance;
  }
  .slim-lede {
    margin-top: 10px;
    color: var(--text-dim);
    font-size: 15.5px;
    line-height: 1.55;
    text-wrap: balance;
  }

  /* The facts to check: a quiet inset description list. */
  .slim-facts {
    margin: 24px 0 0;
    padding: 4px 16px;
    text-align: left;
    background: var(--well);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
  }
  .slim-facts > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
  }
  .slim-facts > div + div { border-top: 1px solid var(--hairline); }
  .slim-facts dt { flex-shrink: 0; font-size: 13.5px; color: var(--text-mute); }
  .slim-facts dd {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
    overflow-wrap: anywhere;
  }
  .slim-facts dd.slim-facts-unnamed { font-weight: 400; font-style: italic; color: var(--text-mute); }

  .slim-rule {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-mute);
    text-wrap: pretty;
  }

  /* Actions: the site's .btn, one size down, at its natural width. */
  .slim-actions {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .slim-actions .btn {
    height: 44px;
    min-width: 200px;
    padding: 0 22px;
    font-size: 15px;
  }
  .slim-second { font-size: 13px; line-height: 1.5; color: var(--text-mute); }

  .slim-next {
    margin-top: 14px;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.55;
    text-wrap: pretty;
  }
  .slim-closing {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--hairline);
    font-size: 13.5px;
    color: var(--text-mute);
  }
  .slim-try {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
    text-align: left;
  }
  .slim-try + .slim-closing { margin-top: 18px; }
  .slim-try-label {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-mute);
  }
  .slim-try ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: slim-step;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .slim-try li {
    counter-increment: slim-step;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 12px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-primary);
  }
  .slim-try li::before {
    content: counter(slim-step);
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 14%, var(--card));
    border: 1px solid color-mix(in srgb, var(--brand) 40%, var(--border));
  }
  .slim-help {
    max-width: 460px;
    margin: 18px auto 0;
    text-align: center;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-mute);
  }

  /* One-line footer. `footer` alone carries the full footer's look. */
  footer.slim-foot {
    padding: 0;
    background: transparent;
    border-top: 1px solid var(--hairline);
  }
  .slim-foot-in {
    max-width: var(--max);
    margin: 0 auto;
    padding: 16px 24px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 10px;
    font-size: 12px;
    color: var(--text-faint);
  }
  .slim-foot-in a { color: var(--text-faint); }
  .slim-foot-in a:hover { color: var(--text-primary); }
  .slim-foot-made { display: inline-flex; align-items: center; gap: 8px; }
  .slim-foot .ca-flag { width: 22px; height: 11px; border-radius: 1px; }
  .slim-foot-sep { opacity: 0.5; }
  .slim-foot-links { display: inline-flex; gap: 10px; white-space: nowrap; }

  /* Phone: the panel fills the width inside 16px gutters, buttons too. */
  @media (max-width: 520px) {
    .slim-head-in { padding: 0 16px; height: 52px; }
    .slim-flow { padding: 28px 16px 32px; }
    .slim-panel { padding: 26px 20px 22px; }
    .slim-panel h1 { font-size: 24px; }
    .slim-actions { align-items: stretch; }
    .slim-actions .btn { width: 100%; }
    /* One line each, so no separator is left at the end of a line in
       languages whose footer is longer than English. */
    .slim-foot-sep-group { display: none; }
    .slim-foot-made, .slim-foot-copy, .slim-foot-links { flex-basis: 100%; justify-content: center; text-align: center; }
  }

  /* Toronto skyline + Made-in-Canada line live in SiteFooter.razor
     now — shared across every page — see .footer-skyline and the
     .footer-bottom block above. The per-page .made-in-canada block
     that used to sit at the bottom of /confirm was retired when
     the global footer landed. */

  /* ---------- Blazor error banner ----------
     Hidden by default; Blazor sets display:block at runtime if an
     unhandled Interactive Server error occurs. Strip'd Bootstrap
     meant we lost the default display:none rule, which is why
     every page was showing "An unhandled error has occurred" as
     plain inline text. Keep this rule. */
  #blazor-error-ui {
    background: #3c2a2a;
    color: var(--text-primary);
    border-top: 1px solid var(--err);
    bottom: 0;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 12px 20px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 14px;
  }
  #blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 16px;
    top: 10px;
  }
  #blazor-error-ui .reload { color: var(--brand); }

  /* ---------- Feedback page ----------
     Uses the shared .confirm scaffold. Unlike the other utility pages
     (Confirm / Unsubscribe / Privacy) which lock content to a 680px
     narrow wrap, feedback uses the full .wrap (1100px) so the form
     can breathe and the two short fields (category + email) can sit
     side-by-side on desktop. */

  /* Feedback form extends .confirm-card with form-specific padding
     and a two-column grid for fields that benefit from it. */
  .feedback-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
    padding: 28px 32px;
  }
  /* Most form fields span both columns; only those explicitly marked
     as .form-field-half stick to one. */
  .feedback-form > * { grid-column: 1 / -1; }
  .feedback-form .form-field-half { grid-column: auto; }

  @media (max-width: 680px) {
    .feedback-form {
      grid-template-columns: 1fr;
      padding: 22px;
      gap: 20px;
    }
    .feedback-form .form-field-half { grid-column: 1; }
  }

  .feedback-error {
    background: rgba(232, 107, 107, 0.08);
    border: 1px solid rgba(232, 107, 107, 0.35);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
  }
  .feedback-error strong {
    color: var(--err);
    display: block;
    margin-bottom: 4px;
  }

  .form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .form-field label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.005em;
  }
  .form-required {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--signal);
  }
  .form-optional {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mute);
  }
  .form-hint {
    font-size: 13px;
    color: var(--text-mute);
    line-height: 1.55;
    margin: 0;
  }

  .feedback-form textarea,
  .feedback-form input[type="email"],
  .feedback-form input[type="text"],
  .feedback-form select {
    background: var(--well);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.55;
    width: 100%;
    transition: border-color .15s ease, background-color .15s ease;
  }
  .feedback-form textarea:focus,
  .feedback-form input:focus,
  .feedback-form select:focus {
    border-color: var(--brand);
    background: var(--card-hover);
  }
  .feedback-form textarea {
    resize: vertical;
    min-height: 160px;
    font-family: var(--font-sans);
  }
  .feedback-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%237A8089' stroke-width='2'><polyline points='2 4 6 8 10 4'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
  }
  .feedback-form select option { background: var(--well); color: var(--text-primary); }

  /* File inputs: let the browser's default render, but tint the
     surrounding container so the row reads as part of the form. */
  .feedback-form input[type="file"] {
    color: var(--text-dim);
    font-size: 13px;
    padding: 10px 0;
  }
  .feedback-form input[type="file"]::file-selector-button {
    background: var(--card-hover);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    padding: 8px 14px;
    margin-right: 12px;
    font-size: 13px;
    cursor: pointer;
    transition: background .15s ease;
  }
  .feedback-form input[type="file"]::file-selector-button:hover {
    background: rgba(79, 156, 255, 0.12);
    border-color: var(--brand-soft);
  }

  .form-file-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .form-file-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: var(--well);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-dim);
  }
  .form-file-list .fname {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .form-file-list .fsize {
    color: var(--text-mute);
    font-variant-numeric: tabular-nums;
    font-family: var(--font-mono);
    flex-shrink: 0;
  }

  /* Honeypot: off-screen so bots autofill it; inert keeps sighted,
     keyboard, and screen-reader users away from it. */
  .hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  /* Char counter inherits .form-hint but right-aligns the number. */
  #feedback-body-count {
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
    font-family: var(--font-mono);
  }

  .form-submit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    border-top: 1px solid var(--hairline);
    padding-top: 20px;
  }
  .form-submit-row .form-hint { flex: 1; min-width: 240px; }
  .form-submit-row .btn { padding: 12px 28px; }

  .pro-beta-landing {
    background: var(--bg);
  }

  .pro-beta-hero {
    padding: 48px 0 42px;
    border-bottom: 1px solid var(--hairline);
    overflow: hidden;
  }

  .pro-beta-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(24px, 3vw, 34px);
    align-items: center;
  }

  .pro-beta-hero-copy {
    min-width: 0;
    position: relative;
    z-index: 1;
  }

  .pro-beta-hero h1 {
    margin: 8px 0 16px;
    max-width: 660px;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
  }

  .pro-beta-hero .lede {
    max-width: 680px;
    font-size: clamp(1.02rem, 1.28vw, 1.18rem);
    line-height: 1.58;
    color: var(--text-dim);
  }

  .pro-beta-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
  }

  .pro-beta-shot {
    margin: 0;
    min-width: 0;
  }

  .pro-beta-shot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--well);
    box-shadow: 0 18px 42px rgba(20, 31, 46, 0.12);
  }

  .pro-beta-shot-main {
    width: 100%;
    max-width: 780px;
    justify-self: end;
  }

  #join-beta,
  #voice-privacy {
    scroll-margin-top: calc(var(--nav-h) + 24px);
  }

  .pro-beta-shot figcaption {
    margin-top: 10px;
    color: var(--text-dim);
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .pro-beta-band,
  .pro-beta-flow,
  .pro-beta-screens,
  .pro-beta-faq {
    padding: 58px 0;
    border-bottom: 1px solid var(--hairline);
  }

  .pro-beta-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .pro-beta-feature-grid > article,
  .pro-beta-request,
  .pro-beta-faq-list > article {
    border: 1px solid var(--hairline);
    border-radius: 8px;
    background: var(--card);
    padding: 22px;
  }

  .pro-beta-feature-grid h2,
  .pro-beta-request h3,
  .pro-beta-faq-list h3 {
    margin: 8px 0 10px;
    font-size: 1.4rem;
    line-height: 1.16;
  }

  .pro-beta-feature-grid p,
  .pro-beta-request p,
  .pro-beta-faq-list p {
    margin: 0;
    color: var(--text-dim);
    line-height: 1.55;
  }

  .pro-beta-screens .header {
    max-width: 940px;
    margin-bottom: 30px;
  }

  .pro-beta-shot-beta-home {
    max-width: 1040px;
    margin: 0 auto;
  }

  .pro-beta-shot-beta-home img {
    box-shadow: 0 22px 52px rgba(20, 31, 46, 0.12);
  }

  .pro-beta-shot-beta-home figcaption {
    max-width: 850px;
    margin-top: 16px;
    font-size: 1.05rem;
  }

  .pro-beta-cockpit-feature-grid,
  .pro-beta-cockpit-secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .pro-beta-cockpit-feature-grid {
    gap: 28px;
  }

  .pro-beta-cockpit-secondary-grid {
    gap: 22px;
    margin-top: 30px;
  }

  .pro-beta-shot-feature img {
    box-shadow: 0 22px 48px rgba(20, 31, 46, 0.14);
  }

  .pro-beta-shot-feature figcaption {
    max-width: 620px;
    margin-top: 14px;
    font-size: 1.05rem;
  }

  .pro-beta-pairing-callout {
    display: grid;
    grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin-top: 34px;
    padding: 24px;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    background: color-mix(in srgb, var(--card) 86%, var(--well));
  }

  .pro-beta-pairing-callout h3 {
    margin: 8px 0 12px;
    font-size: clamp(1.55rem, 2vw, 2.1rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .pro-beta-pairing-callout p {
    margin: 0;
    color: var(--text-dim);
    line-height: 1.58;
  }

  .pro-beta-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
    gap: 42px;
    align-items: start;
  }

  .pro-beta-flow h2,
  .pro-beta-faq h2 {
    margin: 8px 0 14px;
    max-width: 860px;
    font-size: clamp(1.5rem, 2.4vw, 2.05rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
  }

  .pro-beta-flow .lede,
  .pro-beta-faq .lede {
    max-width: 780px;
    font-size: clamp(1.04rem, 1.7vw, 1.28rem);
    line-height: 1.55;
    color: var(--text-dim);
  }

  .pro-beta-steps {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding-left: 1.3rem;
    color: var(--text-dim);
    line-height: 1.55;
  }

  .pro-beta-request .subscribe {
    margin-top: 18px;
  }

  .pro-beta-request .subscribe-row {
    grid-template-columns: 1fr;
  }

  .pro-beta-request .subscribe-row .btn {
    width: 100%;
  }

  .pro-beta-terms .pro-beta-feature-grid > article {
    background: color-mix(in srgb, var(--card) 90%, var(--well));
  }

  .pro-beta-faq-list {
    display: grid;
    gap: 14px;
  }

  .pro-beta-join-page .feedback-success,
  .pro-beta-join-page .feedback-error {
    margin-bottom: 24px;
  }

  .pro-beta-accept-card {
    display: grid;
    gap: 18px;
  }

  .pro-beta-terms-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 1.3rem;
    color: var(--text-dim);
    line-height: 1.55;
  }

  .pro-beta-terms-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--well);
    color: var(--text);
    line-height: 1.45;
  }

  .pro-beta-terms-check input {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    accent-color: var(--brand);
    flex: 0 0 auto;
  }

  .beta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
  }

  .pro-beta-page {
    padding-top: 58px;
    padding-bottom: 72px;
  }

  .pro-beta-page .beta-wrap {
    max-width: 1240px;
  }

  .pro-beta-page .confirm-hero {
    margin-bottom: 34px;
  }

  .pro-beta-page .confirm-hero h1 {
    margin-bottom: 12px;
  }

  .pro-beta-page .lede {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.58;
  }

  .pro-beta-page .confirm-card {
    padding: 26px 32px;
    margin-bottom: 22px;
  }

  .pro-beta-page .confirm-card h2 {
    font-size: 28px;
    line-height: 1.18;
    margin: 0 0 8px;
  }

  .pro-beta-page .form-submit-row .btn {
    padding: 10px 18px;
  }

  .pro-beta-follow-up-page .beta-wrap {
    max-width: 1160px;
  }

  .pro-beta-follow-up-page .confirm-card-body {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: baseline;
  }

  .beta-recorder {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .beta-missions {
    margin: 34px 0 30px;
  }

  .pro-beta-page .beta-missions h2 {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 2.4vw, 2.05rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .beta-missions > .form-hint {
    max-width: 860px;
    margin: 0 0 36px;
    color: var(--text-dim);
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    line-height: 1.5;
  }

  .mission-list,
  .beta-report-list {
    display: grid;
    gap: 22px;
  }

  .mission-card {
    display: grid;
    gap: 24px;
    padding: 28px 32px;
    border: 1px solid var(--hairline);
    border-radius: 10px;
    background: color-mix(in srgb, var(--card) 92%, var(--bg));
  }

  .mission-card-complete {
    border-color: rgba(52, 168, 120, 0.48);
    background: color-mix(in srgb, var(--card) 90%, rgba(52, 168, 120, 0.12));
  }

  .mission-card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
  }

  .mission-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    min-width: 0;
    padding-top: 2px;
  }

  .mission-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--well);
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
  }

  .mission-saved {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ok);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .mission-actions {
    display: inline-grid;
    grid-template-columns: repeat(3, auto);
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--well);
  }

  .mission-choice {
    position: relative;
    min-width: 0;
  }

  .mission-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    clip-path: inset(50%);
    pointer-events: none;
  }

  .mission-choice-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    min-width: 112px;
    padding: 0 18px;
    border-radius: 7px;
    background: transparent;
    color: var(--text-dim);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
  }

  .mission-choice:nth-child(2) .mission-choice-body {
    min-width: 128px;
  }

  .mission-choice:nth-child(3) .mission-choice-body {
    min-width: 92px;
  }

  .mission-choice-check {
    display: inline-grid;
    place-items: center;
    width: 0;
    height: 18px;
    border-radius: 999px;
    color: currentColor;
    font-size: 1.05rem;
    opacity: 0;
    overflow: hidden;
    transform: scale(0.85);
    transition: opacity 140ms ease, width 140ms ease, transform 140ms ease;
  }

  .mission-choice input:checked + .mission-choice-body {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 1px 4px rgba(24, 97, 208, 0.26);
  }

  .mission-choice input:checked + .mission-choice-body .mission-choice-check {
    width: 20px;
    opacity: 1;
    transform: scale(1);
  }

  .mission-choice input:focus-visible + .mission-choice-body {
    outline: 2px solid color-mix(in srgb, var(--brand) 40%, transparent);
    outline-offset: 2px;
  }

  .mission-copy {
    max-width: 760px;
    min-width: 0;
  }

  .mission-card h3 {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 2.3vw, 2.05rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .mission-card p {
    margin: 0;
    color: var(--text-dim);
    font-size: clamp(1.05rem, 1.65vw, 1.35rem);
    line-height: 1.45;
  }

  .mission-note-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 128px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--well);
  }

  .mission-note {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    padding: 0 18px;
    font: inherit;
    font-size: 1.05rem;
  }

  .mission-note::placeholder {
    color: color-mix(in srgb, var(--text-dim) 72%, transparent);
  }

  .mission-note:focus {
    outline: none;
  }

  .mission-note-row:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 18%, transparent);
  }

  .mission-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    min-height: 56px;
    border: 0;
    border-left: 1px solid var(--border);
    background: color-mix(in srgb, var(--well) 72%, var(--card));
    color: var(--brand);
    font: inherit;
    font-size: 1.02rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 140ms ease, color 140ms ease;
  }

  .mission-submit:hover {
    background: color-mix(in srgb, var(--brand) 9%, var(--well));
  }

  .mission-submit:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--brand) 42%, transparent);
    outline-offset: -4px;
  }

  .mission-submit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .beta-report-row {
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    padding: 14px 12px;
    border-bottom: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
  }

  .beta-report-row:hover {
    background: var(--card-2);
    transform: translateY(-1px);
  }

  .beta-report-action {
    justify-self: end;
    color: var(--brand);
    font-weight: 700;
    white-space: nowrap;
  }

  .beta-report-row:last-child {
    border-bottom: 0;
  }

  .beta-report-body {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--text-dim);
    line-height: 1.6;
    background: var(--well);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    max-height: 520px;
    overflow: auto;
    font-size: 14px;
  }

  .beta-media-list {
    display: grid;
    gap: 18px;
  }

  .beta-media-item {
    border-top: 1px solid var(--hairline);
    padding-top: 18px;
  }

  .beta-media-item:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .beta-media-item strong {
    display: block;
    margin-top: 4px;
  }

  .beta-media-item p {
    margin: 6px 0 0;
    color: var(--text-dim);
  }

  .beta-media-image {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    margin-top: 12px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    background: var(--card-2);
  }

  .beta-media-audio {
    display: block;
    width: 100%;
    margin-top: 12px;
  }

  @media (max-width: 760px) {
    .pro-beta-hero {
      padding: 36px 0 34px;
    }

    .pro-beta-hero-grid,
    .pro-beta-two-col,
    .pro-beta-cockpit-feature-grid,
    .pro-beta-cockpit-secondary-grid,
    .pro-beta-pairing-callout,
    .pro-beta-feature-grid {
      grid-template-columns: 1fr;
    }

    .pro-beta-shot-main {
      width: 100%;
      justify-self: stretch;
    }

    .pro-beta-band,
    .pro-beta-flow,
    .pro-beta-screens,
    .pro-beta-faq {
      padding: 38px 0;
    }

    .beta-grid,
    .beta-report-row {
      grid-template-columns: 1fr;
    }

    .pro-beta-page {
      padding-top: 36px;
      padding-bottom: 44px;
    }

    .pro-beta-page .confirm-hero {
      margin-bottom: 24px;
    }

    .pro-beta-page .confirm-card {
      padding: 20px;
    }

    .mission-card {
      padding: 18px;
      gap: 18px;
    }

    .mission-card-top {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .mission-actions {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      width: 100%;
    }

    .mission-choice-body,
    .mission-choice:nth-child(2) .mission-choice-body,
    .mission-choice:nth-child(3) .mission-choice-body {
      min-width: 0;
      width: 100%;
      padding: 0 8px;
      font-size: 0.92rem;
    }

    .mission-choice-check {
      height: 16px;
      font-size: 0.95rem;
    }

    .mission-choice input:checked + .mission-choice-body .mission-choice-check {
      width: 16px;
    }

    .mission-note-row {
      grid-template-columns: minmax(0, 1fr) 98px;
    }

    .mission-submit {
      gap: 6px;
      font-size: 0.95rem;
    }

    .beta-report-action {
      justify-self: start;
    }
  }

  @media (min-width: 761px) and (max-width: 1040px) {
    .mission-card-top {
      grid-template-columns: 1fr;
    }
  }

  /* ---------- Documentation (/docs/*) ---------- */
  /* Two-column shell: sticky left nav + article body. Narrower than
     the marketing pages' ample whitespace — these are read, not
     scrolled. Max article width ~760px preserves comfortable line
     length. */

  .docs-shell {
    padding-top: 40px;
    padding-bottom: 96px;
    background: var(--bg);
  }

  .docs-wrap {
    max-width: 1380px;
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr) 216px;
    gap: 36px;
    align-items: start;
  }
  @media (max-width: 1220px) {
    .docs-wrap { max-width: 1120px; grid-template-columns: 236px minmax(0, 1fr); gap: 40px; }
    .docs-page-toc { display: none !important; }
  }
  @media (max-width: 900px) {
    .docs-wrap { grid-template-columns: 1fr; gap: 24px; }
  }
  /* CSS Grid items default to `min-width: auto` which makes them grow
     to fit unbreakable child content (wide <pre> blocks, long paths in
     <code>, wide tables). On a 393px viewport the article would then
     blow wider than the screen, dragging the H1 and paragraphs
     off-canvas. Forcing `min-width: 0` keeps both columns
     viewport-bounded; pre + table take care of their own overflow with
     the rules below. */
  .docs-wrap > * { min-width: 0; }

  .docs-side {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    align-self: start;
    max-height: calc(100vh - var(--nav-h) - 48px);
    overflow-y: auto;
    padding-right: 8px;
  }
  @media (max-width: 900px) {
    .docs-side {
      position: static;
      max-height: none;
      padding-right: 0;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--hairline);
    }
  }
  .docs-side-inner { padding-top: 4px; }

  /* Mobile collapse for the docs sidebar. A real button toggles
     `.is-open`, keeping hidden links out of the tab order while closed. */
  .docs-toc-button { display: none; }

  @media (max-width: 900px) {
    .docs-toc-button {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 12px 14px;
      font-size: 14px;
      font-weight: 500;
      color: var(--text-primary);
      background: var(--card);
      border: 1px solid var(--hairline);
      border-radius: var(--radius-sm);
      cursor: pointer;
      user-select: none;
    }
    .docs-toc-button:hover { background: var(--card-hover); }
    .docs-toc-caret {
      transition: transform .18s ease;
      color: var(--text-mute);
    }
    .docs-side.is-open .docs-toc-caret {
      transform: rotate(180deg);
    }

    .docs-side-inner {
      display: none;
      padding-top: 0;
    }
    .docs-side.is-open .docs-side-inner {
      display: block;
      max-height: 80vh;
      overflow-y: auto;
      padding-top: 12px;
    }

    /* Sidebar's bottom border looks weird when the menu is
       collapsed (a single line under just the button). Drop it on
       mobile and let the button itself carry the visual weight. */
    .docs-side {
      border-bottom: none;
      padding-bottom: 0;
    }
  }

  .docs-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 16px;
  }

  .docs-filter-wrap { margin-bottom: 14px; }
  .docs-filter {
    width: 100%;
    padding: 7px 10px;
    font: inherit;
    font-size: 13px;
    color: var(--text-primary);
    background: var(--well);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
  }
  .docs-filter:focus { outline: none; border-color: var(--brand); background: var(--card); }
  .docs-filter-empty { font-size: 13px; color: var(--text-mute); padding: 8px 10px; margin: 0; }

  .docs-nav-group { margin-bottom: 10px; border-bottom: 1px solid var(--hairline); padding-bottom: 8px; }
  .docs-nav-group:last-child { border-bottom: 0; }
  .docs-nav-heading {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--text-mute);
    padding: 6px 10px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    user-select: none;
  }
  .docs-nav-heading::-webkit-details-marker { display: none; }
  .docs-nav-heading:hover { color: var(--text-primary); background: var(--hover-wash); }
  .docs-nav-caret { transition: transform .16s ease; opacity: .7; flex: 0 0 auto; }
  .docs-nav-group[open] > .docs-nav-heading .docs-nav-caret,
  .docs-nav-subgroup[open] > .docs-nav-subhead .docs-nav-caret { transform: rotate(90deg); }
  .docs-nav-group > ul { margin-top: 4px; }
  .docs-nav-subli { list-style: none; }
  .docs-nav-subgroup { margin: 2px 0; }
  .docs-nav-subhead {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    user-select: none;
  }
  .docs-nav-subhead::-webkit-details-marker { display: none; }
  .docs-nav-subhead:hover { background: var(--hover-wash); }
  .docs-nav-subgroup > ul { padding-left: 10px; margin-top: 2px; border-left: 1px solid var(--hairline); margin-left: 10px; }

  .docs-page-toc {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    max-height: calc(100vh - var(--nav-h) - 48px);
    overflow-y: auto;
    padding-left: 14px;
    border-left: 1px solid var(--hairline);
  }
  .docs-page-toc-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 10px;
  }
  .docs-page-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .docs-page-toc-list a {
    display: block;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--text-mute);
    text-decoration: none;
    padding: 2px 0;
  }
  .docs-page-toc-list a:hover,
  .docs-page-toc-list a.is-active {
    color: var(--brand);
    font-weight: 600;
  }
  .docs-nav ul { display: flex; flex-direction: column; gap: 1px; }
  .docs-nav a {
    display: block;
    font-size: 14px;
    color: var(--text-dim);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    border-left: 2px solid transparent;
  }
  .docs-nav a:hover {
    color: var(--text-primary);
    background: var(--hover-wash);
  }
  .docs-nav a.is-active {
    color: var(--brand);
    background: rgba(79, 156, 255, 0.08);
    border-left-color: var(--brand);
    font-weight: 500;
  }

  /* --- Article body --- */
  .docs-article {
    max-width: 760px;
    overflow-wrap: anywhere;
    font-size: 16px;
    color: var(--text-primary);
  }
  .docs-article h1 {
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 6px;
  }
  .docs-article .doc-lede {
    color: var(--text-dim);
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 32px;
  }
  .docs-article h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    margin-top: 48px;
    margin-bottom: 10px;
    padding-top: 4px;
    scroll-margin-top: calc(var(--nav-h) + 16px);
  }
  .docs-article h2:first-of-type { margin-top: 36px; }
  /* Deep links land on any anchored heading, callout or list entry clear of
     the fixed navigation. */
  .docs-article [id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
  .docs-article h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 6px;
    color: var(--text-primary);
  }
  .docs-article p {
    margin-bottom: 14px;
    line-height: 1.65;
    color: var(--text-primary);
  }
  .docs-article p.muted { color: var(--text-dim); }
  .docs-article a {
    color: var(--brand);
  }
  .docs-article a:hover { color: var(--brand-hover); }
  .docs-article a.btn-primary,
  .docs-article a.btn-primary:hover {
    color: #fff;
    text-decoration: none;
  }
  .docs-article a.btn-secondary,
  .docs-article a.btn-secondary:hover {
    color: var(--text-primary);
    text-decoration: none;
  }

  .docs-article ul, .docs-article ol {
    margin: 0 0 18px 0;
    padding-left: 22px;
    color: var(--text-primary);
  }
  .docs-article ul { list-style: disc; }
  .docs-article ol { list-style: decimal; }
  .docs-article li { margin-bottom: 6px; line-height: 1.6; }

  .docs-article .telemetry-reference-list {
    columns: 2 280px;
    column-gap: 32px;
  }
  .docs-article .telemetry-reference-list li { break-inside: avoid; }

  .docs-article code {
    font-family: var(--font-mono);
    font-size: 0.92em;
    padding: 1px 6px;
    background: var(--well);
    border: 1px solid var(--hairline);
    border-radius: 4px;
    color: var(--text-primary);
  }
  .docs-article pre {
    margin: 0 0 18px 0;
    padding: 14px 16px;
    background: var(--well);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-primary);
    overflow-x: auto;
    white-space: pre;
  }
  .docs-article pre code {
    padding: 0; background: transparent; border: 0; border-radius: 0;
    font-size: inherit;
  }
  .docs-article pre.manual-config-xml {
    overflow-x: hidden;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .docs-article blockquote {
    margin: 0 0 18px 0;
    padding: 12px 16px;
    border-left: 3px solid var(--brand);
    background: rgba(79, 156, 255, 0.06);
    color: var(--text-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  }
  .docs-article blockquote p:last-child { margin-bottom: 0; }

  .docs-helpful {
    margin-top: 42px;
    padding: 20px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    background: var(--card);
  }
  .docs-helpful p { margin: 0; font-weight: 600; }
  .docs-helpful-actions { display: flex; gap: 10px; margin-top: 12px; }
  .docs-helpful-actions .btn { min-width: 72px; }
  .docs-helpful-actions .btn:disabled { cursor: default; opacity: .55; }
  .docs-helpful .docs-helpful-thanks { margin-top: 12px; color: var(--ok); font-weight: 500; }

  /* Callout boxes: .note, .tip, .warn */
  .doc-callout {
    margin: 0 0 18px 0;
    padding: 14px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--hairline);
    background: var(--card);
  }
  .doc-callout-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .doc-callout.note        { border-color: rgba(79, 156, 255, 0.35); background: rgba(79, 156, 255, 0.06); }
  .doc-callout.note .doc-callout-title    { color: var(--brand); }
  .doc-callout.tip         { border-color: rgba(108, 198, 107, 0.35); background: rgba(108, 198, 107, 0.06); }
  .doc-callout.tip .doc-callout-title     { color: var(--ok); }
  .doc-callout.warn        { border-color: rgba(232, 181, 60, 0.4);  background: rgba(232, 181, 60, 0.06); }
  .doc-callout.warn .doc-callout-title    { color: var(--signal); }
  .doc-callout.stop        { border-color: rgba(232, 107, 107, 0.4); background: rgba(232, 107, 107, 0.06); }
  .doc-callout.stop .doc-callout-title    { color: var(--err); }
  .doc-callout p:last-child { margin-bottom: 0; }

  /* Figures (screenshots with captions). */
  .doc-fig {
    margin: 0 0 28px 0;
    padding: 0;
  }
  .doc-fig-link {
    display: block;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    background: var(--well);
    overflow: hidden;
    transition: border-color 120ms ease;
  }
  .doc-fig-link:hover { border-color: var(--border); }
  .doc-fig-link picture {
    display: block;
    width: 100%;
  }
  .doc-fig-link img {
    display: block;
    width: 100%;
    height: auto;
  }
  .doc-fig figcaption {
    margin-top: 10px;
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.5;
  }
  .doc-fig-num {
    color: var(--text-mute);
    font-weight: 600;
    margin-right: 6px;
  }
  .doc-fig-wide .doc-fig-link { max-width: none; }
  .doc-fig-placeholder .doc-fig-link {
    border-style: dashed;
    border-color: rgba(232, 181, 60, 0.35);
  }
  .doc-fig-placeholder img {
    opacity: 0.78;
  }
  .doc-fig-pending {
    color: var(--signal);
    font-style: italic;
  }
  .doc-fig-pending code {
    font-size: 0.9em;
    padding: 0 4px;
    background: rgba(232, 181, 60, 0.12);
    border: 1px solid rgba(232, 181, 60, 0.3);
    border-radius: 3px;
  }

  /* Table for keyboard shortcuts / effect list / compatibility matrices. */
  .docs-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 22px 0;
    font-size: 14.5px;
  }
  .docs-article th, .docs-article td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--hairline);
    vertical-align: top;
    /* Whole words in cells; narrow screens scroll the table instead. */
    overflow-wrap: break-word;
  }
  .docs-article th {
    color: var(--text-mute);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom-color: var(--border);
  }
  .docs-article td code { font-size: 0.88em; }

  /* Grouped at-a-glance effects table (/docs/effects). Each <tbody> is a
     group; its first row (.grp) is a full-width header that reads as a
     divider rather than a column header — so it drops the uppercase
     column-head treatment and gets a tint + a little top breathing room. */
  .docs-article .doc-effects-table td:first-child {
    font-weight: 600;
    white-space: nowrap;
  }
  .docs-article .doc-effects-table tr.grp th {
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand, var(--text-mute));
    background: var(--card-2);
    border-bottom-color: var(--border);
    padding-top: 16px;
  }
  @media (max-width: 640px) {
    .docs-article .doc-effects-table td:first-child { white-space: normal; }
  }

  /* Mobile overflow protection.
     - Tables can carry long unbreakable cells (file paths, GUIDs,
       URLs) that would push the table wider than the viewport even
       after the grid `min-width: 0` fix. Make the table itself
       scrollable horizontally on narrow screens — the inner row /
       cell layout is preserved by the browser even with
       `display: block` on the outer table.
     - Inline `<code>` (paths, URLs) outside <pre> needs to be
       breakable on phones, otherwise a single
       `%APPDATA%\Microsoft Flight Simulator 2024\SimConnect.xml`
       token is enough to push its parent row wider than the viewport. */
  @media (max-width: 900px) {
    .docs-article table {
      display: block;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
  }
  @media (max-width: 640px) {
    .docs-article p code,
    .docs-article li code,
    .docs-article td code {
      overflow-wrap: anywhere;
    }
  }

  /* "Previous / Next" page footer pager. */
  .docs-pager {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  .docs-pager a {
    display: inline-flex;
    flex-direction: column;
    padding: 14px 18px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    min-width: 180px;
    max-width: 320px;
    color: var(--text-primary);
    background: var(--card);
    transition: border-color 120ms ease, background 120ms ease;
  }
  .docs-pager a:hover {
    border-color: var(--border);
    background: var(--card-hover);
  }
  .docs-pager a .pager-dir {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 2px;
  }
  .docs-pager a.pager-next { margin-left: auto; text-align: right; }
  .docs-pager a.pager-prev .pager-dir::before { content: "← "; }
  .docs-pager a.pager-next .pager-dir::after  { content: " →"; }
  /* On phones, two ~216px-min pager buttons + a 16px gap don't fit
     side-by-side in a 393px viewport. They'd flex-wrap, but
     `margin-left: auto` on .pager-next keeps it pinned to the right
     even when it's alone on its row, producing an "indented orphan"
     look. Stack vertically full-width and drop the auto-left so both
     buttons align to the same edge. */
  @media (max-width: 640px) {
    .docs-pager { flex-direction: column; gap: 12px; }
    .docs-pager a {
      min-width: 0;
      max-width: none;
      width: 100%;
    }
    .docs-pager a.pager-next {
      margin-left: 0;
      text-align: left;
    }
  }

  /* Key / value pair layout used for spec-style reference blocks. */
  .docs-article .doc-kv {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 6px 18px;
    margin: 0 0 20px 0;
    padding: 14px 16px;
    background: var(--card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
  }
  .docs-article .doc-kv dt {
    color: var(--text-mute);
    font-size: 13px;
    font-weight: 500;
  }
  .docs-article .doc-kv dd { margin: 0; font-size: 14px; }
  @media (max-width: 500px) {
    .docs-article .doc-kv { grid-template-columns: 1fr; gap: 0; }
    .docs-article .doc-kv dt { margin-top: 8px; }
  }

  /* Changelog page. Each release is one .changelog-entry block;
     the version is the section's anchor target so external links
     can land on a specific release. */
  .docs-article .changelog { margin-top: 12px; }
  .docs-article .changelog-entry {
    padding: 18px 20px 4px 20px;
    margin-bottom: 18px;
    background: var(--card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    scroll-margin-top: 80px;
  }
  .docs-article .changelog-entry header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 4px 0;
    border: 0;
  }
  .docs-article .changelog-entry header h2 {
    font-size: 20px;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--text-primary);
  }
  .docs-article .changelog-entry header time {
    font-size: 13px;
    color: var(--text-mute);
    font-variant-numeric: tabular-nums;
  }
  .docs-article .changelog-entry h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-mute);
    margin-top: 14px;
    margin-bottom: 6px;
  }
  .docs-article .changelog-entry ul {
    margin-top: 0;
    margin-bottom: 8px;
  }
  @media (max-width: 500px) {
    .docs-article .changelog-entry header {
      flex-direction: column;
      gap: 4px;
    }
  }

  /* Overview cards (index page). */
  .docs-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 32px;
  }
  .docs-index-card {
    display: block;
    padding: 16px 18px;
    background: var(--card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    color: var(--text-primary);
    transition: border-color 120ms ease, background 120ms ease;
  }
  .docs-index-card:hover {
    border-color: var(--border);
    background: var(--card-hover);
  }
  .docs-index-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--text-primary);
  }
  .docs-index-card p {
    font-size: 13.5px;
    color: var(--text-dim);
    margin: 0;
    line-height: 1.5;
  }

  /* Chip / pill used inline to mark OS-specific content. */
  .doc-os {
    display: inline-block;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    vertical-align: 2px;
    margin-right: 6px;
  }
  .doc-os.win   { background: rgba(79, 156, 255, 0.16); color: var(--brand); }
  .doc-os.linux { background: rgba(232, 181, 60, 0.16); color: var(--signal); }
  .doc-os.both  { background: rgba(108, 198, 107, 0.16); color: var(--ok); }
  .doc-os.mac   { background: rgba(180, 142, 255, 0.16); color: #b48eff; }

  /* Download landing page for the real, versioned PDF manual. */
  .manual-download-page {
    max-width: 980px;
    margin: 0 auto;
  }
  .manual-download-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(230px, .72fr);
    align-items: center;
    gap: clamp(28px, 6vw, 70px);
    overflow: hidden;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid rgba(79, 156, 255, .24);
    border-radius: 18px;
    background:
      radial-gradient(circle at 84% 18%, rgba(79, 156, 255, .18), transparent 34%),
      linear-gradient(145deg, #101923 0%, #0b1017 68%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  }
  .manual-download-hero::before,
  .manual-download-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 68%;
    height: 1px;
    right: -8%;
    top: 27%;
    background: linear-gradient(90deg, transparent, rgba(79, 156, 255, .52), transparent);
    transform: rotate(-11deg);
  }
  .manual-download-hero::after {
    top: 34%;
    right: -2%;
    opacity: .45;
  }
  .manual-download-copy { min-width: 0; }
  .manual-download-copy .doc-callout { color: #d3dfef; }
  .manual-download-copy .eyebrow { color: var(--brand); }
  .manual-download-copy h1 {
    max-width: 570px;
    margin: 0 0 12px;
    color: #f7fbff;
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.02;
    letter-spacing: -.035em;
  }
  .manual-download-copy .doc-lede {
    max-width: 590px;
    color: #b9c8d9;
    font-size: 17px;
    line-height: 1.65;
  }
  .manual-file-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 22px 0 26px;
  }
  .manual-file-meta span {
    padding: 5px 9px;
    border: 1px solid rgba(185, 200, 217, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
    color: #cbd8e7;
    font: 600 11px/1.2 var(--font-mono);
    letter-spacing: .015em;
  }
  .manual-download-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  .manual-download-actions .btn { min-height: 46px; }
  .docs-article .manual-download-button,
  .docs-article .manual-download-button:visited {
    gap: 8px;
    color: #fff;
  }
  .docs-article .manual-download-button:hover,
  .docs-article .manual-download-button:focus-visible,
  .docs-article .manual-download-button:active {
    color: #fff;
    background: var(--brand-fill-hover);
  }
  .manual-download-actions .btn-secondary {
    border-color: rgba(185, 200, 217, .28);
    color: #e7f0fa;
    background: rgba(255, 255, 255, .05);
  }
  .manual-download-actions .btn-secondary:hover {
    border-color: rgba(79, 156, 255, .62);
    background: rgba(79, 156, 255, .12);
  }
  .manual-cover-card {
    position: relative;
    display: block;
    width: min(100%, 310px);
    justify-self: end;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 65px rgba(0, 0, 0, .48);
    transform: rotate(1.2deg);
    transition: transform 160ms ease, box-shadow 160ms ease;
  }
  .manual-cover-card:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 34px 75px rgba(0, 0, 0, .55);
  }
  .manual-cover-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
  }
  .manual-cover-badge {
    position: absolute;
    right: 15px;
    bottom: 15px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(11, 16, 23, .9);
    color: #f8fbff;
    font: 600 10px/1 var(--font-mono);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .36);
  }
  .manual-inside { padding: 56px 0 20px; }
  .manual-inside > h2 { margin-top: 0; }
  .manual-inside-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
  }
  .manual-inside-grid article {
    position: relative;
    min-height: 178px;
    padding: 21px;
    overflow: hidden;
    border: 1px solid var(--hairline);
    border-radius: 12px;
    background: var(--card);
  }
  .manual-inside-grid article::after {
    content: "";
    position: absolute;
    right: -24px;
    bottom: -38px;
    width: 95px;
    height: 95px;
    border: 1px solid rgba(79, 156, 255, .2);
    border-radius: 50%;
  }
  .manual-inside-num {
    display: block;
    margin-bottom: 15px;
    color: var(--brand);
    font: 600 11px/1 var(--font-mono);
  }
  .manual-inside-grid h3 { margin: 0 0 7px; }
  .manual-inside-grid p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.5;
  }
  .manual-bundle-note { margin-top: 20px; }
  /* /docs/manual section list. Each entry's id is the desktop manual's
     section slug, so https://ffb-bridge.com/docs/manual#<slug> lands on it. */
  .manual-sections { padding: 36px 0 8px; }
  .manual-sections > h2 { margin-top: 0; }
  .docs-article .manual-section-list {
    columns: 2 260px;
    column-gap: 36px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
  }
  .docs-article .manual-section-list > li {
    break-inside: avoid;
    margin: 0 0 14px;
  }
  .docs-article .manual-section-list ol {
    margin: 6px 0 0 2px;
    padding: 0 0 0 14px;
    list-style: none;
    border-left: 1px solid var(--hairline);
  }
  .docs-article .manual-section-list ol li {
    margin: 3px 0;
    font-size: 14px;
    line-height: 1.45;
  }
  .docs-article .manual-section-list .manual-section-level-3 { padding-left: 14px; }
  .docs-article .manual-section-list > li > .manual-section-link { font-weight: 600; }
  .manual-section-link {
    display: inline-block;
    padding: 1px 4px;
    margin-left: -4px;
    border-radius: 4px;
  }
  .manual-section-link:target {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    background: rgba(79, 156, 255, .14);
  }
  @media (max-width: 760px) {
    .manual-download-hero { grid-template-columns: 1fr; }
    .manual-cover-card { width: min(72vw, 310px); justify-self: center; }
    .manual-inside-grid { grid-template-columns: 1fr; }
    .manual-inside-grid article { min-height: 0; }
    .docs-article .manual-section-list { columns: 1; }
  }
  /* Release note banner. Sits at the top of every /docs/*
     page (rendered by DocsLayout) and of /docs/manual (rendered
     manually inside its own shell). Amber-signal border on a
     faint tint keeps it visible without overwhelming the content
     below — same visual language as .doc-callout.warn, but
     full-width and pinned to the top of the article. */
  .docs-release-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 28px 0;
    padding: 12px 16px;
    border: 1px solid rgba(232, 181, 60, 0.38);
    background: rgba(232, 181, 60, 0.06);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 13.5px;
    line-height: 1.5;
  }
  .docs-release-banner svg {
    color: var(--signal);
    flex-shrink: 0;
    margin-top: 1px;
  }
  .docs-release-banner strong {
    color: var(--signal);
    font-weight: 600;
  }
  .docs-release-banner a {
    color: var(--brand);
  }
  .docs-release-banner a:hover {
    color: var(--brand-hover);
  }
  /* Manual shell doesn't have the article's max-width, so give
     the banner its own cap + a bit more breathing room before
     the cover block. */
  .docs-release-banner-manual {
    max-width: 820px;
    margin: 0 auto 36px;
  }

  /* --- Print styles for ordinary documentation pages --- */
  @media print {
    nav.top, footer, .docs-side, .docs-pager, .docs-helpful,
    .manual-print-button, #blazor-error-ui { display: none !important; }
    body {
      background: #ffffff !important;
      color: #111 !important;
      font-size: 11pt;
    }
    .docs-shell, .docs-manual {
      padding: 0 !important;
      background: #ffffff !important;
    }
    .docs-wrap { grid-template-columns: 1fr !important; gap: 0 !important; }
    .docs-article, .docs-manual {
      max-width: none !important;
      color: #111 !important;
    }
    .docs-article h1, .docs-article h2, .docs-article h3,
    .docs-manual h1, .docs-manual h2, .docs-manual h3 {
      color: #000 !important;
      page-break-after: avoid;
    }
    .docs-article p, .docs-article li, .docs-manual p, .docs-manual li {
      color: #222 !important;
    }
    .docs-article a, .docs-manual a {
      color: #0b4fbf !important;
      border-bottom: 0 !important;
    }
    .docs-article code, .docs-article pre,
    .docs-manual code, .docs-manual pre {
      background: #f4f4f6 !important;
      border-color: #d5d7dc !important;
      color: #111 !important;
    }
    .doc-fig { page-break-inside: avoid; }
    .doc-fig-link {
      border-color: #d5d7dc !important;
      background: #f8f8fa !important;
    }
    .doc-fig figcaption { color: #555 !important; }
    .doc-callout {
      background: #f7f7f9 !important;
      border-color: #d5d7dc !important;
      color: #111 !important;
    }
    .doc-callout.note .doc-callout-title { color: #1a57b8 !important; }
    .doc-callout.tip  .doc-callout-title { color: #2f7d2f !important; }
    .doc-callout.warn .doc-callout-title { color: #8a6200 !important; }
    .doc-callout.stop .doc-callout-title { color: #a83030 !important; }
    .docs-manual h2.chapter { page-break-before: always; border-top: 0; }
    .docs-manual h2.chapter:first-of-type { page-break-before: auto; }
    /* Explicit URL after external links for the printed version. */
    .docs-article a[href^="http"]::after,
    .docs-manual a[href^="http"]::after {
      content: " (" attr(href) ")";
      font-size: 85%;
      color: #555;
    }
    @page { margin: 20mm 18mm 20mm 18mm; }
  }

  /* ---------- Staging translation review overlay ---------- */
  .ffb-tr-review-active .ffb-tr-text {
    cursor: help;
    border-radius: 3px;
    box-shadow: inset 0 -0.18em rgba(232, 181, 60, 0.34);
    transition: background 120ms ease, box-shadow 120ms ease;
  }
  .ffb-tr-review-active .ffb-tr-text:hover,
  .ffb-tr-review-active .ffb-tr-text:focus {
    background: rgba(232, 181, 60, 0.14);
    box-shadow: inset 0 -0.2em rgba(232, 181, 60, 0.56);
  }
  .ffb-tr-review-active .ffb-tr-text-noted {
    box-shadow: inset 0 -0.18em rgba(108, 198, 107, 0.45);
  }
  .ffb-tr-review-active .ffb-tr-text-has-notes {
    background: rgba(108, 198, 107, 0.10);
    box-shadow: inset 0 -0.18em rgba(108, 198, 107, 0.50);
  }
  .ffb-tr-review-active .ffb-tr-text-has-notes::after {
    content: attr(data-tr-note-count);
    display: inline-grid;
    place-items: center;
    min-width: 1.35em;
    height: 1.35em;
    margin-left: 0.25em;
    padding: 0 0.25em;
    border-radius: 999px;
    background: var(--ok);
    color: var(--bg);
    font-size: 0.72em;
    font-weight: 800;
    line-height: 1;
    vertical-align: 0.1em;
  }
  .ffb-tr-toolbar {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100vw - 32px);
    padding: 9px 10px;
    border: 1px solid rgba(232, 181, 60, 0.42);
    border-radius: 8px;
    background: color-mix(in srgb, var(--card) 92%, #111 8%);
    color: var(--text-primary);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    font-size: 13px;
  }
  .ffb-tr-toolbar .ffb-tr-count {
    color: var(--text-mute);
    font-size: 12px;
  }
  .ffb-tr-toolbar button,
  .ffb-tr-button {
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--well);
    color: var(--text-primary);
    font: inherit;
    font-weight: 600;
    padding: 6px 9px;
    cursor: pointer;
  }
  .ffb-tr-toolbar button:hover,
  .ffb-tr-button:hover {
    border-color: var(--brand);
  }
  .ffb-tr-panel {
    position: fixed;
    z-index: 90;
    display: none;
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    color: var(--text-primary);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    max-height: calc(100vh - 24px);
    overflow: auto;
  }
  .ffb-tr-panel.is-open {
    display: grid;
  }
  .ffb-tr-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .ffb-tr-panel-title {
    font-weight: 700;
    font-size: 13px;
  }
  .ffb-tr-panel-close {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--well);
    color: var(--text-primary);
    font: inherit;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
  }
  .ffb-tr-panel-close:hover {
    border-color: var(--brand);
    color: var(--brand);
  }
  .ffb-tr-context,
  .ffb-tr-preview {
    border-radius: 6px;
    padding: 8px;
    font-size: 12px;
    line-height: 1.45;
  }
  .ffb-tr-context {
    background: var(--well);
    color: var(--text-mute);
    max-height: 88px;
    overflow: auto;
  }
  .ffb-tr-preview {
    background: rgba(79, 156, 255, 0.10);
    color: var(--text-primary);
    max-height: 132px;
    overflow: auto;
  }
  .ffb-tr-existing {
    display: grid;
    gap: 7px;
    max-height: 180px;
    overflow: auto;
  }
  .ffb-tr-existing-title {
    color: var(--text-mute);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
  }
  .ffb-tr-existing-note {
    display: grid;
    gap: 5px;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    background: color-mix(in srgb, var(--well) 82%, var(--ok) 18%);
    padding: 8px;
  }
  .ffb-tr-existing-meta {
    color: var(--text-mute);
    font-size: 11px;
  }
  .ffb-tr-existing-selected {
    border-left: 2px solid var(--ok);
    padding-left: 7px;
    color: var(--text-dim);
    font-size: 12px;
  }
  .ffb-tr-existing-body {
    color: var(--text-primary);
    font-size: 12.5px;
    line-height: 1.45;
    white-space: pre-wrap;
  }
  .ffb-tr-textarea {
    width: 100%;
    min-height: 96px;
    max-height: 220px;
    resize: vertical;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--well);
    color: var(--text-primary);
    font: inherit;
    font-size: 13px;
    padding: 9px;
  }
  .ffb-tr-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }
  .ffb-tr-button.primary {
    background: var(--brand-fill);
    border-color: var(--brand-fill);
    color: #fff;
  }
  .ffb-tr-button:disabled {
    cursor: wait;
    opacity: 0.7;
  }
  .ffb-tr-message {
    min-height: 18px;
    color: var(--text-mute);
    font-size: 12px;
  }

  @media (max-width: 620px) {
    .ffb-tr-toolbar {
      left: 12px;
      right: 12px;
      justify-content: space-between;
    }
    .ffb-tr-panel {
      left: 12px !important;
      right: 12px !important;
      width: auto !important;
    }
  }

/* ============================================================
   1.1 marketing pages (/hardware, /force-model, /accessibility,
   /why-force-feedback). Built on the existing landing-* classes; these
   are the few additions they need.
   ============================================================ */

/* Centered section header (eyebrow + h2 + subhead). */
.section-head { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 10px; }
.section-head .subhead { margin: 0 auto; }

/* Plain bulleted lists inside landing cards. */
.hw-list { list-style: none; margin: 4px 0 0; padding: 0; }
.hw-list li {
  position: relative; padding: 6px 0 6px 18px;
  font-size: 14.5px; color: var(--text-dim); line-height: 1.5;
}
.hw-list li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.hw-list code {
  font-family: var(--font-mono); font-size: .85em;
  color: var(--text-primary); background: var(--card-2);
  border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px;
}

/* "new" badge (matches .pill-beta sizing, brand-tinted). */
.pill-new {
  display: inline-block; margin-left: 8px; padding: 2px 7px;
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 38%, transparent);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; border-radius: 999px;
  vertical-align: 2px;
}

/* Support matrix table (/hardware). */
.hw-matrix-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.hw-matrix { width: 100%; border-collapse: collapse; min-width: 620px; }
.hw-matrix th, .hw-matrix td {
  padding: 14px 18px; text-align: left; font-size: 14.5px;
  border-bottom: 1px solid var(--border);
}
.hw-matrix thead th {
  font-size: 12.5px; letter-spacing: .03em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 600; background: var(--card-2);
}
.hw-matrix tbody th { font-weight: 600; color: var(--text-primary); }
.hw-matrix tbody tr:last-child td, .hw-matrix tbody tr:last-child th { border-bottom: none; }
.hw-matrix td.yes { color: var(--text-primary); font-weight: 500; }
.hw-matrix td.no { color: var(--text-faint, var(--text-dim)); }
.hw-note { color: var(--text-dim); font-weight: 400; font-size: 12.5px; }
.hw-fineprint { margin-top: 16px; font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }

/* Accessibility FAQ (narrow, simple). */
.landing-faq-narrow { max-width: 760px; }
.acc-faq { display: flex; flex-direction: column; gap: 18px; }
.acc-faq-item h3 { font-size: 16px; margin-bottom: 6px; color: var(--text-primary); }
.acc-faq-item p { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }

/* Clickable pillar cards on Home (whole card is an <a>). */
.landing-card-link { display: flex; flex-direction: column; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.landing-card-link:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.14); }
.landing-card-link .landing-card-go { margin-top: auto; padding-top: 14px; color: var(--brand); font-weight: 600; font-size: 14px; }

@media (max-width: 700px) {
  .section-head { margin-bottom: 28px; }
}

/* Testimonials (Home) — approved beta-tester quotes. */
.tcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard {
  margin: 0; padding: 24px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); display: flex; flex-direction: column;
}
.tcard blockquote { margin: 0 0 16px; font-size: 15.5px; line-height: 1.55; color: var(--text-primary); }
.tcard blockquote::before { content: "\201C"; }
.tcard blockquote::after { content: "\201D"; }
.tcard figcaption { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.tcard-ctx { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-dim); margin-top: 2px; }
/* Pro-waitlist email capture inside the muted pricing card. */
.pricing-pro-signup { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
@media (max-width: 900px) { .tcard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tcard-grid { grid-template-columns: 1fr; } }

/* Give the CTA breathing room below a lede/subhead (was hugging the text). */
.subhead + .cta-row,
.lede + .cta-row { margin-top: 22px; }

/* Four-up card row (Home pillars, "what you've been missing") — one row on
   desktop, then 2-up / 1-up as it narrows. */
.landing-card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .landing-card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .landing-card-grid.cols-4 { grid-template-columns: 1fr; } }

/* A single screenshot in a shot grid shouldn't span full width and look
   stranded — cap and centre it as a framed figure. */
.landing-shot-grid:has(> :only-child) { max-width: 920px; margin-left: auto; margin-right: auto; }

/* Self-hosted demo video section (MOZA AB9). Native <video> served same-origin
   from /media/* — no third-party embed, so the public CSP stays first-party. */
.landing-video { padding: 56px 0; }
.landing-video .header { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.landing-video .header h2 { margin-bottom: 10px; }
.landing-video-player {
  display: block;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #000;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .20);
}
.landing-video-alt {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted, #667085);
}


/* ---------- Flight Check spotlight (home) ----------
   A dedicated feature section for Flight Check: two-column copy + a
   large screenshot. Distinct brand-tinted background so it reads as a
   highlight rather than another alternating band. The image reuses the
   .tile .shot structure so it inherits the dark-image swap + lightbox
   JS (bound to '.tile .shot'); .spotlight-tile only reframes it to show
   the full screenshot instead of the 16/9 tour crop. */
.spotlight {
  background:
    radial-gradient(circle at 88% 0%, rgba(79, 156, 255, 0.10) 0%, transparent 55%),
    var(--bg);
}
.spotlight-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 64px;
  align-items: center;
}
.spotlight-media { order: 0; }
.spotlight-copy { order: 1; }
@media (max-width: 900px) {
  .spotlight-grid { grid-template-columns: 1fr; gap: 36px; }
  .spotlight-media { order: 1; }
  .spotlight-copy { order: 0; }
}
.spotlight-copy h2 { margin: 6px 0 14px; }
.spotlight-copy > p { color: var(--text-mute); margin: 0 0 22px; max-width: 46ch; }
.spotlight-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 13px; }
.spotlight-list li { position: relative; padding-left: 28px; line-height: 1.5; }
.spotlight-list li::before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 6px; height: 11px;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.spotlight-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--well);
  box-shadow: 0 28px 60px -30px rgba(0, 0, 0, 0.45);
}
.spotlight-tile .shot { aspect-ratio: 1280 / 949; border-bottom: none; }
.spotlight-cta {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.spotlight-cta:hover { text-decoration: underline; }

/* Home Pro spotlight: copy left, Live Dashboard right, mirrored from the
   Aircraft Library spotlight so the two read as a pair. */
.home-pro { background: var(--section-bg); }
.home-pro .spotlight-grid { grid-template-columns: 5fr 6fr; }
.home-pro .spotlight-copy { order: 0; }
.home-pro .spotlight-media { order: 1; }
.home-pro .spotlight-copy h2 { font-size: 40px; line-height: 1.12; letter-spacing: -0.015em; }
.home-pro .cta-row { margin-bottom: 0; }
@media (max-width: 900px) {
  .home-pro .spotlight-grid { grid-template-columns: 1fr; }
  .home-pro .spotlight-copy h2 { font-size: 30px; }
}

/* ---------- Private profile recovery preview ---------- */
.profile-recovery-preview-note {
  max-width: 780px;
  margin: 24px auto 0;
  text-align: center;
}

.profile-recovery-shell {
  display: grid;
  gap: 22px;
}

.profile-recovery-shell :where(a[href], button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--profile-recovery-focus-ring) !important;
  outline-offset: 3px;
}

.profile-recovery-shell .fx-btn {
  max-width: 100%;
  justify-content: center;
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

.profile-recovery-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  background: var(--card-2);
  color: var(--text-dim);
}
.profile-recovery-banner strong { color: var(--text-primary); }
.profile-recovery-banner.is-ok {
  border-color: color-mix(in srgb, var(--ok) 45%, var(--border));
  background: color-mix(in srgb, var(--ok) 9%, var(--card));
}
.profile-recovery-banner.is-error {
  border-color: color-mix(in srgb, var(--err) 45%, var(--border));
  background: color-mix(in srgb, var(--err) 9%, var(--card));
}

.profile-recovery-device {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}
.profile-recovery-device > div {
  min-width: 0;
  padding: 16px;
  background: var(--card-2);
}
.profile-recovery-label {
  display: block;
  margin-bottom: 4px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.profile-recovery-value {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text-primary);
  font-weight: 600;
}

.profile-recovery-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.profile-recovery-actions form { margin: 0; }

.profile-recovery-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.profile-recovery-stat {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-2);
}
.profile-recovery-stat strong {
  display: block;
  margin-top: 3px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 21px;
}

.profile-recovery-section {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.profile-recovery-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.profile-recovery-section-head h2 { font-size: 20px; }
.profile-recovery-section-head p {
  margin-top: 4px;
  color: var(--text-dim);
  font-size: 14px;
}

.profile-recovery-list {
  display: grid;
  gap: 10px;
}
.profile-recovery-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.profile-recovery-row:first-child {
  padding-top: 0;
  border-top: 0;
}
.profile-recovery-row-title {
  color: var(--text-primary);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.profile-recovery-row-meta {
  margin-top: 4px;
  color: var(--text-dim);
  font-size: 13px;
}

.profile-recovery-empty {
  padding: 20px;
  border: 1px dashed var(--border-hi);
  border-radius: var(--radius);
  color: var(--text-dim);
  text-align: center;
}

.profile-recovery-danger {
  border-color: color-mix(in srgb, var(--err) 34%, var(--border));
}
.profile-recovery-danger .fx-input { max-width: 360px; }

@media (max-width: 760px) {
  .profile-recovery-device,
  .profile-recovery-stats { grid-template-columns: 1fr 1fr; }
  .profile-recovery-section-head { display: block; }
  .profile-recovery-section-head .profile-recovery-actions { margin-top: 12px; }
}
@media (max-width: 520px) {
  .profile-recovery-device,
  .profile-recovery-stats { grid-template-columns: 1fr; }
  .profile-recovery-row { grid-template-columns: 1fr; }
  .profile-recovery-row .profile-recovery-actions { margin-top: 0; }
}
@media (max-width: 360px) {
  .profile-recovery-actions,
  .profile-recovery-actions form { width: 100%; }
  .profile-recovery-actions .fx-btn { width: 100%; }
}

/* ---- Aircraft library hub (/aircraft, WEB-0017) ---- */
.fx-ah-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.fx-ah-card { min-width: 0; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform .15s ease-out, border-color .15s, box-shadow .15s; }
.fx-ah-card:hover { transform: translateY(-2px); border-color: var(--accent-soft); box-shadow: var(--shadow); }
.fx-ah-card-link { display: flex; flex-direction: column; flex: 1 1 auto; color: var(--fg); }
.fx-ah-card-media { display: block; position: relative; aspect-ratio: 3 / 2; background: var(--card-2); }
.fx-ah-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fx-ah-card-media-empty { display: flex; align-items: center; justify-content: center; color: var(--accent); }
.fx-ah-card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; flex: 1 1 auto; }
.fx-ah-card-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.fx-ah-card-link:hover .fx-ah-card-title { color: var(--accent); }
.fx-ah-release-badge { align-self: flex-start; padding: 3px 8px; border: 1px solid rgba(79, 156, 255, .35); border-radius: 999px; background: rgba(79, 156, 255, .08); color: var(--accent); font-size: 11px; font-weight: 650; letter-spacing: .01em; }
.fx-ah-card-meta { color: var(--fg-mute); font-size: 12px; }
.fx-ah-attrib { color: var(--fg-faint); font-size: 11px; line-height: 1.4; }
.fx-ah-attrib a { color: inherit; text-decoration: underline; }
/* Opening act: the aircraft as a cinematic hero band — title, feel
   signature, and identity facts composed over the photograph. */
.fx-ah-head { margin-bottom: 16px; }
.fx-ah-release-banner { margin: 12px 0 18px; }
/* padding: 0 beats the global marketing `section` vertical padding. */
.fx-ah-heroband { position: relative; padding: 0; border-radius: 14px; overflow: hidden; background: var(--card-2); border: 1px solid var(--border); }
.fx-ah-heroband > img { display: block; width: 100%; height: 420px; object-fit: cover; }
.fx-ah-hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 10, 16, .84) 0%, rgba(7, 10, 16, .42) 42%, rgba(7, 10, 16, .06) 68%, transparent 100%); }
.fx-ah-hero-attrib { position: absolute; top: 12px; right: 14px; padding: 3px 10px; border-radius: 999px; background: rgba(7, 10, 16, .45); backdrop-filter: blur(4px); font-size: 10.5px; color: rgba(255, 255, 255, .78); }
.fx-ah-hero-attrib a { color: inherit; text-decoration: underline; }
.fx-ah-hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 26px 20px; }
.fx-ah-hero-title { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; color: #fff; text-shadow: 0 1px 12px rgba(7, 10, 16, .4); }
.fx-ah-hero-sig { margin: 7px 0 12px; max-width: 68ch; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 10px rgba(7, 10, 16, .4); }
.fx-ah-hero-sig p { margin: 0; }
.fx-ah-hero-facts { display: flex; flex-wrap: wrap; gap: 5px 22px; font-size: 12.5px; color: rgba(255, 255, 255, .74); font-variant-numeric: tabular-nums; }
.fx-ah-hero-facts strong { color: #fff; font-weight: 600; }

/* Temporary owner tooling: the hero-candidate picker, tucked under the band. */

/* Chapter layout: sticky numbered table of contents on the left, the open
   chapter as the page column on the right. */
/* The chapter book — sidebar plus page column — is one self-contained white
   sheet against the page; the panels inside it are flattened so sidebar and
   content read as a single document. */
.fx-ah-book { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 18px 26px; align-items: start; margin-top: 18px; background: var(--card); border: 1px solid var(--hairline); border-radius: 14px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px rgba(15, 23, 42, .08); padding: 22px 24px; }
.fx-ah-chapters { position: sticky; top: calc(var(--nav-h) + 16px); display: flex; flex-direction: column; gap: 2px; }
.fx-ah-chapters a { display: flex; align-items: baseline; gap: 10px; padding: 7px 12px; border-left: 2px solid var(--border); color: var(--fg-mute); font-size: 13px; font-weight: 500; text-decoration: none; transition: color .12s, border-color .12s, background .12s; }
.fx-ah-chapters a:hover { color: var(--accent); border-left-color: var(--accent-soft); background: color-mix(in srgb, var(--accent) 5%, transparent); }
.fx-ah-chapters a.is-active { color: var(--fg); border-left-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); font-weight: 600; }
.fx-ah-chapter-no { flex: none; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--fg-faint); }
.fx-ah-chapters a.is-active .fx-ah-chapter-no { color: var(--accent); }
.fx-ah-bookpage { min-width: 0; border-left: 1px solid var(--border); padding-left: 26px; }
/* Chapter panels toggle with the hidden attribute; explicit display rules
   on these sections would otherwise win the cascade over [hidden]. */
[data-ah-panel][hidden] { display: none; }

.fx-ah-sechead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fx-ah-sechead .fx-sec-title { margin-bottom: 0; }
.fx-ah-sechead + .fx-ah-sub { margin-top: 8px; }
.fx-ah-starterline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fx-ah-starterline > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fx-ah-starterline span { color: var(--fg-mute); font-size: 12.5px; }
.fx-ah-starterline .fx-btn { flex: none; }
.fx-ah-section { margin-bottom: 14px; padding: 16px 20px 18px; }
/* Inside the book sheet the panels lose their own card chrome. */
.fx-ah-book .fx-ah-section { background: transparent; border: 0; border-radius: 0; padding: 0; margin-bottom: 20px; }
.fx-ah-book .fx-ah-section:last-child { margin-bottom: 0; }

/* Subsections inside an act: separated by a hairline, titled at h3 weight. */
.fx-ah-subsec { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hairline); scroll-margin-top: calc(var(--nav-h) + 16px); }
.fx-ah-subsec-h { font-size: 16px; font-weight: 650; margin: 0 0 8px; }
.fx-ah-subsec.fx-ah-corrections { border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); background: color-mix(in srgb, var(--accent) 4%, var(--card)); border-radius: 10px; padding: 16px 18px; }

/* Official-data fact sheet: a ruled grid — hairline separators via the
   1px-gap-over-line-background technique, even column counts at every
   breakpoint so no cell straggles. */
.fx-ah-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 0 6px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; }
.fx-ah-fact { display: flex; flex-direction: column; gap: 2px; background: var(--card); padding: 11px 14px 12px; }
.fx-ah-fact dt { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-faint); }
.fx-ah-fact dd { margin: 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fx-ah-facts-src { margin: 0 2px 16px; font-size: 11px; color: var(--fg-faint); }
@media (max-width: 1000px) { .fx-ah-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* Full-profile walkthrough rows. Evidence-driven rows carry the accent. */
.fx-ah-walk { display: flex; flex-direction: column; gap: 10px; }
.fx-ah-walk-row { border: 1px solid color-mix(in srgb, var(--border) 60%, transparent); border-radius: 8px; padding: 9px 12px; }
.fx-ah-walk-row.is-evidence { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 4%, transparent); }
.fx-ah-walk-teach { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--fg-mute); }
.fx-ah-walk-why { margin-top: 6px; }
.fx-ah-walk-mark { background: color-mix(in srgb, var(--accent) 12%, transparent); color: inherit; border-radius: 3px; padding: 0 3px; }
.fx-ah-walk-whynote { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; }
.fx-ah-walk-whynote span { font-weight: 650; color: var(--fg-dim); }
.fx-ah-walk-sup { margin-top: 7px; padding-top: 6px; border-top: 1px dashed var(--hairline); font-size: 12px; color: var(--fg-faint); }
.fx-ah-walk-sup b { font-weight: 600; color: var(--fg-mute); }
.fx-ah-walk-dir { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--fg-mute); }
.fx-ah-dir-up { font-weight: 650; color: var(--ok); }
.fx-ah-dir-dn { font-weight: 650; color: var(--fg-faint); }
.fx-ah-section .fx-sec-title { margin-bottom: 10px; }
.fx-ah-md { font-size: 14.5px; line-height: 1.6; }
.fx-ah-md h1 { font-size: 18px; margin: 0 0 10px; }
.fx-ah-md h2 { font-size: 16px; margin: 18px 0 8px; }
.fx-ah-md h3 { font-size: 15px; margin: 14px 0 6px; }
.fx-ah-md p, .fx-ah-md ul, .fx-ah-md ol { margin: 0 0 10px; }
.fx-ah-md li { margin: 0 0 4px; }
.fx-ah-md code { font-family: var(--font-mono); font-size: 12.5px; }
.fx-ah-md table { border-collapse: collapse; margin: 0 0 12px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.fx-ah-md th, .fx-ah-md td { padding: 5px 10px; border: 1px solid var(--border); white-space: nowrap; }
.fx-ah-md th { background: var(--card-2); text-align: left; }
.fx-ah-scroll { overflow-x: auto; }
/* padding: 0 beats the global marketing `section` vertical padding — the
   community block was silently carrying 96px above and below. */
.fx-ah-community { margin-top: 8px; padding: 24px 0 0; }
.fx-ah-corrections { margin-top: 18px; border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); background: color-mix(in srgb, var(--accent) 4%, var(--card)); }
.fx-ah-corr-title { display: flex; align-items: center; gap: 10px; font-size: 16px; margin: 2px 0 6px; }
.fx-ah-corr-title svg { color: var(--accent); flex: none; }
.fx-ah-corr-count { color: var(--fg-mute); font-size: 13px; margin: 0 0 10px; }
.fx-ah-disc-meta { color: var(--fg-mute); font-size: 13px; margin: 0 0 12px; }
.fx-ah-disc-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.fx-ah-disc-post { border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; background: var(--card-2); }
.fx-ah-disc-head { display: flex; gap: 10px; align-items: baseline; font-size: 12.5px; color: var(--fg-faint); margin-bottom: 4px; }
.fx-ah-disc-author { font-weight: 600; color: var(--fg-mute); }
.fx-ah-disc-body { font-size: 13.5px; line-height: 1.55; color: var(--fg-mute); overflow-wrap: anywhere; }
.fx-ah-disc-start { display: inline-block; }
.fx-ah-corr-form { display: flex; flex-direction: column; gap: 12px; }

/* Schema-3 structured page (WEB-0017 W3). Prose measures cap at ~70ch;
   tables and the mix matrix keep their own horizontal-scroll containers. */
.fx-ah-toolbar { margin: 0 0 18px; }
.fx-ah-noresults { margin-top: 4px; }
/* The toolbar filters with the hidden attribute; explicit display rules on
   these elements would otherwise win the cascade over [hidden]. */
.fx-ah-card[hidden], .fx-ah-noresults[hidden] { display: none; }
.fx-ah-card .fx-ah-attrib { border-top: 1px solid color-mix(in srgb, var(--border) 55%, transparent); padding: 7px 16px 9px; }
.fx-ah-card-class { position: absolute; top: 8px; left: 8px; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: .03em; color: #fff; background: rgba(10, 14, 20, .55); backdrop-filter: blur(3px); pointer-events: none; }
.fx-ah-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.fx-ah-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: var(--fg-mute); font-size: 12px; white-space: nowrap; }
.fx-ah-signature { margin-top: 10px; }
.fx-ah-signature p { margin: 0; }
/* Anchored sections land clear of the sticky site nav. */
.fx-ah-section, .fx-ah-community { scroll-margin-top: calc(var(--nav-h) + 16px); }
.fx-ah-section .fx-lede { max-width: none; }
.fx-ah-sub { color: var(--fg-mute); font-size: 14px; line-height: 1.5; margin: 0 0 10px; }
.fx-ah-section .fx-lede { font-size: 14.5px; line-height: 1.55; margin-top: 0; }

/* Confidence badges. Text stays in ink tokens; the tint carries the tier. */
.fx-ah-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; border: 1px solid var(--border); color: var(--fg-mute); background: var(--card-2); }
.fx-ah-badge-official { border-color: color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.fx-ah-badge-commentary { border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.fx-ah-badge-pilot-report { border-color: color-mix(in srgb, var(--accent) 25%, transparent); }
.fx-ah-badge-uncited { border-style: dashed; }

/* Claims */
/* Claim–evidence ledger: what we assert on the left, the evidence it
   rests on (quote + source + confidence stamp) as one block on the right. */
.fx-ah-claims { display: flex; flex-direction: column; gap: 14px; }
.fx-ah-claims-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 28px; padding-bottom: 7px; border-bottom: 1px solid var(--border); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-faint); }
.fx-ah-claim { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 6px 28px; align-items: start; scroll-margin-top: calc(var(--nav-h) + 16px); }
.fx-ah-claim + .fx-ah-claim { border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent); padding-top: 14px; }
.fx-ah-claim-main { min-width: 0; }
.fx-ah-claim-no { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .09em; color: var(--accent); margin-bottom: 3px; }
.fx-ah-claim-main h3 { font-size: 16.5px; margin: 0 0 5px; }
/* The margin-top drops the box level with the claim TITLE (the number line
   above the title is 11px type + 3px gap), so the two columns read as one
   row instead of the box floating high. */
.fx-ah-evidence { min-width: 0; margin-top: 17px; border: 1px solid color-mix(in srgb, var(--border) 75%, transparent); border-left: 3px solid var(--accent-soft); background: var(--card-2); border-radius: 0 10px 10px 0; padding: 11px 14px 9px; }
.fx-ah-evidence blockquote { display: flex; gap: 8px; align-items: baseline; margin: 0; font-size: 14.5px; line-height: 1.55; font-style: italic; color: var(--fg); }
.fx-ah-evidence blockquote svg { flex: none; transform: translateY(2px); color: var(--accent); }
.fx-ah-evidence blockquote > span { min-width: 0; }
.fx-ah-evidence-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 7px; }
.fx-ah-evidence blockquote + .fx-ah-evidence-foot { padding-left: 22px; }
.fx-ah-evidence-src { min-width: 0; font-size: 12.5px; color: var(--fg-faint); }
.fx-ah-evidence-src a { color: var(--fg-mute); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: .15em; }
.fx-ah-evidence-src a:hover { color: var(--accent); text-decoration-color: var(--accent-soft); }
.fx-ah-evidence-foot .fx-ah-badge { flex: none; }
.fx-ah-correct { display: inline-flex; align-items: baseline; gap: 5px; margin-top: 10px; padding: 4px 12px; border: 1px solid var(--accent-soft); border-radius: 999px; background: color-mix(in srgb, var(--accent) 8%, var(--card)); color: var(--accent); font-size: 12px; font-weight: 600; text-decoration: none; transition: background .12s, border-color .12s; }
.fx-ah-correct:hover { background: color-mix(in srgb, var(--accent) 15%, var(--card)); border-color: var(--accent); }

/* Speeds */
.fx-ah-speeds { border-collapse: collapse; font-size: 12.5px; width: 100%; min-width: 540px; }
.fx-ah-speeds th, .fx-ah-speeds td { padding: 6px 10px; border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); text-align: left; vertical-align: top; }
.fx-ah-speeds thead th { color: var(--fg-faint); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.fx-ah-speeds th:nth-child(1) { width: 24%; }
.fx-ah-speeds th:nth-child(2) { width: 9%; }
.fx-ah-speeds th:nth-child(3) { width: 14%; }
.fx-ah-speed-meaning { display: block; color: var(--fg-faint); font-size: 12px; }
.fx-ah-kt { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; }
.fx-ah-speed-note { color: var(--fg-mute); font-size: 12.5px; }
.fx-ah-speed-src a { color: inherit; }

/* Implications */
.fx-ah-imps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fx-ah-imp { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: var(--card); min-width: 0; }
.fx-ah-imp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fx-ah-imp-val { color: var(--accent); font-weight: 600; font-size: 13px; }
.fx-ah-imp-path { color: var(--fg-faint); font-size: 11px; font-family: var(--font-mono); margin: 1px 0 6px; word-break: break-all; }
.fx-ah-imp .fx-ah-md { font-size: 13px; color: var(--fg-mute); }
.fx-ah-imp-claims { font-size: 12px; color: var(--fg-faint); display: flex; flex-wrap: wrap; gap: 6px; }
.fx-ah-imp-claims a { color: var(--fg-mute); text-decoration: underline; text-decoration-color: var(--border); }
.fx-ah-imp-claims a:hover { color: var(--accent); }

/* Mix matrix: single-hue magnitude bars scaled per row; sign carried by a
   second hue plus the printed minus sign. Values wear ink, never the hue. */
.fx-ah-mix-h { font-size: 13.5px; font-weight: 600; color: var(--fg-mute); margin: 16px 0 8px; }
.fx-ah-consts { margin-bottom: 4px; }
.fx-ah-mix { border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; width: 100%; table-layout: fixed; min-width: 640px; }
.fx-ah-mix th, .fx-ah-mix td { padding: 7px 8px; border-bottom: 1px solid color-mix(in srgb, var(--border) 55%, transparent); text-align: left; }
.fx-ah-mix thead th { color: var(--fg-faint); font-size: 11px; line-height: 1.25; vertical-align: bottom; }
.fx-ah-mix thead th:first-child { width: 140px; }
.fx-ah-mix tbody th { color: var(--fg-mute); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 14px; cursor: default; }
.fx-ah-mixcell { vertical-align: top; }
.fx-ah-mixval { display: block; color: var(--fg-mute); }
.fx-ah-bar { display: block; height: 4px; margin-top: 3px; max-width: 100%; border-radius: 2px; background: color-mix(in srgb, var(--accent) 65%, transparent); }
.fx-ah-bar.neg { background: color-mix(in srgb, var(--err) 60%, transparent); }

/* Airspeed-load curve (server-rendered SVG, theme-aware via tokens) */
.fx-ah-curve { margin: 0; max-width: 620px; }
.fx-ah-curve svg { width: 100%; height: auto; display: block; }
.fx-ah-curve-axis { stroke: var(--border); stroke-width: 1; }
.fx-ah-curve-line { stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.fx-ah-curve-dot { fill: var(--accent); stroke: var(--card); stroke-width: 2; }
.fx-ah-curve-t { fill: var(--fg-faint); font-size: 11px; font-variant-numeric: tabular-nums; }
.fx-ah-curve figcaption { color: var(--fg-faint); font-size: 12px; margin-top: 4px; }

/* Starter history */
.fx-ah-change { border-top: 1px solid var(--border); padding: 12px 0 4px; }
.fx-ah-change:first-of-type { border-top: 0; padding-top: 0; }
.fx-ah-change-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.fx-ah-change-date { color: var(--fg-faint); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.fx-ah-change-credits { color: var(--fg-mute); font-size: 12.5px; }
.fx-ah-difftable { border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; min-width: 460px; }
.fx-ah-difftable th, .fx-ah-difftable td { padding: 6px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.fx-ah-difftable thead th { color: var(--fg-faint); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.fx-ah-difftable td .fx-ah-imp-path { display: block; margin: 0; }

/* Help wanted + correction claim anchor */
.fx-ah-gaplist { margin: 0; padding-left: 20px; list-style: disc; font-size: 13.5px; color: var(--fg-mute); }
.fx-ah-gaplist li { margin: 0 0 6px; }
.fx-ah-gaplist p { margin: 0; display: inline; }
.fx-ah-anchor { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); border-radius: 8px; font-size: 13px; }
.fx-ah-anchor-lab { color: var(--fg-faint); flex: none; }
.fx-ah-anchor-claim { font-weight: 600; min-width: 0; }
.fx-ah-anchor-clear { margin-left: auto; color: var(--fg-faint); text-decoration: none; padding: 0 4px; }
.fx-ah-anchor-clear:hover { color: var(--err); }

@media (max-width: 900px) {
  .fx-ah-grid { grid-template-columns: 1fr 1fr; }
  .fx-ah-imps { grid-template-columns: 1fr; }
  .fx-ah-claims-cols { grid-template-columns: 1fr; }
  .fx-ah-claims-cols span + span { display: none; }
  .fx-ah-claim { grid-template-columns: minmax(0, 1fr); }
  .fx-ah-book { grid-template-columns: minmax(0, 1fr); }
  .fx-ah-bookpage { border-left: 0; padding-left: 0; }
  .fx-ah-chapters { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .fx-ah-chapters a { border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px; }
  .fx-ah-chapters a.is-active { border-color: var(--accent); }
  .fx-ah-heroband > img { height: 320px; }
  .fx-ah-hero-title { font-size: 24px; }
  .fx-ah-hero-content { padding: 0 18px 14px; }
  .fx-ah-pick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fx-ah-starterline { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .fx-ah-grid { grid-template-columns: minmax(0, 1fr); }
  .fx-ah-heroband > img { height: 240px; }
  .fx-ah-hero-sig { display: none; }
  .fx-ah-pick-grid { grid-template-columns: 1fr 1fr; }
}

/* ————— Home: aircraft library promo (replaced the 1.3 banner) ————— */
.home-aircraft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.home-aircraft-card { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--card); color: #fff; text-decoration: none; transition: transform .15s ease-out, border-color .15s, box-shadow .15s; }
.home-aircraft-card:hover { transform: translateY(-2px); border-color: var(--accent-soft); box-shadow: var(--shadow-lg); }
.home-aircraft-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.home-aircraft-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 12, 18, .82) 0%, rgba(8, 12, 18, .25) 45%, transparent 70%); }
.home-aircraft-name { position: absolute; left: 14px; right: 14px; bottom: 26px; z-index: 1; font-size: 15px; font-weight: 650; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.home-aircraft-class { position: absolute; left: 14px; bottom: 9px; z-index: 1; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.home-aircraft-cta { margin-top: 22px; justify-content: center; }
@media (max-width: 900px) { .home-aircraft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .home-aircraft-grid { grid-template-columns: 1fr; } }

/* Two-column nav dropdown for the aircraft menu. */
.nav-dd-menu.nav-dd-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; min-width: 440px; }
.nav-dd-menu.nav-dd-2col .nav-dd-all { grid-column: 1 / -1; border-bottom: 1px solid var(--hairline); margin-bottom: 4px; padding-bottom: 8px; }
.fx-ah-quote-note { margin: 0 0 10px; font-size: 12px; color: var(--fg-faint); font-style: italic; }

/* Profile upload: file-first preview with a page-wide, non-intercepting overlay. */
.profile-upload { margin: 20px 0; padding: 20px; }
.profile-upload .fx-dropzone { display: flex; flex-direction: column; gap: 10px; }
.profile-upload input[type=file] { max-width: 100%; }
.profile-upload-actions { display:flex; gap:12px; align-items:center; margin-top:12px; overflow-wrap:anywhere; }
#profile-overlay { position:fixed; inset:12px; z-index:10000; border:3px dashed #4388ff;
  border-radius:18px; background:rgba(15,30,55,.94); color:white; display:grid;
  place-items:center; text-align:center; padding:24px; font-size:clamp(22px,4vw,40px); pointer-events:none; }
#profile-overlay[hidden], #profile-upload [hidden], #profile-submit [hidden] { display:none; }
#profile-error { color:var(--danger, #c44949); }
.profile-preview-body { padding:16px; overflow-wrap:anywhere; }
.profile-preview-body p { white-space:pre-wrap; font-size:13px; }
.profile-meter { display:grid; grid-template-columns:1fr 80px; gap:10px; font-size:12px; margin:8px 0; }
.profile-meter meter { width:80px; }
#profile-json-details { margin-top:20px; }
#profile-json-details summary { cursor:pointer; padding:12px 0; }

.profile-upload input::file-selector-button { font:inherit; color:inherit;
  border:1px solid var(--hairline); background:var(--bg); border-radius:8px;
  padding:8px 14px; margin-right:10px; cursor:pointer; }

/* ---------- Pro page (/pro) ----------
   Hero copy above one full-window screenshot; feature rows alternate copy
   and a 4:3 screenshot in the shared .tile/.shot frame so every image has
   the same size and opens in the screenshot viewer. */
.pro-hero { padding-bottom: 72px; }
.pro-hero-copy { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.pro-hero-copy .eyebrow { margin-bottom: 14px; }
.pro-hero-copy .lede { max-width: 640px; margin: 0 auto 28px; }
.pro-hero-copy .cta-row { justify-content: center; }
.pro-platforms { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin: 10px 0 0; padding: 0; color: var(--text-dim); font-size: 15px; font-weight: 500; }
.pro-platforms li { display: inline-flex; align-items: center; gap: 8px; }
.pro-platforms img { display: block; width: 16px; height: 16px; }
.pro-hero-shot, .pro-shot { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--well); box-shadow: 0 28px 60px -30px rgba(0, 0, 0, 0.45); }
.pro-hero-shot .shot { aspect-ratio: 1280 / 949; border-bottom: none; }
.pro-shot .shot { aspect-ratio: 4 / 3; border-bottom: none; }
.pro-hero-shot .shot img, .pro-shot .shot img { object-fit: cover; object-position: center; }

.pro-loop-title { text-align: center; margin-bottom: 36px; }
.pro-loop-steps { list-style: none; counter-reset: pro-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; }
.pro-loop-steps li { counter-increment: pro-step; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }
.pro-loop-steps h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pro-loop-steps h3::before { content: counter(pro-step); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(79, 156, 255, 0.14); color: var(--brand); font-size: 13px; font-weight: 700; }
.pro-loop-steps p { color: var(--text-dim); line-height: 1.55; }

.pro-feature-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.pro-feature-grid.is-reversed { grid-template-columns: 6fr 5fr; }
.pro-feature-grid.is-reversed .pro-feature-copy { order: 1; }
.pro-feature-copy h2 { margin: 6px 0 14px; }
.pro-feature-copy > p { color: var(--text-dim); margin: 0 0 20px; line-height: 1.6; }

.pro-more h2 { text-align: center; margin-bottom: 32px; }
.pro-more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.pro-more-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }
.pro-more-card h3 { font-size: 18px; }
.pro-more-card p { color: var(--text-dim); line-height: 1.55; flex: 1; }
.pro-more-card a { color: var(--brand); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.pro-more-card a:hover { text-decoration: underline; }
.pro-more-card .pro-more-video { font-weight: 500; color: var(--text-dim); }
.pro-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(79, 156, 255, 0.14); color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle; }

.pro-windows-head { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.pro-windows-head h2 { margin-bottom: 10px; }
.pro-windows-head h2 img { display: inline-block; width: 24px; height: 24px; margin-right: 12px; vertical-align: -2px; }
.pro-windows-head p { color: var(--text-dim); }
.pro-windows-head .pro-windows-requirement { margin-top: 10px; color: var(--text-primary); font-weight: 600; }
.pro-windows-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 640px; margin: 0 auto; }
.pro-cert-reports { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding-top: 12px; border-top: 1px solid var(--border); }
.pro-cert-label { flex-basis: 100%; color: var(--text-dim); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pro-windows-foot { text-align: center; margin-top: 22px; }
.pro-windows-foot a { color: var(--brand); font-weight: 600; text-decoration: none; }
.pro-windows-foot a:hover { text-decoration: underline; }

/* /pro/buy: product shot and checklist beside a sticky purchase card, then
   feature tiles and the FAQ. Stacks below 960px. */
.pro-buy { padding-block: 48px 64px; }
.pro-buy-wrap { max-width: 1180px; }
.pro-buy-top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); grid-template-areas: "intro card" "shot card"; gap: 8px 40px; align-items: start; }
.pro-buy-intro { grid-area: intro; }
.pro-buy-shot { grid-area: shot; }
.pro-buy-intro h1 { font-size: 44px; line-height: 1.1; margin: 6px 0 12px; }
.pro-buy-intro .lede { max-width: 620px; margin-bottom: 18px; }
.pro-buy-intro .checklist { margin: 0 0 18px; }
.pro-buy-card { grid-area: card; position: sticky; top: calc(var(--nav-h) + 20px); display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08); }
.pro-buy-card .label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.pro-buy-price { color: var(--text-primary); font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pro-buy-price-note { margin: 0; color: var(--text-mute); font-size: 13.5px; line-height: 1.5; }
.pro-buy-supporter { margin: 0; padding: 10px 12px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--brand) 12%, var(--card)); color: var(--text-primary); font-size: 14px; line-height: 1.5; }
.pro-buy-notice { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.5; }
.pro-buy-form { margin-top: 6px; padding: 0; gap: 16px; }
.pro-buy-form .btn { width: 100%; }
.pro-buy-accept { display: flex; gap: 10px; align-items: flex-start; color: var(--text-dim); font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.pro-buy-accept input { width: 20px; height: 20px; margin-top: 0; accent-color: var(--brand); flex: 0 0 auto; }
.pro-buy-for { margin: 0; color: var(--text-mute); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.pro-buy-for a { color: var(--brand); font-weight: 600; text-decoration: none; }
.pro-buy-for a:hover { text-decoration: underline; }
.pro-buy-terms { padding-top: 12px; border-top: 1px solid var(--hairline); }
.pro-buy-terms summary { color: var(--text-dim); font-size: 13px; font-weight: 600; cursor: pointer; }
.pro-buy-terms[open] summary { margin-bottom: 8px; }
.pro-buy-terms p { margin: 0 0 8px; color: var(--text-dim); font-size: 13px; line-height: 1.55; }
.pro-buy-terms a { color: var(--brand); }
.pro-buy-features { padding-block: 56px; }
.pro-buy-features h2, .pro-buy-faq h2 { margin-bottom: 24px; }
.pro-buy-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pro-buy-feature { display: flex; flex-direction: column; gap: 8px; }
.pro-buy-feature .pro-shot { margin-bottom: 8px; }
.pro-buy-feature h3 { font-size: 19px; margin: 0; }
.pro-buy-feature p { margin: 0; color: var(--text-dim); line-height: 1.55; }
.pro-buy-all-features { margin-top: 28px; }
.pro-buy-faq { padding-block: 56px 48px; }
.pro-buy-faq .faq-list { max-width: 820px; }
/* /pro/thanks: thank-you hero, numbered next steps, quiet help line. */
.pro-thanks .confirm-hero { text-align: center; }
.pro-thanks .confirm-hero h1 { text-wrap: balance; }
.pro-thanks .confirm-hero .lede { margin: 10px auto 0; }
.pro-thanks-card { padding: 26px 28px; }
.pro-thanks-card > p { margin: 0 0 16px; color: var(--text-dim); line-height: 1.6; }
.pro-thanks-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.pro-thanks-steps li { counter-increment: step; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; row-gap: 12px; align-items: start; color: var(--text-primary); font-size: 15.5px; line-height: 1.55; }
.pro-thanks-steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 14%, var(--card)); border: 1px solid color-mix(in srgb, var(--brand) 40%, var(--border)); color: var(--brand); font-size: 13px; font-weight: 700; }
.pro-thanks-steps li span { padding-top: 3px; }
.pro-thanks-steps li .btn { grid-column: 2; justify-self: start; }
.pro-thanks-help { margin-top: 18px; color: var(--text-mute); font-size: 13.5px; line-height: 1.6; text-align: center; }
.pro-thanks-help a { color: var(--brand); }
.pro-buy-seller { margin-top: 36px; color: var(--text-mute); font-size: 13px; line-height: 1.6; text-align: center; }
.pro-buy-seller a { color: var(--brand); }
@media (max-width: 960px) {
  .pro-buy-top { grid-template-columns: 1fr; grid-template-areas: "intro" "card" "shot"; gap: 24px; }
  .pro-buy-card { position: static; }
  .pro-buy-feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pro-buy-intro h1 { font-size: 34px; }
  .pro-buy-card { padding: 22px 20px; }
  .pro-buy-price { font-size: 40px; }
}

.pro-join-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.pro-join h2 { margin: 6px 0 12px; }
.pro-join .lede { margin-bottom: 14px; }
.pro-join p { margin-bottom: 10px; }
.pro-join-form .small { margin-top: 10px; }
:target { scroll-margin-top: calc(var(--nav-h) + 24px); }

@media (max-width: 900px) {
  .pro-feature-grid, .pro-feature-grid.is-reversed, .pro-join-grid { grid-template-columns: 1fr; gap: 32px; }
  .pro-feature-grid.is-reversed .pro-feature-copy { order: 0; }
  .pro-loop-steps, .pro-windows-grid { grid-template-columns: 1fr; }
  .pro-hero-copy { margin-bottom: 32px; }
}

/* Public built-in catalogue: bounded SSR pages and ordinary GET filters. */
.fx-builtin { margin: 26px 0 48px; }
.fx-builtin-filters { align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.fx-builtin-filters .fx-lfield { min-width: 170px; flex: 1 1 170px; }
.fx-builtin-filters .grow { flex: 2 1 280px; }
.fx-builtin-filters .fx-select { max-width: 100%; width: 100%; }
.fx-builtin-exact { flex: 1 1 100%; color: var(--fg-mute); }
.fx-builtin-exact summary { cursor: pointer; padding: 8px 0; }
.fx-builtin-exact-fields { display: flex; gap: 14px; flex-wrap: wrap; padding: 10px 0; }
.fx-builtin-actions,.fx-builtin-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-builtin-resulthead { margin: 22px 0; }
.fx-builtin-note { color: var(--fg-mute); font-size: 13px; line-height: 1.65; }
.fx-builtin-family { margin: 18px 0 26px; }
.fx-builtin-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.fx-builtin-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; min-width: 0; }
.fx-builtin-card h3,.fx-builtin-card p { margin: 0; }
.fx-builtin-card h3 a { color: var(--fg); }
.fx-builtin-card h3 a:hover { color: var(--accent); }
.fx-builtin-card-head,.fx-builtin-card-foot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fx-builtin-card-foot { margin-top: auto; padding-top: 8px; justify-content: space-between; color: var(--fg-mute); font-size: 11px; }
.fx-builtin-kind { color: var(--accent); }
.fx-builtin-chip { display: inline-flex; border: 1px solid var(--border); padding: 4px 8px; border-radius: 999px; font-size: 11px; line-height: 1.3; color: var(--fg-mute); }
.fx-builtin-sims { font-size: 12px; color: var(--fg-mute); }
.fx-builtin-hero { margin: 0 0 24px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--card); }
.fx-builtin-hero img { width: 100%; height: 320px; object-fit: cover; display: block; }
.fx-builtin-hero figcaption { font-size: 11px; padding: 9px 14px; color: var(--fg-mute); }
.fx-builtin-detail { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 24px; align-items: start; }
.fx-builtin-aside { padding: 20px; position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; }
.fx-builtin-aside nav { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--border); padding-top: 14px; }
.fx-builtin-content { min-width: 0; }
.fx-builtin-content .fx-ah-section { margin-top: 0; margin-bottom: 20px; scroll-margin-top: 90px; }
.fx-builtin-prose { white-space: pre-line; max-width: 75ch; }
.fx-builtin-tablewrap { overflow-x: auto; margin: 18px 0; }
.fx-builtin-values { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.65; text-align: left; }
.fx-builtin-values caption { text-align: left; font-weight: 600; margin-bottom: 10px; }
.fx-builtin-values th,.fx-builtin-values td { vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.fx-builtin-values th { font-weight: 600; }
.fx-builtin-values small { display: block; color: var(--fg-mute); font-weight: 400; overflow-wrap: anywhere; }
.fx-builtin-values td { min-width: 90px; }
.fx-builtin-source { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; margin-right: 12px; }
.fx-builtin-fact { padding: 6px 0 16px; border-bottom: 1px solid var(--border); }
.fx-builtin-review { border-bottom: 1px solid var(--border); padding: 13px 0; }
.fx-builtin-review summary { cursor: pointer; }
.fx-builtin-review summary span { float: right; color: var(--fg-mute); font-size: 12px; }
.fx-builtin-integrity { padding: 18px 20px; }
.fx-builtin-integrity summary { cursor: pointer; }
.fx-builtin-integrity dd { overflow-wrap: anywhere; margin: 4px 0 14px; }
@media (max-width: 1050px) { .fx-builtin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 700px) { .fx-builtin-grid,.fx-builtin-detail { grid-template-columns: minmax(0,1fr); } .fx-builtin-aside { position: static; } .fx-builtin-hero img { height: 220px; } .fx-builtin-filters .fx-lfield { min-width: 0; flex-basis: 100%; } .fx-builtin-values th,.fx-builtin-values td { padding: 8px; } }
.fx-builtin-aside { min-width: 0; }
.fx-builtin-aside .fx-btn { white-space: normal; line-height: 1.45; justify-content: center; text-align: center; max-width: 100%; }
.fx-builtin-aside .fx-btn svg { flex: none; }
.fx-builtin-chip:empty { display: none; }
.fx-builtin-review summary { display: list-item; }
.fx-builtin-review summary span { float: none; display: inline; margin-left: 12px; }
.fx-builtin-hero figcaption { overflow-wrap: anywhere; }

.fx-builtin-all-settings { border: 1px solid var(--border); border-radius: 10px; padding: 14px; background: var(--well); }
.fx-builtin-all-settings summary { font-weight: 600; color: var(--fg); }

.fx-builtin-source { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 700px) { .fx-builtin-values td.fx-mono { min-width: 0; width: 60px; } .fx-builtin-values th[scope=row] { width: 24%; } }

/* Published aircraft library reuses the original aircraft hub visual language. */
.fx-al-card-summary{display:block;color:var(--fg-mute);font-size:13px;line-height:1.55;margin:6px 0 8px}
.fx-al-no-photo,.fx-al-hero-empty{background:radial-gradient(ellipse at 80% 10%,color-mix(in srgb,var(--accent) 22%,transparent),transparent 65%),linear-gradient(140deg,var(--card-2),var(--bg));}
.fx-al-no-photo{display:flex;align-items:center;justify-content:center;padding:24px;position:relative}
.fx-al-designation{font:600 clamp(20px,3vw,34px)/1.2 var(--font-mono);letter-spacing:.04em;color:var(--fg-mute);text-align:center;overflow-wrap:anywhere}
.fx-al-hero-empty{min-height:300px;display:flex;align-items:end}
.fx-al-hero-empty .fx-ah-hero-content{position:static;padding:32px}
.fx-al-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:24px 0}
.fx-al-facts>div{padding:10px 0;border-bottom:1px solid var(--border)}
.fx-al-facts dt{color:var(--fg-faint);font-size:12px;margin-bottom:3px}.fx-al-facts dd{margin:0;font-size:14px}.fx-al-facts small,.fx-al-sources small{display:block;color:var(--fg-faint);font-size:12px}
.fx-al-profile-picker{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:18px 0 24px}.fx-al-profile-picker .grow{flex:1;min-width:0}.fx-al-profile-picker select{width:100%;max-width:100%}
.fx-al-profile-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px}.fx-al-profile-heading h3{margin:0}.fx-al-use{margin:16px 0 24px}.fx-al-source{font-size:12px;margin-right:12px}.fx-al-sources{padding-left:20px;line-height:1.65}.fx-al-sources li{margin:8px 0;scroll-margin-top:90px}
.fx-al-technical{margin:20px 0;padding:14px;border:1px solid var(--border);border-radius:10px;color:var(--fg-mute)}.fx-al-technical summary{cursor:pointer;font-weight:600;color:var(--fg)}.fx-al-technical dd{overflow-wrap:anywhere}.fx-al-estimate{margin-top:24px}
@media(max-width:640px){.fx-al-facts{grid-template-columns:1fr}.fx-al-hero-empty{min-height:240px}.fx-al-profile-picker{display:block}.fx-al-profile-picker button{margin-top:10px}.fx-al-card-summary{font-size:13px}}

.fx-al-browse{padding:0}
.fx-al-browse .fx-ah-card-media{aspect-ratio:3/2;overflow:hidden}
.fx-al-browse .fx-ah-card-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* Aircraft library discovery and the quiet three-chapter reading menu. */
.fx-al-book .fx-ah-chapters{gap:12px}
.fx-al-book .fx-ah-chapters a{padding:12px 14px;border:1px solid var(--border);border-radius:8px;line-height:1.5;color:var(--fg-mute);background:transparent}
.fx-al-book .fx-ah-chapters a:hover{color:var(--fg);border-color:var(--fg-faint);background:var(--card-2)}
.fx-al-book .fx-ah-chapters a.is-active{color:var(--fg);border-color:var(--fg-faint);background:var(--card-2);font-weight:650}
.fx-al-book .fx-sec-title{font-size:21px;text-transform:none;letter-spacing:normal;color:var(--fg);margin:0 0 16px}
.fx-al-book .fx-ah-walk-row.is-evidence{border:1px solid color-mix(in srgb,var(--border) 60%,transparent);background:var(--card-2)}
.fx-al-browse .fx-builtin-resulthead{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.fx-al-browse .fx-builtin-resulthead p{margin:0}
.fx-al-order{display:inline-flex;border:1px solid var(--border);border-radius:9px;padding:3px;gap:3px;background:var(--card)}
.fx-al-order a{padding:7px 13px;border-radius:6px;color:var(--fg-mute);font-size:13px;font-weight:600;text-decoration:none}
.fx-al-order a[aria-current="true"]{background:var(--card-2);color:var(--fg)}
.fx-al-order a:hover{color:var(--accent)}
.fx-al-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:30px 0 8px}
.fx-al-page-list{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;list-style:none;margin:0;padding:0}
.fx-al-page-number{min-width:40px;height:40px;padding:8px;justify-content:center;font-variant-numeric:tabular-nums}
.fx-al-page-number.is-current{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 2px 6px color-mix(in srgb,var(--accent) 22%,transparent)}
.fx-al-page-gap{display:inline-block;padding:0 2px;color:var(--fg-faint)}
.fx-al-page-dir{min-width:100px;justify-content:center}
.fx-al-page-dir.is-disabled{opacity:.45;cursor:default}
.fx-al-page-summary{flex-basis:100%;text-align:center;font-size:12px;color:var(--fg-faint)}
@media(max-width:640px){.fx-al-book .fx-ah-chapters{display:grid;grid-template-columns:1fr;gap:8px}.fx-al-book .fx-ah-chapters a{border-radius:8px;padding:10px 12px}.fx-al-pagination{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fx-al-page-list{grid-column:1/-1;grid-row:2;gap:5px}.fx-al-page-dir{grid-row:1;min-width:0}.fx-al-page-number{min-width:36px;height:38px}.fx-al-page-summary{grid-column:1/-1}.fx-al-order{margin-top:4px}}

/* Aircraft-book reading: prose and adjacent evidence share one quiet rhythm. */
.fx-al-reading{margin-top:2rem}.fx-al-reading-item{display:grid;grid-template-columns:minmax(0,2fr) minmax(12rem,1fr);gap:2rem;padding:1.75rem 0;border-top:1px solid var(--border)}.fx-al-reading-item h3{font-size:1.15rem;line-height:1.4;margin:0 0 .65rem}.fx-al-reading-item p{line-height:1.7;margin:.65rem 0;white-space:pre-line}.fx-al-evidence{font-size:.85rem;line-height:1.6;display:flex;flex-direction:column;gap:.7rem;overflow-wrap:anywhere}.fx-al-evidence p{margin:0}.fx-al-references{margin-top:2rem;border-top:1px solid var(--border);padding-top:1rem}.fx-al-references summary{cursor:pointer;font-weight:600;padding:.5rem 0}.fx-al-reference-count{font-weight:400;font-variant-numeric:tabular-nums;margin-left:.35rem}.fx-al-sources li{position:relative;padding:.5rem 0;overflow-wrap:anywhere}.fx-al-reference-anchor{scroll-margin-top:7rem}.fx-al-directions{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;font-size:.88rem;line-height:1.6}.fx-al-directions p{margin:.4rem 0}.fx-al-teaching{line-height:1.7;margin:.7rem 0}.fx-al-book .fx-ah-walk-row{padding:1.25rem 0}.fx-al-book .fx-ah-imp-head{align-items:baseline}.fx-al-book .fx-ah-walk-why{line-height:1.6}.fx-al-references:has(:target){display:block}@media(max-width:700px){.fx-al-reading-item,.fx-al-directions{grid-template-columns:1fr;gap:.8rem}.fx-al-evidence{padding-left:1rem;border-left:2px solid var(--border)}}

.fx-al-book .fx-ah-walk-row{border:0;border-bottom:1px solid var(--border);border-radius:0;padding:1.25rem 0;margin:0}.fx-al-book .fx-ah-walk-row:last-child{border-bottom:0}.fx-al-book .fx-ah-imp-val{font-size:1rem;font-weight:600}.fx-al-specification-scope{font-size:.85rem;color:var(--fg-muted);margin:1.2rem 0 .2rem}.fx-al-facts dd .fx-al-source{margin-left:.25rem}

/* Bounded home-page aircraft wall. Its pagination works without JavaScript. */
.aircraft-wall-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 28px 0 18px; }
.aircraft-wall-grid { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 14px; }
.aircraft-wall-card { display: block; min-width: 0; aspect-ratio: 3 / 2; background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; color: var(--fg); text-decoration: none; }
.aircraft-wall-card img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--bg); }
.aircraft-wall-card:hover,.aircraft-wall-card:focus-visible { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); outline: none; }
.aircraft-wall-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.aircraft-wall-pagination .is-disabled { opacity: .45; }
.aircraft-wall-preview { position: fixed; z-index: 1000; width: min(380px,calc(100vw - 24px)); margin: 0; padding: 8px; border-radius: 12px; background: var(--card); color: var(--fg); border: 1px solid var(--border); box-shadow: var(--shadow-lg); pointer-events: none; }
.aircraft-wall-preview img { width: 100%; aspect-ratio: 3 / 2; max-height: 235px; object-fit: cover; border-radius: 8px; display: block; }
.aircraft-wall-preview figcaption { padding: 10px 5px 4px; }
.aircraft-wall-preview small { display: block; margin-top: 5px; color: var(--fg-mute); }
.nav-aircraft-count { font-size: .75em; margin-inline-start: 7px; color: var(--brand); font-variant-numeric: tabular-nums; }
@media(max-width: 1200px) { .aircraft-wall-grid { grid-template-columns: repeat(6,minmax(0,1fr)); } }
@media(max-width: 900px) { .aircraft-wall-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media(max-width: 540px) { .aircraft-wall-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } }

/* Without the theme script, the noscript image supplies the accessible fallback. */
html:not([data-site-theme]) picture[data-theme-picture] { display: none; }

/* Pro downloads: a short heading with links back to Pro, then one panel with
   three equal installer cards (same button width) and their hashes. */
.pro-downloads { padding: 56px 0 80px; background: var(--section-bg); }
.pro-downloads > .wrap { max-width: 1100px; }
.pro-downloads-intro { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; margin-bottom: 40px; }
.pro-downloads-heading { display: grid; gap: 14px; align-content: start; }
.pro-downloads-heading .eyebrow { color: var(--brand); margin: 0; }
.pro-downloads h1 { font-size: clamp(28px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.pro-downloads .lede { font-size: 17px; line-height: 1.65; color: var(--text-dim); margin: 0; max-width: 46ch; }
.pro-downloads-entitlement { font-size: 14px; font-weight: 650; color: var(--text-primary); margin: 0; }
.pro-downloads-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.pro-downloads a:not(.btn) { color: var(--brand); text-underline-offset: 4px; }
.pro-downloads a:not(.btn):hover { text-decoration: underline; }
.pro-downloads-product { min-width: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.pro-downloads-product img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.pro-downloads-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.pro-downloads-release { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-dim); background: var(--card-2); }
.pro-downloads-release strong { margin-left: 8px; color: var(--text-primary); font-weight: 650; font-family: var(--font-mono); }
.pro-downloads-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pro-downloads-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; min-width: 0; }
.pro-downloads-card + .pro-downloads-card { border-left: 1px solid var(--hairline); }
.pro-downloads-card-head { display: flex; align-items: center; gap: 14px; }
.pro-downloads-icon { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; background: var(--card-2); color: var(--text-dim); }
.pro-downloads-icon svg { width: 24px; height: 24px; }
.pro-downloads-card h2 { font-size: 18px; line-height: 1.3; margin: 0 0 2px; }
.pro-downloads-package { color: var(--text-dim); font-size: 13px; margin: 0; }
.pro-downloads-note { margin: 0; color: var(--text-dim); font-size: 13px; line-height: 1.55; }
.pro-downloads-card .btn { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 16px; font-size: 15px; white-space: nowrap; }
.pro-downloads-card .btn svg { flex-shrink: 0; }
.pro-downloads-hash { display: grid; gap: 4px; font-size: 12px; color: var(--text-mute); }
.pro-downloads-hash span { font-weight: 650; letter-spacing: .04em; }
.pro-downloads-hash code { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.5; color: var(--text-dim); word-break: break-all; user-select: all; }
.pro-downloads-footer { display: grid; gap: 14px; padding: 20px 24px; border-top: 1px solid var(--border); background: var(--card-2); font-size: 14px; }
.pro-downloads-license { display: flex; align-items: flex-start; gap: 12px; }
.pro-downloads-license > svg { flex-shrink: 0; color: var(--text-faint); }
.pro-downloads-license p { margin: 0 0 4px; color: var(--text-dim); line-height: 1.6; }
.pro-downloads-also { margin: 0; }
.pro-downloads-panel > [role="status"] { padding: 28px; }
@media (max-width: 900px) {
  .pro-downloads-grid { grid-template-columns: 1fr; }
  .pro-downloads-card + .pro-downloads-card { border-left: 0; border-top: 1px solid var(--hairline); }
  .pro-downloads-card .btn { width: auto; align-self: start; }
}
@media (max-width: 760px) {
  .pro-downloads { padding: 36px 0 56px; }
  .pro-downloads-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .pro-downloads-release, .pro-downloads-footer, .pro-downloads-card { padding: 18px; }
  .pro-downloads-card .btn { width: 100%; }
}

/* The Pro hero launches the first-party Avalonia WASM application on demand. */
.pro-demo { margin-top: 2rem; border: 1px solid var(--border-hi); border-radius: 18px; overflow: hidden; background: var(--card); color: var(--fg); }
.pro-demo-stage { position: relative; aspect-ratio: 1280 / 949; min-height: 300px; background: var(--well); }
.pro-demo-preview { position: absolute; inset: 0; }
.pro-demo-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pro-demo-preview .theme-aware-image, .pro-demo-preview picture { height: 100%; }
.pro-demo-invitation { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.25rem; background: linear-gradient(transparent, rgba(0,0,0,.78)); color: #fff; text-align: center; }
.pro-demo-invitation strong { font-size: clamp(1.3rem, 3vw, 2rem); text-shadow: 0 1px 8px #000; }
.pro-demo-invitation .btn { box-shadow: 0 4px 24px rgba(0,0,0,.4); }
.pro-demo-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; visibility: hidden; }
.pro-demo.is-ready iframe { visibility: visible; }
.pro-demo-feedback { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1rem; padding: 2rem; text-align: center; }
.pro-demo [hidden] { display: none !important; }
.pro-demo-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; padding: 1rem 1.25rem; border-top: 1px solid var(--border); }
.pro-demo-toolbar p { flex: 1 1 15rem; margin: 0; font-size: .875rem; color: var(--text-dim); }
.pro-demo-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.pro-demo-actions .btn { font-size: .875rem; }
.pro-demo a:focus-visible, .pro-demo button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.pro-demo:fullscreen { display: flex; flex-direction: column; border-radius: 0; }
.pro-demo:fullscreen .pro-demo-stage { flex: 1; aspect-ratio: auto; }
@media (max-width: 640px) {
  .pro-demo { margin-top: 1.5rem; border-radius: 12px; }
  .pro-demo-stage { min-height: 260px; }
  .pro-demo.is-ready .pro-demo-stage { height: min(70vh, 620px); aspect-ratio: auto; }
  .pro-demo-toolbar { padding: .875rem; }
  .pro-demo-toolbar p { flex-basis: 100%; }
}

/* Home "Two apps, one core" and "What Pro adds"; Pricing cards and comparison table. */
.pricing-card h3 .pro-tag { margin-left: 8px; }
.pricing-card-pro { border-color: var(--brand-soft); }
.app-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.app-price strong { font-size: 32px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.app-price span { font-size: 14px; color: var(--text-mute); }
.app-plus { margin: 0; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.pricing-card .app-card-actions { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--hairline); }
.core-strip {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px;
  padding: 16px 20px;
  background: var(--well);
  border: 1px dashed var(--border-hi);
  border-radius: var(--radius);
}
.core-strip b { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); }
.core-strip span { font-size: 14px; color: var(--text-dim); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.promise { display: grid; gap: 4px; align-content: start; padding-top: 12px; border-top: 2px solid var(--brand); }
.promise b { font-size: 15px; color: var(--text-primary); }
.promise span { font-size: 14px; line-height: 1.55; color: var(--text-mute); }
@media (max-width: 760px) { .promise-grid { grid-template-columns: 1fr; } }
.pro-adds .header { margin-bottom: 28px; max-width: 720px; }
.pro-adds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pro-adds-grid .pro-more-card.wide { grid-column: 1 / -1; }
.pro-adds-grid .pro-more-card p { max-width: 70ch; }
@media (max-width: 760px) { .pro-adds-grid { grid-template-columns: 1fr; } }
.pricing-compare { padding-top: 0; }
.compare-table thead th { background: var(--well); }
.compare-table th[scope="row"] { color: var(--text-primary); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.compare-table tr.group th { background: var(--section-bg); color: var(--text-mute); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
.compare-table td { width: 24%; }
.compare-table td.yes { color: var(--ok); font-weight: 600; }
.compare-table td.no { color: var(--text-mute); }
.compare-table tbody tr:last-child > * { border-bottom: 1px solid var(--hairline); }
.compare-table tfoot th, .compare-table tfoot td { border-bottom: 0; font-weight: 600; color: var(--text-primary); }

/* ---------- Profile Library intro: where the Profile Library and the Aircraft Library sit ---------- */
.fx-origin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.fx-origin > .fx-card { padding: 20px; display: grid; gap: 10px; align-content: start; }
.fx-origin-here { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.fx-origin-tag { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-mute); }
.fx-origin-here .fx-origin-tag { color: var(--accent); }
.fx-origin h2 { margin: 0; font-size: 18px; }
.fx-origin p:not(.fx-origin-tag) { margin: 0; color: var(--fg-dim); font-size: 15px; line-height: 1.55; }
.fx-origin .fx-btn { justify-self: start; }
@media (max-width: 760px) { .fx-origin { grid-template-columns: 1fr; } }

/* ---------- Voice Control feature page (/voice-control) ---------- */
.vc-hero { max-width: 760px; }
.vc-hero h1 { margin-bottom: 20px; }
.vc-examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.landing-card .vc-say { margin: 0 0 14px; font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--text-primary); }
.vc-parts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.vc-parts > div { padding: 6px 10px; background: var(--well); border: 1px solid var(--hairline); border-radius: var(--radius-sm); }
.vc-parts dt { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }
.vc-parts dd { margin: 0; font-family: var(--font-mono); font-size: 13.5px; color: var(--text-primary); }
.vc-prose { max-width: 760px; margin: 32px auto 0; display: grid; gap: 12px; }
.vc-prose p { margin: 0; color: var(--text-dim); line-height: 1.65; }
.vc-behaviours { margin: 32px 0 0; }
.vc-built { max-width: 860px; margin: 0 auto; }
.vc-subtitle { margin: 36px 0 14px; font-size: 20px; text-align: center; }
.landing-table.vc-results { min-width: 560px; }
.vc-fineprint { margin: 16px 0 0; text-align: center; font-size: 14px; color: var(--text-mute); }
.vc-headline { margin: 0 0 24px; text-align: center; color: var(--text-dim); font-size: 18px; }
.vc-headline span { display: block; margin-bottom: 4px; font-size: clamp(44px, 7vw, 68px); font-weight: 750; letter-spacing: -.02em; line-height: 1; color: var(--brand); }
.vc-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.vc-count { display: grid; gap: 2px; padding: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.vc-count b { font-size: 24px; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.vc-count span { font-size: 13px; color: var(--text-mute); }
.vc-ask-actions { justify-content: center; margin-top: 28px; }

/* ---------- Voice commands reference (/docs/pro/voice-commands) ---------- */
.docs-article .vc-jump { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 8px; font-size: 14.5px; }
.docs-article .vc-table-wrap { overflow-x: auto; }
.docs-article .vc-howto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 4px 24px; }
.docs-article .vc-howto h3 { margin-top: 16px; }
.docs-article .vc-subhead { margin: 18px 0 8px; font-size: 14px; font-weight: 600; color: var(--text-dim); }
.docs-article .vc-items, .docs-article .vc-topics, .docs-article .vc-names { list-style: none; padding-left: 0; }
.docs-article .vc-items { display: grid; gap: 6px; margin: 0 0 22px; }
.docs-article .vc-items > li, .docs-article .vc-topics > li, .docs-article .vc-names > li { margin: 0; }
.vc-item { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); }
.vc-item-head, .vc-item > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 14px; }
.vc-item > summary { position: relative; padding-right: 36px; cursor: pointer; list-style: none; }
.vc-item > summary::-webkit-details-marker { display: none; }
.vc-item > summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1.5px solid var(--text-mute); border-bottom: 1.5px solid var(--text-mute); transform: rotate(45deg); transition: transform .15s; }
.vc-item[open] > summary::after { margin-top: -2px; transform: rotate(-135deg); }
.vc-item > summary:hover { background: var(--hover-wash); }
.vc-item-label { font-weight: 600; color: var(--text-primary); }
.vc-item-body { padding: 4px 14px 14px; border-top: 1px solid var(--hairline); }
.docs-article .vc-item-k { margin: 12px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }
.docs-article .vc-names { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.docs-article .vc-names > li.vc-plain { align-self: center; color: var(--text-dim); font-size: 14.5px; }
.docs-article .vc-item-body .vc-names { margin-bottom: 0; }
.docs-article .vc-topics { display: grid; gap: 4px; margin: 0 0 22px; }
.docs-article .vc-topics > li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--hairline); }

/* ---------- pr-: Pro overview (/pro with paid sales) and /pricing, launch redesign 2026-10-30 ---------- */
.pr-hero { padding-top: 56px; padding-bottom: 40px; }
.pr-hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.pr-stack { display: grid; gap: 16px; align-content: start; }
.pr-stack > .eyebrow, .pr-head > .eyebrow { margin-bottom: 0; }
.pr-h1 { font-size: clamp(30px, 3.1vw, 42px); }
.pr-hero .lede, .pr-head .lede { max-width: 80ch; }
.pr-actions { margin-bottom: 0; }
.pr-terms-line { font-size: 13px; color: var(--text-mute); }
.pr-shot { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); box-shadow: 0 14px 36px rgba(0,0,0,.20); aspect-ratio: 16 / 10; }
.pr-shot img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top left; }
.pr-rows { display: grid; gap: 56px; }
.pr-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.pr-row-flip .pr-row-text { order: 2; }
.pr-row-text { display: grid; gap: 12px; max-width: 46ch; }
.pr-row-text > .eyebrow { margin-bottom: 0; }
.pr-row-title { font-size: clamp(21px, 2.1vw, 27px); font-weight: 700; }
.pr-row-text p { color: var(--text-dim); }
.pr-head { display: grid; gap: 10px; max-width: 70ch; }
.pr-buy { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.pr-buycard { background: var(--card); border: 1px solid var(--brand-soft); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 14px; }
.pr-buycard-download { font-size: 14px; }
.pr-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.pr-price b { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.pr-price span { color: var(--text-mute); font-size: 14px; }
.pr-price-muted b { color: var(--text-mute); opacity: .72; }
.pr-price-muted span { color: var(--text-mute); }
.pr-buy-terms { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; color: var(--text-dim); font-size: 15px; }
.pr-buy-terms li { position: relative; padding-left: 22px; line-height: 1.55; }
.pr-buy-terms li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.pr-buy-terms li strong { color: var(--text-primary); }
.pr-faq { display: grid; align-content: start; }
.pr-faq details { border-top: 1px solid var(--hairline); padding: 12px 2px; }
.pr-faq details:first-child { border-top: 0; }
.pr-faq summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--text-primary); }
.pr-faq p { color: var(--text-dim); margin-top: 8px; font-size: 15px; }
.pr-faq-narrow { max-width: 760px; }
.pr-pricing-stack { display: grid; gap: 28px; }
.pr-ptable { min-width: 560px; font-size: 15px; }
.pr-ptable thead th { vertical-align: top; padding-top: 20px; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--text-primary); }
.pr-ptable .pr-col-name { font-size: 18px; font-weight: 700; }
.pr-ptable thead .pr-price { display: grid; gap: 2px; align-content: start; min-height: 54px; margin-top: 6px; }
.pr-ptable thead .pr-price b { font-size: 26px; line-height: 1.15; }
.pr-ptable thead .btn { margin-top: 12px; width: 100%; max-width: 210px; }
.pr-ptable tbody th[scope="row"] { width: 46%; font-size: 15px; }
.pr-ptable td { width: 27%; }
.pr-ptable td:first-child:not(.yes):not(.no) { color: var(--text-dim); font-weight: 400; }
@media (max-width: 820px) {
  .pr-hero-grid, .pr-row { grid-template-columns: 1fr; gap: 18px; }
  .pr-row-flip .pr-row-text { order: 0; }
  .pr-rows { gap: 40px; }
  .pr-hero { padding-top: 36px; padding-bottom: 28px; }
}
@media (max-width: 760px) {
  .pr-buy { grid-template-columns: 1fr; }
}

/* ---------- The 14-day Pro trial (Pro:TrialOffer), 13 November 2026: /pro/trial,
   the trial band on /pro, the trial actions beside Buy, /docs/pro/trial. Full
   borders and tints only; no coloured edge on any card. ---------- */
.trial-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; max-width: 500px; }
.trial-facts li {
  display: flex; align-items: center; padding: 7px 12px;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--card); color: var(--text-dim); font-size: 13.5px; line-height: 1.35;
}
.trial-hero .trial-facts {
  grid-template-columns: 1fr; gap: 6px; max-width: none;
}
.trial-hero .trial-facts li {
  position: relative; padding: 0 0 0 18px; border: 0; border-radius: 0; background: transparent;
  font-size: 14.5px; line-height: 1.5;
}
.trial-hero .trial-facts li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand);
}
.trial-section-title { margin: 0 0 24px; }
.trial-steps { list-style: none; counter-reset: trial-step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.trial-steps li { counter-increment: trial-step; display: grid; align-content: start; gap: 8px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }
.trial-steps h3 { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; margin: 0; font-size: 17px; line-height: 1.35; }
.trial-steps h3::before { content: counter(trial-step); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(79, 156, 255, 0.14); color: var(--brand); font-size: 14px; font-weight: 700; }
.trial-steps p { margin: 0; color: var(--text-dim); font-size: 15px; line-height: 1.55; }
.trial-downloads { padding-top: 56px; padding-bottom: 56px; }
.trial-faq { margin-top: 12px; }
.trial-faq h3 { margin: 0 0 4px; font-size: 18px; }
.pr-buycard-note { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.pr-trial-band { padding-top: 48px; padding-bottom: 48px; }
.pr-trial-band-in { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center; padding: 28px 32px; border: 1px solid var(--brand-soft); border-radius: var(--radius-lg); background: rgba(79, 156, 255, 0.06); }
.pr-trial-band-in .pr-actions { flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pr-trial-band h2 { margin: 0; }
.pr-ptable-trial { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--brand); }
.pr-ptable-trial-on thead th { vertical-align: top; }
.r2-dl-pro-more { flex-basis: 100%; font-size: 14px; }
#primary-nav .nav-band-sidelink.nav-band-trial { color: var(--brand); font-weight: 650; }
.trial-recovery-note { margin: 12px 0 0; color: var(--text-dim); font-size: 15px; line-height: 1.6; }
.trial-problems dt { margin-top: 14px; font-weight: 650; color: var(--text-primary); }
.trial-problems dd { margin: 4px 0 0; color: var(--text-dim); }
@media (max-width: 1000px) {
  .trial-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .pr-trial-band-in { grid-template-columns: 1fr; padding: 22px 20px; }
}
@media (max-width: 560px) {
  .trial-steps { grid-template-columns: 1fr; }
  .trial-downloads { padding-top: 40px; padding-bottom: 40px; }
}

/* ---------- fp-: Pro feature pages (/pro/voice-control, /pro/moza-base, /pro/black-box, /pro/cockpit-web, /pro/controls) and platform pages (/linux, /macos), launch redesign 2026-10-30 ---------- */
.fp-hero { padding-top: 56px; padding-bottom: 40px; }
.fp-hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.fp-hero-copy h1 { font-size: clamp(30px, 3.1vw, 42px); margin-bottom: 16px; text-wrap: balance; }
.fp-hero-copy .lede { margin-bottom: 24px; }
.fp-hero-copy .cta-row { margin-bottom: 0; }
.fp-shot { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); }
.fp-shot picture { display: block; width: 100%; height: 100%; }
.fp-shot img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top left; }
.fp-body-stack, .fp-section-stack { display: grid; gap: 48px; }
.fp-section-stack { gap: 24px; }
.fp-rows { display: grid; gap: 56px; }
.fp-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.fp-row-flip .fp-row-text { order: 2; }
.fp-row-text { display: grid; gap: 12px; max-width: 46ch; align-content: start; }
.fp-row-text h2, .fp-row-text h3 { text-wrap: balance; }
.fp-row-label { justify-self: start; padding: 3px 7px; border-radius: 4px; background: var(--brand-fill); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; }
/* Closing call to action on a feature page: one heading, one line, two actions. */
.fp-cta { display: grid; gap: 14px; justify-items: start; max-width: 70ch; }
.fp-cta h2 { text-wrap: balance; }
.fp-cta p { color: var(--text-dim); }
.fp-row-text p { color: var(--text-dim); }
.fp-bullets, .fp-terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--text-dim); font-size: 15px; }
.fp-terms { gap: 8px; }
.fp-bullets li, .fp-terms li { position: relative; padding-left: 22px; line-height: 1.55; }
.fp-bullets li::before, .fp-terms li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.fp-bullets li strong, .fp-terms li strong { color: var(--text-primary); }
.fp-terms li::before { background: var(--ok); }
.fp-facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; }
.fp-facts > div { display: grid; gap: 4px; align-content: start; padding: 18px 20px; border-left: 1px solid var(--hairline); }
.fp-facts > div:first-child { border-left: 0; }
.fp-facts b { font-size: 15px; color: var(--text-primary); }
.fp-facts span { font-size: 14px; color: var(--text-dim); }
.fp-head { display: grid; gap: 10px; max-width: 70ch; }
.fp-head .eyebrow { margin-bottom: 0; }
.fp-buy { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.fp-buy-copy { display: grid; gap: 12px; align-content: start; }
.fp-also { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; font-size: 14px; color: var(--text-mute); }
.fp-also span { margin-right: 6px; }
.fp-also a + a::before { content: "·"; margin: 0 8px; color: var(--text-mute); }
.fp-buycard { display: grid; gap: 14px; padding: 26px; background: var(--card); border: 1px solid var(--brand-soft); border-radius: var(--radius-lg); }
.fp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.fp-price b { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.fp-price span { font-size: 14px; color: var(--text-mute); }
.fp-buycard-link { font-size: 14px; }
.fp-anat { display: grid; gap: 12px; }
.fp-sentence { display: grid; gap: 10px; padding: 16px 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.fp-sentence > p:last-child { font-size: 14px; color: var(--text-dim); }
.fp-say { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 10px; font-size: clamp(18px, 2.2vw, 22px); font-weight: 500; font-style: italic; color: var(--text-primary); }
.fp-part { display: inline-grid; gap: 4px; padding-bottom: 2px; border-bottom: 2px solid var(--brand); }
.fp-part small { font: 600 10px/1 var(--font-sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.fp-part-amount { border-bottom-color: var(--signal); }
.fp-part-amount small { color: var(--signal); }
.fp-phrases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fp-phrases > div { display: grid; gap: 8px; align-content: start; }
.fp-phrases h3 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); }
.fp-phrase { justify-self: start; padding: 7px 12px; font-size: 14px; color: var(--text-primary); background: var(--card); border: 1px solid var(--border); border-radius: 999px; }
.fp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fp-step { display: grid; gap: 6px; align-content: start; padding: 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.fp-step i { font: 600 11px/1 var(--font-sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.fp-step b { font-size: 17px; color: var(--text-primary); }
.fp-step span { font-size: 14px; color: var(--text-dim); }
.fp-step-model { border-style: dashed; border-color: var(--signal); }
.fp-step-model i { color: var(--signal); }
.fp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fp-tile { display: grid; gap: 2px; padding-top: 10px; border-top: 2px solid var(--brand); }
.fp-tile b { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.fp-tile span { font-size: 13px; color: var(--text-mute); }
.fp-section-stack > .cta-row { margin-bottom: 0; }
@media (max-width: 820px) {
  .fp-hero { padding-top: 36px; padding-bottom: 28px; }
  .fp-hero-grid, .fp-row { grid-template-columns: 1fr; gap: 18px; }
  .fp-row-flip .fp-row-text { order: 0; }
  .fp-rows { gap: 40px; }
}
@media (max-width: 760px) {
  .fp-facts { grid-template-columns: 1fr; }
  .fp-facts > div { border-left: 0; border-top: 1px solid var(--hairline); }
  .fp-facts > div:first-child { border-top: 0; }
  .fp-buy, .fp-phrases, .fp-steps { grid-template-columns: 1fr; }
  .fp-tiles { grid-template-columns: 1fr 1fr; }
}

/* ===================== hm- : home, navigation, footer and MOZA bar (30 October 2026 design) ===================== */
/* MOZA partnership bar: one 40px navy line on every page; the white logo works in both themes. */
.launch-banner:has(> .hm-topbar) { border-bottom: 0; background: transparent; overflow: visible; }
.hm-topbar { background: #0A1628; color: #E7EAEE; font-size: 13px; }
.hm-topbar-inner { display: flex; align-items: center; gap: 14px; height: 40px; }
.hm-topbar-logo { height: 14px; width: auto; flex: none; }
.hm-topbar-copy { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-topbar-copy b { font-weight: 600; }
.hm-topbar-link { margin-left: auto; flex: none; white-space: nowrap; color: #9CC4FF; }
.hm-topbar-link:hover { color: #C4DCFF; }
@media (max-width: 560px) { .hm-topbar-copy { display: none; } }

/* Navigation: plain single-column dropdowns with no description text. */
.nav-dd-menu.hm-nav-menu { min-width: 210px; padding: 6px; }
.hm-nav-menu a { padding: 8px 12px; }
.hm-nav-menu .nav-dd-t { font-weight: 500; white-space: nowrap; }
.hm-nav-menu .nav-dd-h { margin: 8px 12px 2px; }
.hm-nav-sep { border: 0; border-top: 1px solid var(--hairline); margin: 4px 0; }
/* Navigation menus (1 November 2026): every menu opens a full-width panel
   that hangs from the bar. A panel has a title column (menu name, one line,
   optional "all" link), a grid of links with an icon and a one-line
   description, and on Features and Pro a side column of plain links that ends
   in one call to action. The language menu uses the same panel. In the mobile
   drawer (1100px and below) the panels expand inline as lists. */
#primary-nav .nav-item { display: flex; flex-direction: row; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text-primary); transition: background .12s ease; }
#primary-nav .nav-item:hover, #primary-nav .nav-item:focus-visible { background: color-mix(in srgb, var(--text-primary) 5%, transparent); }
.nav-ic { flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); transition: background .12s ease; }
#primary-nav .nav-item:hover .nav-ic, #primary-nav .nav-item:focus-visible .nav-ic { background: color-mix(in srgb, var(--brand) 16%, transparent); }
.nav-item-text { display: flex; flex-direction: column; min-width: 0; }
#primary-nav .nav-item .nav-dd-t { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--text-primary); white-space: normal; }
#primary-nav .nav-item .nav-dd-d { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--text-dim); }
.nav-band-name { margin: 2px 0 8px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--text-primary); }
.nav-band-blurb { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--text-dim); }
#primary-nav .nav-band-all { display: inline-block; font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none; }
#primary-nav .nav-band-all:hover { text-decoration: underline; }
.nav-band .nav-dd-h, .nav-band-side .nav-dd-h { margin: 4px 12px 6px; }
.nav-band-side .nav-dd-h { margin-left: 0; }
#primary-nav .nav-band-sidelink { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--text-primary); text-decoration: none; }
#primary-nav .nav-band-sidelink:hover { background: color-mix(in srgb, var(--text-primary) 5%, transparent); }
.nav-band-price { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 13px; line-height: 1.45; color: var(--text-dim); }
.nav-band-price b { display: block; font-size: 15px; color: var(--text-primary); }
#primary-nav .nav-band-cta { display: block; margin-top: 12px; padding: 9px 16px; border-radius: 8px; background: var(--brand-fill); color: #fff; font-size: 14px; font-weight: 600; text-align: center; text-decoration: none; }
#primary-nav .nav-band-cta:hover { filter: brightness(1.08); color: #fff; }
.language-selector-names { display: flex; flex-direction: column; min-width: 0; }
.language-selector-native { font-weight: 600; }
.language-selector a[aria-current="true"] .language-selector-native { color: var(--brand); }
.language-selector-check { flex: none; color: var(--brand); }
.language-selector-title .nav-band-name, .language-selector-title .nav-band-blurb { display: none; }
p.language-selector-note { margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: var(--text-mute); }
.language-selector .language-selector-note a { display: inline; padding: 0; border-radius: 0; color: var(--brand); font-size: 12px; font-weight: 500; background: none; }
#primary-nav .nav-item, #primary-nav .nav-item *, #primary-nav .nav-band-sidelink, #primary-nav .nav-band-cta { white-space: normal; }
.language-selector .language-selector-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  width: min(300px, calc(100vw - 28px)); max-height: min(520px, calc(100vh - var(--nav-h) - 30px)); overflow-y: auto;
  display: flex; flex-direction: column; padding: 8px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}
.language-selector:not([open]) .language-selector-menu { display: none; }
.language-selector .language-selector-menu ul {
  order: 1;
  position: static; display: grid; width: auto; max-height: none; overflow: visible; padding: 0;
  background: none; border: 0; border-radius: 0; box-shadow: none;
}
.language-selector .language-selector-menu .language-selector-title { order: 2; padding: 4px 10px 6px; }
.language-selector a { align-items: center; }
.language-selector a[aria-current="true"] { box-shadow: none; }

@media (min-width: 1101px) {
  nav.top .nav-dd-li, nav.top .nav-dd, nav.top .language-selector { position: static; }
  #primary-nav { align-self: stretch; }
  .nav-dd-li { align-self: stretch; }
  .nav-dd { display: flex; }
  .nav-dd > summary { position: relative; height: 100%; }
  .nav-dd > summary::after, .language-selector summary::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--brand); transform: scaleX(0); transition: transform .18s ease;
  }
  .nav-dd[open] > summary::after { transform: scaleX(1); }
  .nav-dd > summary:focus:not(:focus-visible), .language-selector summary:focus:not(:focus-visible) { outline-color: transparent !important; }
  .language-selector summary { position: relative; }
  .language-selector summary::before { bottom: calc((36px - var(--nav-h)) / 2 - 1px); }
  .language-selector[open] summary::before { transform: scaleX(1); }

  .nav-dd-menu.nav-band, .language-selector .language-selector-menu {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
    width: auto; min-width: 0; max-width: none; max-height: calc(100vh - var(--nav-h) - 24px); overflow-y: auto;
    padding: 0; gap: 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0;
    background: var(--nav-menu-bg); box-shadow: 0 18px 40px rgba(0, 0, 0, .14), 0 2px 6px rgba(0, 0, 0, .06);
    animation: nav-band-in .16s ease;
  }
  .nav-dd-menu.nav-band { display: block; }
  .nav-band-in {
    max-width: var(--max); margin: 0 auto; padding: 26px 24px 24px;
    display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 28px;
  }
  .nav-band-links { display: grid; grid-template-columns: repeat(var(--nav-cols, 2), minmax(0, 1fr)); gap: 2px 12px; align-content: start; }
  .nav-band-group { display: flex; flex-direction: column; }
  .nav-band-side { width: 196px; padding-left: 22px; border-left: 1px solid var(--hairline); display: flex; flex-direction: column; }
  .language-selector .language-selector-menu {
    display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px;
    padding: 26px max(24px, calc((100% - var(--max)) / 2 + 24px)) 24px;
  }
  .language-selector-title .nav-band-name, .language-selector-title .nav-band-blurb { display: block; }
  .language-selector .language-selector-menu .language-selector-title { order: 0; padding: 0; }
  .language-selector .language-selector-menu ul { order: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px 8px; align-content: start; }
  .language-selector .language-selector-menu a { padding: 9px 12px; border-radius: 8px; }
  .nav-dd-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(15, 23, 42, .18); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  :root[data-theme="dark"] .nav-dd-scrim { background: rgba(0, 0, 0, .45); }
  .nav-dd-scrim.is-on { opacity: 1; pointer-events: auto; }
}
@keyframes nav-band-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav-dd-menu.nav-band, .language-selector .language-selector-menu { animation: none; } }
@media (max-width: 1100px) {
  .nav-dd-menu.nav-band { padding: 0 0 8px; }
  .nav-band-title { display: none; }
  .nav-band-in, .nav-band-links, .nav-band-group { display: block; }
  #primary-nav .nav-item { padding: 10px 20px; align-items: center; border-radius: 0; }
  .nav-band .nav-dd-h { margin: 10px 20px 4px; }
  .nav-band-side { margin: 6px 20px 0; padding-top: 8px; border-top: 1px solid var(--hairline); }
  .nav-band-side .nav-dd-h { margin: 6px 0 4px; }
  #primary-nav .nav-band-sidelink { margin: 0; padding: 10px 0; }
  nav.top .language-selector { position: static; }
  .language-selector .language-selector-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 12px;
    right: 12px;
    width: auto;
    max-width: 360px;
    margin-left: auto;
    max-height: calc(100dvh - var(--nav-h) - 24px);
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 640px) {
  #primary-nav .nav-band .nav-dd-d { display: none; }
}

/* Footer: five columns; Company shares the Support column. */
.footer-groups.hm-footer-groups { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hm-footer-subhead { margin-top: 20px; }
@media (max-width: 900px) { .footer-groups.hm-footer-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-groups.hm-footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Home: shared section rhythm. */
section.hm-section { padding-top: 64px; padding-bottom: 64px; }
.hm-alt { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.hm-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.hm-stack.hm-stack-lg { gap: 40px; }
.hm-head { display: grid; gap: 10px; max-width: 70ch; }
.hm-head .eyebrow { margin-bottom: 0; }
.hm-head .lede { max-width: 80ch; }
.hm-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.hm-btn-lg { min-height: 52px; height: auto; padding: 12px 22px; font-size: 15px; }
@media (max-width: 900px) { section.hm-section { padding-top: 48px; padding-bottom: 48px; } }

/* Home: hero. */
section.hm-hero { padding-top: 64px; padding-bottom: 48px; }
.hm-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
.hm-hero-copy { display: grid; gap: 18px; min-width: 0; }
.hm-hero h1, .hm-hero .lede { margin-bottom: 0; }
.hm-hero-a { max-width: 58ch; }
.hm-hero-b { font-size: 16px; line-height: 1.6; color: var(--text-dim); max-width: 58ch; padding-left: 14px; border-left: 3px solid var(--brand); }
.hm-hero-b b { color: var(--text-primary); }
.hm-download-form[hidden] { display: none; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hm-chip { font-size: 13px; color: var(--text-dim); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.hm-chip.hm-chip-ok { color: var(--ok); border-color: var(--ok); }
.hm-partner-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; justify-self: start; padding: 10px 14px; font-size: 13px; color: #C9D3E0; background: #0A1628; border: 1px solid var(--border); border-radius: var(--radius); }
.hm-partner-line img { height: 16px; width: auto; }
.hm-partner-line a { color: #9CC4FF; }
@media (max-width: 900px) {
  section.hm-hero { padding-top: 36px; padding-bottom: 28px; }
  .hm-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Home: MOZA band. */
.hm-band { background: #0A1628; color: #E7EAEE; }
.hm-band-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.hm-band-inner img { height: 30px; width: auto; }
.hm-band-eyebrow { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9CC4FF; }
.hm-band-inner p { font-size: 15px; color: #C9D3E0; max-width: 62ch; }
.btn.hm-band-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn.hm-band-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; transform: translateY(-1px); }
@media (max-width: 760px) {
  .hm-band-inner { grid-template-columns: 1fr; gap: 12px; }
  .btn.hm-band-btn { justify-self: start; }
}

/* Home: testimonials. */
.hm-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hm-quote { margin: 0; display: grid; gap: 10px; align-content: start; padding: 20px; color: var(--text-dim); font-size: 15px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.hm-quote blockquote { margin: 0; }
.hm-quote figcaption { display: grid; gap: 2px; }
.hm-quote figcaption b { color: var(--text-primary); font-size: 13px; }
.hm-quote figcaption small { font-size: 12px; color: var(--text-mute); }
.hm-quote figcaption small a { color: inherit; text-decoration: underline; }
@media (max-width: 760px) { .hm-quotes { grid-template-columns: 1fr; } }

/* Home: product rows with uniform 16:10 frames. */
.hm-rows { display: grid; gap: 56px; }
.hm-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.hm-row.hm-row-flip .hm-row-text { order: 2; }
.hm-row-text { display: grid; gap: 12px; max-width: 46ch; }
.hm-row-text p { color: var(--text-dim); }
.hm-row-text a { justify-self: start; }
.hm-row-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hm-shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hm-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
@media (max-width: 820px) {
  .hm-rows { gap: 40px; }
  .hm-row { grid-template-columns: 1fr; gap: 18px; }
  .hm-row.hm-row-flip .hm-row-text { order: 0; }
}

/* Home: Works with facts card. */
.hm-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.hm-facts > div { display: grid; gap: 4px; align-content: start; padding: 18px 20px; border-left: 1px solid var(--hairline); }
.hm-facts > div:first-child { border-left: 0; }
.hm-facts b { font-size: 15px; color: var(--text-primary); }
.hm-facts span { font-size: 14px; color: var(--text-dim); }
@media (max-width: 760px) {
  .hm-facts { grid-template-columns: 1fr; }
  .hm-facts > div { border-left: 0; border-top: 1px solid var(--hairline); }
  .hm-facts > div:first-child { border-top: 0; }
}

/* Home: two apps. */
.hm-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hm-app { display: grid; gap: 16px; align-content: start; padding: 26px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.hm-app.hm-app-pro { border-color: var(--brand-soft); }
.hm-app-name { font-size: 20px; font-weight: 700; }
.hm-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.hm-price b { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.hm-price span { font-size: 14px; color: var(--text-mute); }
.hm-plus { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.hm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.hm-list li { position: relative; padding-left: 22px; color: var(--text-dim); font-size: 15px; line-height: 1.55; }
.hm-list li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hm-fund { font-size: 13px; color: var(--text-mute); }
.hm-promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hm-promise { display: grid; gap: 2px; padding-top: 10px; border-top: 2px solid var(--brand); }
.hm-promise b { font-size: 15px; color: var(--text-primary); }
.hm-promise span { font-size: 14px; color: var(--text-mute); }
@media (max-width: 760px) { .hm-apps, .hm-promises { grid-template-columns: 1fr; } }

/* Home: Aircraft Library scroller. */
.hm-scroller { display: flex; gap: 10px; margin: 0; padding: 0 0 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.hm-scroller li { flex: 0 0 240px; scroll-snap-align: start; }
.hm-scroller a { display: grid; gap: 6px; font-size: 12px; color: var(--text-mute); text-decoration: none; }
.hm-scroller a:hover span { color: var(--brand); }
.hm-scroller img { display: block; width: 240px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.hm-scroller span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-empty { color: var(--text-mute); }

/* Home: FAQ in two independent columns. */
.hm-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
.hm-faq-col { display: grid; align-content: start; }
.hm-faq-item { padding: 12px 2px; border-top: 1px solid var(--hairline); }
.hm-faq-col .hm-faq-item:first-child { border-top: 0; }
.hm-faq-item summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text-primary); }
.hm-faq-item p { margin-top: 8px; font-size: 15px; color: var(--text-dim); }
.hm-all-questions { justify-self: start; }
@media (max-width: 760px) {
  .hm-faq { grid-template-columns: 1fr; }
  .hm-faq-col + .hm-faq-col .hm-faq-item:first-child { border-top: 1px solid var(--hairline); }
}

/* ===================== ct- : helicopter, accessibility, about and download trust content (launch review round 2, 30 October 2026) ===================== */
/* Left-aligned section heads that use the row's width instead of a narrow centred column. */
.ct-stack { display: grid; gap: 40px; }
.ct-head { display: grid; gap: 10px; max-width: 72ch; }
.ct-head .eyebrow { margin-bottom: 0; }
.ct-head h2 { margin-bottom: 0; text-wrap: balance; }
.ct-head .subhead { margin: 0; max-width: none; }

/* Compact figures beside a section's copy (helicopter rotor data). */
.ct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; }
.ct-stats > div { display: grid; gap: 4px; align-content: start; padding: 16px 18px; border-left: 1px solid var(--hairline); }
.ct-stats > div:first-child { border-left: 0; }
.ct-stats b { font-size: 22px; font-weight: 700; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.ct-stats span { font-size: 13.5px; line-height: 1.45; color: var(--text-dim); }

/* Accessibility: "designed for" strip from the Visual contrast research note. */
.ct-designed-band { padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--bg); }
.ct-designed { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.ct-designed-copy { display: grid; gap: 6px; }
.ct-designed-copy .eyebrow { margin-bottom: 0; }
.ct-designed-copy p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-dim); }
.ct-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chips li { padding: 7px 13px; font-size: 14px; color: var(--text-primary); background: var(--card); border: 1px solid var(--border); border-radius: 999px; }

/* Accessibility: the research principles and standards panel. */
.ct-research { display: grid; gap: 18px; padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.ct-research-head { display: grid; gap: 6px; max-width: 80ch; }
.ct-research-head h3 { margin: 0; }
.ct-research-head p { margin: 0; color: var(--text-dim); }
.ct-research-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ct-research-grid > div { display: grid; gap: 6px; align-content: start; padding-top: 14px; border-top: 2px solid var(--brand); }
.ct-research-grid b { font-size: 15px; color: var(--text-primary); }
.ct-research-grid span { font-size: 14px; line-height: 1.55; color: var(--text-dim); }
.ct-research-standard { margin: 0; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 14px; line-height: 1.6; color: var(--text-dim); }

/* Accessibility: Text size specimen at the app's three sizes. */
.ct-type { display: grid; gap: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.ct-type-head { padding: 12px 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); border-bottom: 1px solid var(--hairline); }
.ct-type-row { --ct-scale: 1; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--hairline); }
.ct-type-head + .ct-type-row { border-top: 0; }
.ct-type-110 { --ct-scale: 1.1; }
.ct-type-120 { --ct-scale: 1.2; }
.ct-type-pct { font-family: var(--font-mono); font-size: 13px; color: var(--brand); }
.ct-type-sample { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: calc(10px * var(--ct-scale)) 14px; background: var(--well); border: 1px solid var(--hairline); border-radius: var(--radius-sm); }
.ct-type-label { font-size: calc(15px * var(--ct-scale)); line-height: 1.45; color: var(--text-primary); }
.ct-type-value { font-family: var(--font-mono); font-size: calc(15px * var(--ct-scale)); font-variant-numeric: tabular-nums; color: var(--text-primary); }

/* Small Pro marker beside an eyebrow, and tighter action rows inside a split. */
.ct-pro-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--brand); border: 1px solid var(--brand-soft); border-radius: 999px; vertical-align: 1px; }
.ct-cta-tight { margin-top: 20px; margin-bottom: 0; }

/* About: at-a-glance figures beside the hero copy. */
.ct-about-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.ct-glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; }
.ct-glance > div { display: grid; gap: 4px; align-content: start; padding: 22px 24px; border-left: 1px solid var(--hairline); border-top: 1px solid var(--hairline); }
.ct-glance > div:nth-child(odd) { border-left: 0; }
.ct-glance > div:nth-child(-n+2) { border-top: 0; }
.ct-glance dt { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; line-height: 1.1; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.ct-glance dd { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-dim); }

/* Two links in one trust card, and links under a list item. */
.ct-card-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.landing-list .ct-list-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-weight: 600; }

@media (max-width: 900px) {
  .ct-designed { grid-template-columns: 1fr; gap: 16px; }
  .ct-research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-about-hero { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ct-stats { grid-template-columns: 1fr; }
  .ct-stats > div { border-left: 0; border-top: 1px solid var(--hairline); }
  .ct-stats > div:first-child { border-top: 0; }
  .ct-research { padding: 20px; }
  .ct-research-grid { grid-template-columns: 1fr; }
  .ct-type-row { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 14px; }
}

/* ===================== r2- : launch review round 2 (30 October 2026): headings, home hero downloads and chips, aircraft scroller buttons, feature-shot frames, /download layout, spacing sweep ===================== */

/* Headings use the width of their column; ledes and subheads keep a reading measure. */
.hm-head, .pr-head, .fp-head { max-width: none; }
.fp-head > .lede, .fp-head > p { max-width: 82ch; }
.section-head { max-width: none; }
.section-head > .subhead, .section-head > p { max-width: 82ch; margin-left: auto; margin-right: auto; }
.support-section-header { max-width: none; }
.support-section-header > .subhead { max-width: 82ch; }
.pricing .header, .pro-adds .header { max-width: none; }
.pricing .header > .lede, .pricing .header > p, .pro-adds .header > .lede, .pro-adds .header > p { max-width: 82ch; }
.fp-hero-copy h1, .landing-hero h1, .download-hero h1, .hm-hero h1, .pr-h1 { text-wrap: pretty; }

/* Small muted line (Patent pending) under a lede or a row link. */
.r2-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-mute); }
.fp-hero-copy .r2-note { margin: -12px 0 22px; }

/* Home hero: four compact chips on one row; platform glyphs in place of text. */
.hm-chips.r2-chips { gap: 6px; }
.r2-chips .hm-chip { display: inline-flex; align-items: center; padding: 5px 11px; }
.r2-chip-icons { gap: 7px; color: var(--text-primary); }
.r2-os { display: block; flex: none; }

/* Home hero: direct installer links revealed by "Get FFB-Bridge free". */
.r2-downloads[hidden] { display: none; }
.r2-downloads { display: grid; gap: 10px; padding: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.r2-downloads-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; font-size: 14px; color: var(--text-primary); }
.r2-downloads-head span { font-family: var(--font-mono); font-size: 12px; color: var(--text-mute); }
.r2-downloads-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.r2-downloads-list li { display: grid; gap: 3px; min-width: 0; }
.r2-download { display: flex; align-items: center; gap: 12px; padding: 10px 12px; color: var(--text-primary); text-decoration: none; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .15s ease, background-color .15s ease; }
.r2-download:hover { border-color: var(--brand); background: var(--card-hi); color: var(--text-primary); }
.r2-download-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; color: var(--text-primary); background: var(--well); border-radius: 8px; }
.r2-download-icon .r2-os { width: 18px; height: 18px; }
.r2-download-text { display: grid; gap: 1px; min-width: 0; }
.r2-download-text b { font-size: 14.5px; font-weight: 600; }
.r2-download-file { font-family: var(--font-mono); font-size: 12px; color: var(--text-mute); overflow-wrap: anywhere; }
.r2-download-pro .r2-download-file { font-family: var(--font-sans); font-size: 12.5px; }
.r2-download-hash { padding: 0 12px; font-family: var(--font-mono); font-size: 10.5px; line-height: 1.4; color: var(--text-faint); overflow-wrap: anywhere; }
.r2-downloads-email { margin: 0; font-size: 13px; color: var(--text-mute); }

/* Home: previous/next buttons on the Aircraft Library scroller (shown by js/hm-home.js when it overflows). */
.r2-scroller { position: relative; }
.r2-scroll-btn { position: absolute; top: 80px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--text-primary); background: var(--card); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow); cursor: pointer; transform: translateY(-50%); transition: border-color .15s ease, color .15s ease, opacity .15s ease; }
.r2-scroll-btn[hidden] { display: none; }
.r2-scroll-prev { left: -14px; }
.r2-scroll-next { right: -14px; }
.r2-scroll-btn:hover:not(:disabled) { color: var(--brand); border-color: var(--brand); }
.r2-scroll-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 700px) {
  .r2-scroll-prev { left: 4px; }
  .r2-scroll-next { right: 4px; }
}

/* Feature-shot frames: a whole phone capture in a tall 9:19.5 frame, and a
   whole wide capture on a dark ground in place of the top-left crop. */
.fp-shot.r2-shot-phone { aspect-ratio: 9 / 19.5; width: min(100%, 300px); justify-self: center; background: var(--well); }
.fp-shot.r2-shot-phone img { object-fit: contain; object-position: center; }
.fp-shot.r2-shot-contain, .pr-shot.r2-shot-contain { background: #0A0C0F; }
.fp-shot.r2-shot-contain img, .pr-shot.r2-shot-contain img { object-fit: contain; object-position: center; }
.fp-shot-content { width: 100%; height: 100%; }
/* Frame only the relevant panel of the maintained guide image. The source
   picture still selects its language, theme and responsive asset normally. */
.fp-shot.r2-shot-crop, .pr-shot.r2-shot-crop { position: relative; aspect-ratio: var(--shot-aspect); }
.r2-shot-crop > .fp-shot-content { position: absolute; width: var(--shot-width); height: var(--shot-height); left: var(--shot-left); top: var(--shot-top); }
.r2-shot-crop img { object-fit: fill; }
/* 2x captures under images/r2/ arrive as <picture>; the frame sizes the picture like a bare img. */
.hm-shot picture, .pr-shot picture { display: block; width: 100%; height: 100%; }
/* A wide 2x capture (wider than about 1.8:1) keeps its own proportions instead of the 16:10 crop. */
.app-shot.r2-shot-natural .app-shot-link { aspect-ratio: auto; }
.app-shot.r2-shot-natural .app-shot-link picture, .app-shot.r2-shot-natural img { height: auto; }

/* /download hero: both columns start at the top; Pro call-to-action card at the top of the right column. */
.download-grid.r2-dl-hero { align-items: start; }
.r2-dl-pro { display: grid; grid-template-columns: 1fr; gap: 14px 20px; align-items: center; padding: 20px 22px; background: var(--card); border: 1px solid var(--brand-soft); border-radius: var(--radius-lg); }
.r2-dl-pro-copy { display: grid; gap: 6px; min-width: 0; }
.r2-dl-pro .download-panel-kicker { margin-bottom: 0; }
.r2-dl-pro h2 { margin: 0; font-size: 20px; }
.r2-dl-pro p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-dim); }
.r2-dl-pro-side { display: grid; gap: 10px; justify-items: start; }
.r2-dl-pro-price { display: grid; gap: 2px; }
.r2-dl-pro-price b { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.r2-dl-pro-price span { font-size: 12.5px; color: var(--text-mute); }
.r2-dl-pro-actions { display: grid; gap: 10px; width: 100%; max-width: 240px; }
.r2-dl-pro-actions .btn { width: 100%; }
.r2-dl-pro-side { grid-template-columns: auto 1fr; align-items: center; }
.r2-dl-pro-side .r2-dl-pro-actions { justify-self: end; }
@media (max-width: 640px) { .r2-dl-pro-side { grid-template-columns: 1fr; } .r2-dl-pro-side .r2-dl-pro-actions { justify-self: start; max-width: none; } }

/* /download install path: heading across the row, then a 2x2 grid of equal
   step cards beside the screenshot, tops aligned. */
.r2-dl-steps { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 0 48px; align-items: start; }
.r2-dl-steps > .header { grid-column: 1 / -1; }
.r2-dl-steps > * { min-width: 0; }
.download-steps .r2-dl-steplist { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; margin-bottom: 24px; }
.r2-dl-steps-copy .cta-row { margin-bottom: 0; }
.r2-dl-steps-media { display: grid; gap: 16px; align-content: start; }
.r2-dl-steps-media .trust-card p { margin-bottom: 0; }
@media (max-width: 900px) {
  .r2-dl-steps { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  .download-steps .r2-dl-steplist { grid-template-columns: 1fr; grid-auto-rows: auto; }
}

/* Spacing sweep: no lone card at the end of a card grid, short copy centred
   against a taller list, two-column FAQ on /pro/buy. */
@media (min-width: 901px) {
  .landing-card-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-card-grid:not(:has(> :nth-child(4):last-child)) > :last-child:nth-child(3n+1):not(:first-child) { grid-column: 2; }
  .trust-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1101px) {
  .trust-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 621px) and (max-width: 900px) {
  .landing-card-grid > :last-child:nth-child(odd):not(:first-child),
  .trust-grid > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
}
.landing-split:not(.landing-split-visual) { align-items: center; }
.support-identity-grid { align-items: center; }
.pro-buy-faq .faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; align-items: start; max-width: none; }
.pro-buy-faq .faq-list > .faq-item { margin: 0; }
@media (max-width: 760px) { .pro-buy-faq .faq-list { grid-template-columns: 1fr; } }

/* lang-suggest: discreet bottom-corner language suggestion (js/lang-suggest.js).
   Fixed position, so it never shifts page layout; no backdrop. */
.ls-card {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 900;
  width: min(360px, calc(100vw - 32px));
  padding: 14px 16px 16px;
  background: var(--card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  font-family: var(--font-sans);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}
.ls-card.ls-in { opacity: 1; transform: none; }
.ls-prompt { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.ls-english { margin: 4px 0 12px; font-size: 13px; line-height: 1.4; color: var(--text-dim); }
.ls-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ls-card .ls-btn { height: 36px; min-width: 0; padding: 0 14px; font-size: 13px; }
.ls-card .ls-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 480px) {
  .ls-card { right: 12px; left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ls-card { transition: none; transform: none; }
  .ls-card .ls-btn, .ls-card .ls-btn:hover { transition: none; transform: none; }
}
@media print { .ls-card { display: none; } }

/* Pro manual page: a rendered preview of the edition's own PDF. */
.manual-cover { margin: 8px 0 28px; }
.manual-cover a { display: inline-block; max-width: 620px; }
.manual-cover img { display: block; width: 100%; height: auto; }

/* Features overview (/features): Free and Pro together, grouped by what each
   feature does; every card names its edition. */
.ft-hero { padding: 64px 0 24px; }
.ft-hero-in { display: grid; gap: 14px; max-width: 960px; }
.ft-h1 { margin: 0; font-size: clamp(30px, 3.1vw, 42px); line-height: 1.1; letter-spacing: -.02em; }
.ft-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; color: var(--text-dim); font-size: 14px; }
.ft-legend-item { display: inline-flex; align-items: center; gap: 8px; }
.ft-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.ft-badge-free { color: var(--text-primary); background: color-mix(in srgb, var(--text-primary) 8%, transparent); }
.ft-badge-pro { color: #fff; background: var(--brand-fill); }
.ft-group { padding: 32px 0; }
.ft-group + .ft-group { border-top: 1px solid var(--hairline); }
.ft-group-head { display: grid; gap: 6px; margin-bottom: 20px; max-width: 80ch; }
.ft-group-head h2 { margin: 0; font-size: 26px; letter-spacing: -.01em; }
.ft-group-head p { margin: 0; color: var(--text-dim); font-size: 16px; }
.ft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ft-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); color: var(--text-primary); text-decoration: none; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.ft-card:hover, .ft-card:focus-visible { border-color: color-mix(in srgb, var(--brand) 55%, var(--border)); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .10); }
.ft-card.is-pro { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 5%, var(--card)), var(--card) 60%); }
.ft-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.ft-ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); }
.ft-card-title { font-size: 17px; font-weight: 650; line-height: 1.3; }
.ft-card-desc { font-size: 14px; line-height: 1.5; color: var(--text-dim); }
.ft-editions { padding: 48px 0 72px; border-top: 1px solid var(--hairline); }
.ft-editions-title { margin: 0 0 8px; font-size: 28px; letter-spacing: -.01em; }
.ft-editions-lede { margin: 0 0 24px; max-width: 80ch; color: var(--text-dim); }
.ft-editions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ft-edition { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }
.ft-edition.is-pro { border-color: color-mix(in srgb, var(--brand) 50%, var(--border)); }
.ft-edition p { margin: 0; color: var(--text-dim); flex: 1; }
.ft-edition-name { font-size: 18px; font-weight: 700; }
.ft-edition-price b { font-size: 30px; margin-right: 8px; }
.ft-edition-price span { color: var(--text-dim); }
.ft-edition-actions { display: grid; gap: 10px; margin-top: 4px; }
.ft-edition-actions .btn { width: 100%; }
@media (max-width: 900px) { .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ft-grid, .ft-editions-grid { grid-template-columns: 1fr; } .ft-hero { padding-top: 40px; } }
@media (prefers-reduced-motion: reduce) { .ft-card { transition: none; } .ft-card:hover { transform: none; } }

/* ---------- /releases — release-note entries (13 November 2026) ----------
   Edition badge, version and date on every card; a server-side All / Free /
   Pro filter; older entries folded as <details> that keep their version ids.
   No coloured edge stripes: the badge carries the edition. */
.rn-page { --rn-link: var(--brand); padding: 56px 0 80px; }
:root[data-site-theme="light"] .rn-page { --rn-link: #2563EB; }
@media (prefers-color-scheme: light) { :root:not([data-site-theme="dark"]) .rn-page { --rn-link: #2563EB; } }
.rn-col { max-width: 760px; margin: 0 auto; }
.rn-page h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.rn-page .lede { max-width: 620px; margin-top: 12px; }
.rn-page a { color: var(--rn-link); }
.rn-empty { margin-top: 28px; color: var(--text-dim); }
.rn-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 28px 0 8px; }
.rn-seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--border); border-radius: 9px; background: var(--card-2); }
.rn-page .rn-seg a { height: 34px; padding: 0 14px; border-radius: 6px; display: inline-flex; align-items: center; gap: 7px; color: var(--text-dim); font-size: 14px; font-weight: 600; }
.rn-page .rn-seg a:hover { color: var(--text-primary); }
.rn-seg a .n { font-weight: 500; color: var(--text-faint); font-size: 12.5px; }
.rn-page .rn-seg a.on { background: var(--card); color: var(--text-primary); box-shadow: 0 0 0 1px var(--border-hi), 0 1px 2px rgba(15, 23, 42, .06); }
:root[data-site-theme="dark"] .rn-page .rn-seg a.on { background: var(--card-hi); }
.rn-legend { font-size: 13.5px; color: var(--text-mute); line-height: 1.5; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.rn-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.rn-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; flex: none; white-space: nowrap; }
.rn-badge.sm { height: 18px; padding: 0 6px; font-size: 10.5px; }
.rn-badge-free { color: var(--text-primary); background: color-mix(in srgb, var(--text-primary) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text-primary) 10%, transparent); }
.rn-badge-pro { color: #fff; background: var(--brand-fill); }
.rn-month { margin: 40px 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); display: flex; align-items: center; gap: 12px; }
.rn-month::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.rn-entry { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 26px; margin-bottom: 14px; scroll-margin-top: 90px; }
.rn-entry:target { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent); }
.rn-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rn-head h2 { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.rn-date { font-size: 13.5px; color: var(--text-mute); }
.rn-page a.rn-anchor { margin-left: auto; font: 12px/1 var(--font-mono); color: var(--text-faint); padding: 5px 7px; border-radius: 5px; border: 1px solid transparent; }
.rn-page a.rn-anchor:hover { border-color: var(--border); color: var(--text-primary); }
.rn-body { margin-top: 12px; }
.rn-body p { color: var(--text-dim); font-size: 15px; line-height: 1.65; margin: 0 0 12px; }
.rn-intro p { color: var(--text-primary); }
.rn-body h3 { font-size: 15px; font-weight: 600; margin: 18px 0 8px; color: var(--text-primary); }
.rn-body ul, .rn-body ol { margin: 0 0 12px; padding: 0; list-style: none; }
.rn-body li { position: relative; padding-left: 22px; margin-bottom: 9px; color: var(--text-dim); font-size: 15px; line-height: 1.6; }
.rn-body li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .6; }
.rn-body strong { color: var(--text-primary); font-weight: 600; }
.rn-body code { font-size: 13px; background: var(--well); border: 1px solid var(--hairline); border-radius: 4px; padding: 1px 5px; white-space: nowrap; }
.rn-body table { display: block; width: 100%; overflow-x: auto; margin: 12px 0 16px; border: 1px solid var(--hairline); border-radius: 8px; border-spacing: 0; font-size: 14px; }
.rn-body th, .rn-body td { padding: 8px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); }
.rn-text > :last-child, .rn-text > ul:last-child > li:last-child { margin-bottom: 0; }
.rn-body p.rn-en { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 12.5px; color: var(--text-mute); }
.rn-en i { font-style: normal; font: 600 10.5px/1 var(--font-mono); padding: 3px 5px; border-radius: 4px; background: var(--card-hi); color: var(--text-dim); }
.rn-incl { margin-top: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 11px 14px; border-radius: var(--radius); background: var(--well); border: 1px solid var(--hairline); font-size: 14.5px; color: var(--text-primary); }
.rn-incl .go { margin-left: auto; font-weight: 600; font-size: 14px; }
.rn-incl-d { margin-top: 16px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--well); }
.rn-incl-d > summary.rn-incl { margin: 0; border: 0; background: none; cursor: pointer; list-style: none; }
.rn-incl-d > summary::-webkit-details-marker { display: none; }
.rn-incl-d .go { color: var(--rn-link); }
.rn-incl-d .when-open, .rn-incl-d[open] .when-closed { display: none; }
.rn-incl-d[open] .when-open { display: inline; }
.rn-incl-d .car { display: inline-block; }
.rn-incl-d[open] .car { transform: rotate(180deg); }
.rn-incl-d .rn-incl-list { margin: 0 14px 14px; padding: 12px 0 0; border-top: 1px solid var(--hairline); }
.rn-incl-list p, .rn-incl-list li { font-size: 14px; }
.rn-older { margin-top: 36px; padding: 20px 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card-2); }
.rn-older h2 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.rn-older p { font-size: 14px; color: var(--text-mute); margin-bottom: 14px; }
.rn-older-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; }
.rn-older-row .rn-badge { margin-top: 5px; }
.rn-vchips { display: flex; flex-wrap: wrap; gap: 6px; }
.rn-page a.rn-vchip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--border); background: var(--card); color: var(--text-primary); font: 500 13px/1 var(--font-mono); }
.rn-page a.rn-vchip:hover { border-color: var(--brand-soft); }
.rn-folded { margin-top: 14px; }
.rn-fold { padding: 0; margin-bottom: 8px; }
.rn-fold > summary { list-style: none; cursor: pointer; padding: 14px 22px; }
.rn-fold > summary::-webkit-details-marker { display: none; }
.rn-fold > summary h2 { font-size: 17px; }
.rn-fold > .rn-body { margin: 0; padding: 0 26px 20px; }
.rn-car { margin-left: auto; width: 8px; height: 8px; border-right: 1.5px solid var(--text-mute); border-bottom: 1.5px solid var(--text-mute); transform: translateY(-2px) rotate(45deg); }
.rn-fold[open] .rn-car { transform: translateY(2px) rotate(225deg); }
@media (max-width: 600px) {
  .rn-page { padding: 32px 0 56px; }
  .rn-page h1 { font-size: 30px; }
  .rn-page .lede { font-size: 16px; }
  .rn-tools { margin-top: 22px; }
  .rn-seg { width: 100%; }
  .rn-page .rn-seg a { flex: 1; justify-content: center; padding: 0 8px; }
  .rn-entry { padding: 18px 16px; }
  .rn-head h2 { font-size: 20px; }
  .rn-page a.rn-anchor { display: none; }
  .rn-head .rn-date { flex-basis: 100%; }
  .rn-incl .go { margin-left: 0; flex-basis: 100%; }
  .rn-fold > summary { padding: 12px 16px; }
  .rn-fold > .rn-body { padding: 0 16px 16px; }
  .rn-fold .rn-head .rn-date { flex-basis: auto; }
}

/* ---------- Simulator packs, DCS World page, rationalized nav & Pricing packs (26 November 2026) ---------- */
.nav-pack-dot {
  display: inline-block; margin-left: 4px; padding: 3px 5px; border-radius: 4px;
  background: #7C3AED; color: #fff;
  font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: 0.06em;
  vertical-align: middle;
}
.ft-badge-pack { color: #fff; background: #7C3AED; }
.ft-badge-beta { color: #92400E; background: #FEF3C7; border: 1px solid #F59E0B; }
[data-theme="dark"] .ft-badge-beta { color: #FDE68A; background: color-mix(in srgb, #F59E0B 18%, transparent); border-color: color-mix(in srgb, #F59E0B 45%, transparent); }
.ft-card.is-pack { background: linear-gradient(180deg, color-mix(in srgb, #7C3AED 7%, var(--card)), var(--card) 60%); }
.ft-card.is-pack:hover, .ft-card.is-pack:focus-visible { border-color: color-mix(in srgb, #7C3AED 55%, var(--border)); }
.ft-edition.is-pack { border-color: color-mix(in srgb, #7C3AED 50%, var(--border)); }
.ft-editions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .ft-editions-grid { grid-template-columns: 1fr; } }

.dcs-hero-facts { margin: 0 0 20px; }
.dcs-hero-sublink { margin: 14px 0 0; font-size: 14.5px; font-weight: 600; }
.dcs-status-note { margin: 0 0 18px; color: var(--text-dim); font-size: 14px; }
.dcs-section { padding: 56px 0; }
.dcs-shot-contain { aspect-ratio: auto; background: var(--card); }
.dcs-shot-contain img { width: 100%; height: auto; object-fit: contain; }
.dcs-modes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dcs-mode-card {
  display: grid; gap: 14px; align-content: start; padding: 26px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card);
}
.dcs-mode-card.is-rec { border-color: color-mix(in srgb, #7C3AED 55%, var(--border)); }
.dcs-mode-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dcs-mode-head h3 { margin: 0; font-size: 20px; }
.dcs-mode-card p { margin: 0; color: var(--text-dim); line-height: 1.6; }
.dcs-store-preview {
  margin-top: 24px; max-width: 960px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow);
}
.dcs-store-preview img { display: block; width: 100%; height: auto; }
.dcs-owner-pill {
  padding: 10px 12px; border-radius: 8px;
  background: color-mix(in srgb, #7C3AED 10%, var(--card));
  border: 1px solid color-mix(in srgb, #7C3AED 32%, var(--border));
  color: var(--text-primary);
}
@media (max-width: 820px) { .dcs-modes-grid { grid-template-columns: 1fr; } .dcs-section { padding: 40px 0; } }

/* Pricing: Simulator Packs & Existing-Owner Discount */
.pr-packs-section { padding: 56px 0; }
.pr-pack-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.pr-pack-card {
  display: flex; flex-direction: column; gap: 14px; padding: 26px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card);
}
.pr-pack-card.is-featured { border-color: color-mix(in srgb, #7C3AED 55%, var(--border)); }
.pr-pack-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pr-pack-trial { font-size: 13px; font-weight: 600; color: var(--brand); }
.pr-pack-card h3 { margin: 0; font-size: 22px; }
.pr-pack-card p { margin: 0; color: var(--text-dim); line-height: 1.6; }
.pr-pack-card .cta-row { margin-top: auto; margin-bottom: 0; }
.pr-bands { display: grid; gap: 10px; }
.pr-bands > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding: 10px 14px; border-radius: 8px; background: var(--well); border: 1px solid var(--hairline);
}
.pr-bands b { font-size: 14px; color: var(--text-primary); }
.pr-bands span { font-size: 14px; color: var(--text-dim); }
.pr-band-foot { font-size: 13px; color: var(--text-mute); }

.pr-owner-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; padding: 28px;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--border));
  border-radius: var(--radius-lg); background: var(--card);
}
.pr-owner-copy { display: grid; gap: 12px; align-content: start; }
.pr-owner-copy h3 { margin: 0; font-size: 22px; }
.pr-owner-copy p { margin: 0; color: var(--text-dim); line-height: 1.6; }
.pr-owner-examples {
  display: grid; gap: 10px; align-content: start; padding: 20px;
  border-radius: 10px; background: var(--well); border: 1px solid var(--hairline);
}
.pr-owner-examples h4 { margin: 0 0 4px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); }
.pr-example { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.pr-example:last-of-type { border-bottom: 0; }
.pr-example span { font-size: 13.5px; color: var(--text-dim); }
.pr-example b { font-size: 15.5px; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.pr-example-note { margin: 4px 0 0; font-size: 12.5px; color: var(--text-mute); }

.hm-pack-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, #7C3AED 45%, var(--border));
  background: linear-gradient(135deg, color-mix(in srgb, #7C3AED 7%, var(--card)), var(--card) 55%);
}
.hm-pack-strip-copy { display: grid; gap: 6px; max-width: 62ch; justify-items: start; }
.hm-pack-strip-copy h3 { margin: 2px 0 0; font-size: 20px; }
.hm-pack-strip-copy p { margin: 0; font-size: 15px; color: var(--text-dim); line-height: 1.55; }

@media (max-width: 820px) {
  .pr-pack-grid, .pr-owner-card { grid-template-columns: 1fr; }
  .pr-packs-section { padding: 40px 0; }
}

/* Home hero: DCS World + Pro highlights */
.hm-hero-notes { display: grid; gap: 10px; max-width: 58ch; }
.hm-hero-notes .hm-hero-b { margin: 0; font-size: 15px; line-height: 1.55; }
.hm-hero-notes .hm-hero-b a { font-weight: 600; white-space: nowrap; }
.hm-hero-b-dcs { border-left-color: #7C3AED; }
.hm-hero-sublinks {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: -6px 0 0; font-size: 14.5px; color: var(--text-mute);
}
.hm-hero-sublinks a { color: var(--brand); font-weight: 600; text-decoration: none; }
.hm-hero-sublinks a:hover { text-decoration: underline; }
.hm-chip-dcs {
  border-color: color-mix(in srgb, #7C3AED 45%, var(--border));
  background: color-mix(in srgb, #7C3AED 10%, var(--card));
}
.hm-chip-dcs a { color: #6D28D9; font-weight: 600; text-decoration: none; }
html[data-theme="dark"] .hm-chip-dcs a { color: #C4B5FD; }
.hm-chip-dcs a:hover { text-decoration: underline; }

/* Pro detail pages: 14-day trial helper line under hero CTA */
.fp-trial-note {
  margin: 12px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-dim);
}
.fp-trial-note a { font-weight: 600; margin-left: 4px; white-space: nowrap; }

/* DCS wide chip-panel shot & zoomed hero stick: keep crisp natural aspect ratio */
.fp-shot.dcs-shot-auto { aspect-ratio: auto; padding: 14px; }
.fp-shot.dcs-shot-auto .fp-shot-content img { width: 100%; height: auto; object-fit: contain; }
.fp-shot.dcs-hero-shot { max-width: 680px; width: 100%; justify-self: center; padding: 8px; }

/* Pricing jump link to visual Store */
.pr-store-jump { margin: 12px 0 0; font-size: 15px; color: var(--text-dim); }
.pr-store-jump a { font-weight: 600; }

/* Store & Pricing page (/store) */
.st-section { padding: 56px 0; }
.st-stack { display: grid; gap: 28px; }
.st-facts { margin-bottom: 22px; }

.st-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.st-card {
  display: flex; flex-direction: column; gap: 14px; padding: 26px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card);
}
.st-card.is-pro {
  border-color: color-mix(in srgb, var(--brand) 50%, var(--border));
  box-shadow: 0 8px 28px color-mix(in srgb, var(--brand) 8%, transparent);
}
.st-card.is-pack {
  border-color: color-mix(in srgb, #7C3AED 50%, var(--border));
  box-shadow: 0 8px 28px color-mix(in srgb, #7C3AED 8%, transparent);
}
.st-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.st-card-os { font-size: 12.5px; color: var(--text-mute); font-weight: 500; }
.st-card h3 { margin: 0; font-size: 22px; }
.st-card-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.st-card-price b { font-size: 30px; line-height: 1.1; letter-spacing: -.02em; color: var(--text-primary); }
.st-card-price span { font-size: 13.5px; color: var(--text-mute); }
.st-card-owner {
  margin: 0; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; line-height: 1.45;
  background: color-mix(in srgb, var(--brand) 9%, var(--well));
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--border));
  color: var(--text-primary);
}
.st-card-owner.is-pack {
  background: color-mix(in srgb, #7C3AED 10%, var(--well));
  border-color: color-mix(in srgb, #7C3AED 30%, var(--border));
}
.st-card-desc { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }
.st-card-list { margin: 0; }
.st-card-list li { font-size: 14px; line-height: 1.5; }
.st-card-actions {
  margin-top: auto; padding-top: 8px; display: grid; gap: 10px;
}
.st-card-actions .btn { width: 100%; justify-content: center; text-align: center; }
.st-card-link {
  font-size: 14px; font-weight: 600; color: var(--brand); text-align: center; text-decoration: none;
}
.st-card-link:hover { text-decoration: underline; }

.st-compare-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 22px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border);
  font-size: 14.5px; color: var(--text-dim);
}
.st-compare-bar a { font-weight: 600; white-space: nowrap; }

.st-discount-grid {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start;
}
.st-discount-rules { display: grid; gap: 16px; }
.st-rule-tile {
  display: grid; gap: 10px; align-content: start;
  padding: 22px 24px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border);
}
.st-rule-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.st-rule-head h3 { margin: 0; font-size: 18px; }
.st-rule-tag {
  font-size: 15px; font-weight: 700; color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.st-rule-tile p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }
.st-rule-sub { font-size: 13px !important; color: var(--text-mute) !important; }
.st-rule-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px;
}
.st-rule-grid > div {
  display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px;
  background: var(--well); border: 1px solid var(--hairline);
}
.st-rule-grid span { font-size: 12.5px; color: var(--text-mute); }
.st-rule-grid b { font-size: 15px; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.st-rule-grid s { font-weight: 400; color: var(--text-mute); margin-right: 4px; }

.st-paths-card {
  display: grid; gap: 12px; padding: 24px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid color-mix(in srgb, var(--brand) 40%, var(--border));
}
.st-paths-card h3 { margin: 0 0 4px; font-size: 20px; }
.st-path {
  display: grid; gap: 6px; padding: 12px 14px; border-radius: 10px;
  background: var(--well); border: 1px solid var(--hairline);
}
.st-path-label { font-size: 13.5px; color: var(--text-dim); }
.st-path-math { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 14.5px; color: var(--text-dim); }
.st-path-math b { color: var(--text-primary); }
.st-op { color: var(--text-mute); font-weight: 600; }
.st-total { color: var(--brand); font-size: 16.5px; font-variant-numeric: tabular-nums; }
.st-paths-note { margin: 2px 0 0; font-size: 12.5px; color: var(--text-mute); line-height: 1.5; }

.st-pillars {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.st-pillar {
  display: grid; gap: 8px; align-content: start; padding: 20px;
  border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border);
}
.st-pillar h3 { margin: 0; font-size: 16.5px; }
.st-pillar p { margin: 0; font-size: 14px; color: var(--text-dim); line-height: 1.55; }

.st-shots-two {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
.st-shot-card {
  margin: 0; display: grid; gap: 10px; padding: 14px;
  border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border);
}
.st-shot-card img { display: block; width: 100%; height: auto; border-radius: 8px; }
.st-shot-card figcaption { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; padding: 0 4px 2px; }

.st-tiers-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.st-tier {
  display: grid; gap: 8px; align-content: start; padding: 22px;
  border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border);
}
.st-tier.is-current { border-color: color-mix(in srgb, #7C3AED 50%, var(--border)); }
.st-tier-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-mute); }
.st-tier-price { display: flex; align-items: baseline; gap: 8px; }
.st-tier-price b { font-size: 26px; color: var(--text-primary); }
.st-tier-price span { font-size: 13.5px; color: var(--text-mute); }
.st-tier-owner { font-size: 14px; color: var(--text-primary); }
.st-tier p { margin: 4px 0 0; font-size: 14px; color: var(--text-dim); line-height: 1.55; }

@media (max-width: 1040px) {
  .st-products-grid { grid-template-columns: 1fr; }
  .st-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .st-section { padding: 40px 0; }
  .st-discount-grid, .st-shots-two, .st-tiers-grid, .st-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .trial-facts, .st-rule-grid { grid-template-columns: 1fr; max-width: none; }
}

/* ---------- Mobile layout, button alignment & touch-target polish (26 November 2026) ---------- */
@media (max-width: 640px) {
  /* Top bar: balanced gaps, 40px touch targets, burger stays cleanly on the far right. */
  nav.top .wrap { gap: 8px; }
  .theme-toggle { width: 40px; height: 40px; margin-left: 0; }
  .language-selector summary { min-height: 40px; padding: 0 10px; }

  /* Prevent iOS Safari auto-zoom on form fields. */
  .subscribe-input,
  .feedback-form input[type="email"],
  .feedback-form input[type="text"],
  .feedback-form textarea,
  .feedback-form select,
  .money-input input {
    font-size: 16px;
  }

  /* Touch-friendly community/aircraft buttons. */
  .fx-btn { min-height: 40px; }

  /* Pricing comparison table (/pricing): show Free AND Pro side-by-side without clipping Pro off-screen. */
  .pr-ptable { min-width: 0; width: 100%; table-layout: fixed; font-size: 13px; }
  .pr-ptable th, .pr-ptable td { padding: 10px 8px; overflow-wrap: break-word; }
  .pr-ptable thead th { padding-top: 14px; font-size: 13px; }
  .pr-ptable thead th:first-child,
  .pr-ptable tbody th[scope="row"] { width: 40%; font-size: 13px; line-height: 1.35; }
  .pr-ptable thead th:not(:first-child),
  .pr-ptable td { width: 30%; }
  .pr-ptable .pr-col-name { font-size: 14px; line-height: 1.25; min-height: 2.5em; }
  .pr-ptable thead .pr-price { min-height: 58px; margin-top: 4px; }
  .pr-ptable thead .pr-price b { font-size: 18px; }
  .pr-ptable thead .pr-price span { font-size: 11px; line-height: 1.3; }
  .pr-ptable thead .btn {
    min-width: 0; width: 100%; max-width: none;
    min-height: 40px; padding: 8px 6px; margin-top: 10px; font-size: 12.5px;
  }
  .pr-ptable-trial { display: block; margin-top: 8px; font-size: 12px; line-height: 1.3; text-align: center; }

  /* Hardware OS/sim matrix (/hardware): fit all 4 columns cleanly without right-edge clipping. */
  .hw-matrix { min-width: 0; width: 100%; table-layout: fixed; }
  .hw-matrix th, .hw-matrix td { padding: 10px 8px; font-size: 12.5px; line-height: 1.4; overflow-wrap: break-word; }
  .hw-matrix thead th { font-size: 10.5px; letter-spacing: 0.02em; }
  .hw-matrix thead th:nth-child(1) { width: 26%; }
  .hw-matrix thead th:nth-child(2) { width: 22%; }
  .hw-matrix thead th:nth-child(3) { width: 22%; }
  .hw-matrix thead th:nth-child(4) { width: 30%; }
  .hw-matrix .hw-note { display: block; font-size: 11px; margin-top: 1px; }

  /* Smooth touch scrolling on any remaining wide tables. */
  .landing-table-wrap, .hw-matrix-wrap { -webkit-overflow-scrolling: touch; }
}

@media (max-width: 600px) {
  /* Full-width, cleanly aligned stacked CTAs across marketing, Store, Pro, DCS, Download & Support pages. */
  .cta-row,
  .hm-actions,
  .pr-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .cta-row > .btn,
  .hm-actions > .btn,
  .pr-actions > .btn,
  .btn.hm-band-btn,
  .pro-buy-all-features .btn,
  .pricing-support-cta .btn,
  .feedback-form .btn,
  .subscribe-row .btn {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }
  .fp-cta { justify-items: stretch; }
  .hm-pack-strip { padding: 20px; gap: 16px; }
  .hm-pack-strip > .hm-actions { width: 100%; }

  /* Subscribe form (/download, /pro): align submit button flush with email input. */
  .subscribe-row { flex-direction: column; gap: 10px; }
  .subscribe-input { flex: none; width: 100%; }

  /* Secondary links below stacked card buttons: centered, comfortable touch target. */
  .st-card-link,
  .r2-dl-pro-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 520px) {
  /* Custom support amount row (/support-dev): stack input above full-width button. */
  .support-custom-row { grid-template-columns: 1fr; }
  .support-custom-row .btn { width: 100%; min-width: 0; }

  /* Balanced card padding on narrow phones. */
  .hm-app,
  .st-card,
  .dcs-mode-card,
  .pr-pack-card,
  .pr-owner-card,
  .pr-buycard,
  .ft-edition,
  .st-rule-tile,
  .st-paths-card,
  .st-tier,
  .r2-dl-pro {
    padding: 20px;
  }
  .hm-hero-notes .hm-hero-b a,
  .fp-trial-note a,
  .st-compare-bar a {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .slim-actions .btn { width: 100%; min-width: 0; }
}

/* ---------- Home 5-hardware hero rotator ---------- */
.hm-rotator {
  position: relative;
  display: grid;
}
.hm-rotator-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hm-rotator-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hm-rotator-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hm-rotator-slide picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hm-rotator-slide.is-studio {
  background: radial-gradient(circle at 50% 42%, var(--card) 0%, var(--well) 78%);
  padding: 28px 28px 56px;
}
.hm-rotator-slide.is-studio img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(15, 23, 42, .16));
}
.hm-rotator-cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 3;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text-primary);
  background: color-mix(in srgb, var(--card) 86%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.hm-rotator-bar {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.hm-rotator-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hm-rotator-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--text-mute);
  opacity: .45;
  cursor: pointer;
  transition: width .2s ease, opacity .2s ease, background-color .2s ease;
}
.hm-rotator-dot.is-active {
  width: 20px;
  opacity: 1;
  background: var(--brand);
}
.hm-rotator-arrows {
  display: flex;
  align-items: center;
  gap: 2px;
  border-left: 1px solid var(--border);
  padding-left: 6px;
}
.hm-rotator-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
}
.hm-rotator-btn:hover { background: var(--well); }
@media (prefers-reduced-motion: reduce) {
  .hm-rotator-slide { transition: none; }
}

/* ---------- Inline testimonials strip (Pro & DCS) ---------- */
.pr-testimonials, .dcs-quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.dcs-quotes-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pr-quote-card {
  margin: 0;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  display: grid;
  gap: 10px;
  align-content: space-between;
}
.pr-quote-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
}
.pr-quote-card figcaption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mute);
}
.pr-quote-card figcaption b { color: var(--text-primary); }
@media (max-width: 900px) {
  .dcs-quotes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pr-testimonials, .dcs-quotes-grid { grid-template-columns: 1fr; }
}

/* ---------- Unified 3-tier Manuals Hub (/docs/manual) ---------- */
.manuals-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 24px 0 36px;
}
.manual-tier-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
}
.manual-tier-card.is-primary {
  border-color: color-mix(in srgb, var(--brand) 48%, var(--border));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 8%, transparent);
}
.manual-tier-card.is-pack {
  border-color: color-mix(in srgb, #7C3AED 45%, var(--border));
}
.manual-tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.manual-tier-top .ft-badge {
  white-space: nowrap;
  flex-shrink: 0;
}
.manual-tier-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
  white-space: nowrap;
}
.manual-tier-card h2 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 22px !important;
  line-height: 1.25;
}
.manual-tier-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 68ch;
}
.manual-tier-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 24px;
  margin: 0 !important;
  padding-left: 18px !important;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
}
.manual-tier-list li { margin-bottom: 0 !important; }
.manual-tier-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.manual-tier-actions .btn { width: auto; justify-content: center; }
.manual-tier-sub {
  font-size: 14px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
.manual-tier-sub:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .manual-tier-list { grid-template-columns: 1fr; }
  .manual-tier-actions .btn { width: 100%; }
}

/* ---------- Redesigned /download hero & Pro banner ---------- */
.r2-dl-main {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.r2-dl-meta-stack {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.r2-dl-meta-stack .tiny {
  margin: 0;
  max-width: 62ch;
}
.r2-dl-hw-strip {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 8px;
}
.r2-dl-hw-strip .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.r2-dl-hw-strip p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 62ch;
}
.r2-dl-hw-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 2px;
}
.r2-dl-hw-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.r2-dl-hw-links a:hover { text-decoration: underline; }
.r2-dl-pro-wrap {
  margin-top: 40px;
}
.r2-dl-pro-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px 36px;
  align-items: center;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
}
.r2-dl-pro-banner-copy {
  display: grid;
  gap: 6px;
}
.r2-dl-pro-banner-copy .download-panel-kicker { margin-bottom: 0; }
.r2-dl-pro-banner-copy h2 { margin: 0; font-size: 21px; }
.r2-dl-pro-banner-copy p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-dim); max-width: 58ch; }
.r2-dl-pro-banner-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  border-left: 1px solid var(--hairline);
  padding-left: 28px;
}
.r2-dl-pro-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.r2-dl-pro-banner-actions .btn {
  white-space: nowrap;
}
.r2-dl-pro-banner-actions .r2-dl-pro-more {
  flex-basis: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}
@media (max-width: 900px) {
  .r2-dl-pro-banner {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .r2-dl-pro-banner-side {
    border-left: 0;
    border-top: 1px solid var(--hairline);
    padding-left: 0;
    padding-top: 16px;
  }
}
