/* Usable Sync for WordPress — landing page styles.
   Brand tokens and components follow msoffice.usable.dev (Usable design system);
   WordPress blue is used only as an accent on WordPress-side elements, via --wp. */
/* Hanken Grotesk (SIL OFL 1.1, see fonts/OFL.txt), self-hosted so the page makes no third-party requests. */
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/hanken-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/hanken-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg:          #f4f3f3;
  --bg-soft:     #fef5e7;
  --surface:     #ffffff;
  --surface-2:   #faf8f4;
  --fg:          #1c2f40;
  --fg-soft:     #4a5f7a;
  --muted:       #7a8fa5;
  --border:      #e6e1d8;
  --border-soft: #efebe2;

  --accent:      #fcaf2a;   /* orange — fills only */
  --accent-press:#ec9f18;
  --accent-ink:  #1c2f40;   /* navy text on orange */
  --accent-soft: rgba(252,175,42,0.16);

  --link:        #2f6fae;   /* blue — text/links/focus (AA on cream) */
  --link-press:  #245b91;
  --link-soft:   rgba(52,124,191,0.12);
  --link-line:   rgba(52,124,191,0.34);

  --success:     #2f8a3b;
  --success-soft:rgba(47,138,59,0.14);
  --warn:        #b07400;
  --warn-soft:   rgba(176,116,0,0.14);

  --shadow-sm: 0 1px 2px rgba(28,47,64,0.06), 0 1px 1px rgba(28,47,64,0.04);
  --shadow-md: 0 10px 28px rgba(28,47,64,0.10);
  --shadow-lg: 0 26px 60px rgba(28,47,64,0.16);

  --maxw: 1140px;
  --radius: 14px;
  --radius-lg: 20px;

  --font: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-mono: 'Cascadia Code', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Usable brand mascot (shared @usable/office-assets/logo.png, inlined) */
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:          #131f2b;
    --bg-soft:     #18293a;
    --surface:     #1c2f40;
    --surface-2:   #18293a;
    --fg:          #f4f3f3;
    --fg-soft:     #aebfce;
    --muted:       #7f97ad;
    --border:      rgba(244,243,243,0.12);
    --border-soft: rgba(244,243,243,0.07);

    --accent:      #fcaf2a;
    --accent-press:#ffc251;
    --accent-ink:  #1c2f40;
    --accent-soft: rgba(252,175,42,0.18);

    --link:        #7db4e3;
    --link-press:  #9ac6ec;
    --link-soft:   rgba(125,180,227,0.16);
    --link-line:   rgba(125,180,227,0.38);

    --success:     #5bc06b;
    --success-soft:rgba(91,192,107,0.18);
    --warn:        #e0a93a;
    --warn-soft:   rgba(224,169,58,0.18);

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
    --shadow-md: 0 12px 30px rgba(0,0,0,0.45);
    --shadow-lg: 0 30px 70px rgba(0,0,0,0.55);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
svg { display: block; }
::selection { background: var(--accent-soft); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
:where(a, button, input, [tabindex]):focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 8px; }

.skip { position: absolute; left: 12px; top: -56px; background: var(--surface); color: var(--fg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 16px; z-index: 200; transition: top .15s ease; box-shadow: var(--shadow-md); }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; letter-spacing: 0.01em; padding: 11px 18px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .08s ease, background .15s ease, border-color .15s ease; }
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); border-color: transparent; color: var(--accent-ink); box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 6px 18px var(--accent-soft); }
.btn--primary:hover { background: var(--accent-press); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--link-soft); border-color: var(--link-line); }
.btn--sm { padding: 8px 13px; font-size: 14px; border-radius: 9px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--border-soft); }
.nav { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
/* Official Usable lockup (bunny + wordmark baked in) — navy text on light bg, white text on dark. */
.brand-lockup { height: 30px; width: auto; display: block; }
.brand-lockup--on-dark { display: none; }
.brand .sub { color: var(--muted); font-family: var(--font); font-weight: 500; font-size: 17px; letter-spacing: 0; position: relative; top: 4px; }
@media (prefers-color-scheme: dark) {
  .brand-lockup--on-light { display: none; }
  .brand-lockup--on-dark { display: block; }
}
.nav-links { display: none; gap: 4px; margin-left: 8px; }
.nav-links a { text-decoration: none; color: var(--fg-soft); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 9px; }
.nav-links a:hover { color: var(--fg); background: var(--surface-2); }
.nav-spacer { flex: 1; }
@media (min-width: 820px) { .nav-links { display: inline-flex; } }

/* ---------- Hero (keeps grid + shine) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(54px, 9vw, 104px) 0 clamp(40px, 6vw, 72px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 640px; z-index: -2;
  background: radial-gradient(58% 70% at 20% 6%, var(--accent-soft), transparent 60%), radial-gradient(46% 60% at 86% 0%, var(--link-soft), transparent 62%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(var(--border-soft) 1px, transparent 1px), linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 16%, #000 0%, transparent 72%); mask-image: radial-gradient(70% 60% at 50% 16%, #000 0%, transparent 72%); }
.hero-head { max-width: var(--maxw); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.03em; color: var(--fg-soft); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px 6px 11px; box-shadow: var(--shadow-sm); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
h1.hero-title { font-size: clamp(38px, 6.2vw, 66px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin: 22px 0 0; text-wrap: balance; }
.hero-sub { font-size: clamp(17px, 2.1vw, 20px); color: var(--fg-soft); max-width: 58ch; margin: 20px 0 0; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; color: var(--muted); font-size: 14px; }
.trust-row .tick { display: inline-flex; align-items: center; gap: 7px; }
.trust-row .tick svg { width: 16px; height: 16px; color: var(--success); }

/* Hero promo video */
.hero-video { position: relative; margin: clamp(26px, 4vw, 40px) 0 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--surface); }
.hero-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* Hero video control bar — play/pause, seek timeline, elapsed time, mute.
   Hidden while the video plays; fades in on hover, focus, or when paused. */
.hv-controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 30px 16px 14px; background: linear-gradient(to top, rgba(12,20,29,0.80), rgba(12,20,29,0)); opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.hero-video:hover .hv-controls, .hero-video:focus-within .hv-controls, .hv-controls.is-paused { opacity: 1; pointer-events: auto; }
.hv-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: rgba(19,31,43,0.62); color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: background .16s ease, transform .16s ease; }
.hv-btn:hover { background: rgba(19,31,43,0.9); transform: scale(1.05); }
.hv-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hv-btn svg { width: 20px; height: 20px; }
.hv-ic-play { display: none; }
.hv-controls.is-paused .hv-ic-play { display: block; }
.hv-controls.is-paused .hv-ic-pause { display: none; }
.hv-sound .hv-ic-sound { display: none; }
.hv-sound[aria-pressed="true"] .hv-ic-muted { display: none; }
.hv-sound[aria-pressed="true"] .hv-ic-sound { display: block; }
/* Timeline scrubber (accessible range input, brand-amber fill) */
.hv-scrub { flex: 1 1 auto; -webkit-appearance: none; appearance: none; height: 6px; margin: 0; border-radius: 999px; cursor: pointer; outline: none; background: rgba(255,255,255,0.28); background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat; background-size: 0% 100%; }
.hv-scrub::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 999px; background: #fff; border: 2px solid var(--accent); box-shadow: 0 1px 3px rgba(0,0,0,0.35); cursor: pointer; }
.hv-scrub::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid var(--accent); border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.35); cursor: pointer; }
.hv-scrub::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--accent); }
.hv-scrub:focus-visible { box-shadow: 0 0 0 3px rgba(252,175,42,0.4); }
.hv-time { flex: none; font-variant-numeric: tabular-nums; font-size: 13px; color: rgba(255,255,255,0.92); text-shadow: 0 1px 2px rgba(0,0,0,0.45); min-width: 84px; text-align: right; white-space: nowrap; }

/* ---------- Section scaffolding ---------- */
section { scroll-margin-top: 84px; }
.section { padding: clamp(52px, 8vw, 88px) 0; }
.section-head { max-width: 640px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; margin: 12px 0 0; text-wrap: balance; }
.section-head p { color: var(--fg-soft); font-size: clamp(16px, 2vw, 18px); margin: 14px 0 0; max-width: 56ch; text-wrap: pretty; }

/* ---------- Host card grid (auto-scaling) ---------- */
.host-grid { list-style: none; margin: clamp(28px, 4vw, 40px) 0 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.host-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; gap: 12px; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.host-card:hover { box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--host) 45%, var(--border)); }
.host-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg, var(--host), color-mix(in srgb, var(--host) 30%, transparent)); }
.host-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--host); background: color-mix(in srgb, var(--host) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--host) 24%, transparent); }
.host-icon svg { width: 25px; height: 25px; }
.host-card__title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 2px 0 0; }
.host-card__desc { color: var(--fg-soft); font-size: 14.5px; margin: 0; flex: 1; text-wrap: pretty; }

/* ---------- Install paths (compact teaser → guide) ---------- */
.paths-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 9px; }
.paths-note svg { width: 17px; height: 17px; color: var(--link); flex: none; }
.install-cta { margin-top: 22px; }

/* ---------- Install guide: manifest pills + tabs + steps ---------- */

.guide { margin-top: clamp(30px,4.5vw,46px); }
ol.steps { list-style: none; counter-reset: s; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
ol.steps li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); }
ol.steps li::before { counter-increment: s; content: counter(s); width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--accent); color: var(--accent-ink); }
ol.steps p { margin: 0; font-size: 14.5px; color: var(--fg-soft); }
ol.steps p strong { color: var(--fg); font-weight: 650; }
.guide code { font-family: var(--font-mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 6px; padding: 1px 6px; word-break: break-all; }
.gcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.gcard h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.gcard > p { color: var(--fg-soft); font-size: 14px; margin: 0 0 6px; }
.callout { display: grid; grid-template-columns: 22px 1fr; gap: 11px; margin-top: 18px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 15px 17px; font-size: 14.5px; color: var(--fg-soft); }
.callout svg { width: 20px; height: 20px; color: var(--success); margin-top: 1px; }
.callout b { color: var(--fg); }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(44px, 6vw, 64px) 0 40px; border-top: 1px solid var(--border-soft); }
.footer-top { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1fr auto; align-items: start; } }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 32ch; margin: 14px 0 0; }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.footer-legal a:hover { color: var(--link); }
.footer-bottom { display: grid; gap: 14px 24px; grid-template-columns: 1fr; justify-items: center; text-align: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border-soft); color: var(--muted); font-size: 13px; }
@media (min-width: 720px) {
  .footer-bottom { grid-template-columns: 1fr auto; text-align: left; justify-items: start; }
}

/* ---------- How it works (visual flow) ---------- */
.hiw { margin-top: clamp(28px, 4vw, 40px); }
.hiw__flow { display: flex; align-items: stretch; gap: 14px; flex-wrap: wrap; }
.hiw__node { --c: var(--link); flex: 1 1 220px; display: flex; flex-direction: column; gap: 9px; background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--c); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.hiw__node--assistant { --c: var(--accent); }
.hiw__node--ai { --c: var(--success); }
.hiw__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 24%, transparent); }
.hiw__ic svg { width: 24px; height: 24px; }
.hiw__node h3 { margin: 2px 0 0; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.hiw__node p { margin: 0; font-size: 14px; color: var(--fg-soft); text-wrap: pretty; flex: 1; }
.hiw__arrow { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--muted); flex: none; min-width: 96px; text-align: center; }
.hiw__arrow svg { width: 34px; height: 20px; color: var(--fg-soft); }
.hiw__arrow span { font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); line-height: 1.3; }
.hiw__arrow--secure svg, .hiw__arrow--secure span { color: var(--success); }
.hiw__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.hiw__badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--success-soft); color: var(--success); border: 1px solid color-mix(in srgb, var(--success) 30%, transparent); white-space: nowrap; }
@media (max-width: 780px) { .hiw__arrow { min-width: 0; transform: rotate(90deg); margin: 2px 0; } }

/* ============================================================
   WORDPRESS ADDITIONS
   --wp is WordPress's admin blue; it marks the WordPress side of
   a flow only. Usable orange stays the action colour.
   ============================================================ */
:root { --wp: #3858e9; --wp-soft: rgba(56,88,233,0.12); }
@media (prefers-color-scheme: dark) { :root { --wp: #7b93f5; --wp-soft: rgba(123,147,245,0.18); } }
.hero-title .wp { color: var(--wp); }
.hero-title .us { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.09em; text-underline-offset: 0.12em; text-decoration-skip-ink: none; }

/* Hero stage: WordPress post -> Markdown fragment (also the video's visual language) */
.stage { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; padding: clamp(22px, 4vw, 44px); background:
  radial-gradient(60% 80% at 10% 0%, var(--wp-soft), transparent 70%), radial-gradient(60% 80% at 100% 100%, var(--accent-soft), transparent 70%), var(--surface-2); }
@media (max-width: 860px) { .stage { grid-template-columns: 1fr; } .stage__arrow { transform: rotate(90deg); justify-self: center; } }
.win { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); overflow: hidden; }
.win__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border-soft); font-size: 13px; font-weight: 600; color: var(--fg-soft); }
.win__bar .dots { display: inline-flex; gap: 5px; margin-right: 6px; }
.win__bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.win__bar .spacer { flex: 1; }
.win__body { padding: 18px 20px 20px; }
.wp-btn { font-size: 12.5px; font-weight: 600; color: #fff; background: var(--wp); border-radius: 6px; padding: 5px 11px; }
.wp-post h4 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
.wp-post p { margin: 10px 0 0; font-size: 14px; color: var(--fg-soft); }
.wp-post .line { height: 9px; border-radius: 5px; background: var(--border-soft); margin-top: 9px; }
.snack { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; font-weight: 600; color: #fff; background: #1e1e1e; border-radius: 6px; padding: 8px 12px; }
.snack svg { width: 15px; height: 15px; color: #5bc06b; }
.md { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.65; color: var(--fg-soft); white-space: pre-wrap; margin: 0; }
.md .k { color: var(--link); } .md .h { color: var(--fg); font-weight: 700; } .md .dim { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--link-soft); color: var(--link); border: 1px solid var(--link-line); }
.chip--ok { background: var(--success-soft); color: var(--success); border-color: color-mix(in srgb, var(--success) 30%, transparent); }
.stage__arrow { display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: 11.5px; font-weight: 700; text-align: center; }
.stage__arrow svg { width: 40px; height: 22px; color: var(--accent-press); }

/* What is sent / never sent */
.ledger { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: clamp(28px, 4vw, 40px); }
@media (min-width: 860px) { .ledger { grid-template-columns: 1.25fr 1fr; } }
.ledger__col { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--c, var(--link)); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.ledger__col--never { --c: var(--success); }
.ledger__col h3 { margin: 0; font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.ledger__col h3 svg { width: 20px; height: 20px; color: var(--c, var(--link)); }
.ledger__col ul { margin: 12px 0 0; padding-left: 0; list-style: none; display: grid; gap: 9px; }
.ledger__col li { font-size: 14.5px; color: var(--fg-soft); padding-left: 18px; position: relative; }
.ledger__col li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--link)); }
.ledger__col code, .faq code, .dl code { font-family: var(--font-mono); font-size: 12.5px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 6px; padding: 1px 5px; }

/* Download card */
.dl { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-md); margin-top: clamp(28px, 4vw, 40px); }
@media (min-width: 860px) { .dl { grid-template-columns: auto 1fr auto; } }
.dl__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-press); }
.dl__icon svg { width: 28px; height: 28px; }
.dl h3 { margin: 0; font-size: 20px; }
.dl__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.dl__sha { margin-top: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); word-break: break-all; }

/* Card tones (no inline styles: the page's CSP is style-src 'self') */
.tone-wp { --host: var(--wp); }
.tone-accent { --host: var(--accent-press); }
.tone-link { --host: var(--link); }
.tone-success { --host: var(--success); }
.host-icon img { width: 26px; height: 26px; }

.section--soft { background: var(--surface-2); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section--peach { background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section-head code { font-family: var(--font-mono); font-size: .9em; }

/* How it works */
.hiw__node--wp { --c: var(--wp); }
.hiw__ic img { width: 26px; height: 26px; }
.hiw-detail { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 18px; align-items: start; }
@media (min-width: 980px) { .hiw-detail { grid-template-columns: 0.9fr 1.1fr; } }
.lifecycle { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.lifecycle h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.lifecycle dl { margin: 0; display: grid; }
.lifecycle dl > div { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid var(--border-soft); }
.lifecycle dt { font-weight: 650; font-size: 14.5px; }
.lifecycle dd { margin: 0; color: var(--fg-soft); font-size: 14.5px; }
.hiw-detail .stage { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); grid-template-columns: 1fr; gap: 12px; padding: 22px; }
.hiw-detail .stage__arrow { transform: rotate(90deg); justify-self: center; }
.wp-post .line--a { width: 92%; }
.wp-post .line--b { width: 74%; }

/* Screenshots */
.shots { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: clamp(28px, 4vw, 40px); }
@media (min-width: 860px) { .shots { grid-template-columns: 1fr 2fr; } .shot--wide { grid-column: 1 / -1; } }
.shot { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border-soft); background: #fff; }
.shot:not(.shot--wide) img { width: auto; max-width: 100%; align-self: flex-start; }
.shot figcaption { font-size: 14px; color: var(--fg-soft); }
.shot figcaption b { color: var(--fg); }

/* What is Usable */
.usable-intro { display: grid; gap: clamp(26px, 4vw, 48px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .usable-intro { grid-template-columns: 0.85fr 1.15fr; } }
.usable-intro .hero-video { margin: 0; }
.usable-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.usable-points li { font-size: 15px; color: var(--fg-soft); padding-left: 26px; position: relative; }
.usable-points li::before { content: "✓"; position: absolute; left: 2px; top: 0; font-weight: 800; color: var(--accent-press); }
.usable-points b { color: var(--fg); }

/* What is sent: details */
.ledger__note { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.when { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 18px; }
@media (min-width: 860px) { .when { grid-template-columns: 1fr 1fr; } }
.gcard ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 7px; font-size: 14px; color: var(--fg-soft); }
.gcard p + p { margin-top: 10px; }
.gcard code { font-family: var(--font-mono); font-size: 12.5px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 6px; padding: 1px 5px; }
.install-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* Install */
.dl__sha { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.dl__sha > span { font-family: var(--font); font-weight: 700; font-size: 11.5px; letter-spacing: .04em; color: var(--fg-soft); }
.dl__sha code { font-size: 12px; word-break: break-all; }
.copy { font: inherit; font-size: 12px; font-weight: 600; color: var(--link); background: transparent; border: 1px solid var(--link-line); border-radius: 7px; padding: 2px 8px; cursor: pointer; }
.copy:hover { background: var(--link-soft); }
.copy.is-copied { color: var(--success); border-color: color-mix(in srgb, var(--success) 40%, transparent); }
.guide ol.steps code { font-family: var(--font-mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 6px; padding: 1px 6px; }
.update-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { margin-top: clamp(24px, 3.5vw, 34px); display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 16px; padding: 16px 0; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 500; color: var(--link); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--fg-soft); font-size: 15px; }
.faq details p:last-child { margin-bottom: 18px; }
.faq a { color: var(--link); }

/* Footer */
.footer-dl { display: grid; gap: 10px; justify-items: start; font-size: 13px; color: var(--muted); }
@media (min-width: 720px) { .footer-dl { justify-items: end; } .footer-bottom > .footer-legal { justify-self: end; } }

/* Mobile: stack the flow vertically and keep arrow labels readable */
@media (max-width: 780px) {
  .hiw__flow { flex-direction: column; }
  .hiw__node { flex-basis: auto; }
  .hiw__arrow { transform: none; flex-direction: row; justify-content: center; gap: 10px; margin: 0; }
  .hiw__arrow svg { transform: rotate(90deg); }
  .hiw__arrow span br { display: none; }
  .md { font-size: 11.5px; }
}
.guide ol.steps code, .gcard code, .ledger__col code { word-break: normal; overflow-wrap: anywhere; }

/* Install: what you need first; developer notes */
.needs { margin-top: clamp(24px, 3.5vw, 34px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.needs h3 { margin: 0; font-size: 17px; font-weight: 700; }
.needs ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 9px; font-size: 15px; color: var(--fg-soft); }
.needs b { color: var(--fg); }
.needs a { color: var(--link); }
.needs code { font-family: var(--font-mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 6px; padding: 1px 6px; }
.devnote { margin-top: 14px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 0 17px; font-size: 14.5px; color: var(--fg-soft); }
.devnote summary { cursor: pointer; padding: 13px 0; font-weight: 650; color: var(--fg); }
.devnote p { margin: 0 0 14px; }
.devnote code { font-family: var(--font-mono); font-size: 12.5px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 6px; padding: 1px 5px; overflow-wrap: anywhere; }
.stage__caption { font-size: 13.5px; color: var(--muted); text-align: center; }
.usable-intro .section-head > p + p { margin-top: 18px; }
.usable-intro .section-head p b { color: var(--fg); }

/* Video full screen */
.hv-full .hv-ic-shrink { display: none; }
.hv-full[aria-pressed="true"] .hv-ic-expand { display: none; }
.hv-full[aria-pressed="true"] .hv-ic-shrink { display: block; }
.hero-video:fullscreen { border: 0; border-radius: 0; background: #000; display: flex; align-items: center; justify-content: center; }
.hero-video:fullscreen video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.hero-video:-webkit-full-screen { border: 0; border-radius: 0; background: #000; display: flex; align-items: center; justify-content: center; }
.hero-video:-webkit-full-screen video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
