@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Newsreader:opsz,wght@6..72,400;6..72,600&display=swap');

:root {
  --ink: #0b1110;
  --ink-2: #101a18;
  --paper: #f1eadc;
  --paper-2: #d9d0bf;
  --teal: #43b8a7;
  --amber: #e5a936;
  --focus: #77d8ca;
  --danger: #d96755;
  --muted: #a9b2ad;
  --line: rgba(241, 234, 220, .17);
  --content-max: 76rem;
  --radius: 1rem;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(rgba(67, 184, 167, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 184, 167, .025) 1px, transparent 1px),
    var(--ink);
  background-size: 4rem 4rem;
  color: var(--paper);
  font-family: "DM Mono", monospace;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 1000; transform: translateY(-200%); background: var(--paper); color: var(--ink); padding: .75rem 1rem; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.section-shell { width: min(calc(100% - 2rem), var(--content-max)); margin-inline: auto; }

.site-header {
  width: min(calc(100% - 2rem), var(--content-max));
  margin-inline: auto;
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; gap: .75rem; align-items: center; text-decoration: none; }
.brand img { box-shadow: 0 10px 25px rgba(229, 169, 54, .15); }
.brand span { display: grid; }
.brand small { color: var(--muted); font-size: .67rem; }
.site-header nav { display: flex; align-items: center; }
.site-header nav > a:not(.button) { display: none; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; color: var(--teal); font-size: .76rem; font-weight: 500; }

.hero { min-height: calc(100dvh - 5.5rem); display: grid; align-items: center; padding-block: var(--space-6); gap: var(--space-5); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Newsreader", Georgia, serif; font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(3.25rem, 13vw, 7.6rem); line-height: .88; max-width: 12ch; }
h1 em { color: var(--amber); font-weight: 600; }
.hero__lede { max-width: 58ch; color: var(--paper-2); font-size: 1.06rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; border: 1px solid var(--amber); border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 500; text-decoration: none; padding: .75rem 1.2rem; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #f0bc57; }
.button--small { min-height: 2.75rem; padding: .55rem 1rem; }
.text-link { text-decoration-thickness: 1px; text-underline-offset: .3rem; }
.field-note { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: var(--space-4); box-shadow: var(--shadow); transform: rotate(-1.2deg); }
.field-note::before { content: ""; position: absolute; width: 4rem; height: 1rem; top: -.5rem; left: 50%; transform: translateX(-50%) rotate(1deg); background: rgba(229, 169, 54, .72); }
.field-note__number, .workflow-track span, .process-grid span { color: #397f76; font-size: .75rem; }
.field-note ul { padding-left: 1.15rem; margin-bottom: 0; }

.workflow, .friction, .proof, .process, .ai-note, .audit { padding-block: var(--space-6); border-top: 1px solid var(--line); }
.workflow h2, .friction h2, .proof h2, .process h2, .ai-note h2, .audit h2 { font-size: clamp(2.3rem, 8vw, 4.8rem); line-height: 1; max-width: 16ch; }
.workflow-track, .process-grid { list-style: none; padding: 0; margin: 3rem 0 1.5rem; display: grid; gap: 1px; background: var(--line); }
.workflow-track li, .process-grid li { background: var(--ink-2); padding: 1.5rem; min-height: 10rem; display: flex; flex-direction: column; justify-content: space-between; opacity: .56; transform: translateY(1rem); transition: opacity .35s ease, transform .35s ease, background .35s ease; }
.workflow-track li:hover { background: #14231f; }
.workflow-track li.is-visible { opacity: 1; transform: none; }
.workflow-track strong { font-family: "Newsreader", Georgia, serif; font-size: 1.75rem; }
.workflow-track small { color: var(--muted); }
.annotation { color: var(--muted); font-size: .78rem; }
.friction-grid, .proof-grid { display: grid; gap: 1rem; }
.friction-grid article, .proof-grid article { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: linear-gradient(145deg, rgba(255, 255, 255, .035), transparent); }
.friction-grid article { position: relative; overflow: hidden; }
.friction-grid article::after { content: ""; position: absolute; width: 6rem; height: 6rem; right: -3rem; bottom: -3rem; border: 1px solid rgba(67, 184, 167, .2); border-radius: 50%; }
.friction-grid span, .proof-tag { color: var(--amber); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.proof-grid { margin-block: 3rem 2rem; }
.proof-grid h3 { font-family: "Newsreader", Georgia, serif; font-size: 2rem; margin-bottom: .6rem; }
.process-grid li { opacity: 1; transform: none; }
.process-grid h3 { margin: 2.5rem 0 .75rem; }
.process-grid p { color: var(--muted); margin-bottom: 0; }
.ai-note { display: grid; gap: 2rem; }
.ai-note > div:last-child { border-left: 3px solid var(--amber); padding-left: 1.5rem; color: var(--paper-2); }

.audit { display: grid; gap: 3rem; }
.audit__intro > a { color: var(--teal); }
.audit form { display: grid; gap: 1rem; background: var(--paper); color: var(--ink); padding: 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.field { display: grid; gap: .35rem; }
.field label { font-size: .8rem; font-weight: 500; }
.field label span { color: #5e6964; font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 3rem; border: 1px solid #9c9a91; border-radius: .6rem; background: #fffdf6; color: var(--ink); padding: .75rem; }
.field input:focus, .field textarea:focus { border-color: #2a756b; }
.field textarea { min-height: 8rem; resize: vertical; }
.field-error { min-height: 1.2rem; color: #9e2f20; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.consent { display: grid; grid-template-columns: 1.25rem 1fr; gap: .75rem; align-items: start; font-size: .78rem; }
.consent input { width: 1.25rem; height: 1.25rem; accent-color: #2a756b; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#form-status { min-height: 1.5rem; margin: 0; }
.site-footer { display: grid; gap: 1.5rem; padding-block: 3rem; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer div:nth-child(2) { display: grid; gap: .35rem; }
.policy { min-height: 70vh; padding-block: var(--space-6); }
.policy h1 { font-size: clamp(3rem, 9vw, 6rem); }
.policy section { max-width: 50rem; border-top: 1px solid var(--line); padding-block: 2rem; }
.policy section h2 { font-size: 1.4rem; color: var(--amber); }

@media (min-width: 48rem) {
  .site-header nav { display: flex; gap: 1rem; align-items: center; }
  .site-header nav > a:not(.button) { display: inline; font-size: .75rem; text-decoration: none; }
  .hero { grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr); }
  .workflow-track { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .workflow-track li { min-width: 0; overflow-wrap: anywhere; }
  .friction { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
  .friction-grid, .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-note, .audit { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
  .audit form { padding: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide, .consent, .audit form > .field-error, .audit form > .button, #form-status { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { grid-column: 1 / -1; }
}

@media (min-width: 72rem) {
  .section-shell, .site-header { width: min(calc(100% - 5rem), var(--content-max)); }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .hero { gap: 7rem; }
  .workflow, .friction, .proof, .process, .ai-note, .audit { padding-block: 8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .workflow-track li { opacity: 1; transform: none; }
}
