/* Etch landing page.
   Palette and type are lifted from the app so the page and the product look like one
   thing. Everything is local: fonts are self-hosted and every image ships with the page,
   so loading it makes no third-party request at all. The two YouTube videos are the one
   exception and they are click-to-load — see the facade rules below. */

@font-face{font-family:Manrope;src:url(assets/fonts/manrope-regular.ttf) format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url(assets/fonts/manrope-medium.ttf) format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Manrope;src:url(assets/fonts/manrope-semibold.ttf) format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Manrope;src:url(assets/fonts/manrope-bold.ttf) format('truetype');font-weight:700;font-display:swap}

/* Light is the app's default, so it is the page's default too.
   `accent-ink` exists because full-strength lime is unreadable on cream — the same trap
   the app's own buttons fell into. Lime is a background colour in Light, never text. */
:root{
  --bg:#F3EDE0;
  --surface:#E3E7D6;
  --surface-2:#CED4C0;
  --text:#0A1410;
  --dim:#4C5A4B;
  --line:#B9C3B0;
  --lime:#B0DC52;
  --accent-ink:#4E6A28;
  --on-lime:#2C2C2C;
  --shadow:0 1px 2px rgba(10,20,16,.06),0 8px 28px rgba(10,20,16,.07);
  --radius:18px;
}
:root[data-theme=dark]{
  --bg:#0A1410;
  --surface:#13201A;
  --surface-2:#1B2A22;
  --text:#F3EDE0;
  --dim:#8FA88A;
  --line:#2C3F33;
  --accent-ink:#B0DC52;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 10px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-weight:400;line-height:1.6;-webkit-font-smoothing:antialiased;
}
img,video{max-width:100%;height:auto;display:block}
a{color:var(--accent-ink)}
h1,h2,h3{line-height:1.15;letter-spacing:-.02em;margin:0 0 .5em}
h1{font-weight:700;font-size:clamp(2.4rem,6vw,4rem)}
h2{font-weight:700;font-size:clamp(1.7rem,3.4vw,2.4rem)}
h3{font-weight:600;font-size:1.12rem}
p{margin:0 0 1rem}
.skip{position:absolute;left:-9999px}
.skip:focus{left:1rem;top:1rem;z-index:10;background:var(--lime);color:var(--on-lime);padding:.6rem 1rem;border-radius:10px}
:focus-visible{outline:3px solid var(--accent-ink);outline-offset:3px;border-radius:6px}

/* ---------- header ---------- */
.site{
  position:sticky;top:0;z-index:5;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.7rem clamp(1rem,4vw,3rem);
  background:color-mix(in srgb,var(--bg) 88%,transparent);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line);
}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:700;font-size:1.15rem;color:var(--text);text-decoration:none}
.brand img{border-radius:9px}
.theme{
  display:grid;place-items:center;width:42px;height:42px;padding:0;cursor:pointer;
  background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:50%;
}
.theme:hover{background:var(--surface-2)}
.theme svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.ico-moon{display:none;fill:currentColor;stroke:none}
:root[data-theme=dark] .ico-sun{display:none}
:root[data-theme=dark] .ico-moon{display:block}

/* ---------- layout ---------- */
section{padding:clamp(2.4rem,5vw,4.2rem) clamp(1rem,4vw,3rem);max-width:1100px;margin:0 auto}

/* ---------- hero ---------- */
.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,5vw,4rem);align-items:center;padding-top:clamp(2rem,5vw,4rem)}
.eyebrow{font-weight:600;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);margin-bottom:.9rem}
.lede{font-size:clamp(1.05rem,1.7vw,1.24rem);color:var(--dim);max-width:34ch}
.cta{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.4rem;margin:2rem 0 1.6rem}
/* Google's official badge, unmodified. Guidelines forbid recreating or restyling it, so
   "Coming soon" is set as separate text above rather than drawn onto the artwork, and the
   badge is deliberately not a link until there is a listing to link to. */
.badge-wrap{display:flex;flex-direction:column;gap:.4rem}
.badge-soon{
  margin:0;font-size:.7rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  color:var(--dim);
}
.badge-img{width:186px;height:auto}
.cta-note{margin:0;font-size:.92rem;color:var(--dim)}
.chips{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin:0}
.chips li{
  font-size:.85rem;font-weight:500;padding:.34rem .8rem;border-radius:999px;
  background:var(--surface);border:1px solid var(--line);color:var(--text);
}

/* phone frame — the screenshots are already chrome-free, so the frame is the page's */
.phone{
  border:10px solid var(--text);border-radius:34px;overflow:hidden;
  background:var(--text);box-shadow:var(--shadow);max-width:304px;margin:0 auto;
}
:root[data-theme=dark] .phone{border-color:var(--surface-2);background:var(--surface-2)}
.phone video,.phone img{width:100%;height:auto;border-radius:24px;display:block}
.caption{text-align:center;font-size:.84rem;color:var(--dim);margin:.9rem 0 0}

/* ---------- the moment ---------- */
.moment{text-align:center;padding-bottom:clamp(1.5rem,3vw,2.5rem)}
.moment h2{max-width:20ch;margin-left:auto;margin-right:auto}
.moment-lede{max-width:56ch;margin:0 auto 1.8rem;color:var(--dim);font-size:1.03rem}
.rooms{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(232px,1fr));
  gap:.55rem;list-style:none;padding:0;margin:0 auto;max-width:900px;text-align:left;
}
.rooms li{
  background:var(--surface);border:1px solid var(--line);border-radius:12px;
  padding:.72rem 1rem;font-size:.93rem;font-weight:500;
}
.moment-foot{margin:1.7rem 0 0;color:var(--dim);font-size:.97rem}

/* ---------- youtube facade ----------
   The only third-party thing on this page, and it stays inert until asked. The poster is
   a self-hosted frame, not a ytimg.com thumbnail, so a visitor who never presses play
   never touches Google — which is the same promise the product is sold on. app.js swaps
   the button for an iframe on click. */
.yt{
  position:relative;overflow:hidden;margin:0 auto;
  aspect-ratio:16/9;max-width:760px;
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:var(--shadow);
}
.yt-open{
  position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;margin:0;
  border:0;background:none;cursor:pointer;color:inherit;
}
/* the box clips, so an outward focus ring would be invisible — draw it inside */
.yt-open:focus-visible{outline-offset:-5px}
/* beats the global `img{height:auto}` so the poster fills the fixed-ratio box */
.yt-open img{width:100%;height:100%;object-fit:cover}
.yt-play{
  position:absolute;inset:0;margin:auto;
  display:grid;place-items:center;width:70px;height:70px;border-radius:50%;
  background:var(--lime);color:var(--on-lime);
  box-shadow:0 6px 22px rgba(10,20,16,.35);transition:transform .15s ease;
}
.yt-play svg{width:26px;height:26px;fill:currentColor;margin-left:3px}
.yt-open:hover .yt-play{transform:scale(1.07)}
@media (prefers-reduced-motion:reduce){.yt-play{transition:none}}
/* the accessible name for the button; the poster's alt is empty on purpose */
.yt-label{position:absolute;left:-9999px}
.yt iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0}

.watch{text-align:center}
.watch-lede{max-width:62ch;margin:0 auto 1.9rem;color:var(--dim);font-size:1.03rem}
/* the first run is the page's teaching moment and the recording is a portrait phone
   capture, so its frame runs wider than the hero's — and the native controls put
   fullscreen one tap away for the screens that are dense with text */
.watch .phone{max-width:352px}

/* the 9:16 short, sitting under "the moment" it dramatises */
.short{margin:2.2rem auto 0;max-width:266px}
.yt-tall{aspect-ratio:9/16;border-radius:22px}
.yt-tall .yt-play{width:58px;height:58px}
.yt-tall .yt-play svg{width:22px;height:22px}

/* ---------- steps ---------- */
.steps ol{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;list-style:none;padding:0;margin:0;counter-reset:s}
.steps li{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem}
.steps .n{
  display:grid;place-items:center;width:34px;height:34px;margin-bottom:.9rem;
  background:var(--lime);color:var(--on-lime);border-radius:50%;font-weight:700;font-size:.95rem;
}
.steps p{margin:0;color:var(--dim);font-size:.95rem}

/* ---------- alternating features ---------- */
.feature{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.feature.reverse .feature-text{order:2}
.feature-text p{max-width:46ch}
.feature-text .dim{color:var(--dim);font-size:.97rem}
.feature-shot picture{display:block}
.feature-shot img{width:100%;height:auto;aspect-ratio:620/1219}
.feature-shot{
  margin:0;max-width:292px;justify-self:center;
  border:9px solid var(--text);border-radius:30px;overflow:hidden;background:var(--text);box-shadow:var(--shadow);
}
:root[data-theme=dark] .feature-shot{border-color:var(--surface-2);background:var(--surface-2)}
.feature-shot img{border-radius:22px}

/* ---------- card grid ---------- */
.grid h2{margin-bottom:1.6rem}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}
.cards article{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem}
.cards p{margin:0;color:var(--dim);font-size:.94rem}

/* ---------- answers ---------- */
.answers dl{display:grid;gap:.7rem;margin:0}
.answers div{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:1.15rem 1.35rem}
.answers dt{font-weight:600;margin-bottom:.3rem}
.answers dd{margin:0;color:var(--dim);font-size:.96rem}

/* ---------- closing call to action ---------- */
.launch-inner{
  background:var(--surface);border:1px solid var(--line);border-radius:24px;
  padding:clamp(1.8rem,4vw,3rem);max-width:720px;margin:0 auto;text-align:center;
}
.launch ul{display:inline-block;text-align:left;color:var(--dim);margin:1.2rem 0;padding-left:1.15rem}
.launch li{margin:.35rem 0}
.launch p{color:var(--dim)}
.launch strong{color:var(--text)}
.mail{margin:1.2rem 0 0}
.mail a{
  display:inline-block;background:var(--lime);color:var(--on-lime);text-decoration:none;
  font-weight:600;padding:.75rem 1.5rem;border-radius:12px;
}
.mail a:hover{filter:brightness(1.06)}

/* ---------- footer ---------- */
.site-foot{
  border-top:1px solid var(--line);margin-top:2rem;
  padding:2.5rem clamp(1rem,4vw,3rem);text-align:center;color:var(--dim);
}
.wordmark{display:flex;align-items:center;justify-content:center;gap:.55rem;font-weight:600;color:var(--text)}
.wordmark img{border-radius:7px}
.site-foot nav{display:flex;flex-wrap:wrap;justify-content:center;gap:1.4rem;margin:1rem 0}
.site-foot .small{font-size:.78rem;max-width:52ch;margin:1.2rem auto 0;opacity:.85}

/* ---------- responsive ---------- */
@media (max-width:880px){
  .hero,.feature{grid-template-columns:1fr}
  .feature.reverse .feature-text{order:0}
  .hero-media{order:-1}
  .steps ol{grid-template-columns:1fr}
  .lede{max-width:none}
  .yt-play{width:58px;height:58px}
  .yt-play svg{width:22px;height:22px}
}
