/*
 * The marketing page uses the app's own tokens (src/app/globals.css) so the
 * screenshots and the page around them read as one product: paper, ink, one
 * green accent, system type, nothing that moves.
 */
:root {
  --ink: #14181d;
  --ink-soft: #4d5560;
  --ink-faint: #5f6875;
  --paper: #fbfaf8;
  --card: #ffffff;
  --line: #e4e2dd;
  --line-strong: #908e89;
  --accent: #1f5f4e;
  --accent-soft: #eef4f1;
  --on-accent: #ffffff;
  --warn: #8a5a12;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 24, 29, 0.05), 0 8px 28px rgba(20, 24, 29, 0.07);
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eceef1;
    --ink-soft: #aeb6c0;
    --ink-faint: #8a939e;
    --paper: #14171b;
    --card: #1b1f25;
    --line: #2c323a;
    --line-strong: #666c74;
    --accent: #6fc0a5;
    --accent-soft: #1d2a27;
    --on-accent: #0b1f19;
    --warn: #dcae63;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 40rem; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* Top bar */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; font-size: 15px; }
.brand img { border-radius: 7px; }
.brand-soft { color: var(--ink-faint); }
.top-cta { font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.top-cta:hover, .top-cta:focus-visible { text-decoration: underline; }
@media (max-width: 380px) { .top-cta { display: none; } }

/* Type */
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 6.4vw, 3.25rem); font-weight: 750; }
h2 { font-size: clamp(1.55rem, 4.4vw, 2.2rem); font-weight: 720; }
h3 { font-size: 1.12rem; font-weight: 680; }
p { margin: 0 0 1em; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 650; color: var(--ink-faint); margin-bottom: 0.8em; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 36rem; }
.faint { color: var(--ink-faint); font-size: 15px; }
.fine { color: var(--ink-faint); font-size: 14px; margin: 14px 0 0; }

/* Sections */
section { padding: 56px 0; }
@media (min-width: 900px) { section { padding: 88px 0; } }
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.hero { padding-top: 40px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 1.6em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 10px; border: 0;
  background: var(--accent); color: var(--on-accent);
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-block { width: 100%; margin-top: 18px; }

/* Screenshots */
.shot { margin: 0; }
.shot picture { display: block; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow); background: var(--paper); }
.shot-phone { max-width: 380px; margin: 0 auto; width: 100%; }
.hero .shot-phone img { width: 100%; height: auto; }
.shot figcaption { color: var(--ink-faint); font-size: 14px; margin-top: 12px; text-align: center; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; display: grid; gap: 28px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-weight: 700; margin-bottom: 12px; }
.steps p { color: var(--ink-soft); }
.aside { margin-top: 32px; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--accent-soft);
  border-radius: 0 10px 10px 0; color: var(--ink); max-width: 46rem; }

.ticks { list-style: none; padding: 0; margin: 18px 0 20px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-soft); }
.ticks li strong { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }

/* Form */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form { padding: 22px; margin-top: 24px; }
@media (min-width: 600px) { .form { padding: 30px; } }
label { display: block; font-weight: 600; font-size: 15px; margin: 16px 0 6px; }
label:first-child { margin-top: 0; }
input[type="text"], input[type="email"] {
  width: 100%; min-height: 50px; padding: 0 14px; font: inherit; color: var(--ink);
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 9px;
}
input::placeholder { color: var(--ink-faint); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 20px; min-height: 65px; }
.form-status { min-height: 1.2em; margin: 12px 0 0; font-size: 15px; color: var(--ink-soft); }
.form-status.err { color: var(--warn); font-weight: 600; }
.done { padding: 28px; margin-top: 24px; border-color: var(--accent); }
.done:focus { outline: none; }

.form-section { padding-bottom: 72px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-faint); font-size: 14px; }
.foot p { margin: 0; }

/* The personal-page shot is a deliberate slice of the page's top, so it fades
   out instead of ending on a hard cut. On phones the copy comes first. */
.shot-slice picture { -webkit-mask-image: linear-gradient(#000 96%, transparent); mask-image: linear-gradient(#000 96%, transparent); box-shadow: none; border-bottom: 0; border-radius: 22px 22px 0 0; }
@media (max-width: 899px) { .split .shot-slice { order: 2; } }

.lede-2 { font-size: 1.05rem; color: var(--ink); margin-top: -0.2em; }
.opt { font-weight: 400; color: var(--ink-faint); }
