:root {
  --bg: #f5f2ea;
  --surface: #fffdf8;
  --text: #17191d;
  --muted: #676b73;
  --line: #d8d3c8;
  --accent: #e36c2f;
  --accent-dark: #ba4e1f;
  --navy: #202938;
  --soft: #ece7dc;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); }
a { color: inherit; }
button, input, textarea { font: inherit; }

.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 850; letter-spacing: -0.04em; font-size: 1.2rem; text-decoration: none; }
.header-note { color: var(--muted); font-size: .88rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  gap: clamp(48px, 7vw, 96px);
  padding-block: clamp(64px, 9vw, 112px);
  align-items: center;
}
.eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .14em; color: var(--accent-dark); margin-bottom: 16px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3rem, 6.4vw, 6rem); line-height: .96; letter-spacing: -.065em; margin-bottom: 28px; max-width: 870px; }
h1 span { color: var(--muted); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: 1; letter-spacing: -.045em; }
h3 { font-size: 1.16rem; margin-bottom: 10px; letter-spacing: -.02em; }
.lede { max-width: 760px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.6; color: #41454c; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust-row span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.35); font-size: .83rem; font-weight: 700; }

.order-card { background: var(--surface); border: 1px solid #cec8ba; box-shadow: 0 24px 60px rgba(25, 29, 35, .08); border-radius: 20px; padding: clamp(24px, 4vw, 38px); }
.order-card h2 { font-size: 2rem; margin-bottom: 10px; }
.order-card > p { color: var(--muted); line-height: 1.55; }
.launch-badge { display: inline-flex; margin-bottom: 26px; background: var(--navy); color: white; border-radius: 999px; padding: 9px 13px; font-size: .78rem; font-weight: 800; letter-spacing: .03em; }
.case-study-banner { display: none; margin: -8px 0 18px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; color: #4c5058; background: var(--soft); font-size: .82rem; line-height: 1.45; }
.case-study-banner.is-visible { display: block; }
label { display: block; margin: 20px 0 8px; font-weight: 750; font-size: .9rem; }
.optional { color: var(--muted); font-weight: 500; }
input, textarea { width: 100%; border: 1px solid #c8c2b6; border-radius: 12px; background: white; padding: 13px 14px; color: var(--text); outline: none; transition: border .15s, box-shadow .15s; }
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus { border-color: #7c8390; box-shadow: 0 0 0 3px rgba(32, 41, 56, .08); }
.primary-button { width: 100%; border: 0; border-radius: 12px; background: var(--accent); color: #fff; padding: 15px 18px; font-weight: 850; margin-top: 22px; cursor: pointer; box-shadow: 0 7px 18px rgba(227, 108, 47, .2); }
.primary-button:hover { background: var(--accent-dark); }
.primary-button:disabled { cursor: wait; opacity: .65; }
.form-note { text-align: center; color: var(--muted); font-size: .78rem; margin: 10px 0 0; }
.form-note a { text-underline-offset: 2px; }
.form-error { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff0eb; color: #8c3012; font-size: .88rem; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

.section { padding-block: clamp(70px, 9vw, 112px); border-top: 1px solid var(--line); }
.section-heading { max-width: 660px; margin-bottom: 48px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid article { background: rgba(255,255,255,.36); border: 1px solid var(--line); padding: 28px; min-height: 230px; }
.feature-grid p { color: var(--muted); line-height: 1.6; }
.feature-number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; color: var(--accent-dark); margin-bottom: 45px; }
.evidence-rule { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 90px); align-items: end; }
.evidence-rule p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 8px; }

.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 24px; padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.footer-links { display: inline-flex; gap: 14px; }
.footer-links a { text-underline-offset: 3px; }

.status-page, .report-page { padding-block: clamp(52px, 8vw, 90px); }
.status-card, .report-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 5vw, 46px); box-shadow: 0 22px 55px rgba(25,29,35,.06); }
.status-orb { width: 13px; height: 13px; border-radius: 999px; background: var(--accent); display: inline-block; margin-right: 9px; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.82); } }
.status-text { color: var(--muted); line-height: 1.7; }
.report-link { display: inline-flex; text-decoration: none; background: var(--navy); color: white; border-radius: 10px; padding: 12px 16px; font-weight: 800; margin-top: 18px; }

.legal-copy { max-width: 900px; margin-inline: auto; }
.legal-title { font-size: clamp(2.8rem, 7vw, 5.4rem); }
.legal-copy h2 { font-size: 1.45rem; margin-top: 34px; margin-bottom: 10px; }
.legal-copy p { max-width: 760px; color: #4c5058; line-height: 1.72; }

.report-topline { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.verdict-badge, .strength-badge { display: inline-flex; border-radius: 999px; padding: 8px 12px; font-size: .78rem; font-weight: 850; border: 1px solid var(--line); }
.verdict-badge { background: var(--navy); color: white; border-color: var(--navy); }
.report-summary { max-width: 800px; color: #41454c; line-height: 1.7; font-size: 1.08rem; }
.report-section { padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--line); }
.report-section h2 { font-size: 1.55rem; }
.section-heading-inline, .finding-heading-row, .cluster-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.finding { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; margin: 18px 0; }
.finding p { margin-bottom: 8px; line-height: 1.6; }
.finding-text { flex: 1; }
.evidence-refs { color: var(--muted); font-size: .78rem; margin-top: 8px; }
.strength-basis { color: var(--muted); font-size: .74rem; line-height: 1.5; margin-top: 7px; }
.claim-strength { display: inline-flex; flex: 0 0 auto; border-radius: 999px; padding: 5px 9px; font-size: .7rem; font-weight: 850; border: 1px solid var(--line); text-transform: uppercase; letter-spacing: .035em; }
.claim-strong { background: #eef5ea; border-color: #b8cbb0; }
.claim-moderate { background: #f5f0de; border-color: #d8cba0; }
.claim-weak { background: #f5e9e4; border-color: #d9b9aa; }
.mini-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0 3px; }
.mini-badge { display: inline-flex; border-radius: 999px; padding: 5px 8px; background: var(--soft); color: #4c5058; font-size: .7rem; font-weight: 750; border: 1px solid var(--line); }

.intent-note { text-align: left; margin-bottom: 16px; }
.intent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.intent-card { border: 1px solid var(--line); background: white; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.intent-card strong { font-size: 1.55rem; letter-spacing: -.03em; }
.intent-card span { color: var(--muted); font-size: .78rem; font-weight: 750; }

.cluster-grid, .opportunity-grid { display: grid; gap: 12px; margin-top: 20px; }
.cluster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cluster-card, .opportunity-card { border: 1px solid var(--line); border-radius: 14px; background: white; padding: 18px; }
.cluster-card h3, .opportunity-card h3 { margin-bottom: 8px; }
.cluster-card p, .opportunity-card p { color: #4c5058; line-height: 1.55; margin-bottom: 10px; }
.community-line { color: var(--muted); font-size: .76rem; font-weight: 750; margin-top: 9px; }
.opportunity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opportunity-card ul { margin: 10px 0 0; padding-left: 18px; color: #4c5058; }
.opportunity-card li { margin-bottom: 6px; line-height: 1.45; }
.case-study-note { background: rgba(236,231,220,.45); padding: 26px; border: 1px solid var(--line); border-radius: 14px; }

.evidence-list { display: grid; gap: 12px; }
.evidence-item { border: 1px solid var(--line); padding: 16px; border-radius: 12px; background: white; }
.evidence-item a { font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.evidence-meta { margin-top: 7px; color: var(--muted); font-size: .78rem; }
.evidence-item p { margin: 10px 0 0; color: #4c5058; line-height: 1.55; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .evidence-rule { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .cluster-grid, .opportunity-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 24px, 1120px); }
  .header-note { display: none; }
  h1 { font-size: clamp(2.65rem, 15vw, 4.4rem); }
  .hero { padding-top: 48px; }
  .order-card { border-radius: 14px; }
  .section-heading-inline, .finding-heading-row, .cluster-topline { flex-direction: column; gap: 8px; }
}
