:root {
  color-scheme: dark;
  --paper: #10120f;
  --surface: #171a15;
  --raised: #20241c;
  --ink: #f1f3eb;
  --muted: #a4ac9b;
  --line: #30362a;
  --accent: #c4f564;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; line-height: 1.6; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, summary { touch-action: manipulation; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img, svg { max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 550; }
h1, h2 { letter-spacing: -.055em; line-height: 1.08; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(34px, 4.5vw, 56px); }
p { color: var(--muted); }
.icon { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.section-space { padding-block: 96px; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--accent); }
.skip { position: fixed; top: -100px; left: 16px; background: var(--paper); padding: 12px; z-index: 10; }
.skip:focus { top: 12px; }
.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 22px; font-weight: 650; letter-spacing: -1px; text-decoration: none; }
.brand > svg { color: var(--accent); }
.brand-dot { margin-left: -9px; color: var(--accent); }
nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--accent); }
.github-link { display: inline-flex; align-items: center; gap: 8px; border-left: 1px solid var(--line); padding-left: 30px; color: var(--ink); }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-block: 96px 88px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 9px; }
.small-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
h1 { font-size: clamp(56px, 6.4vw, 84px); margin: 24px 0; letter-spacing: -.065em; }
.hero-lead { font-size: 18px; line-height: 1.5; color: var(--ink); letter-spacing: -.02em; }
.hero-description { font-size: 15px; max-width: 380px; margin-top: 14px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 48px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; padding: 12px 20px; transition: background .15s, border-color .15s; }
.primary { background: var(--accent); border-color: var(--accent); color: #172009; }
.primary:hover { background: #d5ff88; border-color: #d5ff88; }
.secondary { background: var(--raised); color: var(--ink); }
.secondary:hover { background: #2a3023; border-color: #5e6b4b; }
.hero .button { margin-top: 28px; }
.hero-note { font-size: 12px; margin-top: 16px; }
.hero-visual { min-width: 0; }
.browser-demo { border: 1px solid #424b36; border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: 0 24px 64px #0003; }
.browser-top { display: flex; justify-content: space-between; align-items: center; height: 42px; padding: 0 16px; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line); }
.browser-top .icon { width: 13px; height: 13px; }
.demo-player { position: relative; margin: 12px 12px 0; background: #28331e; color: var(--ink); overflow: hidden; aspect-ratio: 16/10; border-radius: 6px; }
.film-art { position: absolute; inset: 0; padding: 28px 24px; }
.film-kicker { font-size: 11px; color: #b4c99b; }
.film-title { display: block; position: relative; z-index: 1; font-size: clamp(25px, 3vw, 39px); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; margin-top: 22px; color: #e7f2d8; }
.film-orbit { position: absolute; right: -45px; top: 35%; width: 180px; height: 180px; border: 1px solid #789754; border-radius: 50%; }
.film-orbit:after { content: ''; position: absolute; inset: 24px; border: 1px solid #789754; border-radius: 50%; }
.film-bottom { position: absolute; bottom: 42px; left: 24px; font-size: 10px; color: #b4c99b; }
.timer { position: absolute; right: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #556148; background: #171e13; color: var(--accent); border-radius: 6px; padding: 7px 10px; font-size: 11px; line-height: 1.5; }
.timer .icon { width: 13px; height: 13px; }
.timer:hover { background: #29351f; }
.player-controls { position: absolute; inset: auto 12px 10px; display: flex; gap: 12px; align-items: center; font-size: 9px; }
.player-controls .icon { width: 13px; height: 13px; }
.control-track { height: 2px; flex: 1; background: #ffffff30; }
.control-track:before { content: ''; display: block; height: 2px; width: 34%; background: var(--accent); }
.demo-video-info { padding: 16px; }
.demo-video-info strong { font-size: 13px; font-weight: 500; display: block; }
.demo-video-info span { font-size: 11px; color: var(--muted); }
.quiet-feed { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding: 16px; }
.removed-icon { display: grid; place-items: center; background: var(--raised); border-radius: 6px; width: 34px; height: 34px; color: var(--accent); flex-shrink: 0; }
.quiet-feed strong { display: block; font-size: 12px; font-weight: 500; }
.quiet-feed div > span { font-size: 10px; color: var(--muted); }
.quiet-check { margin-left: auto; color: var(--accent); }
.visual-caption { font-size: 11px; margin-top: 16px; }
.sample-label { display: block; font-size: 10px; color: #8d9683; margin-top: 2px; }
.principles { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; border-block: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.principles span:last-child { color: var(--accent); }
.section-heading h2 { margin: 18px 0; }
.section-heading > p:last-child { font-size: 15px; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.tool { padding: 32px; display: flex; align-items: flex-start; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tool-limit { background: #1d2417; border-color: #414f31; }
.tool-top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 30px; }
.tool-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; color: var(--accent); }
.tool-icon .icon { width: 21px; height: 21px; }
.pill { font-size: 11px; border: 1px solid #414b36; border-radius: 20px; padding: 4px 12px; color: #c4d3b2; }
.tool h3 { font-size: 34px; letter-spacing: -.04em; line-height: 1.15; margin-bottom: 18px; }
.tool > p { font-size: 14px; max-width: 385px; }
.tool ul { font-size: 12px; list-style: none; padding: 0; margin: 24px 0 30px; }
.tool li { margin: 10px 0; display: flex; align-items: flex-start; gap: 10px; color: #c2caba; }
.tool li .icon { width: 15px; height: 15px; margin-top: 3px; color: var(--accent); }
.tool .button { margin-top: auto; }
.tool code { font-size: 11px; color: var(--muted); margin-top: 12px; }
.tools-footnote { font-size: 12px; text-align: center; margin-top: 22px; }
.widget-section { background: var(--surface); border-block: 1px solid var(--line); }
.widget-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; }
.widget-copy h2 { margin: 22px 0; }
.section-lead { font-size: 19px; letter-spacing: -.025em; line-height: 1.6; color: var(--ink); }
.detail-list { list-style: none; padding: 0; margin: 34px 0; }
.detail-list li { display: flex; gap: 22px; margin-top: 24px; }
.detail-list li > span { font-size: 11px; color: var(--accent); padding-top: 3px; }
.detail-list h3 { font-size: 15px; margin-bottom: 5px; }
.detail-list p { font-size: 13px; max-width: 340px; }
.text-button { display: inline-flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0 0 4px; border-bottom: 1px solid #697d4c; color: var(--accent); font-size: 13px; text-align: left; }
.drawer-figure { max-width: 320px; justify-self: center; }
.screenshot-shell { overflow: hidden; border: 1px solid #5b6550; border-radius: 24px; box-shadow: 0 22px 48px #0003; background: #faf9f6; }
.screenshot-shell img { display: block; width: 100%; height: auto; }
.drawer-figure figcaption { font-size: 10px; text-align: center; margin-top: 14px; color: var(--muted); }
.rules > .eyebrow { margin-bottom: 24px; }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.rules-grid p + p { margin-top: 20px; font-size: 14px; }
.rules-grid .rule-note { border-left: 2px solid var(--accent); padding-left: 18px; color: #c6d7b0; }
.install-section { background: var(--surface); border-block: 1px solid var(--line); }
.install-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; margin: 46px 0 32px; padding: 0; }
.install-steps li { border-top: 1px solid #47543a; padding-top: 16px; }
.install-steps li > span { font-size: 12px; color: var(--accent); }
.install-steps h3 { font-size: 23px; letter-spacing: -.035em; margin: 18px 0 12px; }
.install-steps p { font-size: 13px; }
.install-steps a { text-decoration-color: #697d4c; }
.install-steps a .icon { width: 13px; height: 13px; }
.install-steps code, .setup-note code { font-size: 12px; }
.setup-note { display: flex; gap: 30px; align-items: baseline; border-block: 1px solid var(--line); padding: 20px 0; }
.setup-note strong { font-size: 13px; white-space: nowrap; font-weight: 550; }
.setup-note p { font-size: 13px; }
.help-row { display: flex; gap: 18px; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.help-row p, .help-row [role=status] { font-size: 12px; }
.prompt-fallback { font-size: 12px; color: var(--muted); margin-top: 16px; }
.prompt-fallback summary { cursor: pointer; }
.prompt-fallback pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.7 ui-monospace, monospace; max-width: 700px; margin: 16px 0 0; }
.faq { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; font-size: 14px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--muted); width: 16px; height: 16px; }
.faq-list details[open] summary .icon { transform: rotate(180deg); color: var(--accent); }
.faq-list details p { font-size: 13px; margin-top: 16px; padding-right: 20px; }
.closing { padding: 24px 0 96px; text-align: center; }
.closing h2 { margin: 24px 0 32px; font-size: clamp(32px, 4.3vw, 54px); }
footer { display: flex; align-items: center; gap: 30px; border-top: 1px solid var(--line); padding: 30px 0 36px; }
footer .brand { font-size: 18px; }
footer p { font-size: 11px; }
footer > a:not(.brand) { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 11px; }
footer > span { font-size: 11px; color: var(--muted); }
dialog { border: 1px solid #46523a; border-radius: 16px; background: var(--paper); color: var(--ink); width: min(470px, calc(100% - 28px)); max-height: 92dvh; padding: 24px; overscroll-behavior: contain; }
dialog::backdrop { background: #000b; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.preview-heading h2 { font-size: 27px; margin-top: 10px; }
.close-preview { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--raised); padding: 8px 12px; font-size: 12px; }
.preview-description { font-size: 12px; margin: 18px 0; }
dialog > img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 16px; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 28px; padding-top: 64px; }
  h1 { font-size: 60px; }
  .film-art { padding: 20px; }
  .film-title { font-size: 29px; }
  .film-orbit { width: 130px; height: 130px; }
  .film-bottom { left: 20px; bottom: 34px; }
  .widget-grid, .rules-grid { gap: 44px; }
  .tool { padding: 26px; }
  .tool h3 { font-size: 30px; }
  .faq { gap: 40px; }
  footer { gap: 20px; flex-wrap: wrap; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 76px; }
  .brand { font-size: 20px; }
  .brand > svg { width: 24px; }
  nav { gap: 18px; font-size: 12px; }
  .github-link { padding-left: 0; border: 0; }
  nav > a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 48px; gap: 40px; }
  .hero-copy .eyebrow { font-size: 12px; }
  h1 { font-size: clamp(46px, 11.8vw, 72px); margin: 22px 0; }
  .hero-lead { font-size: 17px; }
  .hero-description { max-width: 360px; font-size: 14px; }
  .hero-visual { max-width: 460px; width: 100%; justify-self: center; }
  .film-title { font-size: clamp(28px, 8vw, 40px); }
  .film-art { padding: 24px; }
  .film-kicker { font-size: 10px; }
  .film-orbit { width: 150px; height: 150px; }
  .film-bottom { left: 24px; bottom: 36px; font-size: 9px; }
  .principles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 8px; font-size: 11px; padding: 20px 0; }
  .section-space { padding-block: 60px; }
  .section-heading h2 { margin: 16px 0; }
  .section-heading > p:last-child { font-size: 14px; }
  .tool-grid { grid-template-columns: 1fr; margin-top: 30px; gap: 16px; }
  .tool { padding: 24px; }
  .tool h3 { font-size: 32px; }
  .tool-top { margin-bottom: 26px; }
  .tool .button { width: 100%; justify-content: space-between; gap: 12px; }
  .tools-footnote { text-align: left; }
  .widget-grid, .rules-grid, .faq { grid-template-columns: 1fr; gap: 36px; }
  .drawer-figure { width: min(100%, 300px); }
  .detail-list { margin-top: 28px; }
  .section-lead { font-size: 18px; }
  .install-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .install-steps h3 { margin: 10px 0; }
  .setup-note { display: block; }
  .setup-note p { margin-top: 8px; }
  .help-row { gap: 10px 16px; }
  .faq { gap: 24px; }
  .closing { padding: 12px 0 64px; }
  footer { gap: 18px 24px; padding: 26px 0; }
  footer .brand, footer p { width: 100%; }
  footer > a:not(.brand) { margin-left: 0; }
  .preview-heading { align-items: flex-start; }
  .preview-heading h2 { font-size: 23px; }
  .close-preview { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}
