@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wdth,wght@92,500;92,650;92,780;92,850;100,500;100,650;100,780;100,900&family=JetBrains+Mono:wght@500;650;800&display=swap");

:root {
  --ink: #101214;
  --muted: #5d6269;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #d8d6d0;
  --red: #d82d1f;
  --red-dark: #a91f16;
  --mint: #1f8f63;
  --cyan: #007d91;
  --yellow: #f2c94c;
  --shadow: 0 24px 70px rgba(16, 18, 20, 0.16);
}

* {
  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.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(16, 18, 20, 0.1);
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.proof-strip,
.hero-actions,
.panel-topline,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a:hover,
.header-cta:hover {
  color: var(--red);
}

.header-cta {
  font-weight: 800;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.72fr);
  gap: 56px;
  align-items: center;
  max-width: 1200px;
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 72px 32px 48px;
}

.hero > * {
  min-width: 0;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-subtitle {
  max-width: 680px;
  color: #32363b;
  font-size: 22px;
}

.quickstart {
  max-width: 720px;
  margin: 30px 0 24px;
  border: 1px solid rgba(16, 18, 20, 0.16);
  border-radius: 8px;
  background: #15181d;
  box-shadow: 0 18px 55px rgba(16, 18, 20, 0.18);
  color: #eef0f2;
  overflow: hidden;
}

.quickstart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #c7ccd1;
  font-size: 13px;
  font-weight: 800;
}

.quickstart-header strong {
  border-radius: 999px;
  background: rgba(242, 201, 76, 0.14);
  color: var(--yellow);
  padding: 5px 9px;
  white-space: nowrap;
}

.quickstart-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quickstart-tab {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #aeb5bc;
  padding: 0 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.quickstart-tab:hover,
.quickstart-tab.active {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.quickstart-panel {
  display: none;
  padding: 16px;
}

.quickstart-panel.active {
  display: block;
}

.quickstart pre {
  margin: 0;
  overflow-x: auto;
  border-radius: 8px;
  background: #08090b;
  padding: 16px;
}

.quickstart code {
  color: #e8f4ed;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  line-height: 1.55;
}

.quickstart-panel p {
  margin: 12px 0 0;
  color: #b9c0c7;
  font-size: 14px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.button.primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

.button.wide {
  width: 100%;
}

.proof-strip {
  flex-wrap: wrap;
  gap: 8px;
}

.proof-strip span,
.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  padding: 8px 11px;
  color: #34383d;
  font-size: 13px;
  font-weight: 750;
}

.hero-panel {
  border: 1px solid rgba(16, 18, 20, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 45, 31, 0.08), transparent 36%),
    #171a1f;
  box-shadow: var(--shadow);
  color: #fff;
  padding: 22px;
}

.panel-topline {
  justify-content: space-between;
  margin-bottom: 18px;
  color: #cfd2d6;
  font-size: 14px;
}

.panel-topline strong {
  border-radius: 999px;
  background: rgba(31, 143, 99, 0.18);
  color: #9ff1c8;
  padding: 6px 10px;
}

.run-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.run-card.danger {
  border-color: rgba(216, 45, 31, 0.72);
}

.run-label,
.run-grid span,
.quote-result span {
  display: block;
  color: #afb4ba;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.run-card strong {
  display: block;
  margin: 8px 0;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 21px;
  overflow-wrap: anywhere;
}

.run-card p,
.policy-feed p {
  margin-bottom: 0;
  color: #cfd2d6;
}

.run-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.run-grid div {
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.run-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 20px;
}

.policy-feed {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.policy-feed p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}

.policy-feed span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
}

.fear-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 32px max(32px, calc((100vw - 1200px) / 2 + 32px));
  background: var(--ink);
  color: #fff;
}

.fear-band p {
  max-width: 880px;
  margin-bottom: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.fear-band strong {
  color: var(--yellow);
  font-size: clamp(22px, 3vw, 34px);
  white-space: nowrap;
}

.backing-strip {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 26px max(32px, calc((100vw - 1200px) / 2 + 32px));
  border-top: 1px solid rgba(16, 18, 20, 0.1);
  border-bottom: 1px solid rgba(16, 18, 20, 0.1);
  background: #fff;
}

.backing-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.backing-strip strong {
  display: block;
  max-width: 640px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.08;
}

.backing-strip p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.section,
.compliance-section,
.quote-section,
.pricing-section,
.integration-section,
.final-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 86px 32px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.coverage-grid,
.loss-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.coverage-card,
.loss-card,
.price-card,
.steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.coverage-card p,
.loss-card p,
.price-card p,
.steps p,
.quote-copy p,
.fine-print {
  color: var(--muted);
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.loss-grid {
  grid-template-columns: repeat(3, 1fr);
}

.loss-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  gap: 12px;
}

.loss-card.critical {
  border-color: rgba(216, 45, 31, 0.34);
  box-shadow: 0 18px 45px rgba(216, 45, 31, 0.09);
}

.loss-card h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.loss-card p {
  margin-bottom: 0;
}

.loss-card strong {
  display: block;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: #303439;
  font-size: 14px;
  line-height: 1.35;
}

.coverage-note {
  margin-top: 18px;
  border: 1px solid rgba(0, 125, 145, 0.3);
  border-radius: 8px;
  background: rgba(0, 125, 145, 0.08);
  padding: 18px;
  color: #244950;
}

.coverage-note strong {
  color: var(--ink);
}

.compliance-section {
  max-width: none;
  padding-left: max(32px, calc((100vw - 1200px) / 2 + 32px));
  padding-right: max(32px, calc((100vw - 1200px) / 2 + 32px));
  background:
    linear-gradient(135deg, rgba(16, 18, 20, 0.04), rgba(0, 125, 145, 0.08)),
    #f3f5f2;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.compliance-card {
  grid-column: span 2;
  min-height: 238px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 22px;
}

.compliance-card.emphasized {
  border-color: rgba(216, 45, 31, 0.36);
  background:
    linear-gradient(135deg, rgba(216, 45, 31, 0.08), rgba(255, 255, 255, 0.9)),
    #fff;
}

.compliance-card span {
  display: inline-flex;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

.compliance-card h3 {
  max-width: 360px;
  margin-bottom: 10px;
  font-size: 22px;
}

.compliance-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.58fr);
  gap: 54px;
  align-items: start;
  background:
    linear-gradient(90deg, transparent, rgba(0, 125, 145, 0.08)),
    var(--paper);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #303439;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
}

.quote-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(16, 18, 20, 0.16);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 24px;
}

.form-row,
.range-row {
  display: grid;
  gap: 8px;
}

label,
legend {
  color: #2f3337;
  font-size: 14px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(216, 45, 31, 0.2);
  border-color: var(--red);
}

input[type="range"] {
  padding: 0;
  accent-color: var(--red);
}

fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

fieldset label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #3a3e43;
  font-weight: 650;
}

fieldset input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--red);
}

.quote-result {
  border: 1px solid rgba(31, 143, 99, 0.42);
  border-radius: 8px;
  background: rgba(31, 143, 99, 0.08);
  padding: 18px;
}

.quote-result span {
  color: var(--mint);
}

.quote-result strong {
  display: block;
  margin: 6px 0;
  font-size: 36px;
}

.quote-result small {
  color: #416253;
  font-weight: 750;
}

.fine-print {
  margin-bottom: 0;
  font-size: 12px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  gap: 42px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.steps span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--red);
  font-weight: 900;
}

.pricing-section {
  max-width: none;
  padding-left: max(32px, calc((100vw - 1200px) / 2 + 32px));
  padding-right: max(32px, calc((100vw - 1200px) / 2 + 32px));
  background: #eef3f0;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card.featured {
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.price {
  margin-bottom: 0;
  font-size: 42px;
  font-weight: 900;
  color: var(--ink) !important;
}

.price span {
  color: var(--muted);
  font-size: 18px;
}

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
  padding-left: 18px;
  color: #303439;
}

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

.logo-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.logo-grid span {
  display: grid;
  place-items: center;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: #2f3337;
  font-weight: 900;
}

.final-cta {
  text-align: center;
}

.final-cta h2 {
  max-width: 820px;
  margin: 0 auto 28px;
}

.sleep-well {
  display: block;
  margin-top: 18px;
  color: #fff;
}

.sleep-well span {
  position: relative;
  display: inline-block;
  color: var(--yellow);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.05em;
  transform: rotate(-2deg);
}

.sleep-well span::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.04em;
  height: 0.16em;
  z-index: -1;
  border-radius: 999px;
  background: rgba(230, 59, 46, 0.72);
}

.footer {
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

  .hero,
  .quote-section,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

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

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

  .compliance-card {
    grid-column: span 1;
  }

  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .fear-band {
    grid-template-columns: 1fr;
  }

  .backing-strip {
    grid-template-columns: 1fr;
  }

  .fear-band strong {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0 18px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .section,
  .compliance-section,
  .backing-strip,
  .quote-section,
  .pricing-section,
  .integration-section,
  .final-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .hero-panel,
  .quote-form {
    padding: 16px;
  }

  .quickstart-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .run-grid,
  .coverage-grid,
  .loss-grid,
  .compliance-grid,
  .steps,
  .pricing-grid,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
    padding: 22px 18px;
  }
}

/* Agency polish pass */
:root {
  --ink: #0d1014;
  --muted: #666d76;
  --paper: #f6f2ea;
  --surface: rgba(255, 253, 248, 0.86);
  --line: rgba(13, 16, 20, 0.14);
  --red: #e63b2e;
  --red-dark: #b8251b;
  --mint: #18a66a;
  --cyan: #087f95;
  --yellow: #efc84a;
  --violet: #6f5cff;
  --shadow: 0 26px 90px rgba(13, 16, 20, 0.18);
  --sharp-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset, 0 28px 80px rgba(13, 16, 20, 0.14);
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(13, 16, 20, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 16, 20, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(230, 59, 46, 0.08), transparent 38%),
    var(--paper);
  background-size: 36px 36px, 36px 36px, auto, auto;
  font-family: "Instrument Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variation-settings: "wdth" 96;
}

::selection {
  background: rgba(230, 59, 46, 0.22);
}

.risk-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  opacity: 0.46;
  pointer-events: none;
}

.site-header {
  min-height: 76px;
  border-bottom-color: rgba(13, 16, 20, 0.08);
  background: rgba(246, 242, 234, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.brand {
  font-size: 19px;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #0d1014, #272b34 58%, #e63b2e);
  box-shadow: 0 10px 30px rgba(13, 16, 20, 0.18);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
}

.nav {
  border: 1px solid rgba(13, 16, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.54);
  padding: 8px 13px;
  box-shadow: 0 14px 40px rgba(13, 16, 20, 0.06);
}

.nav a,
.header-cta,
.button,
.quickstart-tab,
.price-card,
.loss-card,
.compliance-card,
.steps article,
.logo-grid span {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.header-cta {
  border: 1px solid rgba(13, 16, 20, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  padding: 9px 13px;
  box-shadow: 0 12px 36px rgba(13, 16, 20, 0.08);
}

.hero {
  position: relative;
  max-width: 1320px;
  min-height: calc(100vh - 76px);
  padding-top: 62px;
  padding-bottom: 54px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 24px 18px;
  z-index: -1;
  border: 1px solid rgba(13, 16, 20, 0.08);
  border-radius: 22px;
  background:
    repeating-linear-gradient(90deg, rgba(13, 16, 20, 0.04) 0 1px, transparent 1px 84px),
    linear-gradient(135deg, rgba(255, 253, 248, 0.7), rgba(255, 253, 248, 0.28));
  box-shadow: 0 40px 140px rgba(13, 16, 20, 0.08);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 11px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(230, 59, 46, 0.12);
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(56px, 6.7vw, 104px);
  line-height: 0.88;
  font-weight: 900;
  text-wrap: balance;
}

h1 .hero-muted {
  display: block;
  color: rgba(13, 16, 20, 0.64);
}

h1 .hero-rotator {
  position: relative;
  display: block;
  width: min(100%, 7.8em);
  min-height: 1.04em;
  color: var(--red);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.62em;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: lowercase;
}

.hero-rotator::before {
  content: "";
}

.hero-rotator::after {
  content: "";
}

#hero-rotator-text {
  display: inline-block;
  min-width: 12ch;
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

h2 {
  font-weight: 900;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 700px;
  color: #2b3036;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.28;
}

.quickstart {
  position: relative;
  max-width: 760px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #101318;
  background-size: 100% 34px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 28px 80px rgba(13, 16, 20, 0.28);
}

.quickstart::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--cyan), var(--violet));
}

.quickstart-header {
  min-height: 52px;
  background: rgba(255, 255, 255, 0.035);
}

.quickstart-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-install {
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.copy-install:hover {
  background: rgba(255, 255, 255, 0.14);
}

.quickstart-tab.active {
  background: #f4f0e8;
  color: #101318;
}

.quickstart pre {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28) inset;
}

.quickstart code {
  color: #e9fff3;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.quickstart-status {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 16px 16px;
}

.quickstart-status span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 7px rgba(24, 166, 106, 0.13);
}

.quickstart-status p {
  margin: 0;
  color: #b9c0c7;
  font-size: 13px;
}

.button {
  position: relative;
  min-height: 50px;
  border-radius: 999px;
  overflow: hidden;
}

.button.primary {
  box-shadow: 0 18px 44px rgba(230, 59, 46, 0.28);
}

.button.primary::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 45%);
  pointer-events: none;
}

.button:hover {
  transform: translateY(-2px);
}

.proof-strip span,
.tag {
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 12px 30px rgba(13, 16, 20, 0.06);
}

.hero-panel {
  position: relative;
  isolation: isolate;
  align-self: center;
  transform: rotate(1deg);
  border: 1px solid rgba(13, 16, 20, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(13, 16, 20, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(13, 16, 20, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(238, 243, 239, 0.9));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 34px 100px rgba(13, 16, 20, 0.18);
  color: var(--ink);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px dashed rgba(13, 16, 20, 0.16);
  border-radius: 12px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(230, 59, 46, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 48%, rgba(230, 59, 46, 0.12) 49% 56%, transparent 57%),
    rgba(230, 59, 46, 0.04);
  transform: rotate(-12deg);
}

.panel-topline {
  color: #59616b;
}

.panel-topline strong {
  background: rgba(24, 166, 106, 0.12);
  color: #13784f;
}

.slip-summary {
  margin: 8px 0 18px;
  border-left: 3px solid var(--red);
  padding-left: 12px;
}

.slip-summary p {
  max-width: 340px;
  margin-bottom: 5px;
  color: #20262c;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.05;
}

.slip-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.run-card {
  position: relative;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(13, 16, 20, 0.96), rgba(28, 32, 38, 0.96)),
    #11151b;
  box-shadow: 0 20px 60px rgba(13, 16, 20, 0.22);
  transform: rotate(-1.6deg) translateX(-18px);
}

.run-grid div:hover,
.loss-card:hover,
.compliance-card:hover,
.steps article:hover,
.price-card:hover,
.logo-grid span:hover {
  transform: translateY(-3px);
  box-shadow: var(--sharp-shadow);
}

.slip-ledger {
  display: grid;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid rgba(13, 16, 20, 0.14);
  border-bottom: 1px solid rgba(13, 16, 20, 0.14);
}

.ledger-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid rgba(13, 16, 20, 0.08);
}

.ledger-row:first-child {
  border-top: 0;
}

.ledger-row span {
  color: #69717a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ledger-row strong {
  color: var(--ink);
  font-size: 20px;
}

.claim-route {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.claim-route span {
  border: 1px solid rgba(13, 16, 20, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: #3f464e;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 850;
}

.backing-strip,
.fear-band,
.agent-callout,
.compliance-section,
.pricing-section {
  position: relative;
}

.backing-strip {
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.92), rgba(236, 245, 241, 0.82)),
    #fff;
}

.fear-band {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 14px),
    #0d1014;
}

.agent-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.58fr);
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 84px 32px;
}

.agent-callout > * {
  min-width: 0;
}

.agent-callout h2 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
}

.agent-callout p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.agent-terminal {
  border: 1px solid rgba(13, 16, 20, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    #11151b;
  background-size: 100% 34px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.agent-terminal pre {
  margin: 0 0 16px;
  overflow-x: auto;
  max-width: 100%;
  border-radius: 10px;
  background: #07090c;
  padding: 16px;
}

.agent-terminal code {
  color: #e9fff3;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  line-height: 1.55;
}

.agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section,
.compliance-section,
.quote-section,
.pricing-section,
.integration-section,
.final-cta {
  padding-top: 104px;
  padding-bottom: 104px;
}

.section-heading {
  margin-bottom: 40px;
}

.loss-grid,
.pricing-grid,
.compliance-grid,
.steps,
.logo-grid {
  gap: 18px;
}

.loss-card,
.price-card,
.steps article,
.compliance-card {
  border-color: rgba(13, 16, 20, 0.12);
  background: rgba(255, 253, 248, 0.74);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  backdrop-filter: blur(14px);
}

.loss-card.critical {
  background:
    linear-gradient(135deg, rgba(230, 59, 46, 0.08), rgba(255, 253, 248, 0.86)),
    rgba(255, 253, 248, 0.8);
}

.compliance-section {
  background:
    linear-gradient(rgba(13, 16, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 16, 20, 0.035) 1px, transparent 1px),
    #edf2ee;
  background-size: 34px 34px, 34px 34px, auto;
}

.compliance-card span {
  background: linear-gradient(135deg, #11151b, #2a3039);
}

.quote-section {
  position: relative;
  max-width: none;
  padding-left: max(32px, calc((100vw - 1200px) / 2 + 32px));
  padding-right: max(32px, calc((100vw - 1200px) / 2 + 32px));
  background:
    repeating-linear-gradient(90deg, rgba(13, 16, 20, 0.035) 0 1px, transparent 1px 88px),
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(236, 246, 241, 0.82));
}

.quote-form {
  position: sticky;
  top: 98px;
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(18px);
}

input,
select,
fieldset {
  background: rgba(255, 255, 255, 0.7);
}

.quote-result {
  background:
    linear-gradient(135deg, rgba(24, 166, 106, 0.14), rgba(239, 200, 74, 0.1)),
    rgba(255, 255, 255, 0.7);
}

.pricing-section {
  background:
    linear-gradient(rgba(13, 16, 20, 0.035) 1px, transparent 1px),
    #e9efeb;
  background-size: 100% 34px;
}

.price-card.featured {
  transform: translateY(-10px);
  background:
    linear-gradient(135deg, rgba(230, 59, 46, 0.08), rgba(255, 253, 248, 0.92)),
    rgba(255, 253, 248, 0.88);
}

.logo-grid span {
  background: rgba(255, 253, 248, 0.68);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.final-cta {
  max-width: none;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 16px),
    #11151b;
  color: #fff;
}

.final-cta .eyebrow,
.final-cta h2 {
  color: #fff;
}

.footer {
  background: #0d1014;
  color: #bfc5cb;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transition:
      opacity 620ms ease,
      transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .coverage-meter span {
    animation: meter-pulse 3.8s ease-in-out infinite;
  }

  .policy-feed span {
    animation: ping-dot 2.6s ease-in-out infinite;
  }
}

@keyframes meter-pulse {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.45) brightness(1.08);
  }
}

@keyframes ping-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(24, 166, 106, 0.32);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(24, 166, 106, 0);
  }
}

@media (max-width: 980px) {
  .hero::before {
    inset: 14px;
  }

  .agent-callout {
    grid-template-columns: 1fr;
  }

  .quote-form {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    background: rgba(246, 242, 234, 0.88);
  }

  .brand {
    font-size: 17px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero::before {
    display: none;
  }

  h1 {
    font-size: 48px;
    line-height: 0.92;
  }

  h1 .hero-rotator {
    font-size: 0.58em;
  }

  .quickstart-actions {
    width: 100%;
    justify-content: space-between;
  }

  .agent-callout {
    padding: 78px 18px;
  }

  .agent-callout h2 {
    font-size: 42px;
  }

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

  .hero-panel,
  .run-card {
    transform: none;
  }
}
