:root {
  --bg: #f7f2ea; --surface: #fffdf9; --surface-2: #efe6d8; --text: #1d1613; --muted: #5c4f48;
  --brown: #1e6b73; --brown-dark: #8c1c1c;
  --accent: #8c1c1c; --accent-text: #fffdf9; --accent-hover: #6e1414;
  --border: #e4d9cb; --focus: #1b5fd1; --danger: #a12a1a; --ok: #1f6a36;
  --radius: 14px; --shadow: 0 1px 0 rgba(29, 22, 19, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15100d; --surface: #201915; --surface-2: #2b221d;
    --text: #f3eee6; --muted: #cdbfb3; --brown: #7cc4c9; --brown-dark: #f0a99a;
    --accent: #e8806f; --accent-text: #1d1613; --accent-hover: #f09a8c;
    --border: #3a2f28; --focus: #8ab6ff; --danger: #ff9b8a; --ok: #8fdca1;
    --shadow: none; color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--brown-dark); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 16px; top: -100px; background: var(--accent); color: var(--accent-text);
  padding: .6rem 1rem; border-radius: 8px; z-index: 10; font-weight: 600;
}
.skip-link:focus { top: 8px; }
.wrap { width: 100%; max-width: 44rem; margin: 0 auto; padding: 0 16px; }
header.site { padding: 16px 0; }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; }
nav a { text-decoration: none; color: var(--muted); font-size: .95rem; padding: 6px 0; display: inline-block; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }
.hero { padding: 24px 0 40px; text-align: center; }
.hero img.mascot { width: min(240px, 62vw); margin: 0 auto 8px; display: block; }
.badge {
  display: inline-block; background: var(--surface-2); color: var(--brown-dark); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 14px; font-size: .9rem; font-weight: 600;
}
h1 { font-size: clamp(1.9rem, 7.5vw, 2.8rem); line-height: 1.15; margin: 16px 0 12px; letter-spacing: -.01em; }
h2 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 12px; }
h3 { font-size: 1.1rem; margin: 20px 0 6px; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 auto 24px; max-width: 34rem; }
section.block { padding: 32px 0; border-top: 1px solid var(--border); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 16px; box-shadow: var(--shadow);
}
form.waitlist { max-width: 30rem; margin: 0 auto; text-align: left; }
form.waitlist label { display: block; font-weight: 600; margin-bottom: 6px; }
.row { display: flex; flex-direction: column; gap: 10px; }
input[type="email"] {
  width: 100%; font: inherit; padding: 12px 14px; border-radius: 10px; min-height: 48px;
  border: 2px solid var(--border); background: var(--surface); color: var(--text);
}
input[type="email"]:focus-visible { border-color: var(--focus); outline-offset: 2px; }
button, .btn {
  font: inherit; font-weight: 700; min-height: 48px; padding: 12px 20px; border-radius: 10px; border: 0;
  background: var(--accent); color: var(--accent-text); cursor: pointer; text-decoration: none; display: inline-block; text-align: center;
}
button:hover, .btn:hover { background: var(--accent-hover); color: var(--accent-text); }
button[disabled] { opacity: .65; cursor: progress; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: .88rem; color: var(--muted); margin: 8px 0 0; }
.status { min-height: 1.5em; margin: 10px 0 0; font-weight: 600; }
.status.ok { color: var(--ok); } .status.err { color: var(--danger); }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.platforms { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms li { background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: .95rem; }
ol.steps { padding-left: 1.3rem; } ol.steps li { margin-bottom: 10px; }
.prices { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 16px 0; }
.price { text-align: center; }
.price strong { display: block; font-size: 1.9rem; line-height: 1.2; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 4px 14px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
details p { margin: 0 0 12px; }
footer.site { border-top: 1px solid var(--border); padding: 28px 0 40px; font-size: .9rem; color: var(--muted); margin-top: 24px; }
footer.site ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 12px; }
footer.site a { color: var(--muted); }
article.doc { padding: 16px 0 32px; }
article.doc section { padding: 20px 0; border-top: 1px solid var(--border); scroll-margin-top: 16px; }
article.doc section:target { background: var(--surface-2); margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-radius: 10px; }
article.doc code, code { background: var(--surface-2); padding: 1px 6px; border-radius: 5px; font-size: .92em; overflow-wrap: anywhere; }
.code-tag { font-size: .8rem; color: var(--muted); }
.toc { columns: 1; padding-left: 1.2rem; }
.banner { background: var(--surface-2); border: 2px dashed var(--brown); border-radius: 10px; padding: 12px 16px; font-weight: 600; }
.wiggle { animation: bob 4s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes bob { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
@media (min-width: 560px) {
  .row { flex-direction: row; } .row input { flex: 1; }
  .grid { grid-template-columns: 1fr 1fr; } .prices { grid-template-columns: 1fr 1fr; }
  .toc { columns: 2; } .card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Home page ---------- */
:root { --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif; --teal-deep: #123f45; --teal-tint: #e3efef; --teal: #1e6b73; }
@media (prefers-color-scheme: dark) { :root { --teal-deep: #0f3338; --teal-tint: #1b3a3d; --teal: #7cc4c9; } }
.center { text-align: center; }
body.home .wrap { max-width: 71.25rem; padding: 0 22px; }
body.home h1, body.home h2, body.home h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
body.home h1 { font-size: clamp(2.6rem, 9vw, 4rem); line-height: 1.05; margin: 22px 0 0; }
body.home h2 { font-size: clamp(1.9rem, 5.5vw, 2.75rem); line-height: 1.15; margin: 0; }
body.home h3 { font-size: 1.35rem; line-height: 1.3; margin: 0; }
body.home em { font-style: italic; color: var(--brown-dark); }
body.home main section { padding: 64px 0; border-top: 1px solid var(--border); }
body.home main section.hero { border-top: 0; padding-top: 24px; }
.sec-head { max-width: 46rem; margin-bottom: 40px; }
.sec-head p { margin: 16px 0 0; font-size: 1.1rem; color: var(--muted); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin: 0 0 12px; }
body.home header.site { padding: 20px 0; }
body.home .brand { gap: 12px; line-height: 1.2; }
body.home .brand img { width: 40px; height: 40px; }
body.home .brand small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
body.home nav ul { gap: 4px 26px; }
body.home nav a { color: var(--text); font-size: .95rem; }
body.home nav a:hover { color: var(--brown-dark); }
.btn { border-radius: 999px; padding: 14px 24px; border: 2px solid var(--accent); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: var(--accent-text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
.cta-row.center { justify-content: center; }
.badge { background: var(--teal-tint); color: var(--teal); border: 0; font-weight: 600; font-size: .88rem; margin: 0; }
.hero { display: grid; gap: 40px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--muted); margin: 20px 0 0; max-width: 34rem; text-align: left; }
.trust { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .95rem; }
.trust li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-right: 8px; vertical-align: middle; }
.hero .note { margin-top: 24px; }
.hero { text-align: left; }
.hero-phones { display: flex; gap: 5%; justify-content: center; align-items: flex-end; }
.hero-phones .zoom { width: 44%; max-width: 250px; }
.hero-phones .zoom:first-child { margin-bottom: 8%; }

/* device frames (screens are links to the larger image) */
a.zoom { display: block; text-decoration: none; cursor: zoom-in; border-radius: 16% / 7.4%; transition: transform .2s; }
a.zoom:hover { transform: translateY(-4px); }
.phone, .tablet { display: block; position: relative; background: #1d1613; padding: 3.3%; border-radius: 16% / 7.4%; box-shadow: 0 30px 50px -26px rgba(29, 22, 19, .55), 0 6px 14px -6px rgba(29, 22, 19, .3), inset 0 0 0 1.5px rgba(255, 255, 255, .1); }
.phone img { display: block; width: 100%; height: auto; border-radius: 13% / 6%; background: #fff; }
.phone::before { content: ""; position: absolute; top: 2.3%; left: 50%; width: 29%; height: 2.3%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 2; }
.tablet { border-radius: 5.5% / 4.2%; padding: 3.2%; }
.tablet img { display: block; width: 100%; height: auto; border-radius: 3% / 2.4%; background: #fff; }
a.zoom:has(.tablet) { border-radius: 5.5% / 4.2%; }
a.zoom:focus-visible { outline-offset: 6px; border-radius: 12px; }

/* video */
.video-frame { background: #1d1613; border-radius: 24px; padding: 8px; max-width: 62rem; box-shadow: 0 30px 50px -28px rgba(29, 22, 19, .5); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 17px; background: #000; }
#tour .note { margin-top: 16px; }
.transcript { max-width: 46rem; margin-top: 12px; }

/* features */
.feat { display: grid; gap: 32px; align-items: center; padding: 44px 0; border-top: 1px solid var(--border); }
.sec-head + .feat { border-top: 0; padding-top: 0; }
.feat-copy p { color: var(--muted); font-size: 1.08rem; margin: 12px 0 0; }
.feat ul { margin: 18px 0 0; padding-left: 20px; }
.feat li { margin-bottom: 6px; }
.feat-shots { display: flex; gap: 16px; justify-content: center; align-items: flex-start; }
.feat-shots .zoom { width: 46%; max-width: 230px; }
.feat-shots .zoom:nth-child(2) { margin-top: 12%; }
.feat-shots.ipads .zoom { width: 48%; max-width: 330px; }
.feat-shots.ipads .zoom:nth-child(2) { margin-top: 8%; }
.grid3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: none; }
.card p { margin: 10px 0 0; color: var(--muted); font-size: 1rem; }
.card .icon { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-tint); color: var(--teal); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
body.home main section.privacy-band { padding: 0; border-top: 0; }
.privacy { background: var(--teal-deep); color: #f3eee6; border-radius: 32px; padding: 56px 28px; --text: #f3eee6; }
.privacy h2 { color: #f3eee6; }
.privacy p { color: #d5e4e3; font-size: 1.1rem; margin: 16px 0 0; max-width: 46rem; }
.privacy .eyebrow { color: #9fd0cc; }
.privacy a { color: #fff; }
.diagram { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 36px 0 12px; }
.node { background: #f3eee6; color: #123f45; border-radius: 18px; padding: 22px 26px; min-width: 190px; text-align: center; font-weight: 600; }
.node small { display: block; font-weight: 400; color: #3d322c; font-size: .88rem; margin-top: 4px; }
.node.none { background: transparent; color: #d5e4e3; border: 2px dashed #9fd0cc; }
.arrow { color: #9fd0cc; font-size: 1.8rem; }
.steps { display: grid; gap: 32px; align-items: start; }
.stepl { list-style: none; margin: 0; padding: 0; }
.step { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--border); }
.step:first-child { border-top: 0; padding-top: 0; }
.num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-text); display: flex; align-items: center; justify-content: center; font: 600 1.2rem var(--serif); }
.step p { margin: 6px 0 0; color: var(--muted); }
.needs p.strong { font-weight: 600; color: var(--text); }
.prices { display: grid; gap: 22px; grid-template-columns: 1fr; max-width: 52rem; margin: 0 0 20px; }
.price { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 32px; box-shadow: none; text-align: left; }
.price.featured { border: 2px solid var(--teal); }
.price strong { font: 600 2.6rem/1.1 var(--serif); display: block; margin-top: 10px; }
.price p { margin: 12px 0 0; color: var(--muted); }
.tag { display: inline-block; vertical-align: middle; margin-left: 8px; background: var(--teal-tint); color: var(--teal); border-radius: 99px; padding: 2px 12px; font: 700 .75rem system-ui, sans-serif; letter-spacing: 0; }
.faq { max-width: 51rem; }
.faq details { background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 18px 0; margin: 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 1.1rem; padding: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brown-dark); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.closing { text-align: center; padding: 96px 0 72px !important; }
.closing h2 { font-size: clamp(2.2rem, 7vw, 3.5rem); }
.closing p { margin: 18px auto 0; max-width: 36rem; font-size: 1.15rem; color: var(--muted); }
body.home footer.site { margin-top: 0; }
@media (min-width: 640px) { .grid3 { grid-template-columns: 1fr 1fr; } .prices { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  body.home main section { padding: 96px 0; }
  body.home main section.hero { padding: 40px 0 96px; }
  .hero { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .feat { grid-template-columns: 1fr 1fr; gap: 56px; }
  .feat.rev .feat-copy { order: 2; }
  .grid3 { grid-template-columns: repeat(3, 1fr); }
  .privacy { padding: 80px 64px; }
  .steps { grid-template-columns: 1.4fr 1fr; gap: 40px; }
  .needs { margin-top: 72px; }
}

/* lightbox */
.lightbox { position: fixed; inset: 0; margin: 0; border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; color: #fff; }
.lightbox::backdrop { background: rgba(14, 9, 7, .88); }
.lb-stage { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 56px 64px 28px; box-sizing: border-box; }
.lb-img { display: block; max-width: none; max-height: none; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); background: #fff; }
.lightbox.lb-tablet .lb-img { border-radius: 14px; }
.lb-cap { margin: 0; font-size: .95rem; color: #e6dacb; text-align: center; max-width: 40rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 4px; min-height: 0; }
.lb-btn:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.lb-btn:focus-visible { outline-color: #8ab6ff; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-stage { padding: 64px 12px 24px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }
