:root {
  --ink: #161914;
  --muted: #61685d;
  --paper: #f5f2e9;
  --panel: #fffdf7;
  --line: #d9d7ca;
  --accent: #c8ea96;
  --accent-dark: #21310d;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { min-height: 74px; padding: 0 max(20px, calc((100vw - 1160px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.14); color: #f8f7f1; background: #10120f; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand span { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid #727a69; border-radius: 50%; font-size: 10px; letter-spacing: .08em; }
nav { display: flex; gap: 24px; }
nav a { color: #cbd0c5; text-decoration: none; font-size: 14px; }
nav a:hover { color: white; }
.product-hero { color: #f8f7f1; background: #10120f; padding: 82px 0 94px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr); gap: 88px; align-items: end; }
.eyebrow { color: var(--accent); margin: 0 0 18px; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.audience { margin: 0 0 10px; color: #adb4a6; font-size: 15px; }
h1 { max-width: 780px; margin: 0; font-family: var(--display); font-size: clamp(48px, 7vw, 84px); line-height: .94; letter-spacing: -.055em; font-weight: 500; }
.lede { max-width: 680px; margin: 28px 0 0; color: #cbd0c5; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.trust-row span { padding: 8px 12px; border: 1px solid #41463e; border-radius: 999px; color: #d6dacf; font-size: 12px; }
.outcome-card { border: 1px solid #4b5146; border-top: 4px solid var(--accent); padding: 30px; background: #171a15; box-shadow: 0 22px 50px rgba(0,0,0,.2); }
.outcome-card small, .launch-box small { display: block; margin-bottom: 10px; color: #9da597; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.outcome-card strong { display: block; font-family: var(--display); font-size: 30px; line-height: 1.12; font-weight: 500; }
.outcome-card p { margin: 26px 0 0; color: #aeb5aa; font-size: 13px; line-height: 1.55; }
.workspace { padding: 72px 0 100px; }
.input-panel, .result-panel { padding: clamp(24px, 5vw, 54px); border: 1px solid var(--line); background: var(--panel); box-shadow: 0 20px 70px rgba(52,49,35,.07); }
.result-panel { margin-top: 28px; }
.panel-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.panel-heading > div:first-child { display: flex; align-items: center; gap: 14px; }
.panel-heading span { color: #7d8574; font-size: 11px; letter-spacing: .12em; }
h2 { margin: 0; font-family: var(--display); font-size: clamp(28px, 4vw, 40px); font-weight: 500; letter-spacing: -.03em; }
.panel-heading p { max-width: 350px; margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: right; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 28px; }
.field { display: grid; gap: 8px; }
.field.wide { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 750; }
.hint { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.45; }
input, textarea { width: 100%; border: 1px solid #c9c8bc; border-radius: 3px; padding: 13px 14px; color: var(--ink); background: #fff; font: inherit; line-height: 1.45; }
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent), transparent 45%); border-color: #6b765d; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 3px; padding: 13px 18px; font: inherit; font-size: 14px; font-weight: 780; cursor: pointer; text-decoration: none; }
.button.primary { color: var(--accent-dark); background: var(--accent); }
.button.primary:hover { filter: brightness(.96); transform: translateY(-1px); }
.button.secondary { color: var(--ink); background: transparent; border-color: #b9baae; }
.button.interest { color: #10120f; background: #f7f4e9; border-color: #f7f4e9; }
.status { min-height: 20px; margin: 14px 0 0; color: #6f5941; font-size: 13px; }
.result-actions { display: flex; gap: 8px; }
pre { max-height: 560px; overflow: auto; margin: 0; padding: 24px; border: 1px solid #d5d2c4; color: #292c27; background: #f7f5ee; white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; }
.launch-box { display: grid; grid-template-columns: .8fr 1.2fr auto; align-items: center; gap: 28px; margin-top: 28px; padding: 28px; color: white; background: #171a15; border-top: 4px solid var(--accent); }
.launch-box strong { font-size: 18px; }
.launch-box p { margin: 0; color: #b9c0b4; font-size: 13px; line-height: 1.5; }
.portfolio-link { padding: 42px 0; color: white; background: #252a22; }
.portfolio-link .shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.portfolio-link p { margin: 0; color: #ced4c9; }
.portfolio-link a { color: var(--accent); text-decoration: none; font-weight: 750; }
footer { padding: 28px 0; color: #aeb5aa; background: #10120f; }
footer .shell { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }
footer strong { color: white; }

body[data-accent="coral"] { --accent: #ffb18c; --accent-dark: #3b180a; }
body[data-accent="gold"] { --accent: #f1d776; --accent-dark: #302400; }
body[data-accent="blue"] { --accent: #9ed8f4; --accent-dark: #0a2837; }
body[data-accent="plum"] { --accent: #d4b8f1; --accent-dark: #29123b; }
body[data-accent="mint"] { --accent: #a6e9ca; --accent-dark: #0b3423; }

@media (max-width: 800px) {
  .hero-grid, .launch-box { grid-template-columns: 1fr; gap: 32px; }
  .field-grid { grid-template-columns: 1fr; }
  .field.wide { grid-column: auto; }
  .panel-heading, .portfolio-link .shell { align-items: flex-start; flex-direction: column; }
  .panel-heading p { text-align: left; }
  .site-header { min-height: 66px; }
  nav { gap: 14px; }
  .product-hero { padding: 58px 0 68px; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 24px, 1160px); }
  nav a:first-child { display: none; }
  .result-actions { width: 100%; }
  .result-actions .button { flex: 1; }
  footer .shell { flex-direction: column; }
}
