/* Easy Paint Pro — site styles.
   Layout concept: the real app is the stage. Screenshot-first hero, large zoomable captures,
   and the classic two-row color palette used once as a signature strip. */
@font-face { font-family: "OpenDyslexic"; src: url("assets/fonts/opendyslexic-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "OpenDyslexic"; src: url("assets/fonts/opendyslexic-latin-700-normal.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }

/* Colors come from the app itself: Modern Day and Modern Night skins. */
:root {
  color-scheme: light dark;
  --paper: #f6f7f9;
  --surface: #ffffff;
  --sunk: #eceef3;
  --ink: #191e32;
  --muted: #555c72;
  --line: #dcdfe7;
  --accent: #3652d9;
  --accent-ink: #ffffff;
  --accent-soft: #e4e9ff;
  --good: #1f8a4c;
  --part: #a8670c;
  --bad: #b42318;
  --frame: #1b1c21;
  --tool-tile: #f6f7f9;
  --shadow: 0 1px 2px rgba(25, 30, 50, .06), 0 18px 48px -18px rgba(25, 30, 50, .28);

  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", -apple-system, "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --h-track: -.02em;
  --h1-fit: 14cqi;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.7rem);

  --gutter: clamp(16px, 3vw, 40px);
  --wrap: 1560px;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1c1e2a; --surface: #262c38; --sunk: #333a4a; --ink: #edf1fd; --muted: #aab1c7;
    --line: #3a4152; --accent: #6c8dff; --accent-ink: #0e1220; --accent-soft: #2c3658;
    --good: #5fd08f; --part: #f0b45a; --bad: #ff8a80; --frame: #1b1c21; --tool-tile: #262c38;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 48px -18px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1c1e2a; --surface: #262c38; --sunk: #333a4a; --ink: #edf1fd; --muted: #aab1c7;
  --line: #3a4152; --accent: #6c8dff; --accent-ink: #0e1220; --accent-soft: #2c3658;
  --good: #5fd08f; --part: #f0b45a; --bad: #ff8a80; --frame: #1b1c21; --tool-tile: #262c38;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 48px -18px rgba(0,0,0,.7);
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

/* Reading fonts chosen by the visitor */
:root[data-font="lexend"] {
  --f-body: "Lexend", -apple-system, system-ui, sans-serif;
  --f-display: "Lexend", -apple-system, system-ui, sans-serif;
  --f-mono: "Lexend", -apple-system, system-ui, sans-serif;
  --h-track: -.01em; --h1-fit: 12cqi;
}
:root[data-font="dyslexic"] {
  --f-body: "OpenDyslexic", Verdana, sans-serif;
  --f-display: "OpenDyslexic", Verdana, sans-serif;
  --f-mono: "OpenDyslexic", Verdana, sans-serif;
  --h-track: 0; --h1-fit: 9.5cqi;
}
:root[data-font] body { line-height: 1.7; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: var(--h-track); }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font: 500 var(--step--1)/1.3 var(--f-mono); color: var(--accent); letter-spacing: .02em; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 700 1rem/1 var(--f-body); padding: .95em 1.4em; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease;
}
.button:active { transform: translateY(1px); }
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-primary:hover { filter: brightness(1.08); }
.button-store { background: var(--ink); color: var(--paper); padding: .8em 1.3em; }
.button-store:hover { filter: brightness(1.15); }
.button-store svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.button-store span { display: grid; text-align: left; line-height: 1.1; }
.button-store small { font: 500 .7rem/1.1 var(--f-body); opacity: .8; }
.button-store strong { font: 700 1.05rem/1.15 var(--f-body); }
.button-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.button-quiet:hover { background: var(--sunk); }
.button-small { padding: .65em 1.05em; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; min-height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 750 1.08rem/1 var(--f-display); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
@media (max-width: 900px) { .nav-links { display: none; } .nav .button { margin-left: auto; } }

/* Palette strip (signature motif: the classic two-row palette) */
.palette { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; height: 20px; max-width: 320px; }
.palette i { display: block; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }

/* Zoomable images */
.zoomable { cursor: zoom-in; }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; font: 500 .75rem/1 var(--f-mono); padding: .5em .7em; border-radius: 999px; background: rgba(17,19,27,.78); color: #fff; pointer-events: none; }

/* Hero: screenshot first */
.hero { padding-block: clamp(18px, 3vh, 36px) clamp(32px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(360px, .6fr) minmax(0, 1.5fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { display: grid; gap: 16px; align-content: center; container-type: inline-size; min-width: 0; }
.hero-name { display: grid; justify-items: start; gap: 14px; }
.hero-name img { width: clamp(56px, 5vw, 76px); height: auto; border-radius: 22%; box-shadow: var(--shadow); }
.hero h1 { white-space: nowrap; font-size: min(clamp(2.3rem, 1rem + 2.2vw, 3.3rem), var(--h1-fit)); font-weight: 800; letter-spacing: -.035em; line-height: .95; }
.hero-tag { font: 750 clamp(1.35rem, 1rem + 1vw, 1.9rem)/1.1 var(--f-display); letter-spacing: -.02em; }
.rainbow {
  background: linear-gradient(90deg, #ff4d4d 0%, #ff9f1c 22%, #f5c400 40%, #2fbf71 58%, #2f8cff 78%, #8a5cff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy .lede { font-size: 1.08rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.requirement { font: 400 .8rem/1.45 var(--f-mono); color: var(--muted); }
.stage { display: grid; gap: 10px; min-width: 0; }
.skin-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.skin-tabs button {
  font: 500 .8rem/1 var(--f-mono); color: var(--muted); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: .6em .9em; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
}
.skin-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.skin-dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.window { position: relative; border-radius: 12px; overflow: hidden; background: var(--frame); box-shadow: var(--shadow); }
.window img { width: 100%; transition: opacity .25s ease; }
.window.is-switching img { opacity: .55; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.shot { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: var(--frame); }
.shot img { width: 100%; }
.caption { margin-top: 10px; font: 400 .82rem/1.45 var(--f-mono); color: var(--muted); }

/* Tools: labeled toolbar close-ups */
.toolbar-closeups { display: grid; gap: 10px; }
.toolbar-closeups .shot img { width: 100%; }
.toolbar-closeups .tb-rest { width: calc(100% * 1118 / 1779); }
.nostalgia { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 900px) { .nostalgia { grid-template-columns: 1fr; } }
.nostalgia-copy { display: grid; gap: 14px; }
.nostalgia-copy .palette { margin-top: 6px; }
.panel-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 1100px) { .panel-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .panel-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel-card { display: grid; gap: 8px; align-content: start; }
.panel-card .shot { aspect-ratio: 3 / 5; max-width: 100%; }
.panel-card .shot img { height: 100%; object-fit: cover; object-position: top center; }
.panel-card h3 { font-size: 1rem; }
.panel-card p { font-size: .88rem; color: var(--muted); line-height: 1.4; }

/* Make gallery (tabs) */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tabs button {
  font: 700 .95rem/1 var(--f-body); color: var(--muted); background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: .75em 1.1em;
}
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.panel { display: grid; gap: 14px; }
.panel-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.panel-line h3 { font-size: var(--step-2); }
.panel-line p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.chips li { font: 400 .8rem/1 var(--f-mono); padding: .5em .7em; border-radius: 6px; background: var(--sunk); }

/* Your way */
.way-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 860px) { .way-grid { grid-template-columns: 1fr; } }
.shot-card { display: grid; gap: 12px; align-content: start; }
.shot-card p { color: var(--muted); }
.skin-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.skin-list li { font: 500 .8rem/1 var(--f-mono); padding: .55em .8em; border: 1px solid var(--line); border-radius: 999px; }

/* Record */
.record-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (max-width: 900px) { .record-grid { grid-template-columns: 1fr; } }
.checks { display: grid; gap: 8px; padding: 0; margin: 16px 0 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.checks li::before { content: "✓"; font-weight: 700; color: var(--accent); }
.demos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 760px) { .demos { grid-template-columns: 1fr; } }
.demo { display: grid; gap: 10px; }
.demo-media { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: var(--frame); }
.demo-media img { width: 100%; }
.demo-play {
  position: absolute; left: 12px; bottom: 12px; font: 700 .85rem/1 var(--f-body); cursor: pointer;
  padding: .7em 1em; border-radius: 999px; border: 0; background: rgba(17, 19, 27, .82); color: #fff;
}
.demo figcaption { font: 400 .8rem/1.45 var(--f-mono); color: var(--muted); }

/* Grow */
.grow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 960px) { .grow-grid { grid-template-columns: 1fr; } }
.grow-card { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.grow-card .media { position: relative; border-radius: 10px; overflow: hidden; background: var(--frame); aspect-ratio: 4 / 3; max-width: 100%; }
.grow-card .media img, .grow-card .media video { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.grow-card p { color: var(--muted); font-size: .98rem; }

/* See it made */
.made-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 960px) { .made-grid { grid-template-columns: 1fr; } }
.made-art { display: grid; gap: 12px; }
.made-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.made-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.made-item img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
.made-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tool-chips li { display: inline-flex; align-items: center; gap: 6px; font: 700 .84rem/1.2 var(--f-body); padding: 4px 12px 4px 4px; border-radius: 12px; background: var(--sunk); color: var(--ink); }

/* Extras */
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .extras { grid-template-columns: 1fr; } }
.extra { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; align-content: start; }
.extra h2 { font-size: var(--step-2); }
.extra p { color: var(--muted); }
.note { font-size: .9rem; padding: 12px 14px; border-radius: 10px; background: var(--sunk); color: var(--ink); }

/* Compare */
.compare-switch { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--sunk); margin-bottom: 18px; }
.compare-switch button { font: 700 .92rem/1 var(--f-body); padding: .75em 1.1em; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.compare-switch button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 500 .8rem/1.3 var(--f-mono); color: var(--muted); background: var(--sunk); }
tbody th { font-weight: 700; width: 28%; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.col-epp { background: color-mix(in srgb, var(--accent-soft) 70%, transparent); font-weight: 700; font-size: 1.04rem; color: var(--ink); }
thead th.col-epp { font: 800 1.15rem/1.2 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
thead th.col-epp span { display: inline-flex; align-items: center; gap: 8px; }
thead th.col-epp img { width: 24px; height: 24px; border-radius: 6px; }
.mark { font: 700 .82rem/1 var(--f-mono); margin-right: 6px; }
.mark.yes { color: var(--good); }
.mark.part { color: var(--part); }
.mark.no { color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font: 400 .8rem/1.4 var(--f-mono); color: var(--muted); }
.fine { margin-top: 12px; font-size: .82rem; color: var(--muted); max-width: 90ch; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; } .price-arrow { display: none; } }
.price-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; align-content: start; }
.price-card.main { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.price-step { font: 500 .78rem/1 var(--f-mono); color: var(--muted); }
.price-amount { font: 800 2.4rem/1 var(--f-display); letter-spacing: -.03em; }
.price-amount small { font: 400 .95rem var(--f-body); color: var(--muted); letter-spacing: 0; }
.price-arrow { align-self: center; font-size: 1.6rem; color: var(--muted); }
.ticks { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; color: var(--muted); }
.ticks li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Final CTA */
.final-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (max-width: 720px) { .final-inner { grid-template-columns: 1fr; } }
.final img.icon { width: clamp(96px, 12vw, 152px); height: auto; border-radius: 22%; box-shadow: var(--shadow); }
.final-copy { display: grid; gap: 16px; }

/* Page hero for subpages */
.page-hero { padding-block: clamp(28px, 5vw, 56px) clamp(20px, 3vw, 32px); }
.page-hero .section-head { margin-bottom: 0; }
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }

/* Gallery page */
.art-grid { columns: 3 340px; column-gap: 18px; }
.art { break-inside: avoid; margin: 0 0 18px; display: grid; gap: 8px; }
.art .shot { background: var(--surface); }
.art figcaption { display: grid; gap: 2px; }
.art figcaption strong { font: 700 1rem/1.3 var(--f-display); }
.art figcaption span { font-size: .88rem; color: var(--muted); }
.add-note { margin-top: 12px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.field { display: grid; gap: 6px; align-content: start; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; padding: .7em .85em; width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.topic-group { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics label { display: inline-flex; align-items: center; gap: 8px; padding: .55em .85em; border: 1px solid var(--line); border-radius: 999px; font-weight: 400; cursor: pointer; background: var(--paper); }
.topics input { accent-color: var(--accent); }
.topics label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.honeypot { position: absolute; left: -9999px; }
.form-status { padding: 12px 14px; border-radius: 10px; font-size: .95rem; }
.form-status.ok { background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--ink); }
.form-status.err { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--ink); }
.side-cards { display: grid; gap: 16px; }
.side-card { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; }
.side-card h2 { font-size: var(--step-1); }
.side-card p, .side-card li { color: var(--muted); font-size: .97rem; }
.side-card ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }

/* Legal + footer */
.legal { padding-block: 48px; border-top: 1px solid var(--line); }
.legal-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sunk); margin-bottom: 20px; }
.legal-tabs button { font: 700 .9rem/1 var(--f-body); padding: .7em 1em; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.legal-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); }
.legal h2 { font-size: var(--step-2); margin-bottom: 10px; }
.legal p { color: var(--muted); max-width: 75ch; }
.legal-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 18px; }
@media (max-width: 820px) { .legal-cols { grid-template-columns: 1fr; } }
.legal-cols h3 { font-size: 1rem; margin-bottom: 6px; }
.legal-date { margin-top: 16px; font: 400 .78rem/1.4 var(--f-mono); }
footer { padding-block: 28px 40px; border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; color: var(--muted); font-size: .9rem; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a, .link-button { color: var(--muted); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 9, 14, .86); }
.lightbox figure { display: grid; gap: 10px; justify-items: center; }
.lightbox img { max-width: 96vw; max-height: 86vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #fff; }
.lightbox figcaption { color: #e9ebf5; font-size: .92rem; max-width: 90ch; text-align: center; }
.lightbox-close {
  position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px;
  font: 700 .9rem/1 var(--f-body); padding: .7em 1em; border-radius: 999px; border: 0; cursor: pointer;
  background: #fff; color: #11131b;
}

/* Toast */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 40;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100% - 32px));
  padding: 14px 18px; border-radius: 14px; background: var(--ink); color: var(--paper);
  display: grid; gap: 4px; box-shadow: var(--shadow); font-size: .95rem;
}

/* Adaptive sizing: fit short laptop screens, grow on large displays */
html { font-size: calc(clamp(16px, .35vw + 11px, 19px) * var(--text-scale, 1)); }
/* Keep the whole hero screenshot inside the first screen on short displays.
   2880x1612 screenshot = 1.787 aspect; ~150px covers header, padding and the skin buttons. */
.stage .window { width: 100%; max-width: calc((100dvh - 150px) * 1.787); }
.stage .skin-bar { max-width: calc((100dvh - 150px) * 1.787); }
@media (max-height: 820px) and (min-width: 981px) {
  .hero { padding-block: 14px 36px; }
  .hero-copy { gap: 12px; }
  .section { padding-block: clamp(44px, 6vw, 80px); }
}
@media (max-width: 980px) {
  .stage .window, .stage .skin-bar { max-width: none; }
}
/* Large displays: give the app more room */

.button-primary .dl-icon { width: 18px; height: 18px; flex: none; }

/* Subpages: download, support, legal */
.sub-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .sub-grid { grid-template-columns: 1fr; } }
.card { padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 12px; align-content: start; }
.card h2 { font-size: var(--step-2); }
.card.highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.card .muted, .card p { color: var(--muted); }
.meta-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: .95rem; }
.meta-list dt { font: 500 .8rem/1.6 var(--f-mono); color: var(--muted); }
.meta-list dd { margin: 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-soft); color: var(--ink); font: 700 .95rem/1 var(--f-display);
}
.steps h3 { font-size: 1.02rem; margin-bottom: 2px; }
.steps p { color: var(--muted); font-size: .97rem; }
kbd, .menu-path { font: 500 .85em/1 var(--f-mono); padding: .2em .45em; border-radius: 5px; background: var(--sunk); border: 1px solid var(--line); white-space: nowrap; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-group + .faq-group { margin-top: clamp(28px, 4vw, 40px); }
.faq-group > h2 { font-size: var(--step-2); margin-bottom: 14px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 18px; font: 700 1.02rem/1.35 var(--f-body);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.3rem/1 var(--f-mono); color: var(--accent); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 18px 18px; display: grid; gap: 10px; color: var(--muted); max-width: 75ch; }
.faq .answer ul, .faq .answer ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }

/* Legal prose */
.prose { max-width: 75ch; display: grid; gap: 14px; }
.prose h2 { font-size: var(--step-2); margin-top: 22px; }
.prose h3 { font-size: 1.08rem; margin-top: 8px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 8px; list-style: none; }
.toc a { display: inline-block; font: 500 .8rem/1 var(--f-mono); padding: .55em .8em; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--surface); }
.updated { font: 400 .8rem/1.4 var(--f-mono); color: var(--muted); }
.prose .toc { display: flex; padding: 0; gap: 8px; }

/* Thank-you page: the license key */
.key-ready { display: grid; gap: 12px; min-width: 0; }
.key-box {
  width: 100%; resize: none; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--sunk); color: var(--ink);
  font: 400 .85rem/1.5 var(--f-mono); word-break: break-all; min-width: 0;
}
.key-box:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[aria-busy="true"] { cursor: progress; opacity: .75; }
@media (max-width: 480px) { .menu-path { white-space: normal; } }

/* ---------- Real tool icons (cropped from the app's own toolbar) ---------- */
:root[data-font] .hero h1 { letter-spacing: 0; }
.ti {
  --l: none; --d: none;
  display: inline-block; flex: none; width: 32px; height: 32px; border-radius: 8px;
  background: var(--tool-tile) var(--l) center / 28px 28px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
}
:root[data-theme="dark"] .ti { background-image: var(--d); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ti { background-image: var(--d); } }
.ti-pencil { --l: url("assets/tools/pencil-light.png"); --d: url("assets/tools/pencil-dark.png"); }
.ti-brush { --l: url("assets/tools/brush-light.png"); --d: url("assets/tools/brush-dark.png"); }
.ti-fill { --l: url("assets/tools/fill-light.png"); --d: url("assets/tools/fill-dark.png"); }
.ti-rectangle { --l: url("assets/tools/rectangle-light.png"); --d: url("assets/tools/rectangle-dark.png"); }
.ti-line { --l: url("assets/tools/line-light.png"); --d: url("assets/tools/line-dark.png"); }
.ti-curve { --l: url("assets/tools/curve-light.png"); --d: url("assets/tools/curve-dark.png"); }
.ti-eraser { --l: url("assets/tools/eraser-light.png"); --d: url("assets/tools/eraser-dark.png"); }
.ti-text { --l: url("assets/tools/text-light.png"); --d: url("assets/tools/text-dark.png"); }
.ti-airbrush { --l: url("assets/tools/airbrush-light.png"); --d: url("assets/tools/airbrush-dark.png"); }
.ti-3d { --l: url("assets/tools/3d-light.png"); --d: url("assets/tools/3d-dark.png"); }
.ti-shapes { --l: url("assets/tools/shapes-light.png"); --d: url("assets/tools/shapes-dark.png"); }
.ti-ellipse { --l: url("assets/tools/ellipse-light.png"); --d: url("assets/tools/ellipse-dark.png"); }
.ti-polygon { --l: url("assets/tools/polygon-light.png"); --d: url("assets/tools/polygon-dark.png"); }
.ti-stamp { --l: url("assets/tools/stamp-light.png"); --d: url("assets/tools/stamp-dark.png"); }
.ti-rotate { --l: url("assets/tools/rotate-light.png"); --d: url("assets/tools/rotate-dark.png"); }
.ti-crop { --l: url("assets/tools/crop-light.png"); --d: url("assets/tools/crop-dark.png"); }
.ti-flip { --l: url("assets/tools/flip-light.png"); --d: url("assets/tools/flip-dark.png"); }
.ti-select-move { --l: url("assets/tools/select-move-light.png"); --d: url("assets/tools/select-move-dark.png"); }
/* Fill-style swatches from the Fill panel */
.sw { display: inline-block; flex: none; width: 32px; height: 32px; border-radius: 8px; background: #fff center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--line); }
.sw-gradient { background-image: url("assets/tools/swatch-gradient.png"); }
.sw-pattern { background-image: url("assets/tools/swatch-pattern.png"); }
.sw-emoji { background-image: url("assets/tools/swatch-emoji.png"); }
.sw-dots { background-image: url("assets/tools/swatch-dots.png"); }
.sw-brick { background-image: url("assets/tools/swatch-brick.png"); }
.tool-chips .ti + .sw { margin-left: -2px; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; }
.tabs button .ti, .tabs button .sw { width: 26px; height: 26px; border-radius: 7px; background-size: 22px 22px; margin-block: -6px; margin-left: -6px; }
.tabs button .sw { background-size: cover; }
.art .tool-chips { margin-top: 4px; }
.art .tool-chips li { font-size: .78rem; }
.art .tool-chips .ti, .art .tool-chips .sw { width: 26px; height: 26px; background-size: 22px 22px; }
.art .tool-chips .sw { background-size: cover; }

/* ---------- Header controls: reading options + day/night ---------- */
.nav-tools { display: flex; align-items: center; gap: 8px; }
@media (min-width: 901px) { .nav-links { margin-left: auto; } }
@media (max-width: 900px) { .nav-tools { margin-left: auto; } .nav .button { margin-left: 0; } }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: 700 .9rem/1 var(--f-body);
}
.icon-btn:hover { background: var(--sunk); }
.icon-btn svg { width: 20px; height: 20px; flex: none; }
.icon-btn .aa { font: 800 1.02rem/1 var(--f-display); letter-spacing: -.02em; }
.theme-toggle .to-day { display: none; }
:root[data-theme="dark"] .theme-toggle .to-night { display: none; }
:root[data-theme="dark"] .theme-toggle .to-day { display: inline-flex; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .to-night { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .to-day { display: inline-flex; }
}
.theme-toggle span { display: inline-flex; align-items: center; gap: 6px; }
.theme-toggle .moon { color: #6c8dff; }
.theme-toggle .sun { color: #f5a524; }
@media (max-width: 1180px) { .theme-toggle .label { display: none; } }

/* Reading panel (popover) */
.reading-panel { display: none; }
.reading-panel:popover-open, .reading-panel.is-open { display: grid; }
.reading-panel {
  position: fixed; inset: calc(66px + env(safe-area-inset-top, 0px)) max(16px, calc((100vw - var(--wrap)) / 2 + var(--gutter))) auto auto;
  margin: 0; width: min(380px, calc(100vw - 32px)); max-height: calc(100dvh - 90px); overflow: auto;
  gap: 14px; padding: 18px 20px; border-radius: 18px; z-index: 60;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow);
}
.reading-panel h2 { font-size: 1.2rem; }
.reading-panel .intro { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.reading-panel fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.reading-panel legend { font-weight: 700; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--sunk); }
.seg label { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 6px 8px; border-radius: 9px; cursor: pointer; color: var(--muted); text-align: center; line-height: 1.1; font-size: .9rem; }
.seg label:has(input:checked) { background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.14); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 1px; }
.seg input, .font-choice input { position: absolute; opacity: 0; pointer-events: none; }
.size-seg label { font-family: var(--f-display); font-weight: 800; color: var(--ink); }
.size-seg label:nth-child(1) span { font-size: .85rem; }
.size-seg label:nth-child(2) span { font-size: 1.05rem; }
.size-seg label:nth-child(3) span { font-size: 1.3rem; }
.size-seg label:nth-child(4) span { font-size: 1.6rem; }
.font-list { display: grid; gap: 6px; }
.font-choice label { position: relative; display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--paper); }
.font-choice label strong { font-size: 1.08rem; font-weight: 700; }
.font-choice label small { color: var(--muted); font: 400 .82rem/1.3 -apple-system, system-ui, sans-serif; }
.font-choice label:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--accent-soft); }
.font-choice label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.f-atkinson { font-family: "Atkinson Hyperlegible", system-ui, sans-serif; }
.f-lexend { font-family: "Lexend", system-ui, sans-serif; }
.f-dyslexic { font-family: "OpenDyslexic", Verdana, sans-serif; }
.panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-foot .link-button { font-size: .9rem; }

/* ---------- Scroll paintbrush reminder ---------- */
.brush-nudge {
  position: fixed; z-index: 30; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: flex-end; gap: 4px; pointer-events: none;
  opacity: 0; transform: translateY(24px); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.9,.3,1.3);
}
.brush-nudge.is-shown { opacity: 1; transform: none; }
.brush-nudge.is-shown .nudge-bubble, .brush-nudge.is-shown .nudge-brush { pointer-events: auto; }
.nudge-bubble {
  position: relative; width: min(17rem, calc(100vw - 104px)); padding: 14px 16px 14px; border-radius: 18px 18px 6px 18px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; gap: 10px; font-size: .95rem; line-height: 1.4;
}
.nudge-bubble strong { display: block; font: 750 1.05rem/1.2 var(--f-display); margin-bottom: 2px; }
.nudge-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nudge-close { white-space: nowrap; border: 0; background: none; color: var(--muted); font: 400 .85rem/1 var(--f-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 2px; }
.nudge-stroke { position: absolute; left: 14px; right: 14px; bottom: -3px; height: 6px; }
.nudge-stroke path { stroke-dasharray: 300; stroke-dashoffset: 300; }
.brush-nudge.is-shown .nudge-stroke path { animation: paint-stroke 1.1s .35s ease-out forwards; }
.nudge-brush { width: 74px; height: 74px; flex: none; cursor: pointer; border: 0; padding: 0; background: none; transform-origin: 70% 80%; }
.brush-nudge.is-shown .nudge-brush { animation: brush-wave 2.6s 1.2s ease-in-out infinite; }
@keyframes paint-stroke { to { stroke-dashoffset: 0; } }
@keyframes brush-wave { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-12deg); } 86% { transform: rotate(8deg); } 94% { transform: rotate(-4deg); } }
.brush-nudge.is-tucked .nudge-bubble { display: none; }
@media (max-width: 560px) {
  .nudge-brush { width: 56px; height: 56px; }
  .nudge-bubble { font-size: .9rem; padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .brush-nudge { transition: opacity .2s ease; transform: none; }
  .brush-nudge.is-shown .nudge-brush { animation: none; }
  .brush-nudge.is-shown .nudge-stroke path { animation: none; stroke-dashoffset: 0; }
}
.brush-nudge { visibility: hidden; transition: opacity .35s ease, transform .45s cubic-bezier(.2,.9,.3,1.3), visibility 0s .45s; }
.brush-nudge.is-shown { visibility: visible; transition-delay: 0s; }

/* Header stays on one line: long words or big text tuck the section links away */
.brand { white-space: nowrap; }
.nav-links a { white-space: nowrap; }
.nav.is-compact .nav-links { display: none; }
.nav.is-compact .nav-tools { margin-left: auto; }
@media (max-width: 430px) { .nav .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.brush-nudge.is-tucked .nudge-brush { background: var(--surface); border-radius: 50%; box-shadow: var(--shadow); padding: 6px; }

/* ---------- Theme slideshow (hero) ---------- */
.skin-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.skin-bar .skin-tabs { flex: 1 1 auto; }
.skin-play {
  display: inline-flex; align-items: center; gap: 6px; flex: none; cursor: pointer;
  font: 700 .8rem/1 var(--f-body); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: .55em .95em .55em .75em;
}
.skin-play:hover { background: var(--sunk); }
.skin-play svg { width: 15px; height: 15px; fill: currentColor; }
.skin-play[aria-pressed="true"] .i-play, .skin-play[aria-pressed="false"] .i-pause { display: none; }
/* while playing, the selected look gets a soft pulse so the cycle reads as a slideshow */
.stage.is-playing .skin-tabs button[aria-selected="true"] { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent); }
.stage.is-playing .window img { transition: none; }

/* New in 3.5 pill */
.new-pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 5px 12px 5px 5px; border-radius: 999px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: .85rem; line-height: 1.25;
}
.new-pill span { flex: none; font: 700 .72rem/1 var(--f-mono); padding: .45em .7em; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.new-pill:hover { border-color: var(--accent); }

/* Day/Night versions of the same screenshot: show the one matching the site look */
.only-night { display: none; }
:root[data-theme="dark"] .only-night { display: block; }
:root[data-theme="dark"] .only-day { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-night { display: block; }
  :root:not([data-theme="light"]) .only-day { display: none; }
}

/* Tab groups */
.groups-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px 28px; align-items: start; }
.group-shot { display: grid; gap: 10px; min-width: 0; }
.group-shot.menu { grid-column: 2; grid-row: 1 / span 2; }
.group-shot .shot.strip { background: var(--surface); }
.group-shot .shot.strip img { width: 100%; }
.group-shot figcaption { color: var(--muted); font-size: .98rem; }
.group-shot figcaption strong { display: block; color: var(--ink); font: 700 1.05rem/1.3 var(--f-display); margin-bottom: 2px; }
@media (max-width: 900px) { .groups-grid { grid-template-columns: 1fr; } .group-shot.menu { grid-column: auto; grid-row: auto; } }

/* Six looks fit on one line */
.skin-bar { flex-wrap: nowrap; align-items: flex-start; }
.skin-bar .skin-tabs { gap: 5px; }
.skin-tabs button { font-size: .74rem; padding: .55em .75em; gap: 6px; }
.skin-play { font-size: .76rem; }
@media (max-width: 1180px) { .skin-bar { flex-wrap: wrap; } }

/* Toolbar tour GIF */
.toolbar-tour .shot { background: #16182a; }
.toolbar-tour img { width: 100%; }

/* Owner details (click to reveal) */
.owner-canvas { display: inline-block; vertical-align: middle; margin-top: -0.15em; }
.owner-btn { font-size: inherit; }

/* Toolbar tour video + high-res stills */
.toolbar-tour .shot { position: relative; background: #141626; }
.tour-video { display: block; width: 100%; height: auto; }
.tour-toggle {
  position: absolute; right: 14px; bottom: 14px; font: 700 .85rem/1 var(--f-body); cursor: pointer;
  padding: .65em 1em; border-radius: 999px; border: 0; background: rgba(17, 19, 27, .78); color: #fff;
}
.tb-stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 24px; align-items: start; }
@media (max-width: 900px) { .tb-stills { grid-template-columns: 1fr; } }
.tb-still { display: grid; gap: 8px; min-width: 0; }
.tb-still .shot { background: #262c38; }
.tb-still figcaption { color: var(--muted); font-size: .95rem; }
.tb-still figcaption strong { color: var(--ink); font: 700 1.02rem/1.3 var(--f-display); margin-right: .45em; }

/* Gallery: recorded pixel knight */
.sw-c { background: var(--c); }
.tool-chips .sw-c + .sw-c { margin-left: -4px; }
.replay-video .shot { position: relative; background: #80ffff; }
.replay-video .tour-video { image-rendering: pixelated; }
.replay-steps { display: grid; gap: 12px; align-content: start; }
.replay-steps h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.2; margin: 0; }
.replay-steps > p:not(.eyebrow) { color: var(--muted); margin: 0 0 4px; }
.replay-steps .made-item img { image-rendering: pixelated; object-fit: cover; }
.replay-feature .made-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 960px) { .replay-feature .made-grid { grid-template-columns: 1fr; } }

/* Guides */
.crumbs { font: 500 .8rem/1.4 var(--f-mono); color: var(--muted); margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }
.prose ol:not(.steps) { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose .steps { margin: 4px 0; }
.guide-figure { margin: 8px 0; display: grid; gap: 8px; }
.guide-figure img, .guide-figure video { width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow); background: var(--frame); }
.guide-figure figcaption { font-size: .88rem; color: var(--muted); }
.guide-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide-steps img { image-rendering: pixelated; }
.guide-steps figcaption { grid-column: 1 / -1; }
@media (max-width: 560px) { .guide-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.guide-cta { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; margin: 18px 0 6px; }
.guide-cta h2 { font-size: 1.1rem; margin: 0 0 2px; }
.guide-cta p { margin: 0; font-size: .95rem; }
.guide-cta img { border-radius: 12px; }
@media (max-width: 640px) { .guide-cta { grid-template-columns: auto minmax(0, 1fr); } .guide-cta .button { grid-column: 1 / -1; justify-self: start; } }
.guide-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.guide-card { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.guide-card h2 { font-size: 1.15rem; }
.guide-card:hover, .guide-card:focus-visible { border-color: var(--accent); box-shadow: var(--shadow); }
.guide-more { font: 600 .9rem/1 var(--f-body, inherit); color: var(--accent); }

/* Launch pricing */
.launch-pill { justify-self: start; font: 700 .78rem/1 var(--f-mono); letter-spacing: .02em; padding: .5em .8em; border-radius: 999px; background: var(--accent); color: var(--accent-ink, #fff); }
.launch-note { color: var(--ink); font-weight: 600; font-size: .97rem; }
.price-compare { margin-top: 24px; padding: clamp(18px, 3vw, 26px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 10px; }
.price-compare h3 { font-size: 1.15rem; }
.price-compare > p:not(.fine) { color: var(--muted); }
.price-compare ul { list-style: none; margin: 0; padding: 0; display: grid; }
.price-compare li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.price-compare li:first-child { border-top: 0; }
.price-compare li span { color: var(--ink); }
.price-compare li strong { font: 700 1.02rem/1.3 var(--f-display); }
.price-compare li em { font-style: normal; color: var(--muted); font-size: .9rem; }
.price-compare li:first-child span, .price-compare li:first-child strong { color: var(--accent); }
@media (max-width: 560px) { .price-compare li { grid-template-columns: minmax(0, 1fr) auto; } .price-compare li em { grid-column: 1 / -1; margin-top: -6px; } }
