:root {
  --ink: #102226;
  --ink-soft: #4e6267;
  --paper: #f4f1e9;
  --surface: #fffdf8;
  --line: #d9d7ce;
  --blue: #2c67d8;
  --blue-dark: #17479f;
  --green: #18836b;
  --amber: #c4771c;
  --red: #c94c3d;
  --shadow: 0 22px 60px rgba(16, 34, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0;
  border-bottom: 1px solid rgba(16, 34, 38, 0.1);
  background: rgba(244, 241, 233, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 14px;
}

.site-nav a,
.text-link {
  text-decoration: none;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--blue-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #1a3439;
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.button-outline {
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: var(--ink);
  color: white;
}

.button-light {
  border-color: white;
  background: white;
  color: var(--ink);
}

.button-light:hover {
  background: #e9f8f2;
}

main {
  overflow: hidden;
}

.hero,
.demo-section,
.report-section,
.pricing-section,
.closing,
footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.58fr);
  gap: 64px;
  align-items: center;
  padding: 92px 0 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-lede {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 30px 0;
}

.text-link {
  border-bottom: 1px solid currentColor;
  color: var(--blue-dark);
  font-weight: 700;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink-soft);
  font-size: 13px;
}

.hero-proof {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(16, 34, 38, 0.12);
  border-radius: 16px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.hero-proof::before {
  position: absolute;
  top: -1px;
  right: 28px;
  width: 120px;
  height: 5px;
  border-radius: 0 0 5px 5px;
  background: var(--green);
  content: "";
}

.proof-topline,
.workbench-header,
.panel-heading,
.report-preview-head,
.report-meta,
.proof-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.proof-topline {
  color: #b7c6c8;
  font-size: 13px;
}

.status {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-risk {
  background: rgba(201, 76, 61, 0.2);
  color: #ffb5aa;
}

.proof-number {
  margin: 42px 0 4px;
  font-size: 60px;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.05em;
}

.proof-label {
  margin-bottom: 38px;
  color: #b7c6c8;
}

.proof-grid {
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-grid > div {
  display: grid;
  gap: 4px;
}

.proof-metric {
  font-size: 20px;
  font-weight: 760;
}

.proof-caption {
  color: #9eafb2;
  font-size: 11px;
}

.demo-section,
.report-section,
.pricing-section {
  padding: 86px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading p:last-child {
  margin-bottom: 4px;
  color: var(--ink-soft);
}

.workbench {
  border: 1px solid rgba(16, 34, 38, 0.18);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.workbench-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #e9e7df;
  color: var(--ink-soft);
  font-size: 12px;
}

.workbench-header > div:first-child {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b4b2aa;
}

.workbench-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workbench-live {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tabs {
  display: flex;
  gap: 8px;
  padding: 18px 22px 0;
}

.tab {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 700;
}

.tab:hover,
.tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 18px 22px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.metric {
  display: grid;
  gap: 5px;
  padding: 20px;
  background: white;
}

.metric-label {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.metric strong {
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.metric-delta {
  color: var(--red);
  font-size: 12px;
}

.workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, 0.6fr);
  gap: 16px;
  padding: 16px 22px 22px;
}

.panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.panel-heading {
  gap: 18px;
  margin-bottom: 22px;
}

.panel-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-note {
  color: var(--ink-soft);
  font-size: 12px;
  text-align: right;
}

.cost-chart {
  display: flex;
  height: 22px;
  overflow: hidden;
  border-radius: 6px;
  background: #ece9e1;
}

.cost-segment {
  min-width: 5px;
  transition: width 240ms ease, filter 160ms ease;
}

.cost-segment:hover {
  filter: brightness(1.08);
}

.cost-segment[data-stage="stt"] {
  background: var(--blue);
}

.cost-segment[data-stage="llm"] {
  background: var(--green);
}

.cost-segment[data-stage="tts"] {
  background: var(--amber);
}

.cost-segment[data-stage="telephony"] {
  background: #536f76;
}

.cost-segment[data-stage="retries"] {
  background: var(--red);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 18px;
}

.legend-item {
  display: grid;
  grid-template-columns: 10px auto;
  gap: 2px 8px;
  align-items: center;
}

.legend-item i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.legend-item span {
  color: var(--ink-soft);
  font-size: 12px;
}

.legend-item strong {
  grid-column: 2;
  font-size: 13px;
}

.issue-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.issue-list li {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.issue-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.issue-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
}

.issue-title-row strong {
  font-size: 14px;
}

.severity {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.severity-high,
.severity-critical {
  background: #fbe4e0;
  color: #9d2f23;
}

.severity-medium {
  background: #faebd7;
  color: #8d5513;
}

.issue-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.waterfall {
  display: grid;
  gap: 12px;
}

.waterfall-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 72px;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}

.waterfall-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece9e1;
}

.waterfall-bar {
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 240ms ease;
}

.waterfall-row:nth-child(2) .waterfall-bar {
  background: var(--green);
}

.waterfall-row:nth-child(3) .waterfall-bar {
  background: var(--amber);
}

.waterfall-row:nth-child(4) .waterfall-bar {
  background: #536f76;
}

.waterfall-row:nth-child(5) .waterfall-bar {
  background: var(--red);
}

.waterfall-value {
  text-align: right;
  font-weight: 750;
}

.calculator-panel {
  background: #eef6f2;
}

.calculator-grid {
  display: grid;
  gap: 18px;
}

.calculator-grid label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
}

.calculator-grid label span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.calculator-grid input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--green);
}

.calculator-grid output {
  font-weight: 800;
}

.savings {
  display: grid;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #b9d3c9;
}

.savings span,
.savings small {
  color: var(--ink-soft);
}

.savings strong {
  margin: 4px 0;
  color: var(--green);
  font-size: 34px;
  letter-spacing: -0.04em;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 54px;
  align-items: start;
}

.report-list {
  display: grid;
}

.report-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.report-item:first-child {
  border-top: 1px solid var(--line);
}

.report-number {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.report-item p {
  margin: 0;
  color: var(--ink-soft);
}

.report-preview {
  padding: 26px;
  border: 1px solid rgba(16, 34, 38, 0.18);
  border-radius: 12px;
  background: white;
  box-shadow: 0 16px 40px rgba(16, 34, 38, 0.08);
}

.report-company {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.report-date {
  color: var(--ink-soft);
  font-size: 12px;
}

.report-summary {
  display: grid;
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.report-summary span {
  color: var(--ink-soft);
  font-size: 12px;
}

.report-summary strong {
  color: var(--red);
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.report-callout {
  padding: 16px;
  border-left: 4px solid var(--red);
  background: #fdf1ef;
}

.report-callout p {
  margin: 10px 0 0;
  font-size: 13px;
}

.report-meta {
  gap: 20px;
  margin-top: 22px;
  align-items: flex-start;
}

.report-meta span {
  color: var(--ink-soft);
  font-size: 12px;
}

.report-meta strong {
  max-width: 220px;
  text-align: right;
  font-size: 13px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.price-card.featured {
  border: 2px solid var(--ink);
  transform: translateY(-8px);
}

.featured-label {
  position: absolute;
  top: -15px;
  left: 22px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-tier {
  font-weight: 800;
}

.price {
  margin: 22px 0 4px;
  font-size: 50px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.price-caption {
  color: var(--ink-soft);
}

.price-card ul {
  display: grid;
  gap: 11px;
  margin: 22px 0 28px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
}

.price-card li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 800;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 50px;
  border-radius: 14px 14px 0 0;
  background: var(--ink);
  color: white;
}

.closing h2 {
  max-width: 720px;
  margin-bottom: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 22px 0 40px;
  color: var(--ink-soft);
  font-size: 13px;
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

  .hero,
  .section-heading,
  .report-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 42px;
    padding-top: 64px;
  }

  .section-heading {
    gap: 8px;
  }

  .workbench-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  .demo-section,
  .report-section,
  .pricing-section,
  .closing,
  footer {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    gap: 12px;
  }

  .site-header .button {
    margin-left: auto;
    padding: 0 12px;
    font-size: 12px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .proof-grid,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    display: grid;
  }

  .metric-strip {
    display: grid;
  }

  .workbench-title {
    display: none;
  }

  .tabs {
    padding-right: 12px;
    padding-left: 12px;
    overflow-x: auto;
  }

  .tab {
    flex: 0 0 auto;
  }

  .metric-strip,
  .workbench-grid {
    margin-right: 12px;
    margin-left: 12px;
  }

  .workbench-grid {
    padding-right: 0;
    padding-left: 0;
  }

  .panel {
    padding: 17px;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .panel-note {
    text-align: left;
  }

  .waterfall-row {
    grid-template-columns: 74px minmax(0, 1fr) 62px;
  }

  .report-preview {
    padding: 20px;
  }

  .closing {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 24px;
  }

  .closing .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
    gap: 6px;
  }
}

