:root {
  --ink: #10172a;
  --muted: #58677f;
  --line: #d9e3ea;
  --teal: #14b8a6;
  --blue: #2563eb;
  --danger: #dc2626;
  --cream: #fffdf7;
  --panel: #ffffff;
  --wash: #eff9f8;
  --shadow: 0 24px 80px rgba(37, 99, 235, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(20, 184, 166, 0.18), transparent 30%),
    linear-gradient(135deg, #f6fffd 0%, #f8fbff 54%, #fffaf0 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header,
.site-footer,
main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: inline-flex;
  width: 58px;
  height: 42px;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-wordmark {
  display: inline-flex;
  font-weight: 900;
  font-size: 1.72rem;
  letter-spacing: 0;
  line-height: 1;
}

.brand-wordmark-float {
  color: var(--ink);
}

.brand-wordmark-flow {
  color: var(--teal);
}

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

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

nav a:hover,
.nav-login {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(330px, 0.82fr);
  align-items: start;
  gap: 28px;
  padding: 26px 0 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.persona-line {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 9px 13px;
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: 999px;
  background: rgba(239, 249, 248, 0.82);
  color: #0f766e;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.25;
}

.tension-line {
  width: min(100%, 780px);
  max-width: 100%;
  margin: 0 0 16px;
  padding: 13px 16px 15px;
  border-left: 6px solid var(--danger);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(220, 38, 38, 0.11), rgba(255, 255, 255, 0.5));
  color: #991b1b;
  font-size: clamp(1.55rem, 3.1vw, 2.65rem);
  font-weight: 950;
  line-height: 1.08;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(2.55rem, 4.8vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.46;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
}

.hero-primary {
  min-height: 60px;
  padding: 0 30px;
  font-size: 1.08rem;
}

.primary-action {
  background: linear-gradient(120deg, var(--blue), var(--teal));
  color: #fff;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
}

.secondary-action {
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px var(--line);
}

.trust-line {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.credibility-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 12px;
}

.credibility-metrics article {
  padding: 12px 13px;
  border: 1px solid rgba(16, 23, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.credibility-metrics strong,
.credibility-metrics span {
  display: block;
}

.credibility-metrics strong {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.credibility-metrics span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.forecast-preview,
.section,
.proof-strip,
.site-footer {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.forecast-preview {
  padding: 24px;
}

.preview-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.preview-head span,
.preview-grid span,
.price-card span,
.entry-path > span,
.value-anchors span {
  color: var(--muted);
  font-weight: 750;
}

.preview-head strong {
  color: var(--teal);
}

.preview-head .preview-alert {
  color: var(--danger);
}

.preview-grid {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.preview-grid article,
.feature-grid article,
.steps article,
.price-card,
.entry-path,
.value-anchors article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.preview-grid strong {
  display: block;
  margin: 7px 0 4px;
  font-size: 1.45rem;
}

.preview-grid small,
.price-card small {
  color: var(--muted);
}

.demo-intro {
  margin: 14px 0 16px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.runway-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.runway-inputs label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 850;
}

.runway-inputs input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.15rem;
  font-weight: 900;
  padding: 0 12px;
}

.runway-inputs input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
  outline: none;
}

.scenario-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.scenario-buttons button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 900;
}

.scenario-buttons button:hover,
.scenario-buttons button.is-active {
  border-color: rgba(20, 184, 166, 0.42);
  background: var(--wash);
  color: #0f766e;
}

.runway-output {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.runway-output article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.runway-output span,
.runway-output small {
  color: var(--muted);
  font-weight: 750;
}

.runway-output strong {
  display: block;
  margin: 6px 0 3px;
  font-size: 1.32rem;
  line-height: 1.05;
}

.runway-demo [data-runway-status] {
  color: var(--teal);
}

.runway-demo.is-risk [data-runway-status],
.runway-demo.is-risk [data-runway-months],
.runway-demo.is-risk [data-runway-date] {
  color: var(--danger);
}

.cash-preview-chart {
  height: 210px;
  padding: 12px 0 0;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.12), rgba(37, 99, 235, 0.06));
  overflow: hidden;
}

.cash-preview-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.preview-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.preview-actions .secondary-action {
  width: 100%;
}

.preview-actions small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.4;
}

.preview-grid-line {
  stroke: #b8cede;
  stroke-width: 2;
  opacity: 0.75;
}

.preview-area {
  fill: url(#cash-preview-fill);
}

.preview-line {
  fill: none;
  stroke: var(--teal);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-dot {
  fill: #f8fbff;
  stroke: var(--teal);
  stroke-width: 6;
}

.preview-risk-dot {
  stroke: var(--danger);
}

.preview-label {
  fill: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.preview-danger-line {
  fill: none;
  stroke: var(--danger);
  stroke-dasharray: 12 12;
  stroke-linecap: round;
  stroke-width: 3;
  opacity: 0.6;
}

.preview-danger-label {
  fill: var(--danger);
  font-size: 17px;
  font-weight: 900;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 28px;
  overflow: hidden;
  padding: 0;
}

.proof-strip p {
  margin: 0;
  background: rgba(239, 249, 248, 0.8);
  padding: 18px;
  font-weight: 850;
}

.objection-section {
  display: grid;
  gap: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 249, 248, 0.82));
}

.objection-head {
  max-width: 920px;
}

.objection-head p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.5;
}

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

.objection-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 23, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  padding: 20px;
}

.objection-grid article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--blue), var(--teal));
  content: "";
}

.objection-grid span {
  color: #0f766e;
  font-size: 0.84rem;
  font-weight: 900;
}

.objection-grid h3 {
  margin: 10px 0;
  font-size: 1.2rem;
  line-height: 1.16;
}

.objection-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.category-section {
  display: grid;
  gap: 22px;
}

.category-head {
  max-width: 930px;
}

.category-head p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.5;
}

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

.category-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(239, 249, 248, 0.88), rgba(255, 255, 255, 0.96));
  padding: 22px;
}

.category-grid span {
  color: #0f766e;
  font-size: 0.86rem;
  font-weight: 900;
}

.category-grid h3 {
  margin: 12px 0 10px;
  font-size: 1.34rem;
  line-height: 1.12;
}

.category-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.persona-section {
  display: grid;
  gap: 22px;
}

.persona-section-head {
  max-width: 900px;
}

.persona-section-head p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.5;
}

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

.persona-grid article {
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
}

.persona-grid span {
  color: #0f766e;
  font-size: 0.88rem;
  font-weight: 900;
}

.persona-grid h3 {
  margin: 10px 0;
  font-size: 1.23rem;
  line-height: 1.16;
}

.persona-grid p {
  color: var(--muted);
  line-height: 1.45;
}

.persona-grid ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.persona-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-weight: 850;
}

.persona-grid li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.trust-section {
  display: grid;
  gap: 22px;
}

.trust-head {
  max-width: 880px;
}

.trust-head p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.5;
}

.trust-metrics,
.before-after-grid,
.quote-grid {
  display: grid;
  gap: 14px;
}

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

.trust-metrics article,
.before-after-grid article,
.quote-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.trust-metrics article {
  padding: 18px;
}

.trust-metrics span,
.before-after-grid span,
.quote-grid figcaption {
  color: var(--muted);
  font-weight: 850;
}

.trust-metrics strong {
  display: block;
  margin: 8px 0 6px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1;
}

.trust-metrics p,
.before-after-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.before-after-grid article {
  padding: 20px;
}

.before-after-grid h3 {
  margin: 10px 0 10px;
  font-size: 1.28rem;
}

.before-after-grid strong {
  display: block;
  margin-top: 16px;
  color: #0f766e;
  line-height: 1.35;
}

.quote-grid {
  grid-template-columns: repeat(2, 1fr);
}

.quote-grid figure {
  padding: 22px;
  background: rgba(239, 249, 248, 0.72);
}

.quote-grid blockquote {
  margin: 0 0 14px;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.35;
}

.quote-grid figcaption {
  font-size: 0.92rem;
}

.section {
  margin: 28px 0;
  padding: 42px;
}

.split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 38px;
}

.steps,
.feature-grid {
  display: grid;
  gap: 14px;
}

.section-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
  padding: 18px;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 8px;
  background: rgba(239, 249, 248, 0.78);
}

.section-cta strong,
.section-cta span {
  display: block;
}

.section-cta strong {
  margin-bottom: 4px;
  font-size: 1.06rem;
}

.section-cta span {
  color: var(--muted);
  font-weight: 750;
}

.steps article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--wash);
  color: var(--teal);
  font-weight: 900;
}

.steps p,
.feature-grid p,
.pricing p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

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

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 34px;
  align-items: start;
}

.pricing-copy {
  display: grid;
  gap: 14px;
}

.pricing-copy > p {
  max-width: 680px;
}

.value-anchors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.value-anchors strong {
  display: block;
  margin: 8px 0 7px;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}

.value-anchors p,
.entry-path p,
.price-includes {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.pricing-stack {
  display: grid;
  gap: 14px;
}

.entry-path ol {
  display: grid;
  gap: 13px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: entry-step;
}

.entry-path li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  counter-increment: entry-step;
}

.entry-path li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--wash);
  color: var(--teal);
  content: counter(entry-step);
  font-weight: 900;
  grid-row: 1 / span 2;
}

.entry-path strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.entry-path strong,
.entry-path li p {
  grid-column: 2;
}

.price-card {
  display: grid;
  gap: 10px;
}

.price-card strong {
  display: block;
  margin: 0 0 2px;
  font-size: 3.8rem;
  line-height: 1;
}

.price-includes {
  display: grid;
  gap: 9px;
  padding: 4px 0;
  list-style: none;
}

.price-includes li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
}

.price-includes li::before {
  width: 7px;
  height: 12px;
  margin: 2px 0 0 4px;
  border: solid var(--teal);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.price-card .primary-action {
  width: 100%;
  margin: 4px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 24px;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 24px, 900px);
  }

  .site-header,
  .hero-actions,
  .site-footer {
    align-items: flex-start;
  }

  .site-header,
  .split,
  .pricing {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
  }

  .site-header {
    gap: 16px;
  }

  nav {
    width: 100%;
    flex-flow: row wrap;
    align-items: center;
    gap: 8px;
  }

  nav a {
    padding: 9px 12px;
  }

  .nav-login {
    margin-left: 0;
  }

  .hero {
    padding-top: 24px;
  }

  .tension-line {
    font-size: 1.65rem;
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .scenario-buttons button {
    font-size: 0.78rem;
  }

  .forecast-preview {
    min-width: 0;
  }

  .section-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .proof-strip,
  .objection-grid,
  .category-grid,
  .persona-grid,
  .trust-metrics,
  .before-after-grid,
  .quote-grid,
  .feature-grid,
  .value-anchors {
    grid-template-columns: 1fr;
  }

  .pricing-stack {
    width: 100%;
  }

  .section {
    padding: 24px;
  }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 18px, 720px);
  }

  .brand-mark {
    width: 50px;
    height: 36px;
  }

  .brand-wordmark {
    font-size: 1.44rem;
  }

  nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  nav a {
    text-align: center;
  }

  h1 {
    font-size: 2.55rem;
  }

  .persona-line {
    font-size: 0.78rem;
  }

  .tension-line {
    font-size: 1.45rem;
  }

  .hero-primary {
    min-height: 54px;
    padding: 0 22px;
  }

  .credibility-metrics {
    gap: 6px;
  }

  .credibility-metrics article {
    padding: 10px 8px;
  }

  .credibility-metrics strong {
    font-size: 0.82rem;
  }

  .credibility-metrics span {
    font-size: 0.7rem;
  }

  .forecast-preview {
    padding: 18px;
  }

  .runway-inputs,
  .scenario-buttons {
    grid-template-columns: 1fr;
  }

  .scenario-buttons {
    gap: 6px;
  }

  .cash-preview-chart {
    height: 190px;
  }

  .price-card strong {
    font-size: 3.05rem;
  }
}
