/* ---------- Tokens ---------- */
:root {
  --ink: #121214;
  --ink-2: #1E1E22;
  --line-dark: #3A3A40;
  --white: #FFFFFF;
  --soft: #F4F3EF;
  --line: #E4E2DC;
  --border: #A9A69E;
  --text-2: #45454B;
  --muted: #5A5A61;
  --muted-dark: #C9C9CF;
  --amber: #F2A51A;
  --orange-bg: #FDECD9;
  --orange-fg: #8A3B06;
  --green-bg: #DDEFE2;
  --green-fg: #1F5130;

  --font-body: Inter, system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", var(--font-body);

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: var(--ink); }
a:hover { color: var(--muted); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.container { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 96px; }
.stack-4 { display: flex; flex-direction: column; gap: 4px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }
.stack-48 { display: flex; flex-direction: column; gap: 48px; }
.stack-56 { display: flex; flex-direction: column; gap: 56px; }

.dark { background: var(--ink); color: var(--white); }
.soft { background: var(--soft); border-block: 1px solid var(--line); }

h2 { font-size: clamp(32px, 4.5vw, 46px); line-height: 1.08; font-weight: 700; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--text-2); }
.lead-dark { color: var(--muted-dark); font-size: 16px; line-height: 1.6; }
.lead.lead-dark { font-size: clamp(17px, 1.6vw, 19px); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 740px; }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.muted { color: var(--muted); }
.caption { font-size: 13px; color: var(--muted); font-weight: 500; }
.caption.strong { font-size: 14px; font-weight: 600; }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 15px 24px; border-radius: 12px;
  font: inherit; font-size: 17px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
}
.btn-sm { padding: 10px 18px; font-size: 15px; border-radius: var(--radius-sm); }
.btn-lg { min-height: 54px; }
.btn-block { width: 100%; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #E0950C; color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2A2A2F; color: var(--white); }
.btn-outline { border-color: #C9C6BE; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; }
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 88px 96px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.hero .lead { font-size: clamp(17px, 1.7vw, 20px); max-width: 560px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card-soft { background: var(--soft); }
.run-card { flex: 1 1 420px; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 16px; border-radius: 20px; }
.run-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.run-title { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.pill { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.pill-dark { background: var(--ink); color: var(--white); }
.progress { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress div { height: 100%; background: var(--amber); }
.call-list { display: flex; flex-direction: column; gap: 8px; }
.call-row { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex: none; }
.call-meta { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.call-meta strong { font-size: 15px; }
.call-meta span { font-size: 13px; color: var(--muted); }
.tag { font-size: 13px; font-weight: 600; padding: 5px 9px; border-radius: 8px; flex: none; }
.tag-lg { font-size: 14px; padding: 7px 12px; }
.tag-green { background: var(--green-bg); color: var(--green-fg); }
.tag-orange { background: var(--orange-bg); color: var(--orange-fg); }
.tag-amber { background: var(--amber); color: var(--ink); }

/* ---------- Gap section ---------- */
.ladder { display: flex; flex-wrap: wrap; gap: 10px; }
.ladder li { flex: 1 1 160px; min-width: 0; border-radius: var(--radius); padding: 18px; background: var(--ink-2); border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 6px; }
.ladder span { font-size: 13px; font-weight: 600; opacity: 0.85; }
.ladder strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.ladder .ladder-missing { background: var(--amber); border-color: var(--amber); color: var(--ink); }

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.misses > div { border-top: 1px solid var(--line-dark); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.misses h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.misses p { font-size: 16px; line-height: 1.55; color: var(--muted-dark); }

/* ---------- Steps ---------- */
.step { background: var(--soft); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.step-n { width: 40px; height: 40px; border-radius: 12px; background: var(--amber); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.step h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.step p { font-size: 16px; line-height: 1.55; color: var(--text-2); }

/* ---------- Sample report ---------- */
.report { padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.report-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.report-title { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.player { display: flex; align-items: center; gap: 16px; background: var(--soft); border-radius: var(--radius); padding: 14px 18px; }
.play { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; cursor: pointer; }
.wave { flex: 1 1 auto; min-width: 0; height: 48px; display: flex; align-items: center; gap: 3px; overflow: hidden; }
.wave span { flex: 1 0 3px; border-radius: 2px; background: #C9C6BE; }
.wave span.played { background: var(--ink); }
.report-body { display: flex; flex-wrap: wrap; gap: 24px; }
.transcript { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.line { display: flex; gap: 14px; padding: 12px 14px; border-radius: 12px; }
.line-agent { background: var(--soft); }
.line-hl { background: var(--orange-bg); }
.line time { font-size: 13px; color: var(--muted); flex: none; width: 40px; padding-top: 2px; }
.line strong { font-size: 13px; display: block; margin-bottom: 3px; }
.line p { font-size: 16px; }
.feedback { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.quote { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.quote p { font-size: 16px; }

/* ---------- Pricing ---------- */
.pricing { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.pricing-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.checks { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.checks li { display: flex; gap: 12px; font-size: 17px; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5 L9.5 14.5 L15.5 8' fill='none' stroke='%23121214' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.price-card { flex: 1 1 420px; min-width: 0; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.price-row { display: flex; justify-content: space-between; gap: 12px; font-size: 17px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.price-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 17px; font-weight: 600; }
.big { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Form ---------- */
.access { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.access-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.form-card { flex: 1 1 520px; min-width: 0; padding: 32px; color: var(--ink); }
#access-form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 600; padding: 0; }
.field legend { margin-bottom: 10px; }
.field input {
  font: inherit; font-size: 16px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink);
}
.field input[aria-invalid="true"] { border-color: var(--orange-fg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: 15px; font-weight: 500; min-height: 44px; padding: 10px 16px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--white); color: var(--ink); cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.form-error { color: var(--orange-fg); font-size: 15px; }
.success { display: flex; flex-direction: column; gap: 18px; padding-block: 12px; }
.success h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.success p { font-size: 17px; line-height: 1.55; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 28px; }
.faq h2 { font-size: clamp(30px, 4vw, 40px); }
.faq details { border-top: 1px solid var(--line); padding-block: 20px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; }

@media (max-width: 640px) {
  .section { padding-block: 64px; }
  .hero { padding-block: 48px 64px; gap: 40px; }
  .report, .form-card, .price-card { padding: 20px; }
}
