:root {
  color-scheme: light;
  --canvas: #f4f7f5;
  --surface: #ffffff;
  --ink: #101815;
  --muted: #5c6963;
  --line: #d9e1dd;
  --line-strong: #bdc9c3;
  --green: #0c6c4f;
  --green-dark: #074b38;
  --green-soft: #e1f2eb;
  --amber: #a45b05;
  --amber-soft: #fff2dc;
  --red: #a6342c;
  --red-soft: #fde8e5;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: inherit; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sale-strip {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 20px;
  background: var(--ink);
  color: #eaf2ee;
  font-size: 12px;
}
.sale-strip a { color: #83d3b6; font-weight: 700; text-decoration: none; }

.site-header {
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-weight: 760; text-decoration: none; letter-spacing: 0; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--green); color: var(--green); font-family: var(--mono); font-size: 13px; font-weight: 800; }
.site-header nav { display: flex; gap: 26px; }
.site-header nav a { color: var(--muted); font-size: 13px; text-decoration: none; }
.site-header nav a:hover { color: var(--ink); }
.site-header > .button { justify-self: end; }

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green-dark);
  border-radius: 6px;
  padding: 0 18px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.button:hover { background: var(--green); transform: translateY(-1px); }
.button-small { min-height: 34px; padding: 0 14px; }
.button-secondary { background: var(--surface); color: var(--green-dark); }
.button-secondary:hover { background: var(--green-soft); }
.text-link { color: var(--green-dark); font-size: 13px; font-weight: 700; text-decoration: none; }

.hero {
  max-width: 1180px;
  min-height: 610px;
  margin: 0 auto;
  padding: 86px 28px 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, .82fr);
  gap: 72px;
  align-items: center;
}
.eyebrow { margin: 0 0 15px; color: var(--green); font-family: var(--mono); font-size: 11px; font-weight: 800; text-transform: uppercase; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { max-width: 720px; margin: 0; font-size: clamp(42px, 5.2vw, 68px); line-height: 1.02; font-weight: 760; }
.lede { max-width: 650px; margin: 25px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.proof-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.proof-list li::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }

.report-preview, .editor-panel, .result-panel, .offer-box { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 7px; box-shadow: 0 18px 55px rgba(26, 48, 38, .08); }
.report-preview { padding: 24px; }
.preview-topline, .result-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.preview-label, .offer-label { display: block; color: var(--muted); font-family: var(--mono); font-size: 10px; font-weight: 800; }
.report-preview h2, .result-content h3 { margin: 5px 0 0; font-size: 18px; }
.status { display: inline-flex; min-height: 26px; align-items: center; padding: 0 9px; border-radius: 99px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.status-good { background: var(--green-soft); color: var(--green-dark); }
.status-warn { background: var(--amber-soft); color: var(--amber); }
.status-critical { background: var(--red-soft); color: var(--red); }
.fingerprint-block { margin-top: 22px; padding: 13px 14px; background: #f1f5f3; border: 1px solid var(--line); border-radius: 5px; }
.fingerprint-block span { display: block; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.fingerprint-block code { display: block; overflow: hidden; margin-top: 5px; color: var(--green-dark); font-family: var(--mono); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border: 1px solid var(--line); }
.preview-grid div { min-height: 68px; padding: 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.preview-grid div:nth-child(2n) { border-right: 0; }
.preview-grid div:nth-last-child(-n + 2) { border-bottom: 0; }
.preview-grid span, .metric-row span { display: block; color: var(--muted); font-size: 10px; }
.preview-grid strong, .metric-row strong { display: block; margin-top: 6px; font-size: 14px; }
.good-text { color: var(--green); }
.warn-text { color: var(--amber); }
.check-rows { margin-top: 18px; border-top: 1px solid var(--line); }
.check-rows > div { display: grid; grid-template-columns: 12px 1fr auto; gap: 8px; align-items: center; min-height: 38px; border-bottom: 1px solid var(--line); font-size: 12px; }
.check-rows strong { font-size: 11px; }
.check-dot { width: 7px; height: 7px; border-radius: 50%; }
.check-dot.good { background: var(--green); }
.check-dot.warn { background: var(--amber); }
.preview-note { margin: 14px 0 0; color: var(--muted); font-size: 10px; }

.workspace-section, .checks-section, .acquire-section { scroll-margin-top: 20px; }
.workspace-section { padding: 84px max(28px, calc((100vw - 1124px) / 2)); background: var(--ink); color: #edf4f0; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(320px, 480px); gap: 48px; align-items: end; }
.section-heading h2, .acquire-copy h2 { margin: 0; font-size: 36px; line-height: 1.12; }
.section-heading > p { margin: 0; color: #aab8b1; font-size: 14px; line-height: 1.7; }
.section-heading code { font-family: var(--mono); color: #d9e8e1; }
.workspace { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.editor-panel, .result-panel { min-height: 500px; overflow: hidden; background: #131e19; border-color: #34453d; box-shadow: none; }
.panel-bar { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 17px; border-bottom: 1px solid #34453d; color: #b6c4bd; font-family: var(--mono); font-size: 11px; }
.icon-button { min-height: 28px; border: 1px solid #42564c; border-radius: 4px; padding: 0 10px; background: transparent; color: #cedad4; font-size: 11px; cursor: pointer; }
.icon-button:hover { background: #1b2b23; }
textarea { display: block; width: 100%; height: 390px; resize: none; border: 0; outline: 0; padding: 18px; background: #101814; color: #d8e6df; font-family: var(--mono); font-size: 12px; line-height: 1.65; tab-size: 2; }
.editor-footer { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 14px 11px 17px; border-top: 1px solid #34453d; color: #83958c; font-size: 10px; }
.result-panel { display: grid; padding: 22px; }
.empty-result { align-self: center; justify-self: center; max-width: 260px; text-align: center; color: #8fa098; }
.empty-mark { width: 42px; height: 42px; display: grid; place-items: center; margin: 0 auto 16px; border: 1px solid #42564c; color: #83d3b6; font-family: var(--mono); font-weight: 800; }
.empty-result h3 { margin: 0; color: #d9e5df; font-size: 16px; }
.empty-result p { margin: 8px 0 0; font-size: 12px; line-height: 1.6; }
.result-content { color: #e8f0ec; }
.result-content .fingerprint-block { background: #101814; border-color: #34453d; }
.result-content .fingerprint-block span { color: #82938b; }
.result-content .fingerprint-block code { color: #83d3b6; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border: 1px solid #34453d; }
.metric-row > div { padding: 12px; border-right: 1px solid #34453d; }
.metric-row > div:last-child { border-right: 0; }
.metric-row span { color: #82938b; }
.findings { max-height: 206px; overflow: auto; margin-top: 16px; }
.finding { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid #2c3b34; }
.finding:last-child { border-bottom: 1px solid #2c3b34; }
.finding-level { font-family: var(--mono); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.finding-level.info { color: #83d3b6; }
.finding-level.warning { color: #f2b55f; }
.finding-level.critical { color: #ff8c82; }
.finding strong { display: block; font-size: 12px; }
.finding p { margin: 4px 0 0; color: #91a39a; font-size: 10px; line-height: 1.45; }
.result-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }

.checks-section { max-width: 1180px; margin: 0 auto; padding: 96px 28px; }
.checks-section .section-heading > p { color: var(--muted); }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); margin-top: 42px; }
.check-grid article { min-height: 210px; padding: 24px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: rgba(255,255,255,.35); }
.check-grid article > span { color: var(--green); font-family: var(--mono); font-size: 10px; font-weight: 800; }
.check-grid h3 { margin: 38px 0 8px; font-size: 17px; }
.check-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.acquire-section { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; align-items: center; padding: 92px max(28px, calc((100vw - 1124px) / 2)); background: #e3ece7; border-top: 1px solid var(--line-strong); }
.acquire-copy > p:not(.eyebrow) { max-width: 680px; margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.fit-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.fit-list span { padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 4px; background: rgba(255,255,255,.52); color: var(--green-dark); font-family: var(--mono); font-size: 10px; }
.offer-box { padding: 26px; box-shadow: none; }
.price { margin-top: 12px; font-size: 36px; font-weight: 780; }
.price small { color: var(--muted); font-size: 12px; }
.offer-box p { margin: 12px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.offer-actions { display: grid; gap: 9px; }
.offer-box .button { width: 100%; }
.offer-box .button.secondary { border: 1px solid var(--green-dark); background: transparent; color: var(--green-dark); }
.offer-note { display: block; margin-top: 12px; color: var(--muted); font-size: 9px; text-align: center; }

footer { max-width: 1180px; min-height: 130px; display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 40px; margin: 0 auto; padding: 30px 28px; }
footer p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
footer > span { color: var(--muted); font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 46px; padding-top: 64px; }
  .report-preview { max-width: 620px; }
  .workspace, .section-heading, .acquire-section { grid-template-columns: 1fr; }
  .workspace { gap: 14px; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .acquire-section { gap: 38px; }
  .offer-box { max-width: 440px; }
  footer { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 580px) {
  .sale-strip { justify-content: space-between; gap: 10px; font-size: 10px; }
  .site-header { height: 60px; padding: 0 18px; }
  .hero { padding: 52px 18px 62px; }
  h1 { font-size: 42px; }
  .lede { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .proof-list { flex-direction: column; gap: 8px; }
  .report-preview { padding: 17px; }
  .workspace-section, .checks-section, .acquire-section { padding: 70px 18px; }
  .section-heading { gap: 18px; }
  .section-heading h2, .acquire-copy h2 { font-size: 30px; }
  .workspace { margin-left: -6px; margin-right: -6px; }
  .editor-panel, .result-panel { min-height: 470px; }
  .editor-footer { align-items: stretch; flex-direction: column; }
  .editor-footer .button { width: 100%; }
  textarea { height: 330px; }
  .check-grid { grid-template-columns: 1fr; }
  .check-grid article { min-height: 180px; }
  .result-actions { flex-direction: column; }
  footer { padding: 30px 18px; }
}
