/* MojoPad — site redesign (draft). Plain CSS, no build step. */

@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-opsz-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---------- Clay tokens ---------- */
:root {
  --bg: #FBF8F2;
  --bg-tint: #F4EEE4;
  --surface: #FFFDF9;
  --ink: #2A2320;
  --ink-2: #5E534C;
  --ink-3: #6E625B;
  --line: #E7DED1;
  --line-strong: #D8CCBB;
  --accent: #B4532A;
  --accent-ink: #9E4622;   /* terracotta for text on cream: 5.6:1 */
  --accent-hover: #9A4520;
  --on-accent: #FFF8F0;
  --accent-soft: #F3E1D4;
  --shadow: 0 1px 2px rgba(60,40,25,.06), 0 8px 24px -6px rgba(60,40,25,.12), 0 40px 80px -24px rgba(60,40,25,.22);
  --radius: 14px;
  --serif: "Newsreader", "Iowan Old Style", "Palatino", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1B1715; --bg-tint: #221D1A; --surface: #29231F;
    --ink: #F3ECE3; --ink-2: #C9BDB0; --ink-3: #A79A8D;
    --line: #3A322C; --line-strong: #4A4038;
    --accent: #D9774B; --accent-ink: #EE9A72; --accent-hover: #E5865B; --on-accent: #1B1715; --accent-soft: #3A2A21;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -8px rgba(0,0,0,.5), 0 40px 90px -30px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1B1715; --bg-tint: #221D1A; --surface: #29231F;
  --ink: #F3ECE3; --ink-2: #C9BDB0; --ink-3: #A79A8D;
  --line: #3A322C; --line-strong: #4A4038;
  --accent: #D9774B; --accent-ink: #EE9A72; --accent-hover: #E5865B; --on-accent: #1B1715; --accent-soft: #3A2A21;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -8px rgba(0,0,0,.5), 0 40px 90px -30px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
kbd { font: 500 .82em/1 var(--sans); display: inline-block; min-width: 1.6em; padding: .25em .4em; margin: 0 .08em; text-align: center; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; background: var(--surface); color: var(--ink); }
code { font: 500 .88em/1 ui-monospace, "SF Mono", Menlo, monospace; background: var(--accent-soft); color: var(--ink); padding: .15em .4em; border-radius: 5px; }
.i { width: 1em; height: 1em; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }
.wrap-wide { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.eyebrow { font: 600 13px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 14px; }
.h2 { font: 500 clamp(34px, 4.6vw, 54px)/1.06 var(--serif); letter-spacing: -.018em; margin: 0; text-wrap: balance; }
.h3 { font: 500 clamp(28px, 3vw, 38px)/1.12 var(--serif); letter-spacing: -.012em; margin: 0 0 16px; text-wrap: balance; }
.lede { font-size: 19px; color: var(--ink-2); margin: 20px auto 24px; max-width: 640px; text-wrap: pretty; }
.fine { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; transition: background-color .2s, transform .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 16px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-3); transform: translateY(-1px); }
.btn-small { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .i { width: 17px; height: 17px; margin-top: -2px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row.center, .hero .cta-row { justify-content: center; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 16px; text-decoration: none; margin-top: 8px; }
.more .i { transition: transform .2s; }
.more:hover .i { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { width: min(1200px, 100% - 40px); margin-inline: auto; height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 28px; height: 28px; }
.brand-word { font: 600 23px/1 var(--serif); letter-spacing: -.01em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { color: var(--ink); background: var(--bg-tint); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; }
.theme-toggle:hover { color: var(--ink); border-color: var(--line-strong); }
.theme-toggle svg { width: 17px; height: 17px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(36px, 5vw, 64px) 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 820px; z-index: -1;
  background: radial-gradient(60% 55% at 50% 35%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%),
              radial-gradient(40% 40% at 80% 10%, color-mix(in srgb, #E9B98F 22%, transparent), transparent 70%); }
.hero-copy { text-align: center; }
.hero h1 { font: 400 clamp(46px, 6.8vw, 88px)/.98 var(--serif); letter-spacing: -.03em; margin: 22px 0 0; text-wrap: balance; }
.hero-sub { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--ink-2); margin: 22px auto 0; max-width: 720px; text-wrap: balance; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; }
.pill:hover { color: var(--ink); border-color: var(--line-strong); }
.pill-tag { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; font-size: 12px; padding: 4px 9px; border-radius: 999px; }

/* Window frame for screenshots */
.window { margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); outline: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); outline-offset: -1px; }
.window img { width: 100%; }
.window.dark-frame { background: #111; }
.window.crop { max-width: 400px; margin-inline: auto; }
.stage { border-radius: 24px; padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px) 0; overflow: hidden; max-height: 620px;
  background: radial-gradient(80% 60% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 75%), var(--bg-tint); border: 1px solid var(--line); }
.stage .window { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section.tint { background: var(--bg-tint); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.sec-lede { max-width: 400px; color: var(--ink-2); margin: 0; font-size: 17px; }

/* Core ideas */
.idea { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: center; margin-top: clamp(64px, 9vw, 120px); }
.idea.flip { grid-template-columns: 7fr 5fr; }
.idea.flip .idea-copy { order: 2; }
.idea-copy p { color: var(--ink-2); margin: 0 0 18px; font-size: 18px; text-wrap: pretty; }
.idea-copy .note { font-size: 15px; color: var(--ink-3); border-left: 2px solid var(--accent-soft); padding-left: 14px; }
.idea-num { display: block; font: italic 400 20px/1 var(--serif); color: var(--accent-ink); margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 16px; }
.ticks .i { color: var(--accent); width: 18px; height: 18px; margin-top: 3px; }

/* Heritage card */
.heritage { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.heritage-lead { font: 500 clamp(26px, 2.6vw, 32px)/1.15 var(--serif); margin: 0 0 14px; }
.heritage p { color: var(--ink-2); }
.heritage hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.heritage-small { font-size: 15px; }
.heritage-small strong { color: var(--ink); }

/* Learn / videos */
.videos { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.videos .big { grid-row: span 2; aspect-ratio: auto; }
.learn-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.learn-links a { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.learn-links a:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--ink); }
.learn-links strong { font: 600 19px/1.2 var(--serif); }
.learn-links span { font-size: 14px; color: var(--ink-3); }

/* Placeholders — deliberately visible */
.ph { margin: 0; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background:
  repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in srgb, var(--ink) 3%, transparent) 12px 13px), var(--surface); }
.ph-label { display: inline-block; font: 600 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 9px; border-radius: 6px; }
.ph-video { aspect-ratio: 16 / 9; display: grid; place-items: center; }
.ph-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 16px; }
.ph-play { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); position: relative; box-shadow: 0 6px 16px -6px var(--accent); }
.ph-play::after { content: ""; position: absolute; left: 18px; top: 14px; border-left: 14px solid var(--on-accent); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.big .ph-play { width: 64px; height: 64px; }
.big .ph-play::after { left: 25px; top: 20px; border-left-width: 19px; border-top-width: 12px; border-bottom-width: 12px; }
.ph-title { font: 500 19px/1.25 var(--serif); color: var(--ink); }
.big .ph-title { font-size: 28px; }
.ph-spec { font-size: 13px; color: var(--ink-3); }

/* Everything else */
.grid-more { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.grid-more li { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.grid-more li:not(:nth-child(4n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.grid-more h3 { font: 600 16px/1.3 var(--sans); margin: 0 0 8px; color: var(--ink); }
.grid-more p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ph-quote { padding: 28px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ph-quote blockquote { margin: 0; font: 400 21px/1.45 var(--serif); color: var(--ink-2); flex: 1; }
.ph-quote figcaption { font-size: 14px; color: var(--ink-3); }

/* Review call to action (after the quotes) */
.review-cta { margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 28px 32px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.review-cta::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); }
.review-stars svg { display: block; width: 112px; height: 21px; fill: var(--accent); opacity: .9; }
.review-copy h3 { font: 400 clamp(22px, 2.3vw, 28px)/1.2 var(--serif); letter-spacing: -.01em; margin: 0; color: var(--ink); }
.review-copy p { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 60ch; }
.review-btn { flex: none; }
.review-aside { margin-top: 10px; }
@media (max-width: 960px) {
  .review-cta { grid-template-columns: 1fr auto; }
  .review-stars { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .review-cta { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px 24px 26px; }
  .review-btn { width: 100%; }
}

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 440px; gap: clamp(40px, 7vw, 100px); align-items: center; }
.pricing .lede { margin-left: 0; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.price-top { padding-bottom: 22px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.price-name { font: 600 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.price { font: 400 84px/1 var(--serif); letter-spacing: -.03em; margin: 0; }
.price .cur { font-size: .45em; vertical-align: .9em; margin-right: 4px; color: var(--ink-2); }
.price-terms { margin: 8px 0 0; color: var(--ink-2); }
.price-card .ticks { margin-bottom: 18px; }
.price-card .fine { margin-top: 4px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 500 21px/1.35 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.75px solid var(--ink-3); border-bottom: 1.75px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: -6px 0 24px; color: var(--ink-2); max-width: 640px; }

/* Final */
.final { padding: clamp(80px, 11vw, 140px) 0; background:
  radial-gradient(50% 70% at 50% 100%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), var(--bg-tint); }
.final-mark { width: 56px; height: 56px; margin: 0 auto 28px; display: block; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--ink-2); margin: 14px 0 0; }
.footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer nav h2 { font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 6px 0 8px; }
.footer nav a { color: var(--ink-2); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }
/* SourceForge review badge: small and quiet, full colour on hover/focus */
.footer-badge { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.footer-badge .sf-badge { display: block; flex: none; line-height: 0; border-radius: 6px; opacity: .88; filter: saturate(.82); transition: opacity .2s ease, filter .2s ease, transform .2s ease; }
.footer-badge .sf-badge:hover, .footer-badge .sf-badge:focus-visible { opacity: 1; filter: none; transform: translateY(-1px); }
.footer-badge img { display: block; width: 52px; height: auto; }
.footer-badge-note { font-size: 12.5px; line-height: 1.35; color: var(--ink-3); }
:root[data-theme="dark"] .footer-badge .sf-badge { opacity: .78; filter: saturate(.7) brightness(.92); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .footer-badge .sf-badge { opacity: .78; filter: saturate(.7) brightness(.92); } }
:root[data-theme="dark"] .footer-badge .sf-badge:hover, :root[data-theme="dark"] .footer-badge .sf-badge:focus-visible { opacity: 1; filter: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .footer-badge .sf-badge:hover, :root:not([data-theme="light"]) .footer-badge .sf-badge:focus-visible { opacity: 1; filter: none; } }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; color: var(--ink-3); font-size: 13px; }
.footer-legal p { margin: 0; }


/* ---------- v2: real screenshots ---------- */
/* Theme-aware images: the page swaps light/dark shots with the site's appearance. */
.only-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .only-dark { display: block; } :root:not([data-theme="light"]) .only-light { display: none; } }
:root[data-theme="dark"] .only-dark { display: block; } :root[data-theme="dark"] .only-light { display: none; }
picture { display: block; }
.window.shot { border-radius: 12px; background: transparent; }
.window.shot img { width: 100%; height: auto; }

/* Hero stage: the window sits on a soft watercolour wash from the demo wiki */
.hero-stage { position: relative; margin-top: clamp(36px, 4.5vw, 56px); padding-bottom: clamp(24px, 4vw, 48px); }
.hero-wash { position: absolute; inset: 14% 0 0; z-index: -1; background: url(img/marsh-wash.webp) center 30% / cover no-repeat; opacity: .55;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%); filter: saturate(.85); }
:root[data-theme="dark"] .hero-wash { opacity: .16; filter: saturate(.6) brightness(.7); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-wash { opacity: .16; filter: saturate(.6) brightness(.7); } }
.hero-shot { position: relative; margin: 0 auto; max-width: 1200px; }
.hero-shot .window { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent), 0 2px 4px rgba(40,25,15,.06), 0 24px 48px -12px rgba(40,25,15,.22), 0 70px 120px -40px rgba(40,25,15,.35); outline: 0; }
.hero-narrow { display: none !important; }
.callout { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 12px; border-radius: 999px; font: 600 14px/1 var(--sans); color: var(--ink);
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: 0 10px 30px -10px rgba(40,25,15,.35); white-space: nowrap; }
.callout i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.callout.c1 { left: -1.5%; top: 36%; }
.callout.c2 { right: -1.5%; bottom: 23%; }
@media (prefers-reduced-motion: no-preference) {
  .js .callout { opacity: 0; translate: 0 8px; transition: opacity .7s ease .9s, translate .7s ease .9s; }
  .js .callout.c2 { transition-delay: 1.3s; }
  .js .hero-shot.in .callout { opacity: 1; translate: 0 0; }
}

/* Ideas */
.ideas .lede { margin-bottom: 0; }
.stage-paper { padding: clamp(28px, 4vw, 48px); max-height: none; background: radial-gradient(90% 70% at 30% 0%, color-mix(in srgb, #E9B98F 30%, transparent), transparent 70%), var(--bg-tint); }
.stage-paper .window { border-radius: 12px; }
.window.float { transform: rotate(-1.2deg); }
.stage-tall { padding: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 64px) 0; max-height: 600px; }
.stage-tall .window { max-width: 400px; margin-inline: auto; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.bleed-right .window { width: 128%; max-width: none; }
.idea:has(.bleed-right) { overflow: visible; }
#features { overflow: hidden; }

/* The map: a full-bleed night band, dark in both appearances */
.map { position: relative; padding: clamp(88px, 11vw, 140px) 0 clamp(72px, 9vw, 112px); color: #F3ECE3; overflow: hidden;
  background: radial-gradient(60% 50% at 50% 62%, rgba(217,119,75,.16), transparent 70%), radial-gradient(40% 40% at 22% 80%, rgba(110,140,200,.14), transparent 70%), radial-gradient(40% 40% at 80% 70%, rgba(130,180,110,.12), transparent 70%), #141110; }
.map .eyebrow { color: #EE9A72; }
.map .lede { color: #C9BDB0; }
.map-shot { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 1200px; }
.map-shot .window { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 100px -30px rgba(0,0,0,.8), 0 0 120px -20px rgba(217,119,75,.25); outline: 0; }
.map-more { margin: 36px 0 0; }
.map .more { color: #EE9A72; }
.map :focus-visible { outline-color: #EE9A72; }

/* Learn: video slots with real stills */
.vid { margin: 0; position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); isolation: isolate; }
.videos .vid.big { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.vid-poster { position: absolute; inset: 0; background-size: cover; background-position: top left; filter: saturate(.9); transform: scale(1.02); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,23,21,.82), rgba(27,23,21,.25) 55%, rgba(27,23,21,.05)); z-index: 0; }
.vid:hover .vid-poster { transform: scale(1.05); }
.vid figcaption { position: absolute; inset: auto 0 0; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; color: #FFF8F0; }
.vid .ph-play { width: 40px; height: 40px; margin-bottom: 6px; }
.vid .ph-play::after { left: 15px; top: 12px; border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; }
.vid.big .ph-play { width: 60px; height: 60px; } .vid.big .ph-play::after { left: 23px; top: 18px; border-left-width: 18px; border-top-width: 12px; border-bottom-width: 12px; }
.vid-label { font: 600 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #F3C9B2; }
.vid-title { font: 500 17px/1.25 var(--serif); text-wrap: balance; }
.vid.big .vid-title { font-size: 30px; }
.tip { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 16px; padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.tip .h3 { font-size: clamp(26px, 2.6vw, 32px); }
.tip p { color: var(--ink-2); margin: 0 0 12px; }
.tip-shot { box-shadow: var(--shadow); }

@media (max-width: 960px) {
  .bleed-right .window { width: 100%; }
  .window.float { transform: none; }
  .callout { display: none; }
  .tip { grid-template-columns: 1fr; }
  .videos .vid.big { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .hero-wide { display: none !important; }
  .hero-narrow.only-light { display: block !important; }
  :root[data-theme="dark"] .hero-narrow.only-light { display: none !important; }
  :root[data-theme="dark"] .hero-narrow.only-dark { display: block !important; }
  .vid-title { font-size: 15px; } .vid.big .vid-title { font-size: 22px; }
  .vid figcaption { padding: 12px 14px; } .vid .ph-play { width: 30px; height: 30px; } .vid .ph-play::after { left: 11px; top: 8px; border-left-width: 10px; border-top-width: 7px; border-bottom-width: 7px; }
}
@media (max-width: 640px) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-narrow.only-light { display: none !important; }
  :root:not([data-theme="light"]) .hero-narrow.only-dark { display: block !important; }
}

/* Reveal on scroll (only when motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Mobile menu ---------- */
.menu-toggle { display: none; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; place-items: center; padding: 0; }
.menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.menu-toggle path { transition: transform .2s ease; transform-origin: 10px 10px; }
.menu-toggle[aria-expanded="true"] .l1 { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .l2 { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); box-shadow: 0 18px 30px -24px rgba(0,0,0,.35); }
.mobile-menu[hidden] { display: none; }
.mobile-menu .wrap { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 14px; }
.mobile-menu a { color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 500; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 9px; font-size: 14.5px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-toggle { display: grid; }
}
@media (min-width: 761px) { .mobile-menu { display: none !important; } }
@media (max-width: 960px) {
  .videos .big { aspect-ratio: 16 / 9; }
  .idea, .idea.flip { grid-template-columns: 1fr; }
  .idea.flip .idea-copy { order: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .videos { grid-template-columns: 1fr 1fr; }
  .videos .big { grid-column: span 2; grid-row: auto; }
  .learn-links { grid-template-columns: 1fr 1fr; }
  .grid-more { grid-template-columns: 1fr 1fr; }
  .grid-more li, .grid-more li:not(:nth-child(4n+1)) { padding: 24px 20px 24px 0; border-left: 0; }
  .grid-more li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .quotes { grid-template-columns: 1fr; }
  .pricing, .faq { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .br-wide { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .hero h1 { font-size: 48px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .videos { gap: 10px; }
  .videos .ph-title { font-size: 15px; }
  .videos .ph-label { font-size: 10px; }
  .videos .ph-play { width: 34px; height: 34px; }
  .videos .ph-play::after { left: 13px; top: 10px; border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; }
  .videos .big .ph-title { font-size: 22px; }
  .grid-more { grid-template-columns: 1fr; }
  .grid-more li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .learn-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { flex-direction: column; }
  .price-card { padding: 28px 24px; }
  .window.crop { max-width: 320px; }
}


/* ---------- v2.1 (site build, Oct 27): live reviews + real tutorial videos ---------- */
/* Reviews: the markup inside <!-- reviews:start/end --> is generated by tools/build-site.py
   (section#reviews > h2, p.lede, figure.r-press, div#reviews-grid > figure.r-card) and
   refreshed from /api/reviews. Style only; never rely on classes it doesn't emit. */
.voices .eyebrow { margin-bottom: 14px; }
#reviews { padding: 0; }
#reviews > h2 { font: 500 clamp(34px, 4.6vw, 54px)/1.06 var(--serif); letter-spacing: -.018em; margin: 0; text-align: center; text-wrap: balance; }
#reviews > .lede { text-align: center; margin: 18px auto 40px; }
#reviews > .lede a { font-weight: 600; }
.r-press { margin: 0 auto 28px; max-width: 900px; padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px); text-align: center; border-radius: 24px; background:
  radial-gradient(80% 90% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.r-press .r-body { margin: 0; font: 400 clamp(24px, 3vw, 34px)/1.3 var(--serif); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.r-press .r-body::before { content: "\201C"; } .r-press .r-body::after { content: "\201D"; }
.r-press .r-name { margin-top: 18px; font-size: 15px; color: var(--ink-3); }
.r-press .r-name a { font-weight: 600; text-decoration: none; }
.grid.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.r-card { margin: 0; padding: 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.r-stars { color: var(--accent); letter-spacing: 3px; font-size: 15px; line-height: 1; }
.r-stars .r-dim { color: var(--line-strong); }
.r-card .r-body { margin: 0; font: 400 17px/1.55 var(--serif); color: var(--ink); white-space: pre-line; text-wrap: pretty; }
.r-card .r-body::before { content: "\201C"; } .r-card .r-body::after { content: "\201D"; }
.r-card .r-name { font-size: 14px; color: var(--ink-3); font-weight: 600; }
/* Long reviews stay readable without one card towering over the others */
.r-card .r-body { max-height: 15.5em; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.voices .review-cta { margin-top: 36px; }

/* Learn: real, playable tutorials (click to play; nothing autoplays or preloads) */
.tut { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tut video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: #1B1715; border: 1px solid var(--line); box-shadow: 0 10px 30px -14px rgba(40,25,15,.35); }
.tut.big video { aspect-ratio: 16 / 9; }
.tut figcaption { display: flex; flex-direction: column; gap: 4px; padding: 0 2px; }
.tut-label { font: 600 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.tut-title { font: 500 18px/1.25 var(--serif); color: var(--ink); text-wrap: balance; }
.tut.big .tut-title { font-size: 26px; }
.videos { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; row-gap: 28px; }
.videos .tut.big { grid-row: span 2; }
@media (max-width: 960px) {
  .videos { grid-template-columns: 1fr 1fr; }
  .videos .tut.big { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 560px) {
  .videos { grid-template-columns: 1fr; }
  .tut-title { font-size: 17px; }
}
.tut { position: relative; }
.tut.has-play video { cursor: pointer; }
.tut-play { position: absolute; left: 50%; top: 0; aspect-ratio: 16 / 10; width: 100%; transform: translateX(-50%); border: 0; padding: 0; background: linear-gradient(to top, rgba(27,23,21,.28), rgba(27,23,21,0) 60%); border-radius: var(--radius); cursor: pointer; display: grid; place-items: center; }
.tut.big .tut-play { aspect-ratio: 16 / 9; }
.tut-play::before { content: ""; width: 56px; height: 56px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 92%, transparent); box-shadow: 0 10px 26px -8px rgba(40,25,15,.55), 0 0 0 6px color-mix(in srgb, #fff 35%, transparent); transition: transform .2s ease; }
.tut-play::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -10px 0 0 -6px; border-left: 17px solid var(--on-accent); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.tut.big .tut-play::before { width: 76px; height: 76px; }
.tut-play:hover::before { transform: scale(1.06); }
.tut-play:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.tut.playing .tut-play { display: none; }
/* Reviews read as a quiet masonry wall */
.grid.reviews { display: block; columns: 3 300px; column-gap: 20px; }
.grid.reviews .r-card { break-inside: avoid; margin: 0 0 20px; }
.r-card .r-body { max-height: none; overflow: visible; }
.footer-review { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; text-decoration: none; }
