:root {
  --ink: #171b1d;
  --ink-strong: #080b0d;
  --muted: #5a666b;
  --paper: #f6f2ea;
  --paper-strong: #fffaf0;
  --panel: #ffffff;
  --line: #d7d0c2;
  --dark: #11191d;
  --dark-2: #1c2b30;
  --dark-line: #35505a;
  --light-text: #f7f3ea;
  --light-muted: #c5d2d1;
  --teal: #007b6b;
  --teal-strong: #006759;
  --amber: #d99227;
  --red: #c95749;
  --blue: #21658c;
  --green-soft: #d9f1e8;
  --amber-soft: #f6e4c2;
  --shadow: 0 18px 48px rgba(20, 25, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 25, 29, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 25, 29, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  z-index: -1;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 20;
  background: var(--paper-strong);
  color: var(--ink);
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 28px;
  color: var(--light-text);
  background: rgba(17, 25, 29, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--light-text);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: #031815;
  background: var(--green-soft);
  font: 800 13px/1 "Sora", sans-serif;
}

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

nav a {
  text-decoration: none;
}

nav a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--teal);
}

.band {
  width: 100%;
  padding: 72px 28px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  color: var(--light-text);
  background:
    linear-gradient(110deg, rgba(17, 25, 29, 0.98), rgba(22, 41, 45, 0.96)),
    #11191d;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 48px;
  align-items: center;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.1;
}

h1 {
  max-width: 880px;
  font-size: 58px;
}

h2 {
  font-size: 38px;
}

h3 {
  font-size: 19px;
}

p {
  margin: 0;
}

.lead {
  max-width: 760px;
  margin-top: 22px;
  color: var(--light-muted);
  font-size: 20px;
}

.offer-line {
  margin-top: 18px;
  color: #fff4d8;
  font-size: 18px;
}

.cta-row,
.form-actions,
.final-cta,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cta-row {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 800 15px/1 "Manrope", Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: white;
  background: var(--teal);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-strong);
  border-color: var(--teal-strong);
}

.btn-secondary {
  color: var(--ink);
  background: var(--paper-strong);
  border-color: var(--line);
}

.hero .btn-secondary {
  color: var(--light-text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-checks {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--light-muted);
  list-style: none;
}

.hero-checks li {
  position: relative;
  padding-left: 24px;
}

.hero-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--amber);
}

.hero-instrument {
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: #142126;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.instrument-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--dark-line);
  color: var(--light-muted);
  font-weight: 800;
}

.instrument-header strong {
  color: var(--green-soft);
}

.metric-stack {
  display: grid;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--light-muted);
}

.metric-row strong {
  color: var(--light-text);
  text-align: right;
}

.memory-visual {
  display: grid;
  gap: 16px;
  padding: 22px 20px;
}

.bar-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  align-items: center;
  color: var(--light-muted);
  font-size: 14px;
}

.bar-row i {
  display: block;
  height: 14px;
  width: var(--bar);
  max-width: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.instrument-note {
  padding: 0 20px 20px;
  color: var(--light-muted);
  font-size: 14px;
}

.decision-band,
.savings-band,
.objection-band {
  background: var(--paper);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading p,
.split-layout p {
  margin-top: 14px;
  color: var(--muted);
}

.decision-grid,
.path-grid,
.objection-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.mini-card,
.path-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 26px rgba(20, 25, 28, 0.08);
}

.mini-card p,
.path-card p {
  margin-top: 12px;
  color: var(--muted);
}

.card-number,
.path-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 28px;
  margin-bottom: 18px;
  border-radius: 5px;
  color: #08241f;
  background: var(--green-soft);
  font-weight: 800;
}

.path-card.highlight {
  border-color: var(--teal);
  background: #f1fbf7;
}

.fit-band {
  background: #fff7e9;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.56fr);
  gap: 22px;
  align-items: start;
}

.fit-layout .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.fit-form,
.fit-result {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.fit-form {
  padding: 24px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #bfb7aa;
  border-radius: 6px;
  background: #fffdf8;
  color: var(--ink);
  font: 600 15px/1.35 "Manrope", Arial, sans-serif;
}

input,
select {
  min-height: 44px;
  padding: 9px 11px;
}

textarea {
  min-height: 112px;
  padding: 11px;
  resize: vertical;
}

.wide-field {
  margin-top: 16px;
}

.form-actions {
  margin-top: 20px;
}

.fit-result {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.result-label {
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}

.result-value {
  margin-top: 8px;
  color: var(--teal-strong);
  font: 800 34px/1.05 "Sora", Arial, sans-serif;
}

.result-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.result-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 800;
  text-align: right;
}

.result-note {
  margin-top: 18px;
  color: var(--muted);
}

.packet-output {
  margin: 18px 0 0;
  min-height: 172px;
  max-height: 280px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid #cfc7ba;
  border-radius: 6px;
  padding: 14px;
  color: #183036;
  background: #fbf6ea;
  font: 600 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 0.68fr);
  gap: 48px;
  align-items: start;
}

.economics-list {
  display: grid;
  gap: 12px;
}

.economics-list div {
  padding: 18px;
  border-left: 5px solid var(--teal);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 8px 26px rgba(20, 25, 28, 0.08);
}

.economics-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.proof-band {
  color: var(--light-text);
  background: var(--dark);
}

.proof-band .eyebrow {
  color: #f0b858;
}

.proof-band p {
  color: var(--light-muted);
}

.proof-table {
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  overflow: hidden;
  background: #162328;
}

.proof-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.proof-row span {
  padding: 16px;
  border-bottom: 1px solid var(--dark-line);
  color: var(--light-muted);
}

.proof-row span + span {
  border-left: 1px solid var(--dark-line);
}

.proof-head span {
  color: var(--light-text);
  background: #21343a;
  font-weight: 800;
}

.proof-row:last-child span {
  border-bottom: 0;
}

.final-cta {
  margin-top: 28px;
}

.text-link {
  color: var(--ink);
  font-weight: 800;
}

.site-footer {
  padding: 30px 28px 42px;
  color: var(--light-muted);
  background: var(--dark);
  border-top: 1px solid var(--dark-line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  max-width: 760px;
}

.footer-links a {
  color: var(--light-text);
  font-weight: 800;
}

.mobile-sticky-cta {
  display: none;
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 139, 120, 0.42);
  outline-offset: 3px;
}

.btn[aria-disabled="true"] {
  opacity: 0.62;
}

@media (max-width: 1040px) {
  .hero-grid,
  .fit-layout,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .fit-result {
    position: static;
  }

  .decision-grid,
  .path-grid,
  .objection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 68px;
  }

  .topbar {
    min-height: 64px;
    padding: 0 16px;
  }

  nav {
    display: none;
  }

  .band {
    padding: 46px 16px;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 18px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-grid,
  .decision-grid,
  .path-grid,
  .objection-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .bar-row,
  .proof-row {
    grid-template-columns: 1fr;
  }

  .proof-row span + span {
    border-left: 0;
  }

  .result-list div {
    display: grid;
  }

  dd {
    text-align: left;
  }

  .footer-inner {
    display: grid;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 11;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    border-radius: 6px;
    color: white;
    background: var(--teal);
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--shadow);
    pointer-events: none;
    transform: translateY(84px);
    transition: transform 160ms ease;
  }

  .mobile-sticky-cta.is-visible {
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 32px;
  }

  .btn,
  .form-actions .btn {
    width: 100%;
  }

  .result-value {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
