/* How Businesses Use AI: warm premium. Velocity's paper, ink and red; no Velocity fonts. */
:root {
  --paper: #eeede8;
  --paper-lift: #f7f6f2;
  --paper-deep: #e3e1da;
  --ink: #0b0b0a;
  --ink-soft: #2a2927;
  --muted: #5c5c57;
  --faint: #94948f;
  --line: #d6d5d0;
  --red: #d14836;
  --red-deep: #b23a2a;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 5vw, 48px);
  --radius: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }

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

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; }
.mark { font: 500 20px/1 var(--serif); letter-spacing: -0.01em; text-decoration: none; }
.mark em { font-style: italic; color: var(--red); }
.top-note { font-size: 14px; color: var(--muted); }

/* Type */
.eyebrow { font: 600 13px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin: 0 0 20px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(46px, 7.4vw, 92px); line-height: 0.98; }
h1 em, h2 em { font-style: italic; }
h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; }
h3 { font-size: 26px; line-height: 1.2; }
.lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 34em; margin: 28px 0 0; }
.muted { color: var(--muted); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: start; padding-block: clamp(40px, 7vw, 96px) clamp(80px, 10vw, 140px); }
.portrait { position: relative; margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: sepia(0.18) contrast(1.02); }
.portrait figcaption { margin-top: 16px; font-size: 15px; color: var(--muted); }
.portrait figcaption strong { display: block; color: var(--ink); font: 500 20px/1.3 var(--serif); }

/* Form */
.signup { margin-top: 40px; background: var(--paper-lift); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 24px 48px -32px rgba(40, 30, 20, .35); }
.signup-title { font: 500 15px/1.4 var(--sans); margin: 0 0 18px; }
.signup-title span { color: var(--red); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field label small { font-weight: 400; color: var(--faint); }
input, select {
  width: 100%; font: 400 16px/1.3 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px;
  transition: border-color .15s, box-shadow .15s; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235c5c57' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select:invalid, select option[value=""] { color: var(--faint); }
input:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(209, 72, 54, .18); }
.optional { margin: 4px 0 12px; border-top: 1px dashed var(--line); padding-top: 14px; }
.optional-note { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  font: 600 16px/1 var(--sans); color: #fff; background: var(--ink); border: 0; border-radius: 999px;
  padding: 18px 26px; cursor: pointer; text-decoration: none; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--red); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-inline { width: auto; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-error { color: var(--red-deep); font-size: 14px; margin: 0 0 12px; min-height: 0; }
.form-error:empty { display: none; }

/* Sections */
.section { padding: clamp(80px, 11vw, 160px) 0; border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 112px); align-items: start; }
.split .lede { margin-top: 24px; }

.race { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.race li { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.race .letter { font: 400 44px/1 var(--serif); color: var(--red); }
.race .name { font: 500 22px/1.2 var(--serif); }
.race .desc { display: block; font: 400 15px/1.5 var(--sans); color: var(--muted); margin-top: 4px; }
.race .lift { font: 500 15px/1 var(--sans); color: var(--ink-soft); white-space: nowrap; }
.multiply { margin: 28px 0 0; font: 400 19px/1.5 var(--serif); }
.multiply strong { font-weight: 500; color: var(--red); }

.promise { list-style: none; margin: 0; padding: 0; }
.promise li { padding: 22px 0; border-bottom: 1px solid var(--line); font: 400 22px/1.4 var(--serif); }
.promise li:first-child { border-top: 1px solid var(--ink); }
.promise li span { display: block; font: 400 15px/1.5 var(--sans); color: var(--muted); margin-top: 6px; }

.closing { text-align: center; padding-block: clamp(96px, 13vw, 200px); border-top: 1px solid var(--line); }
.closing h2 { max-width: 14em; margin: 0 auto; }
.closing .btn { margin-top: 40px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.powered { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); }
.powered img { height: 18px; width: auto; opacity: .75; transition: opacity .2s; }
.powered:hover img { opacity: 1; }

/* ---------- Assessment ---------- */
.check { max-width: 760px; margin: 0 auto; padding-block: clamp(32px, 6vw, 72px) clamp(80px, 10vw, 140px); }
.welcome { background: var(--paper-lift); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; font-size: 15px; margin: 0 0 40px; }
.welcome strong { font-weight: 600; }
.progress { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; font-size: 13px; color: var(--muted); }
.progress-bar { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width .35s ease; }
.stage-tag { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.question { font: 400 clamp(30px, 4.2vw, 44px)/1.12 var(--serif); letter-spacing: -0.015em; margin: 14px 0 32px; }
.answers { display: grid; gap: 10px; }
.answer {
  text-align: left; font: 400 17px/1.4 var(--sans); color: var(--ink); background: var(--paper-lift);
  border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.answer:hover { border-color: var(--ink); background: #fff; }
.answer:focus-visible { outline: 3px solid rgba(209, 72, 54, .35); outline-offset: 2px; }
.answer.picked { border-color: var(--red); background: #fff; }
.nav { display: flex; justify-content: space-between; margin-top: 28px; }
.link-btn { background: none; border: 0; padding: 0; font: 500 15px/1 var(--sans); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
.fade { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.result-head h1 { font-size: clamp(44px, 7vw, 80px); }
.result-head .lede { margin-top: 20px; }
.bars { margin: 48px 0 0; border-top: 1px solid var(--ink); }
.bar { display: grid; grid-template-columns: 110px 1fr 48px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.bar b { font: 500 19px/1 var(--serif); }
.bar .track { height: 8px; background: var(--paper-deep); border-radius: 8px; overflow: hidden; }
.bar .fill { height: 100%; background: var(--faint); border-radius: 8px; width: 0; transition: width .8s cubic-bezier(.2,.7,.2,1); }
.bar.is-low .fill { background: var(--red); }
.bar.is-low b { color: var(--red); }
.bar .pct { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

.tool { margin-top: 56px; background: var(--paper-lift); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.tool .eyebrow { margin-bottom: 12px; }
.tool h2 { font-size: clamp(30px, 4vw, 42px); }
.tool p { margin: 16px 0 0; color: var(--ink-soft); }
.tool .first-step { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.tool .first-step strong { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.tool .examples { font-size: 15px; color: var(--muted); }

.why { margin-top: 56px; }
.why h3 { margin-bottom: 12px; }
.next { margin-top: 56px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.next .btn { width: auto; }

@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero .portrait { max-width: 420px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .top-note { display: none; }
}
@media (max-width: 520px) {
  .race li { grid-template-columns: 40px 1fr; }
  .race .lift { grid-column: 2; }
  .race .letter { font-size: 36px; }
  .bar { grid-template-columns: 84px 1fr 40px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
