/* Dummy Scripts — site.css (quiet product site with GhostDummy 1.11 interface illustrations)
   Shared by the homepage and the Worker-rendered /store, /key and /store/email routes.
   Tokens → base → homepage sections → injected markup (features, plans, FAQ) → routes → responsive → motion. */

:root {
  color-scheme: light;
  --bg: #f6f5f1;          /* warm white page */
  --bg-raised: #ffffff;   /* white for the dense, practical sections */
  --ink: #1c1c1a;
  --ink-2: #55544f;       /* secondary text, 7.2:1 on --bg */
  --ink-3: #6b6962;       /* captions and small print, 4.9:1 on --bg */
  --line: #e3e1da;
  --line-strong: #cfccc3;
  --accent: #6c3abe;      /* the one accent: links, active states, primary action */
  --accent-ink: #542c95;
  --panel: #1b142b;
  --panel-2: #150f21;
  --panel-line: #343a40;
  --panel-ink: #efebe3;
  --panel-ink-2: #a6a298;
  --panel-accent: #bd9ae9;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --measure: 62ch;
  --gutter: 24px;
  --max: 1040px;
  --radius: 10px;
  --radius-s: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
/* links that sit inside running text are underlined so colour is not their only cue */
p a, dd a, li a, figcaption a, small a { text-decoration: underline; text-decoration-color: #9fb9ea; }
p a:hover, dd a:hover, li a:hover, figcaption a:hover { text-decoration-color: currentColor; }
button, textarea, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
::selection { background: #d6e3fb; }
a:focus-visible, button:focus-visible, textarea:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 20; background: var(--bg-raised); color: var(--ink); padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); }

/* ---------- header ---------- */
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  height: 56px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; display: inline-block; padding: 8px 0; }
.brand:hover { text-decoration: none; }
.site-header nav { display: flex; gap: 22px; font-size: 14px; }
.site-header nav a { color: var(--ink-2); display: inline-block; padding: 8px 0; }
.site-header nav a:hover { color: var(--ink); text-decoration: none; }
.site-header .store-nav { color: var(--ink); }

/* ---------- page column ---------- */
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section-heading { max-width: var(--measure); }
.section-heading h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin-bottom: 8px; }
.section-heading > p { color: var(--ink-2); font-size: 17px; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 48px; text-align: center; }
.hero > * { margin-left: auto; margin-right: auto; }
.release { font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
h1 { font-size: clamp(46px, 8vw, 84px); line-height: 1; letter-spacing: -0.035em; font-weight: 650; margin-bottom: 20px; }
.lede { font-size: clamp(21px, 2.6vw, 28px); line-height: 1.25; letter-spacing: -0.015em; max-width: 24ch; margin-bottom: 18px; }
.description { max-width: 52ch; color: var(--ink-2); font-size: 17px; }
.actions { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent); border-radius: var(--radius-s);
  font-size: 15px; font-weight: 600;
}
.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); text-decoration: none; }
.secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px;
  background: var(--bg-raised); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  font-size: 15px; font-weight: 600;
}
.secondary:hover { border-color: var(--ink-3); text-decoration: none; }
.text-link { font-size: 15px; font-weight: 500; display: inline-block; padding: 10px 0; }
.text-link::after { content: " ›"; }
.caption { font-size: 14px; color: var(--ink-3); margin-top: 14px; }

/* product figure */
.product { margin: 56px auto 0; max-width: 820px; }
.product figcaption { font-size: 14px; color: var(--ink-3); margin-top: 16px; }
.product figcaption a::after { content: " ›"; }

/* ---------- interface illustrations; values are placeholders, not runtime data ---------- */
.panel {
  text-align: left;
  background: var(--panel); color: var(--panel-ink);
  border: 1px solid var(--panel-line); border-radius: 12px;
  overflow: hidden;
  font-size: 14px; line-height: 1.4;
}
.panel-bar { height: 40px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--panel-line); color: var(--panel-ink-2); }
.panel-body { display: grid; grid-template-columns: 148px minmax(0, 1fr); }
.panel-nav { display: flex; flex-direction: column; padding: 14px 10px; gap: 2px; border-right: 1px solid var(--panel-line); background: var(--panel-2); min-height: 360px; }
.panel-nav span { padding: 9px 12px; border-radius: 6px; color: var(--panel-ink-2); font-size: 13px; }
.panel-nav .is-selected { color: var(--panel-ink); box-shadow: inset 2px 0 var(--panel-accent); }
.panel-nav-end { margin-top: auto; }
.panel-view { padding: 22px 24px 16px; min-width: 0; }
.p-car { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1px solid var(--panel-line); border-radius: 8px; font-size: 14px; }
.p-dim { color: var(--panel-ink-2); font-size: 12px; }
.p-readings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--panel-line); }
.p-readings strong { display: block; font-size: 52px; font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.p-readings span { font-size: 12px; color: var(--panel-ink-2); }
.p-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0 12px; font-size: 13px; }
.p-stepper { display: inline-flex; align-items: center; gap: 10px; color: var(--panel-ink-2); }
.p-stepper b { display: inline-block; min-width: 56px; text-align: center; padding: 6px 10px; border: 1px solid var(--panel-line); border-radius: 6px; background: #14161a; color: var(--panel-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.p-presets { display: flex; gap: 6px; font-size: 12px; }
.p-presets span { flex: 1; text-align: center; padding: 8px 4px; border: 1px solid var(--panel-line); border-radius: 6px; color: var(--panel-ink-2); }
.p-presets .is-selected { background: #1a2a33; color: var(--panel-ink); }
.p-note { font-size: 12px; color: var(--panel-ink-2); margin: 16px 0 20px; }
.p-power { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--panel-line); border-radius: 8px; font-size: 13px; }
.p-state { font-size: 12px; color: var(--panel-ink-2); min-width: 28px; }
.p-state.is-on { color: var(--panel-ink); }
.p-switch { margin-left: auto; width: 38px; height: 22px; border-radius: 11px; background: #0f1114; border: 1px solid var(--panel-line); position: relative; flex-shrink: 0; }
.p-switch::before { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--panel-ink-2); }
.p-switch.is-on { background: var(--panel-accent); border-color: var(--panel-accent); }
.p-switch.is-on::before { left: 18px; background: #fff; }
.p-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--panel-ink-2); padding-top: 12px; }
.p-swatches { display: flex; gap: 8px; padding: 18px 0 6px; }
.p-swatches i { width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--panel-line); }
.p-swatches .is-selected { outline: 2px solid var(--accent); outline-offset: 2px; }
.p-swatches .sw-1 { background: #17181a; }
.p-swatches .sw-2 { background: #e9e6de; }
.p-swatches .sw-3 { background: #c2352e; }
.p-swatches .sw-4 { background: #7fb7d6; }
.p-swatches .sw-5 { background: #4e7a4a; }
.p-swatches .sw-6 { background: #d89a2b; }
.p-swatches .sw-7 { background: #5e3a6b; }
.p-swatches .sw-8 { background: #a8623a; }
.p-action { display: inline-block; padding: 6px 10px; border: 1px solid var(--panel-line); border-radius: 4px; color: var(--panel-ink-2); font-size: 12px; }

.panel-crop .panel-view { padding: 20px 22px 14px; }

/* ---------- loader block (a genuine grouping: one field, its actions, its status) ---------- */
.script-block {
  max-width: 820px; margin: 40px auto 0;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px;
}
.script-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.script-heading h2 { font-size: 17px; }
.script-heading > div { display: flex; gap: 20px; align-items: baseline; font-size: 14px; }
.script-heading > div a { display: inline-block; padding: 4px 0; }
.text-button { background: none; border: 0; padding: 4px 0; color: var(--accent); font-size: 14px; }
.text-button:hover { text-decoration: underline; }
textarea {
  width: 100%; display: block; resize: none;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 14px 16px;
  font: 14px/1.6 var(--mono);
  overflow-wrap: anywhere; word-break: break-all;
  height: 76px;
}
.copy-status { font-size: 14px; color: var(--ink-2); margin-top: 12px; min-height: 21px; }
#loader-fallback:not([hidden]) { display: block; width: 100%; margin-top: 12px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-s); font: 14px var(--mono); }

/* ---------- setup ---------- */
.setup { padding: 96px 0 0; }
.setup ol { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.setup li { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.step-number { display: block; font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.setup h3 { font-size: 19px; margin: 10px 0 10px; }
.setup li p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* ---------- stories ---------- */
.stories { padding: 96px 0 0; display: grid; gap: 96px; }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.story-reverse .story-text { order: 2; }
.story-text h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; margin-bottom: 16px; }
.story-text p { font-size: 17px; color: var(--ink-2); max-width: 44ch; }
.story-text p + p { margin-top: 12px; }
.story-text .fine { font-size: 14px; color: var(--ink-3); }
.story-figure { margin: 0; }
.story-figure figcaption { font-size: 14px; color: var(--ink-3); margin-top: 14px; }

/* ---------- injected features (Worker markup: .capabilities) ---------- */
.capabilities { padding: 96px 0 0; }
.capabilities .eyebrow { font-size: 14px; color: var(--ink-3); margin-bottom: 10px; letter-spacing: 0; text-transform: none; }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 28px; }
.capability-grid article { border-top: 1px solid var(--line-strong); padding: 20px 0 28px; background: none; border-radius: 0; box-shadow: none; }
.capability-grid h3 { font-size: 19px; margin-bottom: 8px; }
.capability-grid p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.capability-note { font-size: 14px; line-height: 1.6; color: var(--ink-3); max-width: var(--measure); margin-top: 8px; }

/* ---------- compatibility ---------- */
.compat { padding: 96px 0 0; }
.compat-list { margin: 28px 0 0; max-width: 820px; }
.compat-list > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.compat-list > div:last-child { border-bottom: 1px solid var(--line); }
.compat-list dt { font-size: 15px; font-weight: 600; }
.compat-list dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* ---------- plans (injected .plan-card markup; cards express real purchase options) ---------- */
/* the one deliberate change of density: plans sit on a full-bleed white band */
.home-plans { margin-top: 96px; padding: 72px 0 64px; background: var(--bg-raised); box-shadow: 0 0 0 100vmax var(--bg-raised); clip-path: inset(0 -100vmax); }
.home-plans .plan-card { background: var(--bg); }
.home-plans .plan-button { background: var(--accent); border-color: var(--accent); color: #fff; }
.home-plans .plan-card .plan-button { background: var(--accent); }
.plans-heading { max-width: var(--measure); }
.plans-heading .eyebrow { font-size: 14px; color: var(--ink-3); margin-bottom: 10px; letter-spacing: 0; }
.plans-heading h1, .plans-heading h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin-bottom: 8px; }
.plans-heading > p:not(.eyebrow) { color: var(--ink-2); font-size: 17px; }
.plan-switch { display: inline-flex; gap: 20px; margin-top: 18px; font-size: 15px; }
.plan-switch > span { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 32px 0 20px; }
.plan-card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; scroll-margin-top: 72px;
}
.plan-card-featured { border-color: var(--ink); }
.plan-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan-card h3 { font-size: 21px; }
.plan-tag { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.plan-description { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 24px 0 4px; line-height: 1; }
.plan-price .currency { font-size: 22px; align-self: flex-start; margin-top: 6px; }
.plan-price strong { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-price > span:last-child { font-size: 14px; color: var(--ink-3); margin-left: 4px; }
.plan-duration { font-size: 15px; color: var(--ink-2); margin: 4px 0 20px; }
.plan-card form { margin: 0; }
.plan-button {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 44px; padding: 0 16px;
  background: var(--bg-raised); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  font-size: 15px; font-weight: 600;
}
.plan-button:hover { border-color: var(--ink-3); }
.plan-card .plan-button { background: var(--accent); border-color: var(--accent); color: #fff; }
.plan-card .plan-button:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.plan-button:disabled { opacity: .5; cursor: default; }
.plan-features { list-style: none; padding: 0; margin: 22px 0 20px; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.plan-features li { position: relative; padding-left: 18px; }
.plan-features li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 1px; background: var(--ink-3); }
.plan-footnote { margin-top: auto; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.plans-caption { font-size: 14px; color: var(--ink-2); max-width: var(--measure); }
#store-state { font-size: 14px; color: var(--ink-2); }

/* ---------- questions (injected <details>) ---------- */
.questions { padding: 96px 0 0; }
.questions .section-heading { margin-bottom: 20px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 18px 0; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; gap: 24px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-3); font-weight: 300; font-size: 22px; line-height: 1; flex-shrink: 0; }
details[open] summary::after { content: "−"; }
details p { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0 0 20px; max-width: var(--measure); }

/* ---------- roadmap / privacy ---------- */
.roadmap { padding: 72px 0 0; }
.roadmap p { max-width: var(--measure); font-size: 15px; line-height: 1.6; color: var(--ink-2); border-top: 1px solid var(--line-strong); padding-top: 20px; }
.roadmap strong { color: var(--ink); font-weight: 600; }
.privacy { padding: 72px 0 80px; max-width: 820px; }
.privacy h2 { font-size: 15px; margin-bottom: 10px; }
.privacy p { font-size: 13px; line-height: 1.65; color: var(--ink-3); }
.privacy p + p { margin-top: 10px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); }
footer nav, footer p, footer small, footer > a { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); display: block; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 24px; font-size: 14px; }
footer nav a, footer > a { color: var(--ink-2); display: inline-block; padding: 4px 0; }
footer p { font-size: 13px; color: var(--ink-3); padding-top: 18px; }
footer small { font-size: 13px; color: var(--ink-3); padding-top: 6px; padding-bottom: 32px; }
footer .brand { font-size: 13px; color: var(--ink-2); }

/* ---------- Worker-rendered routes: /store, /store/email (body.store-page) and /key ---------- */
.store-page main { padding-top: 0; }
.store-page .site-header { max-width: var(--max); padding: 0 var(--gutter); }
.store-page .site-header > a:not(.brand) { font-size: 14px; color: var(--ink-2); }
.store-page .plans-heading { padding-top: 40px; }
.store-page .plan-grid { margin-top: 28px; }
.store-page .capabilities, .store-page .coming-grid { padding-top: 72px; }
.store-page .privacy { padding: 56px 0 72px; }
.store-page .script-block { margin-top: 40px; }
.store-page .script-block h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.store-page .script-block > p { color: var(--ink-2); font-size: 15px; margin-bottom: 20px; }
.store-page form p { margin: 0 0 16px; }
.store-page label { display: block; font-size: 14px; color: var(--ink-2); }
.store-page input:not([type=checkbox]):not([type=hidden]) { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--bg-raised); color: var(--ink); font-size: 15px; }
.store-page input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.store-page input[type=checkbox] { accent-color: var(--accent); }
.store-page button:disabled { cursor: default; opacity: .6; }
.store-page footer { margin-top: 48px; }
.store-page footer > a { padding-top: 24px; padding-bottom: 32px; font-size: 14px; }

/* "coming soon" markup still emitted by /store: flat, no cards */
.coming-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 72px 0 0; }
.coming-card { padding: 20px 0 8px; border-top: 1px solid var(--line-strong); border-radius: 0; background: none; box-shadow: none; }
.coming-card .eyebrow { font-size: 14px; color: var(--ink-3); margin-bottom: 8px; letter-spacing: 0; }
.coming-card h2 { font-size: 21px; margin-bottom: 8px; }
.coming-card p:not(.eyebrow) { font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 44ch; }
.coming-card a { display: inline-block; margin-top: 10px; font-size: 15px; }
.coming-status { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--ink-3); }

/* /key (its own markup; inline styles on that route are superseded by these once the template is updated) */
.wordmark { color: var(--ink); font-weight: 600; font-size: 15px; }
.key-main { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 64px; }
.key-intro { max-width: var(--measure); margin-bottom: 32px; }
.key-heading { font-size: 14px; color: var(--ink-3); display: flex; gap: 10px; align-items: baseline; }
.key-heading span { color: var(--ink-3); }
.key-intro h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.025em; margin: 10px 0 12px; }
.key-intro p { font-size: 17px; color: var(--ink-2); max-width: 52ch; }
.key-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.key-provider { display: flex; flex-direction: column; min-width: 0; padding: 24px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); }
.key-provider h2 { font-size: 21px; margin: 12px 0 8px; }
.key-provider p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-bottom: 20px; }
.key-provider form { margin-top: auto; }
.key-status { font-size: 13px; color: var(--ink-2); }
.key-status.pending { color: var(--ink-3); }
.key-provider button { width: 100%; min-height: 44px; padding: 0 16px; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: var(--radius-s); font-size: 15px; font-weight: 600; }
.key-provider button:hover:not(:disabled) { background: var(--accent-ink); border-color: var(--accent-ink); }
.key-provider button:disabled { background: var(--bg); color: var(--ink-3); border-color: var(--line); cursor: default; }
.key-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.key-notes strong { display: block; color: var(--ink); margin-bottom: 4px; }
.key-footer { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 32px; display: flex; justify-content: space-between; gap: 20px; font-size: 14px; color: var(--ink-3); border-top: 1px solid var(--line); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 28px; }
  .story-reverse .story-text { order: 0; }
  .story-text p { max-width: var(--measure); }
  .setup ol { gap: 28px; }
  .key-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --gutter: 20px; }
  .site-header nav { gap: 16px; }
  .site-header nav a[href="#setup"], .site-header nav a[href="#questions"], .site-header nav .nav-external { display: none; }
  .hero { padding: 40px 0 32px; }
  .product { margin-top: 36px; }
  .panel-body { grid-template-columns: 104px minmax(0, 1fr); }
  .panel-nav { flex-direction: column; flex-wrap: nowrap; min-height: 360px; border-right: 1px solid var(--panel-line); border-bottom: 0; padding: 12px 4px; gap: 2px; }
  .panel-nav span { padding: 7px 8px; font-size: 10px; line-height: 1.25; }
  .panel-nav-end { margin-top: auto; }
  .panel-view { padding: 18px 16px 14px; }
  .p-readings strong { font-size: 40px; }
  .script-block { padding: 18px 16px; }
  .script-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
  textarea { height: 100px; font-size: 13px; }
  .setup, .stories, .capabilities, .compat, .questions { padding-top: 64px; }
  .home-plans { margin-top: 64px; padding: 48px 0 40px; }
  .stories { gap: 56px; }
  .setup ol { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .compat-list > div { grid-template-columns: 1fr; gap: 4px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 22px; }
  .plan-price strong { font-size: 40px; }
  .coming-grid { grid-template-columns: 1fr; }
  .key-notes { grid-template-columns: 1fr; gap: 20px; }
  .key-main { padding-top: 28px; }
  .key-footer { flex-direction: column; gap: 8px; }
}
@media (max-width: 380px) {
  .site-header nav a[href="#features"] { display: none; }
  h1 { font-size: 44px; }
}

/* ---------- motion ---------- */
.primary, .secondary, .plan-button, .key-provider button, .site-header nav a, .text-button, a { transition: color .12s ease, background-color .12s ease, border-color .12s ease; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Display the actual UI region of the unaltered game screenshots. */
.product-capture { position:relative; aspect-ratio:1370 / 900; overflow:hidden; border-radius:12px; background:#17191c; }
.product-capture img { position:absolute; width:153.14%; max-width:none; height:auto; left:-26.57%; top:-30.56%; }
