/* ---------------------------------------------------------------------------
   Sample Bot — shared stylesheet

   Filename is versioned on purpose. A cached copy of the old stylesheet made
   the site render unstyled once, which is far worse than it sounds: an inline
   <svg> with no CSS expands to its default replaced size, so the page came up
   as a giant checkmark. A new filename can never be served stale.

   Self-contained by necessity: the CSP forbids external hosts, so no webfonts
   and no CDN.
   --------------------------------------------------------------------------- */

:root {
  --bg: #0e1014;
  --panel: #171a21;
  --panel-hi: #1e222b;
  --line: #272b36;
  --line-hi: #363b49;
  --text: #f2f3f7;
  --muted: #9aa0b0;
  --faint: #6b7183;

  /* Taken from the logo: the cookie itself, and its sky gradient. */
  --cookie: #f0c483;
  --cookie-deep: #e5a85f;
  --chip: #5b4430;
  --sky-a: #c3e59a;
  --sky-b: #63a4ee;

  --accent: #63a4ee;
  --accent-hi: #8fc0f6;
  --green: #7fc96a;
  --red: #ef6a6f;

  --radius: 18px;
  --maxw: 900px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fcfcfd;
    --panel: #ffffff;
    --panel-hi: #f6f7fa;
    --line: #e5e7ee;
    --line-hi: #d0d4e0;
    --text: #12151c;
    --muted: #565d6e;
    --faint: #848b9d;
    --accent: #2b7fd4;
    --accent-hi: #1f6ec0;
    --green: #3f9a2d;
    --red: #d23f45;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The logo's own sky gradient, bled softly behind the header. */
body::before {
  content: "";
  position: fixed;
  inset: -280px -10% auto -10%;
  height: 760px;
  background:
    radial-gradient(560px 300px at 26% 62%, rgba(195, 229, 154, 0.16), transparent 70%),
    radial-gradient(620px 320px at 74% 42%, rgba(99, 164, 238, 0.20), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

@media (prefers-color-scheme: light) {
  body::before {
    background:
      radial-gradient(560px 300px at 26% 62%, rgba(140, 200, 90, 0.16), transparent 70%),
      radial-gradient(620px 320px at 74% 42%, rgba(99, 164, 238, 0.20), transparent 72%);
  }
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 90px;
}

/* ── header ───────────────────────────────────────────────────────────── */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 660;
  letter-spacing: -0.015em;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: block;
  box-shadow: 0 6px 20px rgba(99, 164, 238, 0.28);
}

nav.top { display: flex; gap: 3px; flex-wrap: wrap; }

nav.top a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.15s ease, background 0.15s ease;
}

nav.top a:hover,
nav.top a[aria-current="page"] { color: var(--text); background: var(--panel); }

/* ── hero ─────────────────────────────────────────────────────────────── */

.hero {
  padding: 64px 0 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.hero-art {
  width: 148px;
  height: 148px;
  border-radius: 34px;
  display: block;
  box-shadow: 0 22px 50px -12px rgba(99, 164, 238, 0.45);
}

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 26px; padding-top: 44px; }
  .hero-art { width: 104px; height: 104px; border-radius: 26px; order: -1; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 520;
  margin-bottom: 22px;
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(127, 201, 106, 0.2);
}

h1 {
  font-size: clamp(33px, 6vw, 50px);
  line-height: 1.07;
  letter-spacing: -0.033em;
  margin: 0 0 18px;
  font-weight: 700;
}

.grad {
  background: linear-gradient(100deg, var(--sky-a), var(--sky-b) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-color-scheme: light) {
  .grad { background: linear-gradient(100deg, #6aa83c, #2b7fd4 70%); -webkit-background-clip: text; background-clip: text; }
}

.lede {
  font-size: clamp(16.5px, 2.3vw, 18.5px);
  color: var(--muted);
  margin: 0;
  max-width: 60ch;
}

h2 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--faint);
  font-weight: 660;
  margin: 56px 0 20px;
}

h3 { font-size: 17px; letter-spacing: -0.012em; margin: 0 0 8px; font-weight: 630; }

p { margin: 0 0 14px; color: var(--muted); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 630; }

a { color: var(--accent-hi); text-decoration-thickness: 1px; text-underline-offset: 2px; }
@media (prefers-color-scheme: light) { a { color: var(--accent-hi); } }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.87em;
  background: var(--panel-hi);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
}

/* ── cards ────────────────────────────────────────────────────────────── */

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
}

.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.step:hover { border-color: var(--line-hi); transform: translateY(-2px); }

/* A chocolate chip as the step marker, tying the numbering to the logo. */
.step .n {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: linear-gradient(160deg, var(--cookie), var(--cookie-deep));
  color: var(--chip);
  font-size: 13.5px;
  font-weight: 720;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.step p { font-size: 14.5px; margin: 0; }

/* ── trust comparison ─────────────────────────────────────────────────── */

.compare {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}

.compare .card { padding: 22px 24px; }

.compare h3 { display: flex; align-items: center; gap: 9px; font-size: 15px; margin-bottom: 14px; }
.compare h3 svg { width: 17px; height: 17px; flex: none; }
.yes h3 { color: var(--green); }
.no h3 { color: var(--red); }

.compare ul { list-style: none; margin: 0; padding: 0; }

.compare li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 14.5px;
}

.compare li:last-child { margin-bottom: 0; }
.compare li::before { position: absolute; left: 0; top: -1px; font-weight: 700; }
.yes li::before { content: "✓"; color: var(--green); }
.no li::before { content: "✕"; color: var(--red); font-size: 13px; top: 0; }

/* ── callout ──────────────────────────────────────────────────────────── */

.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cookie);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 24px;
}

.callout .ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--cookie), var(--cookie-deep));
  color: var(--chip);
  flex: none;
}

.callout .ico svg { width: 19px; height: 19px; }
.callout p { font-size: 14.5px; }

/* ── legal documents ──────────────────────────────────────────────────── */

.doc-head { padding: 54px 0 28px; }

.stamp {
  display: inline-block;
  font-size: 12.5px;
  color: var(--faint);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.doc-head h1 { font-size: clamp(30px, 5vw, 42px); margin-bottom: 12px; }

.section {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 18px;
  align-items: start;
}

.section:last-of-type { border-bottom: 1px solid var(--line); }

.section .num {
  font-size: 13px;
  font-weight: 680;
  color: var(--cookie);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}

@media (prefers-color-scheme: light) { .section .num { color: var(--cookie-deep); } }

.section h3 { grid-column: 2; }
.section .body { grid-column: 2; }

.section ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.section li { margin-bottom: 7px; }
.section li:last-child { margin-bottom: 0; }

dl.terms { margin: 0; }
dl.terms dt { color: var(--text); font-weight: 630; margin-top: 16px; font-size: 15px; }
dl.terms dt:first-child { margin-top: 0; }
dl.terms dd { margin: 5px 0 0; color: var(--muted); font-size: 15px; }

.tldr {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
}

.tldr h3 { color: var(--green); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── footer ───────────────────────────────────────────────────────────── */

footer.site {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

footer.site .links { display: flex; gap: 18px; flex-wrap: wrap; }

footer.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

footer.site a:hover { color: var(--text); }

footer.site .fine { color: var(--faint); font-size: 13px; max-width: 46ch; line-height: 1.55; }

:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 560px) {
  .wrap { padding: 0 18px 64px; }
  .section { grid-template-columns: 1fr; gap: 6px; }
  .section .num { padding-top: 0; }
  .section h3, .section .body { grid-column: 1; }
  h2 { margin-top: 44px; }
}
