:root {
  --roast: #5c3a21;
  --roast-deep: #3e2716;
  --cream: #f1e9df;
  --paper: #fbf8f4;
  --ink: #2a1d13;
  --muted: #6e5b4c;
  --line: #e4d9cc;
  --card: #ffffff;
  --link: #8a4f22;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1b140f;
    --ink: #f1e9df;
    --muted: #bba795;
    --line: #3a2c21;
    --card: #241a13;
    --link: #e0b48a;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
h1, h2, h3, .wordmark { font-family: "Fraunces", Georgia, serif; line-height: 1.15; }
a { color: var(--link); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.wordmark { font-size: 1.3rem; font-weight: 600; }
.site-header nav { display: flex; align-items: center; gap: 20px; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink); }
.site-header nav a[aria-current="page"] { font-weight: 600; }

/* Hero */
.hero { background: var(--roast); color: var(--cream); padding-bottom: 0; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 0 0 18px; font-weight: 600; }
.hero p.lede { font-size: 1.2rem; margin: 0 0 30px; color: #e8dccd; max-width: 34ch; }
.hero .wrap { padding-bottom: 0; align-items: end; }
.hero .wrap > div { padding-bottom: 80px; align-self: center; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 1rem;
}
.btn-primary { background: var(--cream); color: var(--roast-deep); }
.btn-ghost { border: 1.5px solid rgba(241,233,223,.5); color: var(--cream); }
.btn-primary:hover { background: #fff; }
.btn-ghost:hover { border-color: var(--cream); }
.btn-soon { background: rgba(241,233,223,.14); color: var(--cream); border: 1.5px dashed rgba(241,233,223,.45); cursor: default; }
.fine { margin-top: 16px; font-size: .9rem; color: #cdb9a5; }

/* Phone screenshots */
.phone { display: block; justify-self: center; width: 100%; max-width: 300px; }
.phone img {
  width: 100%; height: auto; border-radius: 28px;
  border: 8px solid #1d140d; background: #1d140d;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 60px rgba(40,22,10,.28);
}
.phone-hero { max-width: 320px; }
.phone-hero img { border-bottom: 0; border-radius: 28px 28px 0 0; aspect-ratio: 540 / 900; object-fit: cover; object-position: top; box-shadow: 0 -10px 60px rgba(0,0,0,.35); }

.feature { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; margin-top: 56px; }
.feature.reverse { grid-template-columns: 1fr 300px; }
.feature.reverse .phone { order: 2; }
.feature h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 16px; }
.feature ul { padding-left: 20px; color: var(--muted); margin: 0; }
.feature li { margin-bottom: 8px; }
.band .feature:first-child { margin-top: 0; }
.band .feature p { color: inherit; opacity: .85; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--link); margin: 0 0 8px; }

/* Sections */
section { padding: 72px 0; }
section h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0 0 12px; }
.section-lede { color: var(--muted); max-width: 60ch; margin: 0 0 36px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px;
}
.card h3 { margin: 0 0 12px; font-size: 1.3rem; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.card li { margin-bottom: 6px; }

.band { background: var(--cream); color: var(--roast-deep); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .band { background: #2b1f16; color: var(--ink); }
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split p { margin-top: 0; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { text-align: center; }
.price .amount { font-family: "Fraunces", Georgia, serif; font-size: 1.6rem; margin: 6px 0 10px; }
.price p { color: var(--muted); margin: 0; }

.promise { text-align: center; }
.promise p.tagline { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 32px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.footer-brand { max-width: 34ch; }
.footer-brand .wordmark { color: var(--ink); font-size: 1.15rem; display: block; margin-bottom: 6px; }
.footer-brand p { margin: 0; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-links h4 { margin: 0 0 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-legal { width: 100%; border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

/* Prose (privacy) */
.prose { max-width: 720px; margin: 0 auto; padding: 56px 20px 80px; }
.prose h1 { font-size: 2.4rem; margin: 0 0 8px; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 8px; }
.prose .meta { color: var(--muted); margin-bottom: 28px; }

/* Steps on the landing page */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps-grid .card { position: relative; padding-top: 54px; }
.steps-grid .card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 20px; left: 26px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--roast); color: var(--cream); font-weight: 600; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.steps-grid .card p { color: var(--muted); margin: 0; }
.more-link { display: inline-block; margin-top: 14px; font-weight: 600; }
.suite { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.suite p { color: var(--muted); }

/* Docs (user guide, FAQ, help, terms) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 88px; }
.doc-header { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.doc-header .eyebrow { margin-bottom: 10px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 2.9rem); margin: 0 0 12px; font-weight: 600; }
.doc .lead { font-size: 1.1rem; color: var(--muted); margin: 0; }
.doc h2 { font-size: 1.6rem; margin: 52px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.doc h3 { font-family: "Inter", system-ui, sans-serif; font-size: 1.05rem; font-weight: 600; margin: 28px 0 8px; color: var(--ink); scroll-margin-top: 16px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 18px; }
.doc li { margin-bottom: 8px; }
.doc .meta { color: var(--muted); font-size: .92rem; margin-top: 10px; }
.doc kbd { font: inherit; font-size: .88em; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink); }

.toc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin-bottom: 8px; }
.toc p { margin: 0 0 10px; font-weight: 600; color: var(--ink); }
.toc ol { columns: 2; column-gap: 32px; margin: 0; }
.toc li { margin-bottom: 6px; break-inside: avoid; }

.tip, .note, .warn { border-radius: 14px; padding: 16px 20px; margin: 22px 0; border: 1px solid var(--line); background: var(--card); }
.tip { border-left: 4px solid #6f8f4e; }
.note { border-left: 4px solid var(--link); }
.warn { border-left: 4px solid #b4533c; }
.tip strong, .note strong, .warn strong { display: block; margin-bottom: 4px; }
.tip p, .note p, .warn p { margin: 0; }

ol.steps { list-style: none; padding-left: 0; counter-reset: step; }
ol.steps > li { position: relative; padding-left: 42px; margin-bottom: 14px; }
ol.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--roast); color: var(--cream); font-weight: 600; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}

.shot { margin: 28px 0; text-align: center; }
.shot img, .shot-row img {
  width: 270px; max-width: 80%; margin: 0 auto; height: auto;
  border-radius: 24px; border: 6px solid #1d140d; background: #1d140d;
  box-shadow: 0 14px 40px rgba(40,22,10,.2);
}
.shot.panel img { width: 360px; max-width: 92%; border-width: 1px; border-color: var(--line); border-radius: 16px; background: var(--card); }
.shot figcaption, .shot-row figcaption { margin-top: 12px; font-size: .88rem; color: var(--muted); }
.shot-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin: 28px 0; }
.shot-row figure { margin: 0; flex: 0 1 230px; text-align: center; }
.shot-row img { width: 100%; max-width: 100%; }

.fields { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: .95rem; }
.fields th, .fields td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fields th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.fields td { color: var(--muted); }
.table-wrap { overflow-x: auto; }

details.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 10px; }
details.faq summary { cursor: pointer; padding: 15px 20px; font-weight: 600; color: var(--ink); list-style: none; position: relative; padding-right: 48px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.3rem; color: var(--link); }
details.faq[open] summary::after { content: "–"; }
details.faq .body { padding: 0 20px 6px; }

.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-top: 16px; }
.contact-card p:last-child { margin-bottom: 0; }

.not-found { text-align: center; padding: 96px 20px 120px; max-width: 560px; margin: 0 auto; }
.not-found .big { font-family: "Fraunces", Georgia, serif; font-size: 5rem; color: var(--link); margin: 0; line-height: 1; }
.not-found ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; }

@media (max-width: 800px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 48px; padding-bottom: 0; gap: 40px; }
  .hero .wrap > div { padding-bottom: 0; }
  .phone-hero { max-width: 260px; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  .feature.reverse .phone { order: 0; }
  .phone { max-width: 240px; }
  .grid, .pricing { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .site-header nav { gap: 14px; }
  .site-header nav a.wide { display: none; }
  .steps-grid, .suite { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .doc h2 { margin-top: 40px; }
  .wrap { padding: 0 16px; }
}
