/* `specs/screens/marketing-site.md` § Design: the app's "Docket" tokens (`specs/screens/document.md` § Design). Light only. */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
}

:root {
  --bg: #f4f6f8;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #5b6472;
  --line: #e3e8ee;
  --blue: #2457f5;
  --blue-soft: #e8eeff;
  --blue-deep: #0f2fa8;
  --surface: #eef1f4;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --btn-shadow: 0 8px 18px rgba(36, 87, 245, 0.28);
  --r: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Variable", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  font-size: 16px;
}
a { color: var(--blue); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.hero { padding: 64px 0 52px; border-bottom: 1px solid var(--line); background: var(--card); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--blue-deep); font-weight: 700; margin-bottom: 12px; }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); max-width: 16ch; font-weight: 800; letter-spacing: -0.03em; }
.lede { font-size: clamp(1.1rem, 2.4vw, 1.3rem); max-width: 44ch; color: var(--ink); }
.sub { max-width: 60ch; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); background: var(--card); }
.btn:hover, .btn:focus-visible { text-decoration: none; border-color: var(--muted); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #ffffff; font-weight: 700; box-shadow: var(--btn-shadow); }
.btn.primary:hover, .btn.primary:focus-visible { background: var(--blue-deep); border-color: var(--blue-deep); }

.three { display: grid; gap: 18px; padding-top: 44px; padding-bottom: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; min-width: 0; }
.card h2 { font-size: 1.1rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); }

.section-title { font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin: 56px 0 24px; font-weight: 800; }

.step { display: grid; gap: 28px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) {
  .step { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .step:nth-of-type(even) .step-text { order: 2; }
  .step.wide { grid-template-columns: minmax(0, 1fr); }
}
.step-text { min-width: 0; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); font-weight: 800; font-size: 0.9rem; margin-bottom: 10px; }
.step h3 { font-size: 1.3rem; font-weight: 700; }
.step p { color: var(--muted); }
.step p em { color: var(--ink); font-style: italic; }

figure { margin: 0; justify-self: center; min-width: 0; }
.phone { width: min(300px, 100%); border-radius: 26px; padding: 10px; background: var(--ink); box-shadow: var(--shadow); }
.phone img { border-radius: 18px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.screen { width: 100%; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.screen img { aspect-ratio: 1200 / 800; object-fit: cover; object-position: top; }

.getting-in { padding-top: 0; padding-bottom: 0; }
.getting-in .card h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.getting-in .card code { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; font-size: 0.86em; word-break: break-word; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.note { max-width: 70ch; margin-top: 18px; color: var(--muted); }

.principles dl { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 0; }
.principles dl > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; min-width: 0; }
.principles dt { font-weight: 700; margin-bottom: 6px; }
.principles dd { margin: 0; color: var(--muted); }

.teams p { max-width: 70ch; color: var(--muted); }
pre { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; overflow-x: auto; font-size: 0.86rem; line-height: 1.5; color: var(--ink); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

footer { margin-top: 64px; padding: 28px 20px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
footer p { margin: 0; }
