/* ============================================================
   Circle 8 AI — "The Invisible Storefront", print edition
   Cream paper carries the page; felt green is the accent held
   for the hero, the phone scene, the founder, and the footer.
   Type: Big Shoulders Display (industrial-signage grotesque) headlines,
   Newsreader serif body, IBM Plex Mono for ledger labels and eyebrows.
   Mark: an 8 in a thick ink ring on cream. No glow, ever.
   ============================================================ */

:root {
  --paper: #F4F0E6;
  --paper-dim: #EAE4D3;
  --ink: #16130C;
  --ink-soft: #4E4A3E;
  --ink-faint: #8B8574;
  --felt: #0C3327;
  --felt-deep: #092A20;
  --rail: #071F18;
  --cue: #F3EFE4;
  --cue-dim: #C9C4B4;
  --chalk: #6FA8C9;
  --chalk-deep: #2E6E94;
  --eight: #0D0D10;
  --line-dark: rgba(243, 239, 228, 0.16);
  --line-light: rgba(22, 19, 12, 0.16);
  --shadow: #041510;

  --font-display: "Big Shoulders Display", "Arial Narrow", Arial, sans-serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* faint paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.hidden { display: none !important; }

::selection { background: var(--chalk); color: var(--eight); }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--chalk-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
.dark :focus-visible, .hero :focus-visible, .sim :focus-visible { outline-color: var(--chalk); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- type ---------- */

.h2 {
  font-family: var(--font-display);
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  max-width: 22ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.hero .eyebrow, .sim .eyebrow, .founder .eyebrow, .oracle .eyebrow { color: var(--cue-dim); }

.mono { font-family: var(--font-mono); letter-spacing: 0.01em; }

.link { color: var(--chalk-deep); text-underline-offset: 3px; }
.sim .link, .founder .link, .intake__pitch .link { color: var(--chalk); }

/* ---------- buttons: tactile, zero glow ---------- */

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 14px 28px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 rgba(22, 19, 12, 0.35);
}
.btn:active {
  transform: translate(0, 0);
  box-shadow: 1px 1px 0 rgba(22, 19, 12, 0.35);
}

/* dark-section buttons flip to cream */
.hero .btn, .sim .btn, .intake .btn {
  background: var(--cue);
  color: var(--eight);
  border-color: var(--rail);
}
.hero .btn:hover, .sim .btn:hover, .intake .btn:hover { box-shadow: 4px 4px 0 var(--shadow); }

.btn--ghost {
  background: transparent;
  color: var(--cue);
  border: 1px solid var(--line-dark);
}
.btn--ghost:hover { border-color: var(--cue); box-shadow: 4px 4px 0 var(--shadow); }

.btn--small { padding: 9px 18px; font-size: 0.9rem; }

/* ---------- the mark: 8 in a thick ink ring on cream ---------- */

.mark {
  --size: 36px;
  --ring: calc(var(--size) * 0.085);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--paper);
  border: var(--ring) solid var(--ink);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  font-family: var(--font-display);
  font-stretch: 80%;
  font-weight: 900;
  font-size: calc(var(--size) * 0.5);
  line-height: 1;
  flex: none;
}
.mark--hero {
  --size: clamp(72px, 10vw, 130px);
  background: transparent;
  border-color: var(--cue);
  color: var(--cue);
  transform: rotate(8deg);
}
.mark--big {
  --size: clamp(140px, 16vw, 200px);
  background: transparent;
  border-color: var(--cue);
  color: var(--cue);
}
.mark--foot {
  background: transparent;
  border-color: var(--cue);
  color: var(--cue);
}
.mark--oracle { --size: clamp(110px, 14vw, 150px); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 240, 230, 0.9);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid var(--line-light);
}
.nav__row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
}
.nav__name {
  font-family: var(--font-display);
  font-stretch: 76%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.16rem;
  letter-spacing: 0.03em;
}
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav .btn--small {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.nav .btn--small:hover { box-shadow: 4px 4px 0 rgba(22, 19, 12, 0.3); }

/* ---------- hero (felt green — the brand moment) ---------- */

.hero {
  position: relative;
  background: var(--felt);
  color: var(--cue);
  padding: clamp(72px, 11vw, 150px) 0 clamp(48px, 7vw, 90px);
}
.hero__eyebrow { margin-bottom: 28px; }

.hero__title {
  font-family: var(--font-display);
  font-stretch: 68%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3rem, 9.4vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  max-width: 14ch;
}
.hero__line { display: block; overflow: hidden; }
.hero__line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero__line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__line:nth-child(3) > span { animation-delay: 0.24s; color: var(--chalk); }

@keyframes rise { to { transform: translateY(0); } }

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(36px, 5vw, 60px);
}
.hero__sub {
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--cue-dim);
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__ballrow {
  position: absolute;
  top: clamp(84px, 12vw, 170px);
  right: clamp(16px, 6vw, 90px);
  animation: settle 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
@keyframes settle {
  from { opacity: 0; transform: translateY(-18px) rotate(-6deg); }
  to   { opacity: 1; transform: translateY(0) rotate(0); }
}

/* ---------- ticker ---------- */

.ticker {
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  padding: 13px 0;
  background: var(--rail);
  color: var(--cue-dim);
}
.ticker__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  font-size: 0.84rem;
  animation: ticker 46s linear infinite;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- chat simulation (stays dark — the phone scene) ---------- */

.sim { height: 380vh; position: relative; }
.sim__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(var(--rail), var(--felt));
  color: var(--cue);
}
.sim__stage {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 400px);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  width: 100%;
}

.sim__copy { position: relative; min-height: 200px; }
.sim__cap {
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  font-family: var(--font-display);
  font-stretch: 74%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  line-height: 1.02;
  max-width: 20ch;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.sim__cap.is-on { opacity: 1; transform: none; pointer-events: auto; }
.sim__cap .link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-body);
  text-transform: none;
  font-size: 1.05rem;
  font-weight: 500;
}

/* the phone */
.phone {
  background: var(--eight);
  border: 1px solid #26262c;
  border-radius: 28px;
  padding: 14px;
  box-shadow: 14px 18px 0 rgba(4, 21, 16, 0.55);
  max-width: 400px;
  width: 100%;
  justify-self: end;
}
.phone__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 12px;
  font-size: 0.76rem;
  color: #8a8a93;
  border-bottom: 1px solid #1d1d22;
}
.phone__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--chalk); }
.phone__time { margin-left: auto; }

.phone__chat {
  padding: 16px 6px 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 380px;
}

.msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.msg.is-on { opacity: 1; transform: none; }

.msg--user {
  align-self: flex-end;
  background: var(--chalk);
  color: var(--eight);
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.msg--ai {
  align-self: flex-start;
  background: #1c1c21;
  color: #e8e8ec;
  border-bottom-left-radius: 4px;
}
.msg--card { border-left: 3px solid var(--chalk); }
.msg--card strong { color: var(--cue); }

.msg--typing {
  align-self: flex-start;
  background: #1c1c21;
  display: flex;
  gap: 5px;
  padding: 14px 16px;
}
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: #6e6e78; }
.msg--typing.is-on span { animation: blink 1s infinite; }
.msg--typing.is-on span:nth-child(2) { animation-delay: 0.18s; }
.msg--typing.is-on span:nth-child(3) { animation-delay: 0.36s; }
.msg--typing.is-done { display: none; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.35; } 30% { opacity: 1; } }

/* ---------- sections shared ---------- */

.stats, .services, .how, .pricing, .founder, .faq, .oracle, .intake {
  padding: clamp(72px, 10vw, 140px) 0;
}
.stats, .how, .faq { border-top: 1px solid var(--line-light); }

/* ---------- stats (paper) ---------- */

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.stat {
  background: var(--paper);
  padding: clamp(22px, 3vw, 36px) clamp(18px, 2.4vw, 30px);
}
.stat__num {
  font-family: var(--font-display);
  font-stretch: 70%;
  font-weight: 900;
  font-size: clamp(2.8rem, 5.4vw, 4.6rem);
  line-height: 1;
}
.stat__num em {
  font-style: normal;
  font-size: 0.5em;
  color: var(--chalk-deep);
}
.stat__what { margin-top: 12px; font-size: 0.95rem; color: var(--ink-soft); }
.stat__src {
  margin-top: 16px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- services (paper) ---------- */

.svc {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--paper);
}
.svc--anchor {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 1.8fr;
  gap: clamp(24px, 4vw, 64px);
  background: var(--felt);
  color: var(--cue);
  border-color: var(--felt);
  margin-bottom: 18px;
}
.svc__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--chalk);
  margin-bottom: 10px;
}
.svc__name {
  font-family: var(--font-display);
  font-stretch: 74%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.02;
}
.svc--anchor .svc__name { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.svc__body p { color: var(--cue-dim); margin-top: 12px; }
.svc__row .svc > p { color: var(--ink-soft); margin-top: 12px; }
.svc__body .link { display: inline-block; margin-top: 18px; color: var(--chalk); }

.svc__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc__row .svc { transition: transform 0.2s ease, border-color 0.2s ease; }
.svc__row .svc:hover { transform: translateY(-4px); border-color: var(--ink); }

/* ---------- how (paper) ---------- */

.how__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.how__step { border-top: 2px solid var(--ink); padding-top: 20px; }
.how__num {
  font-family: var(--font-display);
  font-stretch: 74%;
  font-weight: 800;
  color: var(--chalk-deep);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.how__step h3 {
  font-family: var(--font-display);
  font-stretch: 74%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.3rem;
  margin: 10px 0 8px;
}
.how__step p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- pricing: the rate board (paper) ---------- */

.pricing__note { max-width: 62ch; color: var(--ink-soft); margin: -18px 0 44px; }

.board { border-top: 2px solid var(--ink); }

.board__head {
  display: grid;
  grid-template-columns: 200px 1fr 130px 220px;
  gap: clamp(16px, 3vw, 40px);
  padding: 12px 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--line-light);
}
.board__head-price { text-align: right; }

.row {
  display: grid;
  grid-template-columns: 200px 1fr 130px 220px;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(24px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line-light);
  position: relative;
}
.row--featured {
  background: var(--felt);
  color: var(--cue);
  margin-inline: calc(-1 * clamp(18px, 2.4vw, 32px));
  padding-inline: clamp(18px, 2.4vw, 32px);
  border-bottom: none;
  border-radius: var(--radius);
}
.row--featured + .row { border-top: 1px solid var(--line-light); }

.row__badge {
  position: absolute;
  top: -10px;
  left: clamp(18px, 2.4vw, 32px);
  background: var(--chalk);
  color: var(--eight);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 100px;
}

.row__name {
  font-family: var(--font-display);
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1;
}
.row__desc { font-size: 0.96rem; color: var(--ink-soft); max-width: 52ch; }
.row--featured .row__desc { color: var(--cue-dim); }
.row__terms {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.7;
}
.row--featured .row__terms { color: var(--cue-dim); }

.row__side { text-align: right; }
.row__price {
  font-family: var(--font-display);
  font-stretch: 70%;
  font-weight: 900;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  white-space: nowrap;
}
.row__price sup { font-size: 0.45em; font-weight: 800; vertical-align: 0.8em; }
.row__dash { color: var(--chalk-deep); font-weight: 500; padding-inline: 1px; }
.row--featured .row__dash { color: var(--chalk); }
.row__cta {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--chalk-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.row--featured .row__cta { color: var(--chalk); }
.row__cta:hover { color: var(--ink); }
.row--featured .row__cta:hover { color: var(--cue); }

.pricing__legal {
  margin-top: 26px;
  font-size: 0.74rem;
  color: var(--ink-faint);
}
.pricing__legal a { color: var(--chalk-deep); }

/* ---------- founder (felt green bookend) ---------- */

.founder { background: var(--felt); color: var(--cue); }
.founder__grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) 2fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.founder__mark { display: flex; justify-content: center; padding-top: 12px; }
.founder__text p { max-width: 58ch; }
.founder__text p + p { margin-top: 16px; }
.founder__text .h2 { margin-bottom: 24px; }
.founder__sign {
  font-family: var(--font-display);
  font-stretch: 72%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.9rem;
  margin-top: 28px;
  color: var(--chalk);
}
.founder__role {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cue-dim);
  margin-top: 4px;
}

/* ---------- faq (paper) ---------- */

.faq__list { max-width: 780px; }
.qa { border-bottom: 1px solid var(--line-light); }
.qa summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-stretch: 76%;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  transition: color 0.15s ease;
}
.qa summary:hover { color: var(--chalk-deep); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--chalk-deep);
  flex: none;
  transition: transform 0.2s ease;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa__a { padding: 0 4px 24px; }
.qa__a p { color: var(--ink-soft); max-width: 62ch; }

/* ---------- oracle (rail — the dark beat before the ask) ---------- */

.oracle {
  background: var(--rail);
  color: var(--cue);
  text-align: center;
}
.oracle__inner { display: flex; flex-direction: column; align-items: center; }
.oracle .h2 { max-width: 24ch; }
.oracle .eyebrow { margin-bottom: 12px; }

.oracle__ball {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 10px;
}
.oracle__ball .mark--oracle { transition: transform 0.12s ease; }
.oracle__ball:hover .mark--oracle { transform: rotate(6deg) scale(1.03); }
.oracle__ball.is-shaking .mark--oracle { animation: shake 0.5s ease; }
@keyframes shake {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-9deg); }
  40% { transform: rotate(8deg); }
  60% { transform: rotate(-6deg); }
  80% { transform: rotate(4deg); }
}

.oracle__answer {
  font-family: var(--font-display);
  font-stretch: 74%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.05;
  min-height: 2.2em;
  max-width: 22ch;
  color: var(--chalk);
}
.oracle__answer a { color: var(--cue); }
.oracle__note { margin-top: 18px; color: var(--cue-dim); font-size: 0.95rem; }

/* ---------- intake (felt) ---------- */

.intake { background: var(--felt); color: var(--cue); border-top: 1px solid var(--line-dark); }
.intake__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.intake__pitch p { color: var(--cue-dim); max-width: 40ch; }

.form {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 12px 14px 0 rgba(4, 21, 16, 0.5);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.field__opt {
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #FDFBF5;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 11px 13px;
  transition: border-color 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--chalk-deep);
}
.field textarea { resize: vertical; }
.form__submit {
  width: 100%;
  border: none;
  margin-top: 6px;
  background: var(--ink);
  color: var(--paper);
}
.intake .form .form__submit { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.intake .form .form__submit:hover { box-shadow: 4px 4px 0 rgba(22, 19, 12, 0.3); }
.form__fine {
  font-size: 0.7rem;
  color: var(--ink-faint);
  margin-top: 16px;
  line-height: 1.6;
}
.form__fine a { color: var(--chalk-deep); }
.form__thanks {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--chalk-deep);
  border-radius: 6px;
  color: var(--chalk-deep);
  font-weight: 600;
}

/* ---------- footer (rail) ---------- */

.foot {
  background: var(--rail);
  color: var(--cue);
  border-top: 1px solid var(--line-dark);
  padding: clamp(48px, 7vw, 90px) 0 36px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}
.foot__name {
  font-family: var(--font-display);
  font-stretch: 74%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.3rem;
  margin-top: 14px;
}
.foot__blurb { color: var(--cue-dim); font-size: 0.94rem; max-width: 32ch; margin-top: 8px; }
.foot__col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--chalk);
  margin-bottom: 14px;
}
.foot__col a {
  display: block;
  text-decoration: none;
  color: var(--cue-dim);
  font-size: 0.94rem;
  padding: 4px 0;
}
.foot__col a:hover { color: var(--cue); }
.foot__col p { color: var(--cue-dim); font-size: 0.94rem; padding: 4px 0; }
.foot__legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.72rem;
  color: rgba(243, 239, 228, 0.45);
}

/* ---------- reveals ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- reduced motion / no-js ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__line > span { animation: none; transform: none; }
  .hero__ballrow { animation: none; }
  .ticker__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .sim { height: auto; }
  .sim__pin { position: static; height: auto; padding: 72px 0; }
  .msg, .sim__cap { opacity: 1; transform: none; position: static; transition: none; }
  .sim__cap { margin-bottom: 18px; }
  .sim__copy { min-height: 0; }
  .msg--typing { display: none; }
  .oracle__ball.is-shaking .mark--oracle { animation: none; }
}

.no-js .reveal, .no-js .msg, .no-js .sim__cap { opacity: 1; transform: none; position: static; }
.no-js .sim { height: auto; }
.no-js .sim__pin { position: static; height: auto; padding: 72px 0; }
.no-js .msg--typing { display: none; }
.no-js .sim__cap { margin-bottom: 18px; }
.no-js .sim__copy { min-height: 0; }
.no-js .oracle { display: none; }

/* ---------- legal pages (terms / privacy) ---------- */

.legal-page { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 120px); }
.legal-page .h2 { max-width none; }
.legal__updated {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink-faint);
  margin-bottom: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--line-light);
}
.legal__body { max-width: 74ch; }
.legal__body h2 {
  font-family: var(--font-display);
  font-stretch: 76%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  margin: 2.4em 0 0.7em;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { margin-bottom: 1.1em; }
.legal__body ul { margin: 0 0 1.1em; padding-left: 1.3em; }
.legal__body li { margin-bottom: 0.5em; }
.legal__callout {
  background: var(--felt);
  color: var(--cue);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  margin: 1.6em 0 2em;
}
.legal__callout .tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chalk);
  margin-bottom: 10px;
}
.legal__body a { color: var(--chalk-deep); }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .svc__row, .how__list { grid-template-columns: 1fr; }
  .svc--anchor { grid-template-columns: 1fr; }
  .founder__grid { grid-template-columns: 1fr; }
  .founder__mark { justify-content: flex-start; }
  .intake__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }

  .board__head { display: none; }
  .row, .row--featured {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name side"
      "desc side"
      "terms side";
    row-gap: 8px;
  }
  .row__name { grid-area: name; }
  .row__desc { grid-area: desc; }
  .row__terms { grid-area: terms; }
  .row__side { grid-area: side; align-self: center; }
}

@media (max-width: 860px) {
  .sim__stage { grid-template-columns: 1fr; align-content: center; gap: 22px; }
  .sim__copy { min-height: 120px; order: 1; }
  .sim__cap { font-size: clamp(1.2rem, 4.8vw, 1.6rem); top: 0; }
  .phone { justify-self: center; max-width: 340px; }
  .phone__chat { min-height: 300px; }
  .nav__links { display: none; }
}

@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .foot__grid { grid-template-columns: 1fr; }
  .hero__ballrow { display: none; }
  .msg { font-size: 0.86rem; }
  .row, .row--featured {
    grid-template-columns: 1fr;
    grid-template-areas: "name" "desc" "terms" "side";
  }
  .row__side { text-align: left; margin-top: 6px; }
}
