/* Wilt — the site as a garden in cross-section: sky above, flat hills where the trees grow,
   bands of soil below. Colors come from the trees' own renderer; nothing here is decoration
   the app doesn't have. Tokens shared with the checkout sheets live in tokens.css. */

:root {
  --sky: #DCE9E3;
  --sky-light: #EAF2EC;
  --sun: #F4D7A2;
  --grass: #8DB262;
  --grass-edge: #6F9450;
  --soil: #8A6446;
  --soil-deep: #6E4F38;
  --soil-deeper: #5E4330;
  --soil-deepest: #46322A;
  --bark: #5D4230;
  --ink: #26211D;
  --ink-soft: #4E5A52;
  --cream: #F6EBDD;
  --cream-soft: #D8C6B1;
  --pot: #D27A55;
  --pot-deep: #B8623F;
  --pot-ink: #FFF8F1;
  --sign: #D2AE80;
  --sign-edge: #8A6644;
  --sign-ink: #4E3522;
  --blossom: #F4B3C6;
  --alarm: #E0603F;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Instrument Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--sky); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--pot); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 90; background: var(--ink); color: var(--cream); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type: one display face, used big and tight; the body stays quiet. */
h1, h2, h3 { font-family: var(--display); font-optical-sizing: auto; margin: 0; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: 0.92; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.8vw, 64px); line-height: 0.98; font-weight: 750; letter-spacing: -0.03em; }
h3 { font-size: 23px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.kicker { font: 500 13px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.soil .kicker { color: var(--cream-soft); }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; max-width: 30em; color: var(--ink-soft); }
.fine { font-size: 14px; color: var(--ink-soft); }

/* Buttons: flat terracotta, like the pot, with a hard step under them instead of a shadow. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none;
  font: 600 17px/1 var(--body); padding: 16px 22px; border-radius: 10px; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.btn-buy { background: var(--pot); color: var(--pot-ink); box-shadow: 0 4px 0 var(--pot-deep); }
.btn-buy:hover { transform: translateY(1px); box-shadow: 0 3px 0 var(--pot-deep); }
.btn-buy:active { transform: translateY(4px); box-shadow: 0 0 0 var(--pot-deep); }
.btn-plain { background: transparent; color: inherit; padding-left: 4px; padding-right: 4px; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.btn-small { padding: 11px 15px; font-size: 15px; box-shadow: 0 3px 0 var(--pot-deep); }
.btn-line { background: var(--cream); color: var(--ink); box-shadow: 0 3px 0 rgba(38, 33, 29, 0.25); padding: 12px 16px; font-size: 15px; }
.btn-line:disabled { opacity: 0.45; cursor: default; }
.btn-block { width: 100%; }
.price-tag { font-family: var(--mono); font-weight: 500; }

/* Header: sits on the sky. */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 25px/1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Hero: the sky, a sun, and hills where the trees come up from seed. */
.hero { position: relative; background: var(--sky); min-height: min(940px, 100svh); display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; padding-top: 150px; display: grid; gap: 24px; align-content: start; }
.hero-copy h1 { max-width: 9.5em; }
.hero-copy h1 span { color: var(--pot-deep); }
.hero-copy .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }
.land { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; }
.hero .land { cursor: pointer; }
.hero-hint { position: absolute; right: var(--gutter); bottom: 18px; z-index: 3; font: 500 12px/1 var(--mono); color: var(--cream-soft); letter-spacing: 0.04em; }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-copy { padding-top: 110px; padding-bottom: 300px; }
  .land { height: 340px; }
}

/* Soil bands: under the hills. They end in an island's underside, roots and all. */
.soil { position: relative; color: var(--cream); }
.soil p { color: var(--cream-soft); }
.soil a { color: var(--cream); }
.soil-1 { background: var(--soil-deep); }
.soil-2 { background: var(--soil-deeper); }
.soil-3 { background: var(--soil-deepest); }
.underside { position: absolute; left: 0; right: 0; top: 100%; width: 100%; height: 70px; z-index: 1; pointer-events: none; }
.band { padding-block: 96px 120px; }

/* How it works: three steps, each with its own little scene. */
.how-head { display: grid; gap: 14px; max-width: 760px; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.steps li { display: grid; gap: 12px; align-content: start; }
.steps canvas { width: 100%; aspect-ratio: 4 / 3; }
.steps h3::before { counter-increment: step; content: counter(step) " · "; font-family: var(--mono); font-weight: 500; font-size: 15px; color: var(--grass); vertical-align: 3px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 48px; } .steps canvas { max-width: 420px; } }

/* Try it: the demo desktop. */
.try { background: var(--sky-light); padding-block: 150px 110px; }
.try-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.try-copy { display: grid; gap: 18px; }
@media (max-width: 980px) { .try-grid { grid-template-columns: 1fr; } }
.demo { margin: 0; display: grid; gap: 22px; }
.screen { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #5A7088;
  box-shadow: 0 0 0 9px #26211D, 0 0 0 10px #4A433E, 0 34px 60px -24px rgba(38, 33, 29, 0.55); }
.screen::before { content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background: radial-gradient(110% 90% at 25% 105%, #4C6178 0 58%, transparent 59%), radial-gradient(120% 80% at 90% 110%, #42566B 0 55%, transparent 56%); }
.menubar { position: absolute; inset: 0 0 auto 0; height: 22px; display: flex; justify-content: space-between; align-items: center; padding: 0 12px;
  background: rgba(20, 26, 34, 0.42); color: #fff; font: 12px/1 -apple-system, BlinkMacSystemFont, sans-serif; z-index: 4; }
.mb-left, .mb-right { display: flex; gap: 14px; align-items: center; }
.mb-wilt { display: inline-flex; align-items: center; gap: 5px; padding: 2px 6px; border-radius: 5px; font-variant-numeric: tabular-nums; }
.mb-wilt.alarm { background: rgba(224, 96, 63, 0.85); }
.window { position: absolute; border-radius: 9px; overflow: hidden; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3); z-index: 1; }
.doc { left: 6%; top: 11%; width: 50%; height: 60%; background: #FFFDF9; }
.yt { left: 22%; top: 17%; width: 52%; height: 56%; background: #0F0F0F; z-index: 2; }
.window-bar { height: 24px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #F0ECE6; font: 600 11px/1 -apple-system, sans-serif; color: #5B524B; }
.window-bar.dark { background: #2C2C2E; color: #D0D0D4; }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #EC6A5E; }
.window-bar i:nth-child(2) { background: #F4BF4F; }
.window-bar i:nth-child(3) { background: #61C554; margin-right: 8px; }
.window-bar .url { flex: 1; background: #3A3A3C; border-radius: 6px; padding: 4px 8px; font-weight: 500; }
.doc-body { padding: 8% 10%; display: grid; gap: 9px; }
.doc-body b, .doc-body i { display: block; height: 7px; border-radius: 4px; background: #ECE6DE; }
.doc-body b { height: 13px; background: #D9D1C7; margin-bottom: 6px; }
.yt-body { height: calc(100% - 24px); display: grid; place-items: center; background: #26262A; margin: 10px; border-radius: 7px; }
.demo-corner { position: absolute; right: 0; bottom: 0; width: 54%; aspect-ratio: 460 / 390; z-index: 3; pointer-events: none; }
.demo-corner canvas { width: 100%; height: 100%; }
.demo-status { min-height: 2.8em; font-weight: 500; color: var(--ink); }
.demo-buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.picker { display: inline-flex; gap: 2px; margin-left: auto; padding: 3px; background: rgba(38, 33, 29, 0.07); border-radius: 10px; }
.picker button { border: 0; background: transparent; padding: 8px 12px; border-radius: 8px; font: 600 14px/1 var(--body); color: var(--ink-soft); cursor: pointer; }
.picker button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(38, 33, 29, 0.15); }

/* The moment: ten seconds, told next to a tree that's going through them. */
.moment { background: var(--sky-light); padding-block: 40px 0; }
.moment-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.moment-copy { display: grid; gap: 18px; padding-bottom: 120px; }
.moment-copy p { max-width: 30em; color: var(--ink-soft); }
.moment-copy .count { color: var(--alarm); font: 800 clamp(120px, 16vw, 220px)/0.8 var(--display); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.moment canvas { width: 100%; aspect-ratio: 460 / 390; }
@media (max-width: 860px) { .moment-grid { grid-template-columns: 1fr; } .moment-copy { padding-bottom: 0; } }

/* Features: typographic, a small mark each. */
.features { background: var(--sky); padding-block: 110px; }
.feature-list { list-style: none; margin: 54px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.feature-list li { display: grid; grid-template-columns: 46px 1fr; gap: 6px 18px; padding: 28px 0; border-top: 2px solid var(--grass-edge); }
.feature-list svg { width: 40px; height: 40px; grid-row: span 2; }
.feature-list p { color: var(--ink-soft); }
@media (max-width: 860px) { .feature-list { grid-template-columns: 1fr; } }

/* The ten trees, planted in a row; their names written in the soil. */
.forest { position: relative; background: var(--sky); padding-top: 40px; }
.forest-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.forest-head p { max-width: 34em; color: var(--ink-soft); margin-top: 14px; }
.forest canvas { width: 100%; height: clamp(360px, 38vw, 520px); margin-top: 10px; cursor: pointer; }

/* Privacy, underground. */
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.privacy-grid p + p { margin-top: 16px; }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; } }

/* The garden: the app's own render. */
.garden { background: var(--sky-light); padding-block: 150px 110px; }
.garden-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.garden-grid p { color: var(--ink-soft); margin-top: 16px; }
.garden img { border-radius: 12px; }
@media (max-width: 980px) { .garden-grid { grid-template-columns: 1fr; } }

/* Buy: the price on a wooden sign stuck in the ground, like the time in the app. */
.buy { position: relative; background: var(--sky); padding-top: 110px; }
.buy-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.buy-copy { display: grid; gap: 18px; padding-bottom: 60px; }
.buy-copy p { color: var(--ink-soft); max-width: 28em; }
.sign { position: relative; margin-bottom: -6px; }
.sign-board { position: relative; z-index: 2; background: var(--sign); border: 3px solid var(--sign-edge); border-radius: 14px; padding: 28px 30px 30px; color: var(--sign-ink);
  box-shadow: 5px 6px 0 rgba(92, 65, 40, 0.35); }
.sign-posts { display: flex; justify-content: space-around; height: 64px; }
.sign-posts i { width: 14px; background: #7A5838; border-radius: 0 0 4px 4px; }
.sign .price { font: 800 clamp(64px, 8vw, 96px)/0.9 var(--display); letter-spacing: -0.05em; }
.sign .price small { font: 500 20px/1 var(--mono); letter-spacing: 0; margin-left: 6px; }
.ticks { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--grass-edge); }
.sign .fine { color: var(--sign-ink); opacity: 0.85; margin-top: 12px; }
.buy-land { position: relative; width: 100%; height: 230px; margin-top: -110px; }
@media (max-width: 860px) { .buy-grid { grid-template-columns: 1fr; } .buy-copy { padding-bottom: 0; } .buy-land { margin-top: -40px; } }

/* FAQ, in the soil. */
.faq-list { margin-top: 40px; max-width: 820px; }
.faq details { border-top: 1px solid rgba(246, 235, 221, 0.18); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid rgba(246, 235, 221, 0.18); }
.faq summary { cursor: pointer; list-style: none; font: 650 20px/1.3 var(--display); letter-spacing: -0.01em; color: var(--cream); display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--grass); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; max-width: 40em; }

/* Footer: the deepest layer. */
.foot { background: var(--soil-deepest); color: var(--cream); padding-block: 90px 60px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot .brand { color: var(--cream); }
.foot p { color: var(--cream-soft); margin-top: 12px; font-size: 15px; }
.foot-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 32px; max-width: 640px; flex: 1 1 380px; }
.foot-links a { color: var(--cream-soft); text-decoration: none; font-size: 15px; }
.foot-links a:hover { color: var(--cream); }

/* Articles (the SEO pages) share the look. */
.article { padding-block: 130px 110px; max-width: 800px; }
.article .eyebrow { font: 500 13px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 16px; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px rgba(78, 53, 34, 0.4); }
.btn-big { padding: 16px 22px; }
.article h1 { font-size: clamp(40px, 5.6vw, 72px); margin-bottom: 20px; }
.article h2 { font-size: clamp(28px, 3vw, 38px); margin: 48px 0 12px; }
.article p, .article li { color: var(--ink-soft); }
.article p + p { margin-top: 14px; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; }
.article th, .article td { text-align: left; padding: 12px 10px; border-bottom: 1px solid rgba(38, 33, 29, 0.14); vertical-align: top; }
.article .cta { margin: 40px 0; padding: 28px; background: var(--sign); border: 3px solid var(--sign-edge); border-radius: 14px; color: var(--sign-ink); box-shadow: 5px 6px 0 rgba(92, 65, 40, 0.35); }
.article .cta p { color: var(--sign-ink); }
.article .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
