/* The ONE public stylesheet (spec §5.6, T58). Neutral palette only: #1E293B (ink) and #2563EB
   (accent) are the fork's two brand colours, they are spelled ONCE each in :root below, and
   every other value on this page derives from them - rgba() tints, white, and nothing else.
   Anchor's navy is a leak and noAnchorNavy's scan covers this file. No emoji, no icon font, no
   webfont fetch, no url() of any kind, no @import: the public pages make zero third-party
   requests, which is also why they need no cookie banner. Served RAW by publicRouter, so this
   file carries no {{TOKEN}}. */

:root {
  --ink: #1E293B;
  --accent: #2563EB;

  /* Derived surfaces. Everything below is the pair, thinned. */
  --paper: #fff;
  --ink-92: rgba(30, 41, 59, .92);
  --ink-72: rgba(30, 41, 59, .72);
  --ink-58: rgba(30, 41, 59, .58);
  --rule: rgba(30, 41, 59, .14);
  --rule-soft: rgba(30, 41, 59, .09);
  --tint: rgba(30, 41, 59, .04);
  --tint-accent: rgba(37, 99, 235, .08);
  --accent-line: rgba(37, 99, 235, .35);
  --on-dark: rgba(255, 255, 255, .92);
  --on-dark-soft: rgba(255, 255, 255, .68);
  --on-dark-rule: rgba(255, 255, 255, .16);

  /* Measure. --wrap is the page frame, --prose the reading column. */
  --wrap: 72rem;
  --prose: 46rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --bay: clamp(3rem, 8vw, 6rem);

  /* Type scale: 16px base, ratio 1.25. */
  --step--1: .8rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: 1.9531rem;
  --step-4: 2.4414rem;
  --h1: clamp(2.4414rem, 1.55rem + 3.7vw, 3.8147rem);
  --h2: clamp(1.9531rem, 1.55rem + 1.7vw, 2.4414rem);
  --lede: clamp(1.125rem, 1.02rem + .5vw, 1.3125rem);

  --radius: .5rem;
  --radius-sm: .35rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: var(--step-0)/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.018em; margin: 0; font-weight: 700; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--step-2); letter-spacing: -.012em; }
h4 { font-size: var(--step-1); letter-spacing: -.008em; }
p { margin: 0; }
p + p { margin-top: 1rem; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { color: rgba(37, 99, 235, .78); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: rgba(255, 255, 255, .8); }

/* ---------- frame -------------------------------------------------------- */

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

/* The narrow variant is the reading column: docs, thanks, demo - one measure, centred. */
.wrap.narrow { max-width: 52rem; }

.prose { max-width: var(--prose); }

.section { padding-block: var(--bay); }
.section.tint { background: var(--tint); }
.section.dark { background: var(--ink); color: var(--on-dark); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark a { color: rgba(255, 255, 255, .95); }
.section.dark a:hover { color: #fff; }
.section + .section.tint, .section.tint + .section { border-top: 1px solid var(--rule-soft); }

[id] { scroll-margin-top: 4.5rem; }

/* An eyebrow rule rather than an eyebrow word: the section keeps its own copy. */
.section-head { max-width: var(--prose); }
.section-head::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}
.section.dark .section-head::before { background: rgba(255, 255, 255, .55); }
.section-head p { margin-top: 1rem; font-size: var(--step-1); color: var(--ink-72); }
.section.dark .section-head p { color: var(--on-dark-soft); }

/* ---------- header ------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.wordmark {
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: .1em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.site-footer .wordmark { color: #fff; }

.site-nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-size: var(--step-0);
}
.site-nav a {
  color: var(--ink-72);
  text-decoration: none;
  padding-block: .35rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent-line); }
.site-header .button { margin-left: 1.75rem; }

/* ---------- buttons ------------------------------------------------------ */

button, .button {
  font: inherit;
  font-weight: 600;
  display: inline-block;
  padding: .7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
button:hover, .button:hover { background: rgba(37, 99, 235, .88); color: #fff; }
button[disabled] { opacity: .55; cursor: default; }

.button.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.button.ghost:hover { background: var(--tint); color: var(--ink); border-color: var(--ink-58); }
.dark .button.ghost { color: #fff; border-color: rgba(255, 255, 255, .38); }
.dark .button.ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }

/* ---------- hero --------------------------------------------------------- */

.hero {
  background:
    radial-gradient(60rem 32rem at 82% -12%, rgba(37, 99, 235, .38), rgba(37, 99, 235, 0) 62%),
    var(--ink);
  padding-block: clamp(3.75rem, 10vw, 7.5rem);
}
.hero h1 { max-width: 20ch; }
.hero .lede {
  margin-top: 1.5rem;
  max-width: 54ch;
  font-size: var(--lede);
  color: var(--on-dark-soft);
}

/* ---------- glyphs ------------------------------------------------------- */

.glyph {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.glyph .solid { fill: var(--tint-accent); stroke: none; }

.figure {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  place-items: center;
}
.diagram {
  width: 100%;
  max-width: 20rem;
  height: auto;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.diagram .faint { stroke: var(--rule); }
.diagram .fill-soft { fill: var(--tint-accent); stroke: none; }
.diagram .fill-accent { fill: var(--accent); stroke: none; }

/* ---------- pillars ------------------------------------------------------ */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 1.75rem;
  display: grid;
  gap: .85rem;
  align-content: start;
}
.card h3 { margin-top: .35rem; }
.card p { color: var(--ink-72); }

/* ---------- product tour ------------------------------------------------- */

.tour { display: grid; gap: clamp(3rem, 6vw, 4.5rem); margin-top: 3.5rem; }
.tour-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.tour-block:nth-child(even) .tour-copy { order: 2; }
.tour-block h3 + .claims { margin-top: 1.25rem; }

.claims { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.claims li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-72);
}
.claims li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- steps -------------------------------------------------------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.step { counter-increment: step; display: grid; gap: .6rem; align-content: start; }
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: var(--step-0);
  margin-bottom: .35rem;
}
.step h3 { font-size: var(--step-1); }
.step p { color: var(--ink-72); }
.section.dark .step p { color: var(--on-dark-soft); }

.notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3.25rem; }
.note {
  border-left: 3px solid var(--accent);
  padding: .35rem 0 .35rem 1.25rem;
  color: var(--ink-72);
}
.section.dark .note { border-left-color: rgba(255, 255, 255, .55); color: var(--on-dark-soft); }

/* ---------- definition rows --------------------------------------------- */

.rows { margin: 3rem 0 0; display: grid; }
.rows > div {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: .5rem 2.5rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--rule);
}
.rows > div:last-child { border-bottom: 1px solid var(--rule); }
.rows dt { font-weight: 650; }
.rows dd { margin: 0; color: var(--ink-72); }
.section.dark .rows > div { border-top-color: var(--on-dark-rule); }
.section.dark .rows > div:last-child { border-bottom-color: var(--on-dark-rule); }
.section.dark .rows dt { color: #fff; }
.section.dark .rows dd { color: var(--on-dark-soft); }

/* ---------- pricing + roadmap ------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.price-line {
  font-size: var(--step-2);
  line-height: 1.3;
  letter-spacing: -.012em;
  max-width: 22ch;
}
.roadmap { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; }
.roadmap li {
  padding-block: .85rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-72);
}
.roadmap li:last-child { border-bottom: 1px solid var(--rule); }
.label {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--ink-58);
}

/* ---------- FAQ (native details, no script) ------------------------------ */

.faq { margin-top: 2.5rem; max-width: var(--prose); }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 2.5rem 1.35rem 0;
  position: relative;
  font-weight: 650;
  font-size: var(--step-1);
  letter-spacing: -.008em;
}
.faq summary::-webkit-details-marker { display: none; }
/* The open/closed indicator is drawn from two borders, never a glyph (§5 rendering rule). */
.faq summary::after {
  content: "";
  position: absolute;
  right: .5rem;
  top: 1.9rem;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 2.15rem; }
.faq summary:hover { color: var(--accent); }
.faq .answer { padding: 0 2.5rem 1.5rem 0; color: var(--ink-72); max-width: 62ch; }

/* ---------- forms -------------------------------------------------------- */

form.card { gap: 1rem; padding: clamp(1.5rem, 4vw, 2rem); }
.section.dark form.card { background: var(--paper); color: var(--ink); border-color: transparent; }

label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--ink-72); }

input, textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  padding: .6rem .7rem;
  border: 1px solid rgba(30, 41, 59, .28);
  border-radius: var(--radius-sm);
  background: var(--paper);
  width: 100%;
}
input:focus, textarea:focus { border-color: var(--accent); }
textarea { min-height: 5.5rem; resize: vertical; }

/* The honeypot. A real human never sees it and never tabs into it, so a filled value is a bot
   - which is exactly what the instance-side validator concludes from the same field name. The
   page also carries display:none inline, so this rule and that attribute are two belts. */
.hp { display: none; }

.form-bay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.foot { margin-top: 1.25rem; font-size: .875rem; color: var(--ink-58); }
.section.dark .foot { color: var(--on-dark-soft); }
.lede { font-size: var(--lede); color: var(--ink-72); }
.section.dark .lede { color: var(--on-dark-soft); }

/* ---------- footer ------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--on-dark-soft);
  border-top: 1px solid var(--on-dark-rule);
  padding-block: 2.5rem;
  font-size: .9rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; }
.site-footer a { color: var(--on-dark); }
.site-footer .spacer { margin-left: auto; }

/* ---------- long-form documents (docs, demo, thanks) --------------------- */

.doc h2 { font-size: var(--step-2); margin-top: 3rem; }
.doc h3 { font-size: var(--step-1); margin-top: 2rem; }
.doc p, .doc ul { margin-top: 1rem; }

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .875em;
}
code { background: var(--tint); padding: .1em .35em; border-radius: .25rem; }

/* Anything intrinsically wide scrolls inside its own box - the page itself never does. */
pre, .scroll {
  background: var(--tint);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  overflow-x: auto;
  margin-top: 1.25rem;
}
pre code { background: none; padding: 0; }
.scroll { padding: 0; background: none; border: 0; }

table { border-collapse: collapse; width: 100%; margin: .5rem 0 0; }
th, td {
  text-align: left;
  padding: .55rem .7rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
th {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-58);
}

/* ---------- responsive floor (no horizontal scroll at 360px) ------------- */

@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .rows > div { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: .4rem 1.5rem; }
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  .site-header .button { margin-left: auto; padding: .55rem 1rem; }
  .pillars, .steps, .notes, .split, .form-bay { grid-template-columns: minmax(0, 1fr); }
  .tour-block { grid-template-columns: minmax(0, 1fr); }
  .tour-block:nth-child(even) .tour-copy { order: 0; }
  .rows > div { grid-template-columns: minmax(0, 1fr); }
  .cta-row .button { width: 100%; }
  .site-footer .spacer { margin-left: 0; }
}

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