/* Brain Otter — public site. Light theme only. The accent, focus ring and spacing come from the one token file (tokens.css, a synced copy of
   shared/tokens.css, D-500); the warm paper palette and display face below are the site's own and are listed in the design-token baseline. */
@import url("tokens.css");

:root {
  --paper: #faf7f2;
  --paper-deep: #f2ede4;
  --card: #ffffff;
  --ink: #1c2321;
  --ink-soft: #4a5450;
  --line: #ded7cb;
  --accent-ink: #154d40;   /* the site's dark green text; the token file's --accent-ink is white and is not used here */
  --accent-wash: #e4efe9;
  --cream: #f3e9da;
  --radius: 10px;
  --wrap: 1080px;
  --gutter: 16px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 10;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-variation-settings: "SOFT" 50, "opsz" 96; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-variation-settings: "SOFT" 50; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* Header */
.site-header { border-bottom: 1.5px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; }
.signin {
  font-weight: 700; font-size: 0.95rem; text-decoration: none; color: var(--accent);
  border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 16px;
}
.signin:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr 1fr; gap: 56px; } .hero { padding: 88px 0 96px; } }
.eyebrow { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.note {
  display: inline-flex; gap: 10px; align-items: flex-start; margin-top: 12px;
  background: var(--accent-wash); color: var(--accent-ink); border-radius: var(--radius);
  padding: 10px 14px; font-size: 0.95rem;
}
.note svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }

/* Example card in the hero */
.example {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 22px; box-shadow: 0 18px 40px -24px rgba(28, 35, 33, 0.35);
}
.example-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.example-kind { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.example-tag { font-size: 0.75rem; color: var(--ink-soft); border: 1.5px solid var(--line); border-radius: 999px; padding: 1px 10px; }
.example-title { font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.25; margin: 0 0 16px; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.steps-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 9px 0; border-top: 1.5px dashed var(--line); font-size: 0.98rem; }
.steps-list li:first-child { border-top: 0; }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin-top: 2px; }
.tick svg { width: 12px; height: 12px; }
.steps-list small { display: block; color: var(--ink-soft); font-size: 0.85rem; }

/* Sections */
.band { padding: 72px 0; border-top: 1.5px solid var(--line); }
.band.alt { background: var(--paper-deep); }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

.features { display: grid; gap: 16px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { margin-bottom: 0.35em; }
.feature p { color: var(--ink-soft); margin: 0; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-wash); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }

.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: how; }
@media (min-width: 860px) { .how { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.how li { counter-increment: how; border-top: 2px solid var(--ink); padding-top: 18px; }
.how li::before {
  content: counter(how, decimal-leading-zero); display: block;
  font-family: var(--display); font-weight: 600; font-size: 2.4rem; line-height: 1; color: var(--accent); margin-bottom: 12px;
}
.how p { color: var(--ink-soft); margin: 0; }

.closing { padding: 72px 0 80px; border-top: 1.5px solid var(--line); }
.closing .wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .closing .wrap { grid-template-columns: auto 1fr; gap: 36px; } }
.closing svg.otter-lg { width: 120px; height: 120px; }
.closing p { color: var(--ink-soft); max-width: 38em; margin: 0; }

/* Legal pages */
.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2em; font-variation-settings: normal; }
.doc .effective { color: var(--ink-soft); font-style: italic; }
.doc ul { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 0.35em; }
.table-scroll { overflow-x: auto; margin: 0 0 1.2em; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); }
.doc table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1.5px solid var(--line); }
.doc tr:last-child td { border-bottom: 0; }
.doc th { background: var(--paper-deep); font-weight: 700; }
.doc .back { display: inline-block; margin-bottom: 20px; font-weight: 700; text-decoration: none; }
.doc .back:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--ink); color: #d9dfdc; padding: 44px 0 36px; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: grid; gap: 22px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 18px; display: grid; gap: 4px; color: #b9c2be; }
.foot-legal p { margin: 0; }
