/* Picked by Robots — directory yellow + ink. One family (Archivo), width axis does the talking. */
:root {
  --yellow: #FFD200;
  --yellow-deep: #F2B800;
  --ink: #1A2238;
  --ink-soft: #46506A;
  --paper: #FFFFFF;
  --mist: #F3F5F9;
  --line: rgba(26, 34, 56, 0.18);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --narrow: 68%;
  --semi: 85%;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(2rem, 4vw, 2.75rem);
  --step-4: clamp(2.75rem, 7.2vw, 5.25rem);

  --space: clamp(4rem, 9vw, 7rem);
  --wrap: 72rem;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; line-height: 1.02; font-weight: 800; font-stretch: var(--narrow); }
p { margin: 0; }
a { color: inherit; text-underline-offset: 0.18em; }

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

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow > * { max-width: 44rem; }

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 1rem; }

/* Header */
.site-header { background: var(--yellow); }
.header-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.1rem; }
.wordmark {
  font-weight: 900; font-stretch: 62%; font-size: 1.75rem; letter-spacing: 0.01em;
  text-decoration: none; line-height: 1;
}

/* Buttons */
.button {
  display: inline-block;
  font: inherit; font-weight: 700; font-stretch: var(--semi); font-size: var(--step-1);
  color: var(--yellow); background: var(--ink);
  padding: 0.85rem 1.4rem; border: 0; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
}
.button:hover { background: #000; }
.button-small { font-size: var(--step--1); padding: 0.55rem 0.95rem; }

/* Hero */
.hero { background: var(--yellow); padding-block: clamp(2.5rem, 6vw, 5rem) var(--space); }
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }

.hero h1 { font-size: var(--step-4); font-weight: 900; font-stretch: 62%; letter-spacing: -0.005em; max-width: 14ch; }
.lede { margin-block: 1.5rem 2rem; font-size: var(--step-1); max-width: 34rem; }

/* Then / Now — the one memorable thing */
.then-now { display: grid; gap: 1rem; }
.then-now figure { margin: 0; border-radius: var(--radius); }
.then-now figcaption {
  font-weight: 700; font-stretch: var(--semi); font-size: var(--step--1);
  margin-bottom: 0.6rem;
}

.mismatch {
  background: var(--paper);
  padding: 1.15rem 1.25rem 1.3rem;
  box-shadow: 0 1px 0 var(--yellow-deep), 0 18px 40px -22px rgba(26, 34, 56, 0.45);
}
.mismatch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.mismatch li { display: flex; align-items: baseline; gap: 0.75rem; padding-block: 0.3rem; border-bottom: 1px solid var(--line); }
.mismatch li:last-child { border-bottom: 0; }
.mismatch .tag {
  flex: 0 0 auto; font-weight: 700; font-stretch: var(--semi); font-size: var(--step--1);
  background: var(--mist); color: var(--ink-soft); padding: 0.15rem 0.5rem; border-radius: 999px;
}
.mismatch .fact { font-size: 0.95rem; color: var(--ink-soft); }
.mismatch .fact-missing { color: #9AA3B5; font-style: italic; }
.mismatch .fact-warn { color: #C23B2E; font-weight: 600; }

.ai-answer {
  background: var(--paper);
  padding: 1.15rem 1.25rem 1.3rem;
  box-shadow: 0 1px 0 var(--yellow-deep), 0 18px 40px -22px rgba(26, 34, 56, 0.45);
}
.ask {
  margin-left: auto; width: fit-content; max-width: 85%;
  background: var(--mist); padding: 0.55rem 0.85rem; border-radius: 14px 14px 4px 14px;
  font-size: var(--step--1);
}
.reply { margin-top: 0.85rem; font-size: 1.05rem; }
.reply strong { background: var(--yellow); padding-inline: 0.2rem; font-weight: 700; }

/* Sections */
.section { padding-block: var(--space); }
.section-rule { border-top: 1px solid var(--line); }
.section h2, .contact h2 { font-size: var(--step-3); margin-bottom: 2.25rem; }
.section h3 { font-size: var(--step-2); margin-bottom: 0.6rem; }
.section p { color: var(--ink-soft); max-width: 36rem; }

.pillars { display: grid; gap: 2rem 3rem; }
@media (min-width: 48rem) { .pillars { grid-template-columns: repeat(3, 1fr); } .pillars-2 { grid-template-columns: repeat(2, 1fr); } }
.pillars article { border-top: 4px solid var(--yellow); padding-top: 1.1rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 3rem; counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block; font-weight: 900; font-stretch: 62%; font-size: 3.5rem; line-height: 1;
  color: var(--yellow-deep); margin-bottom: 0.5rem;
}

/* FAQ */
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-weight: 700; font-stretch: var(--semi); font-size: var(--step-1);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  font-weight: 400; font-size: 1.75rem; line-height: 1;
}
details[open] summary::after { content: "\2212"; }
details p { padding-bottom: 1.25rem; }

/* Contact */
.contact { background: var(--ink); color: var(--paper); padding-block: var(--space); }
.contact-grid { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.contact h2 { color: var(--yellow); margin-bottom: 1rem; }
.contact-grid > div > p { font-size: var(--step-1); max-width: 28rem; color: #D9DEEA; }

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-stretch: var(--semi); }
.optional { font-weight: 400; color: #AAB2C5; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid transparent; border-radius: var(--radius);
  padding: 0.75rem 0.85rem; width: 100%;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #FF8A7A; }
.contact .button { color: var(--ink); background: var(--yellow); justify-self: start; }
.contact .button:hover { background: #FFE14D; }
.contact :focus-visible { outline-color: var(--yellow); }
.fineprint { font-size: var(--step--1); color: #AAB2C5; }
.hp { display: none; }

/* Footer */
.site-footer { background: var(--ink); color: #AAB2C5; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.5rem; font-size: var(--step--1); }
.site-footer :focus-visible { outline-color: var(--yellow); }
.parent a { display: inline-flex; align-items: center; gap: 0.4rem; color: #fff; vertical-align: middle; }
/* Logo is black on white; invert and screen it so it reads white on the dark footer */
.parent img { filter: invert(1); mix-blend-mode: screen; }

/* Simple pages (thanks, 404) */
.simple { min-height: 100vh; display: grid; place-items: center; background: var(--yellow); padding: 2rem 1.25rem; }
.simple-box { max-width: 34rem; }
.simple h1 { font-size: var(--step-4); font-weight: 900; font-stretch: 62%; margin-bottom: 1rem; }
.simple p { font-size: var(--step-1); margin-bottom: 2rem; }
