/* Night Roll site. One stylesheet, no build step.
   Palette is the app's own (night-roll-daw css/app.css) so the pixel icons,
   whose background is exactly --bg, sit on the page without a frame. */

@font-face { font-family: "Martian Mono"; src: url("../fonts/martian-mono.woff2?v=2") format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("../fonts/silkscreen-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0D1120;
  --bg-deep: #090C18;
  --panel: #161C30;
  --panel-2: #1C2440;
  --grid: #242C48;
  --grid-soft: #1A2138;
  --text: #D3DAEE;
  --text-strong: #F2F4FB;
  --dim: #929CC2;          /* 6.9:1 on --bg */
  --accent: #7D95F0;       /* links: 6.4:1 on --bg */
  --accent-fill: #5B78E8;
  --gold: #E4C36A;
  /* one accent per app, each >= 4.5:1 on --bg */
  --c-roll: #E4C36A;
  --c-fret: #F0596A;
  --c-tuner: #B3A6FF;
  --c-retro: #F08A9A;
  --c-green: #3DDC84;
  --app: var(--accent);

  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: "Atkinson Hyperlegible", -apple-system, "Segoe UI", sans-serif;
  --pixel: "Silkscreen", var(--mono);

  --gutter: 16px;
  --max: 1160px;
  --radius: 14px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--text-strong); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--text-strong); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font: 700 clamp(1.75rem, 5.5vw, 3.25rem)/1.12 var(--mono); letter-spacing: -0.02em; }
h2 { font: 700 clamp(1.3rem, 3.4vw, 1.9rem)/1.2 var(--mono); letter-spacing: -0.01em; }
h3 { font: 700 1.125rem/1.3 var(--sans); }
p { margin: 0 0 1em; }
code, kbd { font: 0.85em var(--mono); background: var(--panel); border: 1px solid var(--grid); border-radius: 5px; padding: 0.05em 0.35em; color: var(--text-strong); }
.pixel { image-rendering: pixelated; image-rendering: crisp-edges; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 10; font-weight: 700; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--grid-soft); }
.site-head .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold); font: 500 0.95rem var(--mono); letter-spacing: 0.22em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; }
.brand .slashes { color: var(--dim); }
.brand:hover { color: var(--gold); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--text); font: 500 0.8rem var(--mono); letter-spacing: 0.04em; }
.nav a:hover { background: var(--panel); color: var(--text-strong); }
.nav a[aria-current="page"] { color: var(--gold); background: var(--panel); }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; font: 500 0.8rem var(--mono); letter-spacing: 0.08em; padding: 10px 14px; border: 1px solid var(--grid); border-radius: 10px; color: var(--text-strong); min-height: 44px; display: flex; align-items: center; gap: 8px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.menu[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.menu ul { position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 32px)); list-style: none; margin: 0; padding: 8px; background: var(--panel); border: 1px solid var(--grid); border-radius: 12px; box-shadow: 0 18px 40px rgb(0 0 0 / 0.45); }
.menu a { display: block; padding: 12px 14px; border-radius: 8px; text-decoration: none; color: var(--text-strong); font: 500 0.875rem var(--mono); }
.menu a:hover, .menu a[aria-current="page"] { background: var(--panel-2); color: var(--gold); }
@media (max-width: 899px) { .nav { display: none; } .menu { display: block; } }

/* ---------- the roll: signature hero background ---------- */
.roll {
  position: relative; isolation: isolate; overflow: hidden;
  border-bottom: 1px solid var(--grid-soft);
  background:
    linear-gradient(to bottom, transparent 0, var(--bg) 100%),
    repeating-linear-gradient(to bottom, var(--grid-soft) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(to right, var(--grid) 0 1px, transparent 1px 160px),
    repeating-linear-gradient(to right, var(--grid-soft) 0 1px, transparent 1px 40px),
    var(--bg);
}
.roll::before { /* moonlight */
  content: ""; position: absolute; z-index: -1; right: -10%; top: -40%; width: 70vmax; height: 70vmax;
  background: radial-gradient(closest-side, rgb(91 120 232 / 0.16), transparent 70%);
}
.roll .notes { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0 30%, #000 75%); mask-image: linear-gradient(to right, transparent 0 30%, #000 75%); }
@media (max-width: 899px) { .roll .notes { -webkit-mask-image: linear-gradient(to bottom, #000 0 12%, transparent 40%); mask-image: linear-gradient(to bottom, #000 0 12%, transparent 40%); } }
.roll .notes i { position: absolute; height: 12px; border-radius: 3px; opacity: 0.5; background: var(--c, var(--gold)); box-shadow: 0 0 18px -2px var(--c, var(--gold)); }
.roll .playhead { position: absolute; z-index: -1; top: 0; bottom: 0; width: 2px; left: 8%; background: var(--accent-fill); box-shadow: 0 0 16px 2px rgb(91 120 232 / 0.6); animation: sweep 14s linear infinite; }
@keyframes sweep { from { left: -2%; } to { left: 102%; } }
@media (prefers-reduced-motion: reduce) { .roll .playhead { animation: none; left: 62%; } }

/* ruler line: bar numbers like the app's timeline */
.ruler { display: flex; gap: 0; font: 500 0.7rem var(--mono); color: var(--dim); letter-spacing: 0.1em; border-bottom: 1px solid var(--grid); margin-bottom: 18px; overflow: hidden; white-space: nowrap; }
.ruler span { flex: 0 0 auto; padding: 0 10px 6px 4px; border-left: 1px solid var(--grid); }
.ruler span:first-child { border-left-color: var(--app); color: var(--text-strong); }

/* annotation band: the app's section/chord band, used as an eyebrow */
.band { display: inline-flex; align-items: center; gap: 8px; font: 600 0.72rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-strong); background: color-mix(in srgb, var(--app) 22%, var(--panel)); border-left: 3px solid var(--app); padding: 5px 10px 5px 8px; border-radius: 3px; margin-bottom: 14px; }

/* ---------- home hero ---------- */
.hero { padding-top: 56px; padding-bottom: 48px; }
.hero .wordmark { font: 600 clamp(1.45rem, 7.4vw, 4.6rem)/1 var(--mono); letter-spacing: 0.16em; color: var(--gold); margin: 0 0 18px; white-space: nowrap; }
.hero .wordmark .slashes { color: var(--dim); }
.hero .lede { font-size: clamp(1.1rem, 2.6vw, 1.35rem); max-width: 40ch; color: var(--text); }
.cast { display: flex; align-items: flex-end; gap: clamp(4px, 2vw, 24px); margin: 34px 0 0; }
.cast a { display: block; flex: 0 1 132px; border-radius: 24%; overflow: hidden; outline: 1px solid var(--grid); box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.9); transition: transform 0.2s ease, outline-color 0.2s ease; }
.cast a:hover { outline-color: var(--gold); }
.cast a:hover { transform: translateY(-6px); }
.cast img { width: 100%; }
@media (prefers-reduced-motion: reduce) { .cast a { transition: none; } .cast a:hover { transform: none; } }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--grid-soft); }
.section-head { max-width: 62ch; margin-bottom: 28px; }
.section-head p { color: var(--dim); }

/* ---------- app cards ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }

.card { --app: var(--accent); position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--grid); border-radius: var(--radius); padding: 20px; transition: border-color 0.2s ease, transform 0.2s ease; }
.card::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--app); }
.card:hover { border-color: color-mix(in srgb, var(--app) 55%, var(--grid)); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }
.card-top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.card-top img { width: 72px; height: 72px; border-radius: 16px; flex: none; outline: 1px solid var(--grid); }
.card h3 { font: 700 1.05rem/1.25 var(--mono); margin: 0 0 4px; }
.card h3 a { color: var(--text-strong); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card .meta { font: 500 0.75rem var(--mono); color: var(--dim); letter-spacing: 0.04em; }
.card p { color: var(--text); flex: 1; }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; position: relative; z-index: 1; }
.card.featured { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .card.featured { flex-direction: row; gap: 28px; align-items: center; padding: 28px; }
  .card.featured .card-top { flex-direction: column; align-items: flex-start; margin: 0; flex: 0 0 300px; }
  .card.featured .card-top img { width: 120px; height: 120px; border-radius: 26px; }
  .card.featured .body { flex: 1; }
}

.price { font: 400 0.8rem var(--pixel); color: var(--bg); background: var(--app); padding: 3px 8px 4px; border-radius: 4px; letter-spacing: 0.04em; white-space: nowrap; }
.tag { font: 600 0.68rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--app); border: 1px solid color-mix(in srgb, var(--app) 60%, transparent); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }

/* App Store badge placeholder. Swap for Apple's official badge artwork + link once each app is live
   (search the site for data-appstore). */
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 7px 14px 7px 12px; border-radius: 10px; background: #000; border: 1px solid #A6A6A6; color: #fff; text-decoration: none; line-height: 1.1; }
.store svg { width: 20px; height: 24px; flex: none; fill: currentColor; }
.store small { display: block; font: 400 0.65rem var(--sans); letter-spacing: 0.02em; }
.store strong { display: block; font: 700 1rem var(--sans); }
.store[aria-disabled="true"] { cursor: default; opacity: 0.92; }
.store[aria-disabled="true"]:hover { color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; font: 600 0.85rem var(--mono); letter-spacing: 0.02em; text-decoration: none; border: 1px solid var(--grid); color: var(--text-strong); background: var(--panel); }
.btn:hover { border-color: var(--accent); color: var(--text-strong); }
.btn.primary { background: var(--accent-fill); border-color: var(--accent-fill); color: #fff; }
.btn.primary:hover { background: #6C88F2; }

/* ---------- app page hero ---------- */
.app-hero { padding: 40px 0 44px; }
.app-hero .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .app-hero .wrap { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); gap: 56px; max-width: 1280px; } .app-hero h1 { font-size: clamp(2rem, 3.6vw, 3rem); } }
.app-hero .icon { width: 132px; height: 132px; border-radius: 30px; margin-bottom: 18px; outline: 1px solid var(--grid); box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.9); }
.app-hero .sub { font: 500 0.85rem var(--mono); color: var(--app); letter-spacing: 0.06em; margin-bottom: 10px; }
.app-hero p.lede { font-size: 1.15rem; max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font: 500 0.72rem var(--mono); color: var(--dim); border: 1px solid var(--grid); padding: 4px 10px; border-radius: 999px; }

/* device frames, drawn in CSS */
.ipad { background: #05070E; border: 1px solid #2B3354; border-radius: 22px; padding: 12px; box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.7), 0 0 0 6px #121729; }
.ipad img { border-radius: 10px; width: 100%; }
.phone { background: #05070E; border: 1px solid #2B3354; border-radius: 36px; padding: 10px; box-shadow: 0 30px 70px -20px rgb(0 0 0 / 0.7), 0 0 0 5px #121729; max-width: 260px; }
.phone img { border-radius: 26px; width: 100%; }
.phones { display: flex; gap: 18px; justify-content: center; align-items: flex-end; }
.phones .phone:nth-child(2) { transform: translateY(-24px); }
@media (max-width: 560px) { .phones .phone:nth-child(n+2) { display: none; } .phones .phone { max-width: 240px; } }

/* ---------- features ---------- */
.feature { display: grid; gap: 22px; align-items: center; padding: 34px 0; }
.feature + .feature { border-top: 1px dashed var(--grid); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 0.85fr 1.15fr; gap: 48px; }
  .feature.flip > :first-child { order: 2; }
}
.feature h3 { font: 700 1.2rem/1.3 var(--mono); }
.feature ul { padding-left: 1.1em; margin: 0; }
.feature li { margin: 0.3em 0; }
.feature li::marker { color: var(--app); }
.feature figure { margin: 0; }
.feature figcaption { font: 0.78rem/1.4 var(--mono); color: var(--dim); margin-top: 12px; }
.feature .phones { justify-content: flex-start; }

.mini-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mini-grid { grid-template-columns: repeat(3, 1fr); } }
.mini { background: var(--panel); border: 1px solid var(--grid); border-radius: 12px; padding: 18px; }
.mini h3 { font: 700 0.95rem var(--mono); margin-bottom: 6px; }
.mini h3::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--app); margin-right: 8px; vertical-align: 1px; }
.mini p { margin: 0; color: var(--text); font-size: 0.98rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border: 1px solid var(--grid); border-radius: 12px; background: var(--panel); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; color: var(--text-strong); position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 600 1.2rem var(--mono); color: var(--app); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 18px 16px; }
.faq details > div > :last-child { margin-bottom: 0; }

/* ---------- requirements table ---------- */
.specs { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.specs th, .specs td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--grid); vertical-align: top; }
.specs th { font: 600 0.75rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); width: 34%; }
.specs thead th { color: var(--text-strong); width: auto; }
.table-scroll { overflow-x: auto; border: 1px solid var(--grid); border-radius: 12px; background: var(--panel); }
.table-scroll .specs tr:last-child > * { border-bottom: 0; }

/* ---------- prose pages ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--gold); }
.callout { background: var(--panel); border: 1px solid var(--grid); border-left: 3px solid var(--app); border-radius: 10px; padding: 16px 18px; margin: 1.2em 0; }
.callout > :last-child { margin-bottom: 0; }
.page-head { padding: 44px 0 34px; }
.page-head p { color: var(--dim); max-width: 60ch; font-size: 1.1rem; }

.formats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0.4em 0 1em; padding: 0; list-style: none; }
.formats li { font: 500 0.75rem var(--mono); padding: 3px 8px; border-radius: 5px; background: var(--grid-soft); border: 1px solid var(--grid); color: var(--text-strong); margin: 0 !important; }

.contact { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .contact { grid-template-columns: 1.2fr 0.8fr; } }

/* ---------- press kit ---------- */
.kit-icons { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.kit-icons figure, .kit-shots figure { margin: 0; background: var(--panel); border: 1px solid var(--grid); border-radius: 12px; padding: 14px; }
.kit-icons img { width: 100%; border-radius: 22%; }
.kit-icons figcaption, .kit-shots figcaption { font: 0.75rem/1.45 var(--mono); color: var(--dim); margin-top: 10px; }
.kit-icons figcaption strong, .kit-shots figcaption strong { color: var(--text-strong); display: block; font-weight: 600; }
.kit-shots { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.kit-shots img { border-radius: 6px; width: 100%; }
.copy-block { background: var(--panel); border: 1px solid var(--grid); border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.copy-block h3 { font: 700 0.95rem var(--mono); }
.copy-block p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--grid-soft); background: var(--bg-deep); padding: 40px 0 48px; margin-top: 24px; font-size: 0.95rem; }
.site-foot .wrap { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .site-foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot h2 { font: 600 0.72rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 4px 0; }
.site-foot a { color: var(--text); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-foot a:hover { color: var(--gold); text-decoration: underline; }
.site-foot .fine { color: var(--dim); font-size: 0.85rem; }
.site-foot .brand { margin-bottom: 12px; }

/* per-app accent hooks */
.app-roll { --app: var(--c-roll); }
.app-fret { --app: var(--c-fret); }
.app-tuner { --app: var(--c-tuner); }
.app-retro { --app: var(--c-retro); }

/* Martian Mono's width axis: narrow for headings and labels, widest only for the wordmark.
   (The `font` shorthand above resets font-stretch, so it is set here, last.) */
h1, h2, h3, .nav a, .menu a, .menu summary, .card .meta, .band, .btn, .facts li, .ruler, .app-hero .sub,
.feature figcaption, .specs th, .formats li, .tag, .site-foot h2, code, .kit-icons figcaption, .kit-shots figcaption { font-stretch: 87.5%; }
.card h3 { font-stretch: 81.25%; }
.hero .wordmark, .brand { font-stretch: 112.5%; }
.feature ul.formats, .prose ul.formats { padding-left: 0; }
.app-hero .sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.site-foot a.brand { display: inline-flex; color: var(--gold); }
[id] { scroll-margin-top: 76px; }

@media (max-width: 560px) {
  .brand { font-size: 0.78rem; letter-spacing: 0.14em; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .site-head .brand, .hero .wordmark { font-stretch: 100%; }
  .hero { padding-top: 40px; }
}
@media (max-width: 899px) { .roll .notes i { opacity: 0.22; box-shadow: none; } }
.page-head p.band { color: var(--text-strong); font-size: 0.72rem; max-width: none; }
.wrap.prose { max-width: var(--max); } .wrap.prose > * { max-width: 72ch; }

/* ---------- game-music formats grid ---------- */
.fmt-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 22px; padding: 0; list-style: none; }
@media (min-width: 720px) { .fmt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fmt-grid li { background: var(--panel); border: 1px solid var(--grid); border-top: 3px solid var(--app); border-radius: 10px; padding: 12px 14px; }
.fmt-grid b { display: block; font: 700 1.15rem/1.2 var(--mono); font-stretch: 87.5%; color: var(--text-strong); }
.fmt-grid span { display: block; font-size: 0.9rem; color: var(--text); margin-top: 2px; }
.fmt-grid small { display: block; font: 0.72rem/1.4 var(--mono); color: var(--dim); margin-top: 6px; }
.lead-section { border-bottom: 1px solid var(--grid-soft); }
.lead-section .section-head { max-width: 70ch; }
.lead-section .section-head p { color: var(--text); font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 26px; margin: 0.45em 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px; border-left: 2px solid var(--app); border-bottom: 2px solid var(--app); transform: rotate(-45deg); }

/* ---------- AI example phrases ---------- */
.asks { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 26px; }
@media (min-width: 720px) { .asks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .asks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.asks section { background: var(--panel); border: 1px solid var(--grid); border-radius: 12px; padding: 16px; }
.asks h3 { font: 700 0.8rem var(--mono); font-stretch: 87.5%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--app); margin-bottom: 10px; }
.asks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.asks li { font-size: 0.95rem; line-height: 1.45; color: var(--text-strong); background: var(--bg); border: 1px solid var(--grid-soft); border-radius: 10px 10px 10px 3px; padding: 8px 11px; }
.asks li::before { content: "\201C"; color: var(--app); font-weight: 700; }
.asks li::after { content: "\201D"; color: var(--app); font-weight: 700; }

/* ---------- guides ---------- */
.guide-group { margin-bottom: 40px; }
.guide-group > h2 { font: 700 0.8rem var(--mono); font-stretch: 87.5%; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin: 0 0 14px; }
.guide-list { display: grid; gap: 12px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .guide-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.guide-list li { position: relative; background: var(--panel); border: 1px solid var(--grid); border-left: 3px solid var(--app); border-radius: 10px; padding: 14px 16px; transition: border-color 0.2s ease, transform 0.2s ease; }
.guide-list li:hover { border-color: color-mix(in srgb, var(--app) 55%, var(--grid)); transform: translateY(-2px); }
.guide-list a { font: 700 0.98rem/1.3 var(--mono); font-stretch: 87.5%; color: var(--text-strong); text-decoration: none; }
.guide-list a::after { content: ""; position: absolute; inset: 0; }
.guide-list p { margin: 6px 0 0; color: var(--text); font-size: 0.93rem; }
.guide-list .for { display: block; margin-top: 8px; font: 500 0.7rem var(--mono); letter-spacing: 0.06em; color: var(--dim); text-transform: uppercase; }
.crumb { font: 500 0.78rem var(--mono); color: var(--dim); margin-bottom: 10px; }
.crumb a { color: var(--dim); }
.applies { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.applies li { font: 600 0.7rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--grid); border-radius: 999px; padding: 4px 10px; color: var(--text); }
.guide-body { max-width: 72ch; }
.guide-body h2 { margin-top: 2em; padding-top: 0.2em; }
.guide-body h2:first-child { margin-top: 0; }
.guide-body figure { margin: 1.4em 0; }
.toc { background: var(--panel); border: 1px solid var(--grid); border-radius: 10px; padding: 14px 18px; margin: 0 0 2em; }
.toc strong { font: 700 0.72rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.toc ul { margin: 8px 0 0; padding-left: 1.1em; }
.toc li { margin: 0.25em 0; }
ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 1em 0 1.4em; }
ol.steps > li { counter-increment: step; position: relative; padding: 0 0 0 44px; margin: 0 0 14px; min-height: 30px; }
ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font: 700 0.85rem var(--mono); color: var(--bg); background: var(--app); }
.ui { font: 600 0.88em var(--mono); font-stretch: 87.5%; color: var(--text-strong); background: var(--grid-soft); border: 1px solid var(--grid); border-radius: 5px; padding: 1px 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.guide-body code { font: 0.88em var(--mono); background: var(--grid-soft); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.guide-body table { width: 100%; }
.guide-next { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--grid-soft); }
