:root {
  --ink: #101414;
  --muted: #5b625f;
  --soft: #7a817d;
  --paper: #f6f4ee;
  --panel: #fffdf8;
  --panel-strong: #ffffff;
  --line: #d9ddd4;
  --line-strong: #b7c2ba;
  --green: #12815f;
  --green-strong: #0b6f50;
  --mint: #e5f4ec;
  --blue: #17394a;
  --blue-soft: #dcecf1;
  --yellow: #f2cf66;
  --coral: #e9795f;
  --shadow: 0 24px 70px rgba(16, 20, 20, .10);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(18, 129, 95, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 129, 95, .05) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  line-height: 1.48;
}

body.panel-body { background: #f3f6f2; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, video { max-width: 100%; display: block; }
.hidden { display: none !important; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(16, 20, 20, .08);
  background: rgba(246, 244, 238, .92);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0;
}

.brand .dot { color: var(--green); }
.brand small { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
}

.nav a:hover { background: rgba(18, 129, 95, .08); color: var(--ink); }

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  color: var(--ink);
  background: var(--panel-strong);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(16, 20, 20, .12); }
.btn.primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn.small { min-height: 36px; padding: 0 13px; font-size: 13px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }
.icon-btn { width: 42px; height: 42px; padding: 0; border-radius: 50%; }

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 46px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 42px;
  align-items: center;
}

.eyebrow, .kicker {
  margin: 0 0 14px;
  color: var(--green-strong);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 900;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.8vw, 92px);
  line-height: .92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

h3 { font-size: 22px; line-height: 1.16; }
.lede { max-width: 720px; color: #39413d; font-size: clamp(18px, 2vw, 24px); }
.copy { color: var(--muted); font-size: 16px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 690px;
}

.signal {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .74);
  padding: 18px;
}
.signal strong { display: block; font-size: 25px; line-height: 1; margin-bottom: 7px; }
.signal span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }

.video-block {
  position: relative;
  border: 1px solid #121716;
  background: #121716;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-block video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #111; }
.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
}
.video-meta strong { font-size: 15px; }
.video-meta span { color: rgba(255,255,255,.72); font-size: 13px; }

.section { padding: 82px 0; }
.section.tight { padding: 48px 0; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.banded { background: rgba(255, 253, 248, .64); border-top: 1px solid rgba(16,20,20,.08); border-bottom: 1px solid rgba(16,20,20,.08); }

.two-col { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.card, .option-card, .product-card, .proposal-card {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, .92);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(16, 20, 20, .055);
}
.card { padding: 22px; }
.card .icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--green); margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); }

.ladder-strip {
  display: grid;
  gap: 10px;
}
.product-ribbon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--panel);
}
.product-ribbon:first-child { border-color: rgba(18,129,95,.45); background: linear-gradient(90deg, var(--mint), var(--panel)); }
.product-ribbon strong { display: block; }
.product-ribbon span { color: var(--muted); font-size: 13px; }
.price { font-weight: 900; color: var(--green-strong); white-space: nowrap; }

.audit-shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.form-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  padding: 24px;
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label, .label { font-size: 13px; font-weight: 900; color: #252c28; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}
textarea { min-height: 98px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(18,129,95,.12); }

.radio-grid, .check-grid { display: grid; gap: 9px; }
.radio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.option-card, .check-card {
  position: relative;
  display: flex;
  gap: 10px;
  min-height: 58px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}
.option-card input, .check-card input { width: auto; accent-color: var(--green); }
.option-card:has(input:checked), .check-card:has(input:checked) { border-color: var(--green); background: var(--mint); color: var(--ink); }
.form-section { margin-top: 22px; }
.form-section .label { display: block; margin-bottom: 10px; }

.result-shell { display: grid; gap: 16px; }
.result-card {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: #101414;
  color: #fff;
  padding: 24px;
  overflow: hidden;
}
.result-card .kicker { color: var(--yellow); }
.result-card h3 { font-size: 34px; margin-bottom: 8px; }
.result-card p { color: rgba(255,255,255,.78); }
.result-price { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; margin: 16px 0 4px; }
.result-price strong { font-size: 38px; line-height: 1; }
.result-price span { color: rgba(255,255,255,.72); }

.score-board, .proposal-box, .timeline-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  padding: 20px;
}
.score-item { display: grid; grid-template-columns: 142px 1fr 34px; gap: 12px; align-items: center; margin: 11px 0; }
.score-item span { color: var(--muted); font-size: 13px; font-weight: 850; }
.bar { height: 8px; border-radius: 999px; background: #e9ece6; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w, 50%); background: linear-gradient(90deg, var(--green), var(--yellow)); border-radius: inherit; }
.proposal-box ul, .timeline-box ul, .product-card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.proposal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.accept-card { padding: 22px; }
.notice {
  border: 1px solid rgba(18,129,95,.22);
  background: var(--mint);
  color: #174436;
  padding: 13px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
}

.dossier-hero { padding: 54px 0 32px; }
.dossier-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product-card { padding: 20px; min-height: 280px; display: flex; flex-direction: column; }
.product-card.top { background: #101414; color: #fff; border-color: #101414; }
.product-card.top .copy, .product-card.top li { color: rgba(255,255,255,.72); }
.product-card header { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 12px; }
.product-card h3 { margin: 0; }
.badge { display: inline-flex; align-items: center; height: 26px; border-radius: 999px; padding: 0 10px; background: var(--mint); color: var(--green-strong); font-size: 12px; font-weight: 900; white-space: nowrap; }
.product-card.top .badge { background: var(--yellow); color: var(--ink); }
.product-card .price { font-size: 22px; margin: auto 0 0; padding-top: 18px; }

.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 30px; }
.login-card { width: min(460px, 100%); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.login-card h1 { font-size: 38px; line-height: 1; margin-bottom: 12px; }
.login-card form { display: grid; gap: 12px; }
.login-error { color: #b33a24; font-weight: 800; min-height: 22px; }

.panel-shell { padding: 26px 0 52px; }
.panel-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 20px; }
.panel-top h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 6px; }
.panel-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 18px; align-items: start; }
.panel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 10px 28px rgba(16,20,20,.06); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stat strong { display:block; font-size: 28px; line-height: 1; }
.stat span { color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.lead-list { display: grid; gap: 9px; max-height: 580px; overflow: auto; padding-right: 4px; }
.lead-item { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 12px; text-align: left; }
.lead-item.active { border-color: var(--green); background: var(--mint); }
.lead-item strong { display: block; }
.lead-item span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.control-row { display: grid; grid-template-columns: 1fr 150px; gap: 12px; }
.discount-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.discount-row label { display: grid; place-items: center; min-height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.discount-row input { display:none; }
.discount-row label:has(input:checked) { background: #101414; color: #fff; border-color: #101414; }
.contract-preview { min-height: 260px; border: 1px solid var(--line); border-radius: var(--radius); background: #fffdf8; padding: 20px; }
.contract-preview h2 { font-size: 30px; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.payload-box { min-height: 130px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }

.footer { padding: 34px 0; border-top: 1px solid rgba(16,20,20,.08); color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer strong { color: var(--ink); }

.print-only { display: none; }

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid, .two-col, .audit-shell, .panel-grid { grid-template-columns: 1fr; }
  .video-block { max-width: 680px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { height: auto; padding: 14px 0; align-items: flex-start; }
  .nav { display: none; }
  .brand { flex-wrap: wrap; gap: 4px 8px; }
  .brand small { width: 100%; }
  h1 { font-size: 48px; }
  h2 { font-size: 34px; }
  .hero { padding-top: 30px; }
  .signal-row, .three-col, .form-grid, .radio-grid, .check-grid, .dossier-grid, .control-row { grid-template-columns: 1fr; }
  .score-item { grid-template-columns: 1fr; gap: 6px; }
  .result-card h3 { font-size: 28px; }
  .result-price strong { font-size: 32px; }
  .section { padding: 58px 0; }
}

@media print {
  body { background: #fff; }
  .site-header, .hero, .banded, .section-head, .audit-shell .form-card, .footer, .no-print, .login-wrap, .panel-top, .lead-list, .panel-actions { display: none !important; }
  .container { width: 100%; }
  .section { padding: 0; }
  .audit-shell, .panel-grid { display: block; }
  .result-shell, .contract-preview, .proposal-box, .score-board { box-shadow: none; border-color: #bbb; }
  .print-only { display: block; }
}
.dossier-client-hero { padding-bottom: 62px; }
.qr-panel {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--panel-strong);
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  align-items: center;
}
.qr-panel img { width: 148px; aspect-ratio: 1; border-radius: 6px; border: 1px solid var(--line); }
.qr-panel strong { display: block; font-size: 24px; line-height: 1.05; margin-bottom: 8px; }
.qr-panel span { color: var(--muted); font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.method-stack { display: grid; gap: 10px; }
.method-stack div, .use-case-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  padding: 16px;
}
.method-stack strong, .use-case-grid strong { display:block; margin-bottom: 5px; }
.method-stack span, .use-case-grid span { color: var(--muted); font-size: 14px; }
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.case-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 34px rgba(16, 20, 20, .055);
}
.case-card span { color: var(--green-strong); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 900; margin-bottom: 12px; }
.case-card p { color: var(--muted); }
.case-card a { margin-top: auto; color: var(--green-strong); font-weight: 900; overflow-wrap: anywhere; }
.use-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 28px;
}
.cta-panel .kicker { color: var(--yellow); }
.cta-panel .copy { color: rgba(255,255,255,.72); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cta-panel .btn.ghost { border-color: rgba(255,255,255,.32); color: #fff; }
@media (max-width: 1080px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .use-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .qr-panel, .cta-panel { grid-template-columns: 1fr; }
  .qr-panel img { width: 132px; }
  .case-grid, .use-case-grid { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}
