:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, sans-serif;
  background: #fcfcf8;
  color: #142e25;
  --ink: #142e25;
  --muted: #466157;
  --green: #195a46;
  --line: #d8e4db;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; }
.wrap { max-width: 76rem; margin-inline: auto; padding-inline: clamp(1.15rem, 5vw, 3rem); }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: .19rem solid #96511c; outline-offset: .22rem; }
button { font: inherit; cursor: pointer; }
p { margin: 0; line-height: 1.6; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1 { max-width: 9ch; font-size: clamp(3.3rem, 7.4vw, 7.1rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.35rem, 5.5vw, 4.35rem); letter-spacing: -.045em; }
h3 { font-size: 1.23rem; letter-spacing: -.022em; }
.skip { position: absolute; inset: .5rem auto auto .5rem; padding: .6rem; background: white; z-index: 10; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.top { position: sticky; top: 0; z-index: 5; background: #fcfcf8f2; border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.top-inner, .top nav, .brand, .actions, .footer-base { display: flex; align-items: center; }
.top-inner { justify-content: space-between; gap: .5rem; min-height: 4.2rem; }
.top nav { gap: clamp(.75rem, 2.2vw, 1.8rem); flex-wrap: wrap; }
.top a, .brand, .button { text-decoration: none; }
.top nav a, .brand { font-weight: 650; }
.brand { gap: .55rem; white-space: nowrap; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(3rem, 8vw, 7rem); }
.kicker, .simulation-label { color: var(--green); font-weight: 730; }
.kicker { margin-bottom: .75rem; }
.lede, .section-intro { color: var(--muted); margin: 1.2rem 0 1.7rem; max-width: 52ch; font-size: 1.13rem; }
.actions { gap: .65rem; flex-wrap: wrap; }
.button { display: inline-flex; gap: .65rem; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 2rem; padding: .72rem 1.15rem; font-weight: 700; line-height: 1.35; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.primary { background: #174f3e; color: #fff; }
.primary:hover { background: #103a2d; }
.secondary { border-color: #8ba69a; color: #184e3b; background: transparent; }
.hero-art { isolation: isolate; position: relative; overflow: hidden; display: grid; place-items: center; min-height: clamp(22rem, 45vw, 34rem); border-radius: 2.15rem; background: radial-gradient(ellipse at 75% 20%, #e9f3ce, transparent 60%), linear-gradient(145deg, #22584a, #acc7ad); }
.halo { position: absolute; width: 112%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #f5ffef66; box-shadow: 0 0 0 2.7rem #fbfffa19, 0 0 0 5.3rem #fbfffa18; transform: translate(16%, 20%); z-index: -1; }
.device { width: min(80%, 22rem); background: #fcfcf8; border: .4rem solid #233e33; border-radius: 1.8rem; padding: 1.2rem; box-shadow: 0 2rem 4rem #15352766; animation: arrive .8s ease-out both; }
@keyframes arrive { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: translateY(0); } }
.device-bar, .device-card, .device-bottom { display: flex; align-items: center; gap: .6rem; font-size: .84rem; }
.device-bar { font-weight: 700; }
.device-heading { margin: 1.5rem 0 .8rem; font-weight: 750; font-size: 1.42rem; line-height: 1.15; }
.device-card { margin: .45rem 0; padding: .65rem; border-radius: .7rem; }
.device-card small { display: block; color: #34564a; }
.device-icon { font-size: 1.55rem; }
.mint { background: #e4efe4; }
.sand { background: #f1ecdc; }
.device-bottom { justify-content: space-between; margin-top: 1.1rem; color: #39574a; }
.demo-section, .guides-section { background: #eaf2ea; }
.demo-section, .content-section { padding-block: clamp(3rem, 7vw, 6rem); }
.lab { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; }
.lab-bar { display: flex; justify-content: space-between; gap: .5rem; padding: .9rem clamp(.8rem, 3vw, 1.5rem); border-bottom: 1px solid var(--line); }
.switcher { display: flex; padding: .24rem; border-radius: 2rem; background: #eaf2ea; }
.switcher button, .quiet { border: 0; background: transparent; color: var(--green); border-radius: 2rem; padding: .48rem .8rem; font-weight: 670; }
.switcher button[aria-pressed=true] { background: #195a46; color: white; }
.quiet:hover, .choice:hover { background: #edf5ed; }
.lab-content { display: grid; grid-template-columns: minmax(13rem, .65fr) 1.35fr; }
.choices, .simulation { padding: clamp(1rem, 3vw, 1.65rem); }
.choices { border-right: 1px solid var(--line); }
.choice { width: 100%; text-align: left; margin-top: .65rem; border: 1px solid var(--line); border-radius: .65rem; background: white; padding: .7rem; color: var(--ink); }
.choice[aria-pressed=true] { background: #e1f0e4; border-color: #569078; font-weight: 700; }
.story { min-height: 10.5rem; margin-top: .65rem; }
.empty { color: var(--muted); }
.turn { max-width: 52ch; margin: .55rem 0; padding: .65rem .8rem; border-radius: .7rem; background: #eaf3eb; animation: arrive .2s ease-out both; }
.turn:first-child { background: #f5f0e3; }
.turn strong { display: block; font-size: .84rem; color: var(--green); }
.story-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .7rem; }
.download-card, .staff-card { background: #e9f2e8; border-radius: 1.3rem; padding: clamp(1.1rem, 3vw, 2rem); }
.download-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.download-card h3, .staff-card h3 { margin-bottom: .5rem; }
.download-actions { display: grid; gap: .6rem; justify-items: start; }
.text-link { color: #175940; font-weight: 700; }
.availability { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; margin-top: 1rem; }
.availability p { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.availability span { display: block; color: var(--muted); }
.guides { margin-top: 1.5rem; max-width: 56rem; }
details { border-bottom: 1px solid #bbcfc1; padding: 1rem .25rem; }
summary { cursor: pointer; font-size: 1.16rem; font-weight: 700; }
details li { margin-bottom: .4rem; line-height: 1.55; }
details p { max-width: 65ch; color: var(--muted); }
.staff-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem; align-items: center; }
.staff-card a { display: inline-block; margin-top: .85rem; }
footer { background: #12382e; color: #edf7ec; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem; padding-block: 2.7rem 1.8rem; }
footer p { margin-top: .8rem; }
footer nav { display: grid; gap: .5rem; align-content: start; }
.footer-base { justify-content: space-between; gap: 1rem; padding-block: 1rem; border-top: 1px solid #54776b; font-size: .9rem; }
@media (max-width: 700px) {
  .hero, .staff-section, .lab-content { grid-template-columns: 1fr; }
  .choices { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .top-inner { flex-wrap: wrap; padding-block: .55rem; }
  .top nav { width: 100%; font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
