:root {
  color-scheme: light;
  --page: #f5f0e8;
  --surface: #fff;
  --surface-alt: #e8e4dc;
  --ink: #1c1b1f;
  --muted: #4a4a4a;
  --green: #4f7942;
  --green-text: #3d6633;
  --on-green: #fff;
  --teal: #0d7a7a;
  --purple: #6b3fa0;
  --line: #d0ccc4;
  --shadow: 0 22px 55px rgb(26 16 64 / 10%);
  font-family: ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #1a1a1a;
    --surface: #202020;
    --surface-alt: #2a2a2a;
    --ink: #e8e8e8;
    --muted: #b0b0b0;
    --green: #7aad6a;
    --green-text: #7aad6a;
    --on-green: #1a1a1a;
    --teal: #5ec4b9;
    --purple: #b595e0;
    --line: #444;
    --shadow: 0 24px 60px rgb(0 0 0 / 34%);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); line-height: 1.65; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; left: 12px; top: 12px; padding: 8px 12px; transform: translateY(-150%); border-radius: 8px; background: var(--surface); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); background: var(--page); }
.header-inner { width: min(1200px, calc(100% - 40px)); min-height: 78px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; letter-spacing: -.03em; white-space: nowrap; }
.brand img { border-radius: 12px; }
.brand span { font-size: 1.18rem; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.site-header nav a, .site-footer nav a { display: inline-flex; min-height: 48px; align-items: center; color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 600; }

.hero { min-height: 570px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 36px; padding-block: 76px 84px; }
.hero-copy { max-width: 660px; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: var(--teal); vertical-align: .04em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 660px; margin-bottom: 20px; font-size: clamp(2.7rem, 6.4vw, 5.15rem); line-height: 1.02; letter-spacing: -.065em; }
h1 span { color: var(--green); }
.hero-description { max-width: 570px; margin-bottom: 27px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.hero-description strong { color: var(--ink); font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.video-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--green); color: var(--page); font-size: .95rem; font-weight: 750; text-decoration: none; }
.video-link:hover { filter: brightness(1.08); }
.video-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.play-status { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface); font-size: .95rem; font-weight: 650; }
.hero-art { position: relative; display: grid; place-items: center; isolation: isolate; }
.hero-scene { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.icon-halo { position: absolute; left: 12%; top: 50%; z-index: 1; width: min(170px, 34%); border-radius: 28%; box-shadow: 0 16px 36px rgb(20 40 15 / 35%); transform: translateY(-50%) rotate(-5deg); }
.icon-halo img { display: block; width: 100%; height: auto; border-radius: 28%; }

.section { padding-block: 76px 88px; }
.section-heading { max-width: 650px; margin-bottom: 34px; }
.section-heading h2, .privacy-inner h2, .requirements-inner h2 { margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.045em; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar { min-height: 224px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.pillar-art { display: block; width: 140px; height: auto; margin: -6px 0 10px; }
.pillar-number { display: inline-grid; width: 38px; height: 38px; place-items: center; margin-bottom: 14px; border-radius: 13px; background: var(--surface-alt); color: var(--green); font-size: .8rem; font-weight: 800; }
.pillar:nth-child(2) .pillar-number { color: var(--teal); }
.pillar:nth-child(3) .pillar-number { color: var(--purple); }
.pillar h3 { margin-bottom: 8px; font-size: 1.42rem; }
.pillar p { margin-bottom: 0; color: var(--muted); }

.features-section { padding-top: 0; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.features li { min-width: 0; padding-block: 16px; border-top: 1px solid var(--line); }
.features h3 { margin: 0 0 4px; color: var(--green); font-size: 1.05rem; }
.features p { margin: 0; color: var(--muted); font-size: .95rem; }

.privacy-band { border-block: 1px solid var(--line); background: var(--surface-alt); }
.privacy-inner { width: min(900px, calc(100% - 40px)); min-height: 300px; margin-inline: auto; display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 32px; padding-block: 52px; }
.privacy-art { display: block; width: 100%; height: auto; }
.privacy-inner > div:last-child > p:not(.eyebrow) { max-width: 700px; color: var(--muted); font-size: 1.05rem; }
.text-link { display: inline-flex; min-height: 48px; align-items: center; font-weight: 750; }
.discord-join { margin-top: 28px; }
.discord-join p { margin-bottom: 14px; color: var(--muted); }
.discord-note { margin: 14px 0 0; color: var(--muted); font-size: .92rem; }
.feedback-inner { padding-bottom: 72px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.screenshots-section { padding-bottom: 94px; }
.screenshots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: start; }
.screenshots figure { min-width: 0; margin: 0; }
.screenshots img { width: 100%; height: auto; aspect-ratio: 1 / 2; object-fit: cover; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.screenshots figcaption { padding: 10px 3px 0; color: var(--muted); font-size: .84rem; line-height: 1.4; }

.requirements-band { border-top: 1px solid var(--line); background: var(--surface); }
.requirements-inner { min-height: 280px; padding-block: 54px; }
.requirements-inner > div { max-width: 760px; }
.requirements-inner p:last-child { margin-bottom: 0; color: var(--muted); }

.cta-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--green); color: var(--on-green); font-size: 1rem; font-weight: 750; text-decoration: none; }
.cta-button:hover { filter: brightness(.92); }
.cta-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.beta-hero { padding-block: 72px 48px; max-width: 900px; }
.beta-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.beta-section { max-width: 900px; }
.beta-section .section-heading { margin-bottom: 22px; }
.beta-section .section-heading h2 { margin-bottom: 10px; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -.04em; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: 12px; padding-left: 28px; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.check-list strong, .check-list li > strong { color: var(--ink); }
.steps { display: grid; gap: 16px; margin: 0 0 28px; padding: 0; list-style: none; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.step h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 1.3rem; }
.step p { color: var(--muted); }
.step-number { display: inline-grid; flex: none; width: 36px; height: 36px; place-items: center; border-radius: 12px; background: var(--surface-alt); color: var(--green-text); font-size: .95rem; font-weight: 800; }
.troubleshoot { padding: 22px 24px; border-left: 4px solid var(--teal); border-radius: 12px; background: var(--surface-alt); }
.troubleshoot h3 { margin-bottom: 8px; font-size: 1.1rem; }
.troubleshoot p, .troubleshoot ul { margin-bottom: 0; color: var(--muted); }
.troubleshoot ul { padding-left: 20px; }
.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: none; }
.focus-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.focus-card h3 { margin-bottom: 6px; color: var(--green); font-size: 1.2rem; }
.focus-card > p { color: var(--muted); font-size: .96rem; }
.focus-card ul { margin: 0 0 14px; padding-left: 20px; color: var(--muted); font-size: .96rem; }
.focus-card li { margin-bottom: 6px; }
.try-label { margin-bottom: 4px; color: var(--ink); font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.focus-card .feedback { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.focus-card .feedback strong { color: var(--ink); }
@media (max-width: 760px) {
  .focus-grid { grid-template-columns: 1fr; }
  .beta-hero { padding-block: 48px 32px; }
  .cta-button { width: 100%; }
}

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding-block: 34px 26px; }
.footer-brand img { border-radius: 10px; }
.site-footer nav { justify-content: flex-end; gap: 8px 18px; }
.site-footer nav a { font-size: .86rem; }
.copyright { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .82rem; }

@media (max-width: 760px) {
  .header-inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 14px; }
  .site-header nav { width: 100%; justify-content: flex-start; gap: 6px 18px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 22px; padding-block: 62px 56px; }
  .hero-art { grid-row: 1; }
  .privacy-inner { grid-template-columns: 1fr; gap: 16px; }
  .privacy-art { width: 160px; }
  .pillars { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; gap: 0; }
  .pillar { min-height: 0; }
  .screenshots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .screenshots figure:last-child { grid-column: 1 / -1; width: calc(50% - 6px); }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .site-footer nav { justify-content: flex-start; }
  .copyright { grid-column: auto; }
}

@media (max-width: 380px) {
  .wrap, .header-inner { width: calc(100% - 32px); }
  h1 { font-size: 2.55rem; }
  .site-header nav { gap: 6px 13px; }
  .site-header nav a { font-size: .88rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .play-status, .video-link { justify-content: center; text-align: center; }
  .screenshots figcaption { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
