@font-face {
  font-family: "DejaVu Sans Mono";
  src: url("/fonts/DejaVuSansMono-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Ubuntu";
  src: url("/fonts/Ubuntu-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --ink: #29251F;
  --cream: #FFF8EA;
  --mango: #FFBA49;
  --mango-soft: #FFE2B0;
  --sand: #EFE6D5;
  --white: #FFFFFF;

  --bg: var(--cream);
  --text: var(--ink);
  --muted: #635A4C;
  --surface: var(--white);
  --surface-2: var(--sand);
  --line: #DCCFB8;
  --field: #8A7F6E;
  --accent: var(--mango);
  --on-accent: var(--ink);
  --dot: rgba(41, 37, 31, .09);

  --ok: #2E6B3F;
  --ok-bg: #E3EFDC;
  --bad: #B03A26;
  --bad-bg: #FBE3DC;
  --warn-bg: var(--mango-soft);
  --unk-bg: var(--sand);

  --dog-body: var(--ink);
  --dog-detail: var(--cream);

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;
  --r-sm: 8px; --r: 14px; --r-lg: 22px;
  --gutter: 16px;
  --max: 1180px;
  --mono: "DejaVu Sans Mono", ui-monospace, Menlo, Consolas, monospace;
  --sans: Ubuntu, Arial, sans-serif;
  --shadow: 0 1px 0 rgba(41, 37, 31, .06), 0 12px 32px -18px rgba(41, 37, 31, .35);
  --header-h: 64px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #29251F;
  --text: #FFF8EA;
  --muted: #CFC4B0;
  --surface: #373127;
  --surface-2: #322D24;
  --line: #4D4538;
  --field: #A89B87;
  --dot: rgba(255, 248, 234, .07);
  --ok: #8FD19E;
  --ok-bg: #2F3A2B;
  --bad: #F3A08E;
  --bad-bg: #452C24;
  --warn-bg: #4A3D24;
  --unk-bg: #3E372C;
  --dog-body: var(--cream);
  --dog-detail: var(--ink);
  --shadow: 0 12px 32px -18px rgba(0, 0, 0, .7);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--mono); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 1.1rem + 4vw, 4rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 2vw, 2.6rem); }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--accent); }
strong { font-weight: 700; }
.mono { font-family: var(--mono); font-weight: 700; }
.muted { color: var(--muted); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mango); color: var(--ink); }
[hidden] { display: none !important; }

.only-dark { display: none; }
:root[data-theme="dark"] .only-dark { display: block; }
:root[data-theme="dark"] .only-light { display: none; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--ink); color: var(--cream); padding: var(--s2) var(--s4); border-radius: var(--r-sm); }
.skip:focus { top: var(--s2); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--accent); --b-fg: var(--on-accent); --b-line: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7rem 1.25rem;
  font: 700 1rem/1.2 var(--sans);
  color: var(--b-fg); background: var(--b-bg);
  border: 2px solid var(--b-line); border-radius: 12px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 3px 0 var(--b-line);
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--b-line); text-decoration: none; }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--b-line); }
.btn:disabled { cursor: progress; opacity: .7; transform: none; }
.btn-sm { min-height: 40px; padding: .45rem .9rem; font-size: .9375rem; box-shadow: 0 2px 0 var(--b-line); }
.btn-lg { min-height: 56px; padding: .85rem 1.5rem; font-size: 1.0625rem; }
.btn-ghost { --b-bg: transparent; --b-fg: var(--text); --b-line: var(--text); }
.btn-ghost:hover { --b-bg: var(--surface); }
.btn-ink { --b-bg: var(--ink); --b-fg: var(--cream); --b-line: var(--ink); box-shadow: 0 3px 0 #000; }
:root[data-theme="dark"] .btn { --b-line: var(--cream); }
:root[data-theme="dark"] .btn-ink { --b-bg: var(--mango); --b-fg: var(--ink); --b-line: var(--cream); box-shadow: 0 3px 0 var(--cream); }

.tag {
  display: inline-flex; align-items: center; gap: .35em;
  font: 700 .75rem/1 var(--mono); letter-spacing: .02em; text-transform: uppercase;
  padding: .4em .6em; border-radius: 6px; border: 1.5px solid currentColor;
}
.tag-now::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; }
.tag-launch { border-style: dashed; }

.eyebrow { font: 700 .8125rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s3); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: var(--s4); min-height: var(--header-h); }
.logo { flex: none; border-radius: 6px; }
.logo img { width: 148px; height: auto; }
.nav { display: none; gap: var(--s1); margin-left: auto; }
.nav-link { padding: .5rem .7rem; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: .9375rem; }
.nav-link:hover { background: var(--surface-2); }
.header-tools { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.nav + .header-tools { margin-left: var(--s4); }
.lang, .theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; border: 1.5px solid var(--line); background: transparent; color: var(--text);
  font: 700 .8125rem/1 var(--mono); text-decoration: none; cursor: pointer;
}
.lang:hover, .theme-toggle:hover { border-color: var(--text); }
.theme-toggle svg { width: 20px; height: 20px; }
/* Narrow screens: the hero buttons and the sticky bar carry the CTA. */
@media (max-width: 479px) { .header-tools .btn-sm { display: none; } .logo img { width: 140px; } }
@media (min-width: 900px) { .nav { display: flex; } .header-tools { margin-left: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow-x: clip;
  padding: var(--s7) 0 var(--s7);
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.3px);
  background-size: 18px 18px;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; gap: var(--s8); align-items: start; }
.hero-copy { max-width: 40rem; }
.pill {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .45rem .85rem; margin-bottom: var(--s5);
  background: var(--surface); border: 1.5px solid var(--text); border-radius: 999px;
  font: 700 .8125rem/1.2 var(--mono);
}
.pulse { width: .6rem; height: .6rem; border-radius: 50%; background: var(--mango); box-shadow: 0 0 0 2px var(--ink); }
.hl { background: linear-gradient(transparent 62%, var(--mango) 62%, var(--mango) 92%, transparent 92%); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding-inline: .05em; }
:root[data-theme="dark"] .hl { background: none; color: var(--mango); }
.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--muted); margin-top: var(--s5); max-width: 36rem; }
.hero .lead { color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.perks-row { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s5); font-weight: 500; font-size: .9688rem; }
.perks-row li { display: flex; align-items: center; gap: .5em; }
.perks-row .ico { color: var(--ok); }

.hero-tool { position: relative; padding-top: 88px; }
.sun {
  position: absolute; z-index: 0; right: -60px; top: 10px;
  width: 340px; height: 340px; border-radius: 50%;
  background: var(--mango);
}
.sun::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: #FFD48A; }
:root[data-theme="dark"] .sun { opacity: .9; }
:root[data-theme="dark"] .sun::after { background: #E9A53A; }

.tool {
  position: relative; z-index: 1;
  background: var(--surface); border: 2px solid var(--text); border-radius: var(--r-lg);
  padding: var(--s5); box-shadow: 6px 6px 0 var(--text);
}
.tool-scene { position: absolute; left: 10px; right: 10px; bottom: calc(100% + 2px); width: calc(100% - 20px); max-width: 400px; height: auto; overflow: visible; }
.scent { fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 10; opacity: .55; }
.env rect { fill: var(--white); stroke: var(--ink); stroke-width: 3; }
.env path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.tool-title { font-size: 1.5rem; }
.tool-hint { color: var(--muted); margin-top: var(--s2); font-size: 1rem; }
#check-form { margin-top: var(--s5); }
label, legend { font-weight: 700; font-size: .9688rem; }
#check-form > label { display: block; margin-bottom: var(--s2); }
.field { display: flex; gap: var(--s2); }
input[type="email"], select {
  width: 100%; min-width: 0; min-height: 52px; padding: .7rem .9rem;
  font: 400 1.0625rem/1.3 var(--sans); color: var(--text);
  background: var(--surface); border: 2px solid var(--field); border-radius: 12px;
}
input[type="email"]::placeholder { color: var(--muted); opacity: 1; }
input[type="email"]:hover, select:hover { border-color: var(--text); }
input[type="email"]:focus-visible, select:focus-visible { outline: 3px solid var(--mango); outline-offset: 1px; border-color: var(--text); }
.field .btn { flex: none; min-height: 52px; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s3); font-size: .875rem; color: var(--muted); }
.chip {
  font: 700 .8125rem/1 var(--mono); color: var(--text);
  background: var(--surface-2); border: 1.5px solid transparent; border-radius: 999px;
  padding: .55em .8em; min-height: 32px; cursor: pointer;
}
.chip:hover { border-color: var(--text); }
.cf-turnstile { margin-top: var(--s4); min-height: 65px; }

.result { margin-top: var(--s4); border-radius: var(--r); min-height: 72px; }
.result.is-empty, .result.is-loading { display: grid; place-items: center; text-align: center; border: 2px dashed var(--line); padding: var(--s4); color: var(--muted); font-size: .9375rem; }
.sniff { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; color: var(--text); }
.sniff-dots { display: inline-flex; gap: 4px; }
.sniff-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--text); opacity: .25; animation: sniff 1s infinite ease-in-out; }
.sniff-dots i:nth-child(2) { animation-delay: .15s; }
.sniff-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes sniff { 50% { opacity: 1; transform: translateY(-3px); } }

.res { border: 2px solid var(--text); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.res-head { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); }
.res-ok .res-head { background: var(--ok-bg); }
.res-bad .res-head { background: var(--bad-bg); }
.res-warn .res-head { background: var(--warn-bg); }
.res-unk .res-head { background: var(--unk-bg); }
.badge { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; color: var(--white); }
.badge svg { width: 20px; height: 20px; }
.res-ok .badge { background: var(--ok); }
.res-bad .badge { background: var(--bad); }
.res-warn .badge { background: var(--ink); color: var(--mango); }
.res-unk .badge { background: var(--muted); }
:root[data-theme="dark"] .res-ok .badge, :root[data-theme="dark"] .res-bad .badge { color: var(--ink); }
:root[data-theme="dark"] .res-warn .badge { background: var(--mango); color: var(--ink); }
:root[data-theme="dark"] .res-unk .badge { color: var(--ink); }
.res-title { font: 700 1.125rem/1.3 var(--mono); }
.res-email { font-size: .875rem; color: var(--muted); overflow-wrap: anywhere; margin-top: 2px; }
.res-reason { margin-top: var(--s1); font-size: .9688rem; }
.res-checks { list-style: none; margin: 0; padding: var(--s2) var(--s4) var(--s3); border-top: 2px solid var(--text); font-size: .9375rem; }
.res-checks li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s2); align-items: start; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.res-checks li:last-child { border-bottom: 0; }
.res-checks svg { width: 20px; height: 20px; margin-top: 2px; }
.res-checks .s-ok svg { color: var(--ok); }
.res-checks .s-bad svg { color: var(--bad); }
.res-checks .s-warn svg { color: var(--text); }
.res-checks .s-info svg, .res-checks .s-none svg { color: var(--muted); }
.res-checks b { font-weight: 700; }
.nudge { display: grid; gap: var(--s2); padding: var(--s4); background: var(--mango); color: var(--ink); border-top: 2px solid var(--text); }
.nudge p { font-size: .9688rem; }
.nudge a { font-weight: 700; display: inline-flex; align-items: center; gap: .4em; }
.res-error { display: flex; gap: var(--s3); align-items: center; padding: var(--s4); border: 2px solid var(--bad); background: var(--bad-bg); border-radius: var(--r); font-weight: 500; }
.res-error .badge { background: var(--bad); }
:root[data-theme="dark"] .res-error .badge { color: var(--ink); }
.fine { margin-top: var(--s4); font-size: .8438rem; color: var(--muted); }

.status-strip { position: relative; z-index: 1; display: grid; gap: var(--s5); margin-top: var(--s8); padding: var(--s5); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); }
.status-group { display: grid; gap: var(--s3); align-content: start; }
.status-group ul { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0; padding: 0; font-size: .9375rem; font-weight: 500; }
.status-group li { display: inline-flex; align-items: center; gap: .45em; padding: .35em .75em .35em .55em; border-radius: 999px; background: var(--surface-2); }
.status-group li::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--ok); }
.status-group + .status-group li { background: transparent; border: 1.5px dashed var(--line); }
.status-group + .status-group li::before { background: transparent; border: 2px solid var(--muted); box-sizing: border-box; }
.status-label .tag-now { color: var(--ok); }
@media (min-width: 1000px) { .status-strip { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .status-group + .status-group { border-left: 1.5px solid var(--line); padding-left: var(--s5); } }

@media (min-width: 1000px) {
  .hero { padding: var(--s8) 0 var(--s7); }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: var(--s8); }
  .hero-copy { padding-top: var(--s5); }
  .sun { right: -90px; top: -10px; width: 420px; height: 420px; }
}
@media (max-width: 520px) {
  .field { flex-direction: column; }
  .field .btn { width: 100%; }
  .perks-row { grid-template-columns: 1fr; }
  .tool { padding: var(--s4); box-shadow: 4px 4px 0 var(--text); }
  .sun { width: 240px; height: 240px; right: -70px; top: 0; }
  .hero-tool { padding-top: 70px; }
  .cta-row .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: var(--s8) 0; }
@media (min-width: 900px) { .section { padding: var(--s9) 0; } }
.section-head { max-width: 46rem; margin: 0 auto var(--s7); text-align: center; }
.section-head.left { text-align: left; margin-inline: 0; }
.sub { margin-top: var(--s4); color: var(--muted); font-size: 1.0625rem; }

.pains { display: grid; gap: var(--s5); }
@media (min-width: 860px) { .pains { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pain { position: relative; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6) var(--s5) var(--s5); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); }
.pain-n { font: 700 .8125rem/1 var(--mono); color: var(--muted); letter-spacing: .1em; }
.pain h3 { font-size: 1.1875rem; }
.pain > p { color: var(--muted); }
.fix { margin-top: auto; padding-top: var(--s4); border-top: 2px dashed var(--line); display: flex; gap: var(--s2); align-items: flex-start; font-weight: 700; }
.pain > .fix { color: var(--text); }
.fix .ico { margin-top: .2em; color: var(--text); background: var(--mango); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; color: var(--ink); }

/* Ink band */
.band-ink {
  --text: var(--cream); --muted: #D9CDB8; --line: #4D4538; --surface: #373127; --surface-2: #322D24;
  --dog-body: var(--cream); --dog-detail: var(--ink); --ok: #8FD19E; --ok-bg: #2F3A2B;
  background: var(--ink); color: var(--text);
  background-image: radial-gradient(rgba(255, 248, 234, .06) 1.2px, transparent 1.3px); background-size: 18px 18px;
}
:root[data-theme="dark"] .band-ink { background-color: #1E1B16; }
.band-ink .eyebrow .tag { color: var(--mango); }
.accuracy-grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 1000px) { .accuracy-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s8); } }
.accuracy-copy h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem); }
.ticks { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s3); }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--mango) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%2329251F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.note { margin-top: var(--s5); padding: var(--s3) var(--s4); border-left: 4px solid var(--mango); background: var(--surface); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .9688rem; }
.accuracy-visuals { display: grid; gap: var(--s7); }
@media (min-width: 640px) {
  .accuracy-visuals { gap: 0; }
  .mock-result { width: min(100%, 400px); }
  .mock-chart { width: min(100%, 330px); justify-self: end; margin-top: -170px; z-index: 1; }
}
.ch-title { font: 700 .875rem/1.3 var(--mono); margin-bottom: var(--s2); }
.ch-note { font-size: .8438rem; color: var(--muted); margin-top: var(--s2); }

/* Mockups */
.mock { margin: 0; position: relative; background: var(--surface); color: var(--text); border: 2px solid var(--text); border-radius: var(--r); padding: var(--s6) var(--s4) var(--s4); box-shadow: var(--shadow); min-width: 0; }
.mock-label {
  position: absolute; top: -.85rem; left: var(--s4);
  font: 700 .6875rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em;
  background: var(--mango); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 6px; padding: .45em .6em;
  max-width: calc(100% - 2 * var(--s4));
}
.mr-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); align-items: center; font-size: .9375rem; }
.verdict-chip { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; font-size: .875rem; padding: .3em .6em .3em .4em; border-radius: 999px; background: var(--ok-bg); color: var(--text); }
.verdict-chip svg { width: 18px; height: 18px; color: var(--ok); }
.mr-label { margin-top: var(--s4); font-size: .8125rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.mr-big { display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; }
.mr-big .mono { font-size: 2.6rem; line-height: 1.1; color: var(--mango); }
.mr-big .unit { font-size: .6em; }
.mr-range { font-size: .9375rem; color: var(--muted); }
.mock-smtp .code { white-space: pre-wrap; overflow-wrap: anywhere; }
.meter { position: relative; height: 12px; margin-top: var(--s3); background: var(--surface-2); border-radius: 99px; border: 1.5px solid var(--line); }
.meter-band { position: absolute; top: -1px; bottom: -1px; left: var(--a); width: calc(var(--b) - var(--a)); background: color-mix(in srgb, var(--mango) 55%, transparent); border-radius: 99px; }
.meter-dot { position: absolute; top: 50%; left: var(--x); width: 16px; height: 16px; translate: -50% -50%; border-radius: 50%; background: var(--mango); border: 2.5px solid var(--text); }
.meter-scale { display: flex; justify-content: space-between; font: 700 .6875rem/1 var(--mono); color: var(--muted); margin-top: var(--s2); }
.mr-n { font-size: .8438rem; color: var(--muted); margin-top: var(--s2); }
.mr-rows { margin: var(--s4) 0 0; border-top: 1.5px dashed var(--line); }
.mr-rows div { display: flex; justify-content: space-between; gap: var(--s3); padding: .45rem 0; border-bottom: 1.5px dashed var(--line); font-size: .9063rem; }
.mr-rows dt { color: var(--muted); }
.mr-rows dd { margin: 0; display: inline-flex; align-items: center; gap: .35em; font-weight: 700; }
.mr-rows dd svg { width: 16px; height: 16px; color: var(--ok); }
.mock-chart svg { width: 100%; height: auto; }
.ch-grid path { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.ch-grid .ch-faint { stroke: var(--line); stroke-dasharray: 3 5; }
.ch-diag { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 6 6; }
.ch-err path { stroke: var(--mango); stroke-width: 3; stroke-linecap: round; opacity: .55; }
.ch-pt circle { fill: var(--mango); stroke: var(--text); stroke-width: 2; }
.ch-t { fill: var(--muted); font: 700 14px var(--mono); text-anchor: middle; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); counter-reset: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); } }
.step { position: relative; padding-top: var(--s2); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--s4); border-radius: 50%; background: var(--mango); color: var(--ink); border: 2px solid var(--ink); font: 700 1.125rem/1 var(--mono); }
.step p { color: var(--muted); margin-top: var(--s2); }
@media (min-width: 860px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--s2) + 22px); left: 60px; right: -16px; border-top: 3px dotted var(--line); }
}
.mocks { display: grid; gap: var(--s7) var(--s5); margin-top: var(--s8); align-items: start; }
@media (min-width: 900px) {
  .mocks { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.api-row { display: grid; gap: var(--s6); align-items: center; margin-top: var(--s8); }
.api-copy p:not(.eyebrow) { color: var(--muted); margin-top: var(--s3); max-width: 30rem; }
.api-copy h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); }
@media (min-width: 900px) { .api-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); } }
.code { margin: 0; font: 700 .8125rem/1.7 var(--mono); white-space: pre; overflow-x: auto; color: var(--text); tab-size: 2; }
.c-us { color: var(--text); }
.c-them, .c-k { color: var(--ok); }
.c-hl { background: var(--mango); color: var(--ink); padding: 0 .2em; border-radius: 3px; }
.c-note { color: var(--muted); font-weight: 400; }
.c-s { color: var(--bad); }
.c-n { color: var(--text); }
.mock-api, .mock-smtp { background: var(--surface-2); }

/* Agent examples: tabs with JS, stacked panels under their own headings without it */
.agent-soon { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); font-size: .9375rem; }
.tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.tab { min-height: 40px; padding: .5em .9em; font: 700 .8125rem/1 var(--mono); color: var(--muted); background: transparent; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; }
.tab:hover { color: var(--text); border-color: var(--text); }
.tab[aria-selected="true"] { color: var(--surface-2); background: var(--text); border-color: var(--text); }
.tab-panel + .tab-panel { margin-top: var(--s5); }
.tab-title { font: 700 .75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tab-note { margin-top: var(--s3); font-size: .875rem; color: var(--muted); }
.tab-note .mono, .chat .mono { font-size: .9em; overflow-wrap: anywhere; }
.code-head { display: flex; align-items: center; gap: var(--s3); min-height: 36px; margin-bottom: var(--s2); }
.copy { margin-left: auto; min-height: 36px; padding: .4em .8em; font: 700 .75rem/1 var(--mono); color: var(--text); background: var(--surface); border: 1.5px solid var(--text); border-radius: var(--r-sm); cursor: pointer; }
.copy:hover { background: var(--mango); color: var(--ink); }
/* Wrapped, not scrolled: the commands stay readable on a phone, and the copy button gives the exact text. */
.agent-mock .code { white-space: pre-wrap; overflow-wrap: anywhere; }
.chat { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; gap: var(--s3); }
.chat li { display: grid; gap: var(--s1); }
.chat-who { font: 700 .6875rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.chat p { font-size: .9375rem; }
.chat .code { padding: var(--s3); background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--r-sm); }
.csv-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); font-size: .875rem; margin-bottom: var(--s3); }
.csv-sum { color: var(--muted); }
.table-scroll { overflow-x: auto; border-radius: var(--r-sm); }
.table-scroll:focus-visible { outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; }
.csv { font-size: .875rem; min-width: 520px; }
.csv th { text-align: left; font: 700 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: .6rem .5rem; border-bottom: 2px solid var(--text); }
.csv td { padding: .55rem .5rem; border-bottom: 1px dashed var(--line); white-space: nowrap; }
.csv td:first-child { font-family: var(--mono); font-weight: 700; font-size: .8125rem; }
.num { text-align: right; font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.v { display: inline-flex; align-items: center; gap: .3em; font-weight: 700; padding: .15em .5em .15em .3em; border-radius: 999px; font-size: .8125rem; }
.v svg { width: 15px; height: 15px; }
.v-ok { background: var(--ok-bg); } .v-ok svg { color: var(--ok); }
.v-warn { background: var(--warn-bg); }
.v-bad { background: var(--bad-bg); } .v-bad svg { color: var(--bad); }
.v-unk { background: var(--unk-bg); }

/* Sand band + features */
.band-sand { background: var(--surface-2); border-block: 1px solid var(--line); }
.features { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); } }
.feature { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--s3) var(--s4); padding: var(--s5); background: var(--surface); border-radius: var(--r-lg); border: 1.5px solid var(--line); }
.feature h3, .feature p { grid-column: 1 / -1; }
.feature p { color: var(--muted); }
.feature .tag { justify-self: end; color: var(--text); }
.feature .tag-now { color: var(--ok); }
.f-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mango); color: var(--ink); border: 2px solid var(--ink); }
.f-icon svg { width: 26px; height: 26px; }

/* Pricing */
.plans { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 960px) { .plans { grid-template-columns: 1fr 1.25fr 1fr; gap: var(--s5); align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6) var(--s5) var(--s5); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); }
.plan .btn { margin-top: auto; }
.plan .ticks { margin: var(--s2) 0 var(--s4); font-size: .9688rem; }
.plan-featured { border: 2px solid var(--text); box-shadow: 6px 6px 0 var(--mango), 6px 6px 0 2px var(--text); }
@media (min-width: 960px) { .plan-featured { transform: translateY(-12px); } }
.ribbon { position: absolute; top: -.9rem; left: var(--s5); font: 700 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; background: var(--ink); color: var(--cream); padding: .5em .7em; border-radius: 6px; }
:root[data-theme="dark"] .ribbon { background: var(--mango); color: var(--ink); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35em; }
.price .mono { font-size: 2.5rem; line-height: 1; }
.price .unit { font-size: .6em; }
.price-from, .price-per { color: var(--muted); font-size: .9375rem; }
.plan-for { color: var(--muted); }
.packs { font-size: .9375rem; margin-top: var(--s2); }
.packs th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: right; padding: .3rem .4rem; border-bottom: 2px solid var(--text); }
.packs th:first-child, .packs td:first-child { text-align: left; }
.packs td { padding: .5rem .4rem; border-bottom: 1px dashed var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.packs td:nth-child(2) { font-family: var(--mono); font-weight: 700; }
.packs td:last-child { color: var(--muted); }

.compare { max-width: 760px; margin: var(--s8) auto 0; }
.compare h3 { text-align: center; margin-bottom: var(--s4); }
.compare-table { font-size: .9688rem; background: var(--surface); }
@media (max-width: 520px) { .compare-table { font-size: .875rem; } .compare-table th, .compare-table td { padding: .6rem .5rem !important; } .compare-table thead th { font-size: .6875rem; } }
.compare-table th, .compare-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.compare-table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 2px solid var(--text); }
.compare-table th:first-child { text-align: left; font-weight: 500; }
.compare-table td { font-family: var(--mono); font-weight: 700; }
.compare-table .us { background: var(--mango-soft); color: var(--ink); }
.compare-table .us th { font-weight: 700; }
.compare-table .us .muted { color: #4A4237; font-weight: 400; }
:root[data-theme="dark"] .compare-table .us { background: var(--warn-bg); color: var(--text); }
:root[data-theme="dark"] .compare-table .us .muted { color: var(--muted); }
.compare .table-scroll { border: 1.5px solid var(--line); border-radius: var(--r); }
.source { margin-top: var(--s3); font-size: .8438rem; color: var(--muted); text-align: center; }

/* Founder band */
.band-mango {
  --text: var(--ink); --muted: #4A4237; --line: rgba(41, 37, 31, .25);
  --dog-body: var(--ink); --dog-detail: var(--cream);
  background: var(--mango); color: var(--ink); padding: var(--s8) 0;
  background-image: radial-gradient(rgba(41, 37, 31, .1) 1.2px, transparent 1.3px); background-size: 18px 18px;
}
@media (min-width: 900px) { .band-mango { padding: var(--s9) 0; } }
.band-mango .eyebrow { color: var(--ink); }
.band-mango .lead { color: var(--ink); }
.founder-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); align-items: start; }
@media (min-width: 960px) { .founder-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); } }
.founder-copy h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem); }
.offer { margin-top: var(--s5); padding: var(--s4) var(--s5); background: var(--ink); color: var(--cream); border-radius: var(--r); }
.offer-tag { font: 700 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--mango); }
.offer-main { font-weight: 700; font-size: 1.1875rem; margin-top: var(--s2); }
.offer-main .mono { color: var(--mango); font-size: 1.5rem; }
.offer-small { color: #D9CDB8; font-size: .9375rem; margin-top: var(--s1); }
.band-mango .ticks li::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23FFBA49' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.founder-dog { width: 200px; height: auto; margin-top: var(--s6); }
@media (max-width: 959px) { .founder-dog { display: none; } }

.form-card {
  --text: var(--ink); --muted: #635A4C; --line: #DCCFB8; --surface: var(--white); --field: #8A7F6E;
  background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-lg);
  padding: var(--s5); box-shadow: 8px 8px 0 var(--ink);
}
:root[data-theme="dark"] .form-card { --text: var(--cream); --muted: #CFC4B0; --line: #4D4538; --surface: #373127; --field: #A89B87; --dog-body: var(--cream); --dog-detail: var(--ink); background: #373127; color: var(--cream); }
@media (min-width: 640px) { .form-card { padding: var(--s6); } }
/* Turnstile "flexible" needs at least 300px of content width. */
@media (max-width: 400px) { .form-card, .tool { padding-inline: var(--s3); } }
#list-form { display: grid; gap: var(--s5); }
.form-row { display: grid; gap: var(--s2); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23635A4C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 20px; padding-right: 2.6rem; cursor: pointer; }
.choices { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.choices legend { margin-bottom: var(--s2); padding: 0; }
.choice { display: flex; align-items: center; gap: var(--s3); padding: .8rem .9rem; border: 2px solid var(--line); border-radius: 12px; font-weight: 500; cursor: pointer; min-height: 52px; }
.choice:hover { border-color: var(--text); }
.choice:has(input:checked) { border-color: var(--text); background: color-mix(in srgb, var(--mango) 35%, transparent); }
input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); }
:root[data-theme="dark"] input[type="radio"], :root[data-theme="dark"] input[type="checkbox"] { accent-color: var(--mango); }
.consent { display: flex; gap: var(--s3); align-items: flex-start; font-weight: 400; font-size: .9375rem; cursor: pointer; }
.consent input { margin-top: 2px; }
.form-card .cf-turnstile { margin-top: 0; }
#list-form .btn { width: 100%; }
.form-status:empty { display: none; }
.form-status { display: flex; gap: var(--s2); align-items: center; padding: var(--s3) var(--s4); border-radius: 12px; font-weight: 500; background: var(--bad-bg); border: 2px solid var(--bad); }
.form-status svg { width: 22px; height: 22px; color: var(--bad); flex: none; }
.form-status.is-busy { background: transparent; border-color: var(--line); }
.joined { text-align: center; padding: var(--s5) 0; }
.joined:focus { outline: none; }
.joined-dog { width: 180px; height: auto; margin: 0 auto var(--s4); }
.joined-title { display: inline-flex; align-items: center; gap: .4em; font: 700 1.5rem/1.2 var(--mono); margin-bottom: var(--s2); }
.joined-title .ico { color: var(--ok); }
.joined p:last-child { color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; gap: var(--s6); }
.faq-grid .section-head { margin-bottom: 0; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: var(--s8); } .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + var(--s6)); align-self: start; } }
.faq { border-top: 2px solid var(--text); }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  padding: var(--s4) var(--s1); cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--text);
  background: linear-gradient(var(--text), var(--text)) center / 12px 2.5px no-repeat, linear-gradient(var(--text), var(--text)) center / 2.5px 12px no-repeat;
}
.faq details[open] summary::after { background: var(--mango) linear-gradient(var(--ink), var(--ink)) center / 12px 2.5px no-repeat; border-color: var(--ink); }
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--mango); text-decoration-thickness: 3px; }
.faq details p { padding: 0 var(--s1) var(--s5); color: var(--muted); max-width: 44rem; }

/* Final */
.final { text-align: center; padding-bottom: var(--s9); overflow-x: clip; }
.final-inner { position: relative; display: grid; justify-items: center; gap: var(--s4); }
.final-inner > :not(.final-sun) { position: relative; }
.final-sun { position: absolute; top: -10px; left: 50%; width: min(300px, 56vw); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: var(--mango-soft); }
:root[data-theme="dark"] .final-sun { background: #3E372C; }
.final-scene { width: min(100%, 460px); height: auto; margin-bottom: var(--s3); overflow: visible; }
.ground { stroke: var(--text); stroke-width: 3; stroke-linecap: round; }
.mb-post { fill: var(--text); }
.mb-box { fill: var(--surface-2); stroke: var(--text); stroke-width: 4; stroke-linejoin: round; }
.mb-door { fill: none; stroke: var(--text); stroke-width: 4; }
.mb-flag { fill: var(--mango); stroke: var(--text); stroke-width: 4; stroke-linejoin: round; }
.final h2 { max-width: 32rem; }
.final .sub { margin: 0 0 var(--s3); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: var(--s7) 0 calc(var(--s7) + 72px); font-size: .9375rem; }
@media (min-width: 900px) { .site-footer { padding-bottom: var(--s7); } }
.footer-row { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .footer-row { grid-template-columns: auto 1fr; align-items: center; } .footer-row nav { justify-self: end; } .footer-note { grid-column: 1 / -1; } }
.footer-brand img { width: 144px; height: auto; }
.footer-brand p { margin-top: var(--s2); color: var(--muted); font-family: var(--mono); font-weight: 700; font-size: .875rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.site-footer nav a { padding: .25rem 0; }
.footer-note { color: var(--muted); font-size: .8438rem; }

/* Sticky CTA (mobile) */
.sticky-cta {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom));
  background: var(--ink); color: var(--cream);
  transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s;
}
.sticky-cta.is-on { transform: none; visibility: visible; transition: transform .25s ease; }
.sticky-cta p { font: 700 .875rem/1.2 var(--mono); }
.sticky-cta .btn { --b-line: var(--mango); box-shadow: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* Legal pages */
.legal { padding: var(--s7) 0 var(--s9); }
.legal .wrap { max-width: calc(46rem + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2.5vw, 3rem); margin: var(--s3) 0 var(--s4); }
.legal h2 { font-size: 1.25rem; margin: var(--s7) 0 var(--s3); padding-top: var(--s4); border-top: 2px solid var(--text); }
.legal p { margin-bottom: var(--s3); }
.legal .back { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; }
.legal .back svg { width: 18px; height: 18px; transform: scaleX(-1); }
.legal .intro { color: var(--muted); font-size: 1.125rem; }

/* Guide pages: hero plus a reading column, built from the landing's components. */
.guide-hero .wrap > * { max-width: 46rem; }
.guide-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem); }
.guide-hero .status-strip { margin-top: var(--s7); max-width: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5em; margin-bottom: var(--s5); font-size: .875rem; color: var(--muted); }
.prose { max-width: 46rem; margin-inline: auto; }
.prose > * + * { margin-top: var(--s4); }
.prose > h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin-top: var(--s8); }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin-top: var(--s6); }
.prose > .mock { margin-top: var(--s6); }
.prose > ul:not(.ticks), .prose > ol { margin-bottom: 0; padding-left: 1.3em; display: grid; gap: var(--s2); }
.prose .ticks { margin-top: var(--s4); }
.prose .compare { max-width: none; margin-top: var(--s5); }
.prose .compare-table { min-width: 560px; }
.prose .compare-table th, .prose .compare-table td { text-align: left; vertical-align: top; }
.prose .compare-table td { font-family: var(--sans); font-weight: 400; }
.prose .compare-table td.num { text-align: right; font-family: var(--mono); font-weight: 700; white-space: nowrap; }
.prose .compare-table thead th.num { text-align: right; }
.prose .source { text-align: left; }
.prose-wide { max-width: 62rem; }
.prose-wide > :not(.compare) { max-width: 46rem; margin-inline: auto; }
.prose-wide .compare-table { min-width: 760px; }
.guide-links { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
@media (min-width: 700px) { .guide-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.guide-links a { display: block; height: 100%; padding: var(--s5); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); text-decoration: none; }
.guide-links a:hover { border-color: var(--text); }
.guide-links strong { display: block; font-family: var(--mono); margin-bottom: var(--s1); }
.guide-links span { color: var(--muted); font-size: .9688rem; }
.site-footer .footer-guides { grid-column: 1 / -1; justify-self: start; padding-top: var(--s4); border-top: 1px dashed var(--line); width: 100%; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .tool-scene .scent { animation: trail 2.2s linear infinite; }
  @keyframes trail { to { stroke-dashoffset: -20; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .sniff-dots i { opacity: .6; }
}
