@charset "UTF-8";
/* LearnRoost public website. Self-contained: no external fonts, images or imports.
   Colours are tokens; the dark theme follows the visitor's system setting only. */

:root {
  color-scheme: light dark;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --bg: #f7f7ef;
  --bg-band: #eff2e5;
  --bg-soft: #edf0e4;
  --bg-contact: #dae3cb;
  --header-bg: rgb(247 247 239 / .9);
  --surface: #fffef9;
  --surface-2: #f0f3e6;
  --demo-bg: #f8f9f1;
  --demo-border: #607461;
  --ink: #223c36;
  --muted: #536359;
  --label: #53674a;
  --accent: #5a7149;
  --accent-soft: #e6edda;
  --accent-line: #8fa877;
  --icon: #5d7c4f;
  --dot: #6c875c;
  --spark: #7c9566;
  --line: #d9ded0;
  --line-strong: #c9d3bc;
  --orbit: #d5ddc4;
  --glow: #e7eed8;
  --note-bg: #e9efd9;
  --note-ink: #4c6045;
  --btn-bg: #223c36;
  --btn-fg: #fffef9;
  --btn-hover: #34503f;
  --focus: #8a6420;
  --shadow: 0 24px 48px -24px rgb(34 60 54 / .28);
  --crow-filter: drop-shadow(0 14px 10px rgb(34 60 54 / .06));
  --moon: transparent;

  --band: #233a33;
  --band-ink: #fffef9;
  --band-muted: #cad4c2;
  --band-label: #bdd0ad;
  --band-focus: #f0cf7e;

  --section: clamp(64px, 8vw, 112px);
  --h2: clamp(2.25rem, 1.3rem + 2.6vw, 3.4rem);
  --lead: 1.0625rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111a17;
    --bg-band: #15201c;
    --bg-soft: #16221d;
    --bg-contact: #1a2920;
    --header-bg: rgb(17 26 23 / .88);
    --surface: #1d2a25;
    --surface-2: #24332d;
    --demo-bg: #17221e;
    --demo-border: #33463d;
    --ink: #edf0e3;
    --muted: #b5beb0;
    --label: #aac099;
    --accent: #b4cd98;
    --accent-soft: #273a2f;
    --accent-line: #6f8f5c;
    --icon: #a9c58f;
    --dot: #9fc187;
    --spark: #d9b765;
    --line: #2a3a33;
    --line-strong: #3a4c43;
    --orbit: #2c3d35;
    --glow: #1f3028;
    --note-bg: #22342a;
    --note-ink: #c9d9b8;
    --btn-bg: #e7edd9;
    --btn-fg: #14211c;
    --btn-hover: #f4f7ea;
    --focus: #e8c36d;
    --shadow: 0 24px 48px -24px rgb(0 0 0 / .7);
    --crow-filter: drop-shadow(0 0 1px rgb(237 240 227 / .45)) drop-shadow(0 10px 18px rgb(0 0 0 / .45));
    --moon: rgb(236 226 178 / .16);
    --band: #0c1412;
    --band-label: #b6cca3;
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input { font: inherit; color: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1, h2 { font-family: var(--serif); letter-spacing: -.045em; line-height: 1.06; }
h3 { line-height: 1.25; letter-spacing: -.025em; }
p { text-wrap: pretty; }
em { font-weight: 400; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
::selection { background: #d3ddb6; color: #223c36; }
[hidden] { display: none !important; }
.container { width: min(1184px, calc(100% - 112px)); margin-inline: auto; }
.eyebrow { text-transform: uppercase; font-size: .75rem; letter-spacing: .16em; font-weight: 650; line-height: 1.5; color: var(--label); }
.small-label { font-size: .75rem; letter-spacing: .1em; font-weight: 650; text-transform: uppercase; color: var(--label); }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 40; padding: 12px 22px; background: var(--btn-bg); color: var(--btn-fg); border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.status-dot { display: inline-block; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--header-bg); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); }
.nav-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 1.5rem; letter-spacing: -.045em; font-weight: 650; line-height: 1; }
.wordmark img { flex-shrink: 0; width: 34px; height: 34px; }
.wordmark-dot { margin-left: -9px; color: var(--accent); }
.nav-row nav { display: flex; gap: 32px; align-items: center; font-size: .9375rem; font-weight: 500; }
.nav-row nav a { padding: 10px 0; color: var(--muted); transition: color .2s; }
.nav-row nav a:hover { color: var(--ink); }
.nav-cta { font-size: .875rem; font-weight: 600; border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 16px; min-height: 44px; display: inline-flex; gap: 14px; align-items: center; transition: background .2s, border-color .2s; }
.nav-cta:hover { background: var(--accent-soft); border-color: var(--accent-line); }

/* Buttons and links */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 13px 22px; border-radius: 8px; border: 1px solid transparent; font-size: .9375rem; font-weight: 600; line-height: 1.35; transition: background .2s, transform .2s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button-dark { background: var(--btn-bg); color: var(--btn-fg); }
.button-dark:hover:not(:disabled) { background: var(--btn-hover); }
.button:disabled { cursor: not-allowed; opacity: .45; }
.text-link { display: inline-flex; gap: 14px; align-items: center; font-size: .9375rem; font-weight: 600; padding: 8px 0; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--accent); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px); overflow: clip; }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.tiny-star { font-size: 1.4rem; line-height: 1; letter-spacing: 0; color: var(--spark); }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 4.3vw, 5.1rem); margin-top: 24px; line-height: 1.02; }
.hero h1 em { color: var(--accent); }
.hero-intro { font-size: 1.125rem; line-height: 1.75; color: var(--muted); max-width: 30rem; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.hero-note { display: flex; gap: 10px; align-items: center; margin-top: 24px; color: var(--muted); font-size: .8125rem; letter-spacing: .01em; }

/* Hero illustration: one stage that scales from its own width (container units). */
.hero-art { position: relative; width: 100%; max-width: 540px; justify-self: center; }
.hero-stage { position: relative; aspect-ratio: 1 / .96; container-type: inline-size; isolation: isolate; }
.hero-stage::before { content: ""; position: absolute; z-index: -1; width: 58%; aspect-ratio: 1; right: 0; bottom: 0; border-radius: 50%; background: radial-gradient(circle, var(--moon) 0%, transparent 68%); }
.orbit { position: absolute; border: 1px solid var(--orbit); border-radius: 50%; z-index: -1; aspect-ratio: 1; }
.orbit-one { width: 90%; left: 4%; top: 2%; }
.orbit-two { width: 70%; left: 14%; top: 12%; background: radial-gradient(circle, var(--glow) 0%, transparent 72%); }
.orbit::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-line); top: 18%; left: 10%; }
.orbit-two::after { width: 5px; height: 5px; top: 68%; left: 95%; }
.art-spark { position: absolute; color: var(--spark); line-height: 1; }
.spark-one { top: 4%; left: 6%; font-size: 7cqw; transform: rotate(-13deg); }
.spark-two { right: 3%; bottom: 20%; font-size: 5.6cqw; }
.floating-note { position: absolute; z-index: 2; right: 0; top: 8%; border: 1px solid var(--line-strong); box-shadow: 0 6px 16px rgb(34 60 54 / .05); background: var(--note-bg); border-radius: 8px; padding: 2.8cqw 3.8cqw 2.6cqw 6.2cqw; color: var(--note-ink); font-size: clamp(12px, 2.5cqw, 14px); line-height: 1.55; transform: rotate(7deg); }
.floating-note strong { color: var(--ink); font-weight: 550; }
.note-dot { position: absolute; top: 4.3cqw; left: 3.2cqw; width: 5px; height: 5px; border-radius: 50%; background: var(--dot); }
.hero-study-card { position: absolute; width: 66%; left: 9%; top: 20%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 2.6cqw; box-shadow: var(--shadow); transform: rotate(-5deg); padding: 4cqw 4.6cqw 0; }
.card-topline { display: flex; align-items: center; justify-content: space-between; font-size: clamp(10px, 2.1cqw, 12px); letter-spacing: .1em; color: var(--label); font-weight: 650; }
.mini-icon { font-size: 3.4cqw; letter-spacing: 0; }
.subject-line { display: flex; gap: 2.6cqw; align-items: flex-start; margin-top: 4.4cqw; }
.subject-symbol { width: 7.4cqw; height: 7.4cqw; flex-shrink: 0; border: 1px solid var(--line-strong); background: var(--surface-2); display: flex; align-items: center; justify-content: center; border-radius: 2cqw; font-size: 4.4cqw; line-height: 1; }
.subject-line .small-label { display: block; font-size: clamp(11px, 2.3cqw, 13px); letter-spacing: .02em; text-transform: none; }
.card-title { font-size: 4.3cqw; line-height: 1.2; letter-spacing: -.045em; font-weight: 500; margin-top: 1.2cqw; }
.illustration-grid { height: 21cqw; margin-top: 5cqw; border-bottom: 1px solid var(--line); position: relative; display: flex; justify-content: space-around; overflow: hidden; }
.illustration-grid span { height: 100%; border-left: 1px solid var(--line); opacity: .6; }
.illustration-grid svg { position: absolute; inset: 4px 0 0; width: 100%; height: 17cqw; color: var(--icon); }
.hero-card-footer { font-size: clamp(11px, 2.2cqw, 13px); display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 3.2cqw; color: var(--muted); }
.round-arrow { background: var(--btn-bg); color: var(--btn-fg); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 5.2cqw; height: 5.2cqw; font-size: 2.7cqw; }
.hero-crow { position: absolute; width: 43%; height: auto; right: 0; bottom: 5%; filter: var(--crow-filter); transform: rotate(4deg); animation: companion-breathe 6s ease-in-out infinite; }
.art-caption { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 10px; font-size: .8125rem; letter-spacing: .01em; color: var(--label); text-align: center; }

/* Intro */
.intro-band { border-block: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px); background: var(--bg-band); }
.intro-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; }
.intro-layout > .eyebrow { padding-top: 14px; }
.intro-layout h2 { font-size: var(--h2); }
.intro-layout h2 span { color: var(--accent); }
.intro-layout p:not(.eyebrow) { max-width: 40rem; font-size: 1.125rem; line-height: 1.8; color: var(--muted); margin-top: 22px; }

/* Interactive preview band */
.preview-section { background: var(--band); color: var(--band-ink); padding-block: var(--section); border-block: 1px solid var(--line); }
.preview-section :focus-visible { outline-color: var(--band-focus); }
.preview-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.preview-copy .eyebrow { color: var(--band-label); }
.preview-copy h2 { font-size: var(--h2); margin-top: 22px; }
.preview-copy > p:not(.eyebrow) { font-size: var(--lead); color: var(--band-muted); line-height: 1.8; margin-top: 22px; max-width: 26rem; }
.demo-disclosure { display: flex; gap: 14px; color: var(--band-muted); margin-top: 28px; max-width: 26rem; align-items: flex-start; padding: 16px 18px; border: 1px solid rgb(255 254 249 / .16); border-radius: 10px; }
.demo-disclosure > span { font-size: 1.4rem; line-height: 1.2; color: var(--band-label); }
.demo-disclosure p { font-size: .875rem; line-height: 1.7; }
.demo-disclosure strong { font-weight: 600; color: var(--band-ink); }
.preview-bottom { display: flex; align-items: center; gap: 20px; margin-top: 30px; color: var(--band-label); }
.handwritten { font-family: var(--serif); font-style: italic; font-size: 1.375rem; letter-spacing: -.02em; }
.preview-bottom svg { width: 72px; transform: rotate(5deg); }

.demo-shell { background: var(--demo-bg); border: 1px solid var(--demo-border); border-radius: 16px; color: var(--ink); box-shadow: 0 32px 60px -28px rgb(5 15 12 / .6); overflow: hidden; }
.demo-shell :focus-visible { outline-color: var(--focus); }
.demo-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.demo-wordmark { font-size: .9375rem; font-weight: 650; letter-spacing: -.03em; }
.demo-wordmark span { font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--label); }
.demo-window-dots { font-size: 9px; letter-spacing: 1px; color: var(--accent-line); }
.demo-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 12px 18px; gap: 8px; border-bottom: 1px solid var(--line); }
.demo-tab { background: transparent; border: 1px solid transparent; border-radius: 8px; color: var(--label); display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-size: .875rem; font-weight: 600; padding: 8px 10px; }
.demo-tab span { font-size: .75rem; font-weight: 500; opacity: .85; }
.demo-tab:hover { background: var(--accent-soft); }
.demo-tab.is-active { background: var(--accent-soft); border-color: var(--line-strong); color: var(--ink); }
.demo-content { padding: clamp(22px, 3vw, 34px); min-height: 440px; }
.demo-kicker { font-size: .75rem; font-weight: 650; letter-spacing: .12em; color: var(--label); }
.demo-content h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); font-family: var(--serif); letter-spacing: -.03em; line-height: 1.15; margin-top: 10px; }
.demo-question { font-size: 1.0625rem; line-height: 1.65; margin-top: 14px; max-width: 32rem; }
.demo-content fieldset { padding: 0; margin: 22px 0 0; border: 0; display: grid; gap: 10px; min-width: 0; }
.answer-option { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; font-size: 1rem; cursor: pointer; transition: background .15s, border-color .15s; }
.answer-option:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.answer-option:has(input:checked) { background: var(--accent-soft); border-color: var(--accent-line); box-shadow: inset 0 0 0 1px var(--accent-line); }
.answer-option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.answer-option input { accent-color: var(--icon); width: 18px; height: 18px; flex-shrink: 0; margin: 0; }
.answer-option input:focus-visible { outline: none; }
.answer-letter { font-size: .75rem; color: var(--label); margin-left: auto; width: 26px; text-align: center; border: 1px solid var(--line-strong); border-radius: 5px; line-height: 1.7; }
.demo-action-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.demo-action-row > span { font-size: .875rem; color: var(--muted); }
.demo-footnote { display: flex; justify-content: center; gap: 9px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--label); text-align: center; }
.feedback-selection { margin-top: 16px; font-size: .875rem; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.selection-tag { font-weight: 600; line-height: 1.6; background: var(--accent-soft); color: var(--ink); padding: 3px 10px; border-radius: 5px; }
.feedback-block { border-left: 3px solid var(--accent-line); padding: 0 0 0 16px; margin-top: 22px; }
.feedback-block h4 { font-size: .9375rem; font-weight: 650; letter-spacing: -.01em; }
.feedback-block p { font-size: 1rem; color: var(--muted); line-height: 1.7; margin-top: 4px; }
.formula { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin-top: 20px; }
.formula span:first-child { font-family: var(--serif); font-size: 1.375rem; }
.formula span:last-child { font-size: .875rem; color: var(--label); }
.feedback-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 26px; }
.reset-button { background: none; border: 0; border-bottom: 1px solid var(--accent-line); padding: 6px 0; color: var(--ink); font-size: .9375rem; font-weight: 550; line-height: 1.5; }
.return-scene { position: relative; isolation: isolate; }
.return-scene .demo-question { max-width: 22rem; }
.return-card { background: var(--accent-soft); border: 1px solid var(--line-strong); border-radius: 12px; padding: 16px 18px; margin-top: 24px; max-width: 21rem; }
.return-card strong { font-size: 1rem; font-weight: 650; display: block; }
.return-card p { font-size: .9375rem; line-height: 1.7; color: var(--muted); margin-top: 6px; }
.return-scene img { position: absolute; right: -12px; bottom: 44px; width: 150px; height: auto; z-index: -1; filter: var(--crow-filter); }
.return-scene .button { margin-top: 24px; }
.return-note { font-size: .8125rem; color: var(--label); margin-top: 12px; }
.no-script { font-size: 1rem; padding: 20px 30px; }

/* Principles */
.approach-section { padding-block: var(--section); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 22px; }
.section-heading h2 { font-size: var(--h2); }
.section-heading h2 em { color: var(--accent); }
.section-heading > p:not(.eyebrow) { font-size: var(--lead); color: var(--muted); line-height: 1.8; max-width: 25rem; justify-self: end; padding-bottom: 6px; }
.principles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 64px; }
.principle { padding-top: 26px; border-top: 1px solid var(--line-strong); }
.principle-icon { width: 46px; height: 46px; color: var(--icon); margin-bottom: 28px; }
.principle-icon svg { width: 42px; height: 42px; stroke: currentColor; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.principle-number { font-size: .75rem; letter-spacing: .12em; font-weight: 600; color: var(--label); }
.principle h3 { font-size: 1.5rem; font-family: var(--serif); line-height: 1.18; margin-top: 12px; }
.principle p { font-size: 1rem; line-height: 1.75; color: var(--muted); margin-top: 14px; }

/* About */
.about-section { background: var(--bg-soft); padding-block: var(--section); border-block: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(40px, 6vw, 94px); }
.about-art { min-height: 400px; position: relative; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.about-ring { width: 330px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--orbit); position: absolute; z-index: -1; background: radial-gradient(circle at 50% 56%, var(--moon) 0%, transparent 52%), radial-gradient(circle, var(--glow) 30%, transparent 70%); }
.about-art img { width: 250px; margin-top: 10px; transform: rotate(-4deg); filter: var(--crow-filter); }
.about-star { font-size: 2.5rem; color: var(--spark); position: absolute; right: 12%; top: 10%; transform: rotate(13deg); }
.about-art-note { font-family: var(--serif); font-style: italic; position: absolute; bottom: 0; font-size: 1.375rem; color: var(--accent); transform: rotate(-4deg); }
.about-copy h2 { font-size: var(--h2); max-width: 32rem; margin-top: 20px; }
.about-copy h2 em { color: var(--accent); }
.about-copy p:not(.eyebrow) { font-size: var(--lead); line-height: 1.8; color: var(--muted); margin-top: 20px; max-width: 34rem; }
.about-copy .text-link { margin-top: 24px; }

/* Development status */
.development-section { padding-block: var(--section); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 110px); }
.development-heading h2 { font-size: var(--h2); margin-top: 22px; }
.development-label { display: flex; gap: 10px; align-items: center; font-size: .875rem; color: var(--label); font-weight: 550; margin-top: 6px; }
.development-detail h3 { font-size: 1.875rem; margin-top: 16px; font-family: var(--serif); letter-spacing: -.025em; }
.development-detail > p:not(.small-label):not(.development-note) { font-size: var(--lead); line-height: 1.8; color: var(--muted); margin-top: 14px; max-width: 30rem; }
.development-rule { height: 1px; background: var(--line); margin-block: 28px 22px; }
.development-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; font-size: 1rem; }
.development-list li { display: flex; gap: 14px; align-items: center; }
.development-list span { color: var(--icon); }
.development-note { font-size: .875rem; line-height: 1.7; color: var(--muted); margin-top: 26px; max-width: 30rem; padding-top: 18px; border-top: 1px dashed var(--line-strong); }

/* FAQ */
.faq-section { border-top: 1px solid var(--line); padding-block: var(--section); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(40px, 7vw, 96px); }
.faq-section h2 { font-size: var(--h2); margin-top: 20px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; padding-block: 20px; min-height: 64px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 1.0625rem; font-weight: 550; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 1.125rem; line-height: 1; color: var(--accent); font-weight: 400; transition: transform .2s, background .2s; }
.faq-list summary:hover span { background: var(--accent-soft); }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { font-size: 1rem; line-height: 1.8; color: var(--muted); padding-bottom: 24px; max-width: 36rem; }
.faq-list details p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.contact-section { background: var(--bg-contact); padding-block: clamp(56px, 7vw, 88px); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 75px); }
.contact-section h2 { font-size: var(--h2); margin-top: 22px; }
.contact-section h2 em { color: var(--accent); }
.contact-detail > p:first-child { font-size: 1.0625rem; }
.contact-unconfigured { font-size: .9375rem; line-height: 1.7; max-width: 22rem; margin-top: 14px; color: var(--muted); }
.contact-detail .button { margin-top: 22px; }
.contact-email { font-size: .9375rem; margin-top: 12px; color: var(--muted); overflow-wrap: anywhere; }
.contact-email a { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-block: 40px 48px; }
.site-footer .wordmark { font-size: 1.375rem; gap: 9px; }
.site-footer .wordmark img { width: 28px; height: 28px; }
.site-footer p { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-top: 12px; }
.site-footer .company-details { margin-top: 6px; }
.footer-right { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 28px; font-size: .875rem; align-items: center; margin-top: 4px; color: var(--muted); }
.footer-right a, .site-footer > a { color: var(--ink); font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.site-footer > a { margin-top: 12px; }

/* Privacy page (layout only) */
.privacy-content { max-width: 760px; padding-block: clamp(48px, 7vw, 88px) clamp(64px, 8vw, 104px); }
.privacy-content .eyebrow { margin-top: 0; }
.privacy-content h1 { font-size: clamp(2.75rem, 1.6rem + 3.6vw, 4.25rem); margin-top: 22px; }
.privacy-content p { font-size: var(--lead); line-height: 1.8; color: var(--muted); margin-top: 20px; max-width: 42rem; }
.privacy-content .privacy-lead { font-family: var(--serif); font-size: clamp(1.4rem, 1.15rem + .9vw, 1.75rem); line-height: 1.35; color: var(--ink); margin-top: 18px; }
.privacy-content h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); letter-spacing: -.03em; margin-top: 44px; }
.privacy-content .button { margin-top: 36px; }
.privacy-contact { border-left: 3px solid var(--accent-line); padding: 4px 0 4px 18px; margin-top: 24px; }
.privacy-contact > :first-child { margin-top: 0; }
.privacy-contact .contact-unconfigured { max-width: none; }
.privacy-content .contact-email a { text-decoration: underline; }
.privacy-content + .site-footer { border-top: 1px solid var(--line); }

@keyframes companion-breathe { 0%, 100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-6px) rotate(3deg); } }

/* Responsive */
@media (max-width: 1120px) {
  .container { width: calc(100% - 72px); }
  .principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
  .principle p { max-width: 30rem; }
}

@media (max-width: 860px) {
  .container { width: calc(100% - 56px); }
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin-top: 12px; }
  .intro-layout { display: block; }
  .intro-layout > .eyebrow { padding-top: 0; margin-bottom: 20px; }
  .preview-layout { grid-template-columns: 1fr; }
  .preview-copy > p:not(.eyebrow), .demo-disclosure { max-width: 34rem; }
  .preview-bottom { display: none; }
  .section-heading { display: block; }
  .section-heading > p:not(.eyebrow) { margin-top: 20px; max-width: 34rem; }
  .about-layout { grid-template-columns: 1fr; }
  .about-layout .about-art { order: 2; }
  .development-section, .faq-section { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 20px; }
  body { font-size: 1rem; }
  :root { --lead: 1rem; --section: 64px; }
  .container { width: calc(100% - 40px); }
  .site-header { position: static; }
  .nav-row { flex-wrap: wrap; min-height: 0; padding-block: 14px 4px; gap: 6px 12px; }
  .wordmark { font-size: 1.375rem; }
  .wordmark img { width: 30px; height: 30px; }
  .nav-cta { font-size: .8125rem; padding: 8px 12px; gap: 10px; }
  .nav-row nav { order: 3; width: 100%; flex-wrap: wrap; gap: 0 24px; font-size: .9375rem; }
  .nav-row nav a { padding-block: 10px; white-space: nowrap; }
  .hero { padding-block: 36px 48px; }
  .hero h1 { margin-top: 20px; }
  .hero-intro { font-size: 1.0625rem; margin-top: 20px; }
  .hero-actions { margin-top: 28px; gap: 14px 24px; }
  .hero-art { margin-top: 20px; }
  .intro-layout h2 span { display: inline; }
  .intro-layout p:not(.eyebrow) { font-size: 1.0625rem; }
  .demo-shell { margin-top: 8px; border-radius: 14px; }
  .demo-topline { padding: 12px 16px; }
  .demo-tabs { padding: 10px 12px; gap: 6px; }
  .demo-tab { font-size: .8125rem; gap: 6px; padding: 6px; }
  .demo-content { padding: 22px 18px 24px; min-height: 0; }
  .demo-action-row .button { width: 100%; }
  .feedback-actions .button { width: 100%; }
  .return-scene { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; }
  .return-scene > * { grid-column: 1 / -1; }
  .return-scene h3 { grid-column: 1; grid-row: 2; }
  .return-scene img { position: static; grid-column: 2; grid-row: 2; align-self: end; width: 64px; height: auto; margin-right: -4px; }
  .return-scene .button { width: 100%; }
  .demo-footnote { font-size: .75rem; }
  .principles-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .principle { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding-top: 22px; }
  .principle-icon { grid-row: span 3; width: 36px; height: 36px; margin: 0; }
  .principle-icon svg { width: 36px; height: 36px; }
  .principle h3 { font-size: 1.375rem; margin-top: 8px; }
  .principle p { margin-top: 10px; }
  .about-art { min-height: 320px; }
  .about-ring { width: 270px; }
  .about-art img { width: 200px; }
  .about-star { right: 8%; }
  .about-art-note { font-size: 1.2rem; }
  .development-detail h3 { font-size: 1.625rem; }
  .faq-list summary { font-size: 1rem; }
  .site-footer { flex-direction: column; gap: 20px; padding-block: 32px 40px; }
  .footer-right { justify-content: flex-start; gap: 10px 22px; margin-top: 0; }
  .site-footer > a { margin-top: 0; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 2.45rem; }
  .nav-row nav { gap: 0 18px; font-size: .875rem; }
  .nav-cta { font-size: .75rem; padding-inline: 10px; }
  .wordmark { font-size: 1.25rem; }
  .wordmark img { width: 28px; height: 28px; }
  .demo-tab span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover:not(:disabled) { transform: none; }
}

/* Optional motion. Ambient artwork starts paused even if JavaScript fails. */
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; color: var(--muted); padding: 6px 12px; font-size: .8125rem; line-height: 1.4; white-space: nowrap; }
.motion-toggle:disabled { cursor: default; color: var(--muted); }
.motion-toggle:not(:disabled):hover { background: var(--accent-soft); }
.motion-toggle [data-motion-icon] { width: 12px; font-size: .875rem; text-align: center; line-height: 1; }
.hero-motion-toggle { margin-top: 16px; }
.demo-tools { display: flex; align-items: center; gap: 12px; }
.demo-tools .motion-toggle { font-size: .75rem; padding: 4px 10px; min-height: 32px; }
[data-ambient-motion] .hero-crow { animation-play-state: paused; }
[data-ambient-motion] .hero-study-card { animation: study-card-float 8s ease-in-out infinite; animation-play-state: paused; }
[data-ambient-motion] .floating-note { animation: note-float 7s ease-in-out infinite; animation-play-state: paused; }
[data-ambient-motion] .orbit-one { animation: orbit-turn 28s linear infinite; animation-play-state: paused; }
[data-ambient-motion] .orbit-two { animation: orbit-turn 36s linear infinite reverse; animation-play-state: paused; }
html[data-motion="running"] [data-ambient-motion][data-in-view="true"] :is(.hero-crow, .hero-study-card, .floating-note, .orbit) { animation-play-state: running; }
html:not([data-motion="running"]) { scroll-behavior: auto; }
html[data-motion="paused"] :is(.button, .nav-cta, .text-link, .answer-option, .demo-tab, .motion-toggle) { transition: none; }
html[data-motion="paused"] .button:hover:not(:disabled) { transform: none; }
html[data-motion="running"] :is(.button, .nav-cta, .text-link) > span { transition: transform .2s ease; }
html[data-motion="running"] .button:active:not(:disabled) { transform: translateY(0) scale(.98); }
@media (hover: hover) {
  html[data-motion="running"] :is(.button, .nav-cta, .text-link):hover > span { transform: translate(2px, -2px); }
  html[data-motion="running"] .answer-option:hover { transform: translateX(2px); }
  html[data-motion="running"] .principle-icon { transition: transform .25s ease; }
  html[data-motion="running"] .principle:hover .principle-icon { transform: translateY(-3px) rotate(-4deg); }
}
@keyframes study-card-float { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-8px) rotate(-4deg); } }
@keyframes note-float { 0%, 100% { transform: translateY(0) rotate(7deg); } 50% { transform: translateY(-5px) rotate(8deg); } }
@keyframes orbit-turn { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@media (max-width: 380px) { .demo-tools { gap: 8px; } .demo-tools .motion-toggle { padding-inline: 8px; } .demo-window-dots { display: none; } }
@media (prefers-reduced-motion: reduce) { html[data-motion="running"] .answer-option:hover { transform: none; } html[data-motion="running"] .principle:hover .principle-icon { transform: none; } html[data-motion="running"] :is(.button, .nav-cta, .text-link):hover > span { transform: none; } }
