@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/Nunito_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/Nunito_800ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --cream: #fbf5e4;
  --paper: #fffaf0;
  --sand: #f3dfb8;
  --loam: #3d2f22;
  --loam-soft: #6b5640;
  --muted: #7a6a58;
  --leaf: #6f9a3c;
  --leaf-deep: #4f7426;
  --coral: #e9806b;
  --honey: #f1c45a;
  --teal: #78b3a3;
  --lilac: #b596c6;
  --line: rgba(61, 47, 34, .12);
  --shadow: 0 18px 50px rgba(83, 60, 28, .14);
  --radius: 22px;
  --steam: #1b2838;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cream: #211b15;
    --paper: #2b241c;
    --sand: #3a3025;
    --loam: #f6ecd8;
    --loam-soft: #dccbb0;
    --muted: #b9a88f;
    --leaf: #9cc768;
    --leaf-deep: #b8dc8a;
    --line: rgba(246, 236, 216, .12);
    --shadow: 0 18px 50px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .button-primary,
  :root:not([data-theme="light"]) .button-steam { background: #c9e29a; color: #1f1a14; box-shadow: none; }
  :root:not([data-theme="light"]) .button-primary:hover,
  :root:not([data-theme="light"]) .button-steam:hover { background: #d9eeb0; }
  :root:not([data-theme="light"]) .garden-band { opacity: .85; }
  :root:not([data-theme="light"]) .store-button.store-primary { background: #c9e29a; color: #1f1a14; box-shadow: none; }
  :root:not([data-theme="light"]) .store-button.store-primary small { color: rgba(31, 26, 20, .72); }
  :root:not([data-theme="light"]) .store-button.store-primary:hover { background: #d9eeb0; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--loam);
  font: 400 18px/1.6 "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.1; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip-link:focus { left: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 800; font-size: 15px; color: var(--loam-soft); }
.site-nav a:hover { color: var(--leaf-deep); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 800 17px/1 "Nunito", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary, .button-steam { background: var(--steam); color: #fff; box-shadow: 0 10px 24px rgba(27, 40, 56, .28); }
.button-primary:hover, .button-steam:hover { background: #24364c; }
.button-soft { background: var(--paper); color: var(--loam); box-shadow: inset 0 0 0 2px var(--line); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.button svg { width: 22px; height: 22px; flex: none; }

.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-deep); }

/* Hero */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); margin-top: 14px; }
.hero h1 .accent { color: var(--leaf-deep); }
.hero-lead { margin-top: 20px; font-size: clamp(18px, 2vw, 21px); color: var(--loam-soft); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-note { margin-top: 14px; font-size: 15px; color: var(--muted); }
.cta-note a { color: var(--leaf-deep); font-weight: 800; }

/* Store buttons: the first one (the visitor's platform) gets the solid style */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store-button {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
  min-height: 60px; padding: 9px 22px; border-radius: 18px; text-decoration: none;
  background: var(--paper); color: var(--loam); box-shadow: inset 0 0 0 2px var(--line);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.store-button:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 2px var(--leaf); }
.store-button small { font-size: 13px; font-weight: 400; line-height: 1.2; color: var(--muted); }
.store-button strong { font-size: 17px; font-weight: 800; line-height: 1.2; }
.store-button.store-primary { background: var(--steam); color: #fff; box-shadow: 0 10px 24px rgba(27, 40, 56, .28); }
.store-button.store-primary small { color: rgba(255, 255, 255, .78); }
.store-button.store-primary:hover { background: #24364c; }
.final-cta .store-row { justify-content: center; }
.final-cta .store-button { text-align: left; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 800; font-size: 14px; }
.hero-art { position: relative; }
.hero-art img { border-radius: 28px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 1232 / 706; object-fit: cover; }
.garden-band { margin-top: 48px; height: clamp(110px, 18vw, 260px); background: url("/assets/art/garden-hero.webp") center 62% / cover no-repeat; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%); mask-image: linear-gradient(to bottom, transparent, #000 30%); }
@media (max-width: 960px) { .garden-band { background-image: url("/assets/art/garden-hero-960.webp"); } }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); margin-top: 10px; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--loam-soft); font-size: 19px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); }
.section-alt .steps li { background: var(--cream); }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  font-weight: 800; color: #fff; margin-bottom: 16px;
}
.steps li:nth-child(1)::before { background: var(--leaf); }
.steps li:nth-child(2)::before { background: var(--coral); }
.steps li:nth-child(3)::before { background: var(--teal); }
.steps h3 { font-size: 22px; }
.steps p { margin-top: 8px; color: var(--loam-soft); }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.shots figure { margin: 0; }
.shots a { display: block; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s ease; }
.shots a:hover img { transform: scale(1.03); }
.shots figcaption { margin-top: 10px; font-size: 15px; font-weight: 800; color: var(--loam-soft); }

/* Modes */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mode { border-radius: var(--radius); padding: 28px; color: #2f2418; }
.mode:nth-child(1) { background: #dcebc1; }
.mode:nth-child(2) { background: #fbe2a6; }
.mode:nth-child(3) { background: #f6cbbf; }
.mode h3 { font-size: 26px; }
.mode p { margin-top: 10px; }
.mode .tag { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }

/* Features */
.feature-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.feature-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .dot { flex: none; width: 14px; height: 14px; margin-top: 7px; border-radius: 50%; }
.feature-list strong { display: block; }
.feature-list span.text { color: var(--loam-soft); }
.feature-media img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.trailer-link { position: relative; display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; }
.trailer-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.trailer-link .play {
  position: absolute; inset: auto 16px 16px auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: rgba(27, 40, 56, .88); color: #fff; font-weight: 800; font-size: 15px;
}

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--paper); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.section-alt .faq details { background: var(--cream); }
.faq summary { cursor: pointer; padding: 20px 24px; font-weight: 800; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--leaf-deep); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 24px 22px; color: var(--loam-soft); }

/* Press */
.press-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; background: var(--paper); border-radius: 28px; padding: 36px; box-shadow: inset 0 0 0 1px var(--line); }
.press-card h2 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 8px; }
.press-card p { margin-top: 12px; color: var(--loam-soft); }
.press-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Final CTA */
.final-cta { text-align: center; padding: 96px 0 0; }
.final-cta img.logo { width: min(420px, 80%); margin: 0 auto; }
.final-cta h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 22px; }
.final-cta p { margin: 14px auto 0; max-width: 34em; color: var(--loam-soft); }
.final-cta .cta-row { justify-content: center; }

/* Footer */
.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { text-decoration: none; font-weight: 800; color: var(--loam-soft); }
.footer-links a:hover { color: var(--leaf-deep); }
.footer-note { margin-top: 18px; font-size: 13px; }

/* Article pages (press, privacy, 404) */
.page-hero { padding: 64px 0 28px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 10px; }
.page-hero p.lead { margin-top: 16px; font-size: 20px; color: var(--loam-soft); max-width: 36em; }
.prose { max-width: 780px; padding-bottom: 72px; }
.prose h2 { font-size: 28px; margin: 44px 0 12px; }
.prose p, .prose ul, .prose dl { margin: 0 0 14px; color: var(--loam-soft); }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--leaf-deep); font-weight: 800; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
.facts dt { font-weight: 800; color: var(--loam); }
.facts dd { margin: 0; }
.press-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 18px 0 0; padding: 0; list-style: none; }
.press-shots a { display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.press-shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.press-shots span { display: block; margin-top: 8px; font-size: 14px; font-weight: 800; }

@media (max-width: 900px) {
  .hero-grid, .feature-grid, .press-card { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero-art { order: -1; }
  .steps, .modes { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .press-card { padding: 26px; }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .nav-wrap { gap: 12px; }
  .nav-wrap .button { margin-left: auto; }
  body { font-size: 17px; }
}
@media (max-width: 560px) {
  .shots, .press-shots { grid-template-columns: 1fr; }
  .cta-row .button { width: 100%; }
  .store-button { width: 100%; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  .brand span { font-size: 20px; }
}
