:root {
  --ink: #17251b;
  --paper: #f2efe5;
  --paper-deep: #e7e1d3;
  --acid: #cbff75;
  --orange: #ff6542;
  --muted: #647066;
  --line: rgba(23, 37, 27, 0.16);
  --white: #fffdf7;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
button, input, textarea { font: inherit; }
a { color: inherit; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50% 50% 50% 8px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 900;
}

.lab-link {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.lab-link:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  min-height: 720px;
  margin: 0 auto;
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #39a763;
  box-shadow: 0 0 0 5px rgba(57, 167, 99, 0.13);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 7vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

h1 em {
  position: relative;
  z-index: 0;
  font-weight: inherit;
}

h1 em::after {
  position: absolute;
  z-index: -1;
  right: -0.03em;
  bottom: 0.05em;
  left: -0.03em;
  height: 0.17em;
  background: var(--acid);
  content: "";
  transform: rotate(-1.4deg);
}

.lede {
  max-width: 590px;
  color: #435047;
  font-size: clamp(1.1rem, 1.65vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  box-shadow: 5px 5px 0 var(--orange);
  transform: translate(-2px, -2px);
}

.button-primary { background: var(--ink); }

.text-link {
  padding: 8px 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.privacy-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.76rem;
}

.privacy-note span { color: #39a763; font-size: 0.55rem; }

.hero-demo {
  position: relative;
  padding: 36px;
  background-color: #d9dfd5;
  background-image: radial-gradient(rgba(23, 37, 27, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  box-shadow: 18px 18px 0 var(--ink);
  transform: rotate(1deg);
}

.demo-sticker {
  position: absolute;
  z-index: 3;
  top: -18px;
  right: 28px;
  padding: 11px 15px;
  background: var(--acid);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(5deg);
}

.question-card {
  padding: 22px;
  border: 1px solid rgba(23, 37, 27, 0.12);
  background: var(--white);
  box-shadow: 0 7px 24px rgba(23, 37, 27, 0.09);
}

.question-before { margin-right: 44px; transform: rotate(-1.2deg); }
.question-after { margin-left: 28px; border: 2px solid var(--ink); transform: rotate(0.7deg); }

.card-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #d6d9d5;
  color: var(--muted);
}

.avatar-good { background: var(--orange); color: var(--ink); }
.more { margin-left: auto; }
.question-card > p { margin-bottom: 14px; font-size: 1.03rem; line-height: 1.42; }
.question-card > p:last-child { margin-bottom: 0; }
.card-detail { color: #4c5850; font-size: 0.84rem !important; }

.ghost-media {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 22px;
  border: 1px dashed #b9bdb7;
  background: #ecece8;
  color: #858a84;
}

.answerable {
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.58rem;
}

.transform-arrow {
  width: 36px;
  margin: 3px auto;
  padding: 6px;
  background: var(--orange);
  text-align: center;
  transform: rotate(-3deg);
}

.signal-strip {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr) 1.2fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.signal-strip > * {
  min-height: 140px;
  padding: 30px clamp(20px, 3vw, 44px);
  border-right: 1px solid var(--line);
}

.signal-strip > *:last-child { border-right: 0; }
.signal-intro, .metric { display: flex; flex-direction: column; justify-content: center; }
.signal-intro span, .metric span { color: var(--muted); font-size: 0.76rem; }
.signal-intro strong { margin-top: 6px; }
.metric strong { font-family: Georgia, serif; font-size: 2.7rem; font-weight: 500; line-height: 1; }
.sample-note { display: flex; align-items: center; margin: 0; color: var(--muted); font-size: 0.76rem; line-height: 1.5; }

.builder-section {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 130px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.25fr 0.7fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading .eyebrow { align-self: start; margin-top: 10px; }
.section-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.8rem, 5vw, 4.7rem); font-weight: 500; letter-spacing: -0.055em; line-height: 0.98; }
.section-heading > p:last-child { margin: 0; color: var(--muted); line-height: 1.55; }

.builder-shell {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 14px 14px 0 var(--orange);
}

.ask-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(28px, 4vw, 54px);
  border-right: 2px solid var(--ink);
}

.ask-form label {
  display: flex;
  gap: 10px;
  margin-top: 9px;
  font-size: 0.78rem;
  font-weight: 850;
}

.ask-form label span { color: var(--orange); }

.ask-form input,
.ask-form textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #aeb4af;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  line-height: 1.45;
  resize: vertical;
}

.ask-form textarea { font-family: Georgia, serif; font-size: 1.5rem; letter-spacing: -0.02em; }
.ask-form input:focus, .ask-form textarea:focus { border-color: var(--orange); box-shadow: 0 2px 0 var(--orange); }

.preview-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 4vw, 54px);
  background: #dbe5d8;
}

.preview-topline {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quality { color: var(--ink); }
.quality i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #39a763; }

.preview-copy {
  flex: 1;
  margin: 46px 0;
  padding: 28px;
  border: 1px solid rgba(23, 37, 27, 0.15);
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 7px 7px 0 rgba(23, 37, 27, 0.16);
}

.preview-copy h3 { margin-bottom: 24px; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.preview-copy p { margin-bottom: 11px; color: #4c5850; font-size: 0.85rem; line-height: 1.5; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.copy-button { width: 100%; background: var(--ink); }
.character-count { margin: 12px 0 0; color: var(--muted); font-size: 0.68rem; text-align: center; }

.hypothesis-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(60px, 10vw, 160px);
  padding: 120px max(24px, calc((100% - 1240px) / 2));
  background: var(--ink);
  color: var(--white);
}

.eyebrow-light { color: #aab5ac; }
.hypothesis-section h2 { max-width: 720px; margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 5.4vw, 5.4rem); font-weight: 500; letter-spacing: -0.06em; line-height: 0.98; }
.hypothesis-detail > p { color: #bac4bc; font-size: 1.12rem; line-height: 1.6; }

.test-card {
  margin-top: 48px;
  padding: 28px;
  border: 1px solid #536057;
  border-left: 7px solid var(--acid);
  background: #1d3122;
}

.test-card span { color: var(--acid); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.test-card strong { display: block; margin: 12px 0; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 500; }
.test-card p { margin: 0; color: #aebbb0; font-size: 0.82rem; line-height: 1.5; }

.steps-section {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
}

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); }
.steps-grid article { padding: 36px 42px 0 0; border-right: 1px solid var(--line); }
.steps-grid article + article { padding-left: 42px; }
.steps-grid article:last-child { border-right: 0; }
.steps-grid article > span { display: grid; width: 40px; height: 40px; margin-bottom: 54px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: Georgia, serif; }
.steps-grid h3 { font-family: Georgia, serif; font-size: 1.7rem; font-weight: 500; }
.steps-grid p { color: var(--muted); line-height: 1.6; }

.final-cta {
  margin: 0 24px 24px;
  padding: 100px 24px;
  background: var(--orange);
  text-align: center;
}

.final-cta > p { margin-bottom: 16px; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.final-cta h2 { max-width: 850px; margin: 0 auto 38px; font-family: Georgia, serif; font-size: clamp(3.2rem, 7vw, 6.8rem); font-weight: 500; letter-spacing: -0.065em; line-height: 0.92; }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { box-shadow: 5px 5px 0 var(--ink); }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 54px;
  color: var(--muted);
  font-size: 0.72rem;
}

footer p { margin: 0; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-copy { max-width: 720px; }
  .hero-demo { width: min(620px, 95%); margin: 0 auto; }
  .signal-strip { grid-template-columns: repeat(4, 1fr); }
  .sample-note { grid-column: 1 / -1; min-height: auto; border-top: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .section-heading > p:last-child { max-width: 560px; }
  .builder-shell { grid-template-columns: 1fr; }
  .ask-form { border-right: 0; border-bottom: 2px solid var(--ink); }
  .hypothesis-section { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .site-header, .hero, .builder-section, .steps-section, footer { width: min(100% - 32px, 1240px); }
  .site-header { padding: 18px 0; }
  .lab-link { font-size: 0; }
  .lab-link span { font-size: 1rem; }
  .hero { min-height: auto; padding: 52px 0 64px; }
  h1 { font-size: clamp(3.5rem, 19vw, 5.1rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-demo { width: calc(100% - 12px); padding: 24px 18px; box-shadow: 10px 10px 0 var(--ink); }
  .question-before { margin-right: 16px; }
  .question-after { margin-left: 12px; }
  .signal-strip { grid-template-columns: repeat(2, 1fr); }
  .signal-strip > * { min-height: 112px; }
  .signal-intro { grid-column: 1 / -1; }
  .metric:nth-of-type(2) { border-right: 0; }
  .builder-section { padding: 92px 0; }
  .builder-shell { box-shadow: 8px 8px 0 var(--orange); }
  .preview-topline { align-items: flex-start; gap: 16px; }
  .hypothesis-section { padding: 88px 24px; }
  .steps-section { padding: 88px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid article, .steps-grid article + article { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps-grid article > span { margin-bottom: 28px; }
  .final-cta { margin: 0 12px 12px; padding: 80px 20px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
