:root {
  --ink: #13232b;
  --ink-soft: #3a525c;
  --paper: #eef4f1;
  --paper-2: #e3ece7;
  --teal: #0d5c56;
  --teal-deep: #0a4541;
  --teal-mid: #1a7a72;
  --sand: #e8d5a8;
  --sand-hot: #d4b56a;
  --line: rgba(19, 35, 43, 0.12);
  --radius: 6px;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Manrope", sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(26, 122, 114, 0.14), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(212, 181, 106, 0.16), transparent 50%),
    linear-gradient(180deg, #f6faf8 0%, var(--paper) 40%, var(--paper-2) 100%);
  min-height: 100vh;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 48px);
  padding-top: env(safe-area-inset-top);
  background: rgba(246, 250, 248, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}

.hidden {
  display: none !important;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav > a {
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--teal);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: -2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-toggle::after,
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after {
  margin-top: 2px;
  transform: rotate(-135deg);
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
  color: var(--teal);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(8, 28, 32, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 20;
}

.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: calc(var(--radius) - 4px);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(13, 92, 86, 0.08);
  color: var(--teal);
}

.nav-burger {
  display: none;
}

.muted-inline code {
  font-size: 0.85em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--teal);
  color: #f4fffb;
}

.btn-primary:hover {
  background: var(--teal-deep);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(13, 92, 86, 0.35);
  color: var(--teal-deep);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  min-height: 40px;
  padding: 0 14px;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #f3fbf8;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-art {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto clamp(40px, 8vw, 88px);
  padding: 0;
}

.brand-lockup {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  animation: rise 0.7s ease both;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: rgba(243, 251, 248, 0.92);
  max-width: 18ch;
  animation: rise 0.8s ease 0.08s both;
}

.lead {
  margin: 16px 0 0;
  max-width: 34em;
  color: rgba(220, 240, 233, 0.86);
  font-size: 1.05rem;
  animation: rise 0.8s ease 0.16s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: rise 0.8s ease 0.24s both;
}

.btn-secondary.hero-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #f3fbf8;
}

.hero .btn-primary {
  background: var(--sand-hot);
  color: #1d2a22;
}

.hero .btn-primary:hover {
  background: var(--sand);
}

.cash-line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-line 1.6s ease 0.3s forwards;
}

.pulse-dot {
  transform-origin: 1100px 250px;
  animation: pulse 2.4s ease-in-out 1.6s infinite;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.35); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.trust-strip {
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
}

.trust-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-facts li {
  min-width: 0;
  padding: 2px 22px;
  border-left: 1px solid var(--line);
}

.trust-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust-facts strong,
.trust-facts span {
  display: block;
}

.trust-facts strong {
  margin-bottom: 3px;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-facts span {
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.4;
}

.forecast-demo {
  padding: clamp(64px, 9vw, 108px) 0;
  background: rgba(255, 255, 255, 0.38);
}

.forecast-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.forecast-heading h2 {
  max-width: 25ch;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-mid);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(13, 92, 86, 0.28);
  border-radius: 999px;
  color: var(--teal-deep);
  background: rgba(13, 92, 86, 0.06);
  font-size: 0.78rem;
  font-weight: 600;
}

.forecast-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.85fr);
  overflow: hidden;
  border: 1px solid rgba(19, 35, 43, 0.16);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(8, 28, 32, 0.1);
}

.forecast-main {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
}

.forecast-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.forecast-toolbar > div,
.forecast-product {
  display: block;
}

.forecast-product,
.forecast-period,
.forecast-side-label {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.forecast-toolbar strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.forecast-period {
  white-space: nowrap;
}

.forecast-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.forecast-metrics > div {
  padding: 0 18px;
  border-left: 1px solid var(--line);
}

.forecast-metrics > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.forecast-metrics dt {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.forecast-metrics dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.12rem);
  line-height: 1.3;
}

.forecast-metric-alert dd::before {
  content: '!';
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 50%;
  background: #b42318;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  vertical-align: 2px;
}

.forecast-chart-wrap {
  padding-top: 16px;
}

.forecast-chart {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
}

.chart-grid line {
  stroke: rgba(19, 35, 43, 0.1);
  stroke-width: 1;
}

.chart-zero {
  stroke: var(--ink-soft);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
}

.chart-danger-date {
  stroke: #b42318;
  stroke-width: 2;
  stroke-dasharray: 6 5;
}

.chart-line {
  fill: none;
  stroke: var(--teal);
  stroke-width: 5;
  stroke-linecap: round;
}

.chart-area {
  fill: rgba(13, 92, 86, 0.08);
}

.chart-point {
  fill: #fff;
  stroke: #b42318;
  stroke-width: 4;
}

.chart-zero-label,
.chart-axis text {
  fill: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 13px;
}

.chart-danger-label,
.chart-value {
  fill: #8b1e16;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
}

.forecast-explain {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 3vw, 34px);
  background: linear-gradient(160deg, #123f43, #102e3a);
  color: #eef8f4;
}

.forecast-explain .forecast-side-label {
  margin: 0 0 14px;
  color: rgba(238, 248, 244, 0.68);
}

.forecast-reasons {
  margin: 0;
  padding: 0;
  list-style: none;
}

.forecast-reasons li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.forecast-reasons li > span {
  color: var(--sand-hot);
  font-family: var(--font-display);
  font-size: 0.72rem;
}

.forecast-reasons strong {
  display: block;
  font-size: 0.92rem;
}

.forecast-reasons p {
  margin: 3px 0 0;
  color: rgba(238, 248, 244, 0.72);
  font-size: 0.82rem;
  line-height: 1.45;
}

.forecast-action {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--sand);
  color: #1d2a22;
}

.forecast-action span,
.forecast-action strong {
  display: block;
}

.forecast-action span {
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.forecast-action strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.45;
}

.forecast-action p {
  margin: 7px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.roles {
  padding: clamp(56px, 8vw, 88px) 0;
}

.roles-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.8fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}

.roles-intro h2 {
  max-width: 12ch;
}

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

.role-outcomes article {
  padding: 6px 24px 8px;
  border-left: 1px solid var(--line);
}

.role-outcomes article:first-child {
  padding-left: 0;
  border-left: 0;
}

.role-name {
  color: var(--teal-mid);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.role-outcomes h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.4;
}

.role-outcomes p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.band,
.features,
.pricing,
.cta {
  padding: clamp(56px, 9vw, 104px) 0;
}

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

.band {
  background:
    linear-gradient(180deg, rgba(13, 92, 86, 0.06), transparent 40%),
    transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 18ch;
}

.section-lead {
  margin: 14px 0 0;
  max-width: 42em;
  color: var(--ink-soft);
}

.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  counter-reset: none;
}

.steps li {
  padding-top: 8px;
  border-top: 2px solid var(--teal);
}

.step-num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--teal-mid);
  letter-spacing: 0.08em;
}

.steps h3,
.feature-list h3,
.price-tier h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.steps p,
.feature-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.feature-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-list li {
  padding: 28px 24px 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list li:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--line);
}

.feature-list li:nth-child(even) {
  padding-left: 32px;
}

.price-grid {
  margin-top: 40px;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 18px;
}

.price-tier {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-tier.accent {
  background: linear-gradient(165deg, rgba(13, 92, 86, 0.1), rgba(255, 255, 255, 0.7));
  border-color: rgba(13, 92, 86, 0.35);
}

.price-tier.selected {
  border-color: rgba(13, 92, 86, 0.55);
  box-shadow: 0 0 0 2px rgba(13, 92, 86, 0.12);
}

.price {
  margin: 8px 0 18px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.price span {
  font-size: 1.85rem;
  letter-spacing: -0.03em;
}

.price-tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
}

.price-tier li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.price-tier-action {
  margin-top: auto;
  padding-top: 18px;
}

.price-btn {
  width: 100%;
  margin-top: 0;
}

.pay-checkout {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 16px;
}

.tariff-fallback {
  grid-column: 1 / -1;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 12px;
  text-align: left;
}

.tariff-fallback h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.tariff-fallback-lead {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.tariff-fallback-form {
  display: grid;
  gap: 14px;
}

.tariff-fallback-form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 500;
}

.tariff-fallback-form input[type="text"],
.tariff-fallback-form input[type="email"],
.tariff-fallback-form input[type="tel"],
.tariff-fallback-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  box-sizing: border-box;
  background: #fff;
}

.tariff-fallback-form textarea {
  min-height: 110px;
  padding: 10px 12px;
  resize: vertical;
}

.tariff-fallback-phone .iti {
  width: 100%;
  display: block;
}

.tariff-fallback-phone .iti input.iti__tel-input {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
}

.tariff-fallback-country {
  margin: -6px 0 0;
  text-align: left;
  font-size: 0.85rem;
}

.tariff-fallback-ok {
  margin: 0;
  color: #0d5c56;
  font-size: 0.92rem;
}

#tariff-contact-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.pay-checkout-head h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.pay-checkout-tariff {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pay-checkout-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.pay-checkout-email input {
  display: block;
  width: 100%;
  margin-top: 6px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  box-sizing: border-box;
}

.pay-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.pay-check input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.pay-check a {
  color: var(--teal);
}

.pay-error {
  margin: 0;
  color: #b42318;
  font-size: 0.9rem;
}

#pay-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.muted-inline {
  color: var(--ink-soft);
  text-align: center;
  flex: 0 0 100%;
  width: 100%;
}

.cta-panel {
  padding: clamp(28px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(13, 92, 86, 0.92), rgba(22, 58, 74, 0.95)),
    var(--teal-deep);
  color: #eef8f4;
  border-radius: 10px;
}

.cta-panel h2 {
  color: #fff;
  max-width: none;
}

.cta-panel > p {
  margin: 12px 0 0;
  max-width: 40em;
  color: rgba(238, 248, 244, 0.85);
}

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

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(238, 248, 244, 0.78);
}

.lead-form-wide,
.lead-form-consent,
.lead-form-error,
.lead-form-success,
.lead-form button {
  grid-column: 1 / -1;
}

.lead-form input:not([type="checkbox"]),
.lead-form textarea {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
}

.lead-form textarea {
  min-height: 96px;
  padding: 10px 14px;
  resize: vertical;
}

.lead-form input:not([type="checkbox"])::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.lead-form .lead-form-consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}

.lead-form-consent input {
  min-height: 0;
  margin-top: 4px;
  flex: 0 0 auto;
}

.lead-form-consent a {
  color: #fff;
}

.lead-form-error,
.lead-form-success {
  margin: 0;
  font-size: 0.92rem;
}

.lead-form-error {
  color: #ffd4cf;
}

.lead-form-success {
  color: #d9ffec;
}

#lead-form-submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.cta-panel .btn-primary {
  background: var(--sand-hot);
  color: #1d2a22;
  justify-self: start;
  min-width: 200px;
}

.cta-panel .btn-primary:hover {
  background: var(--sand);
}

.form-note {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: rgba(238, 248, 244, 0.7);
}

.form-note a {
  color: #fff;
}

.site-footer {
  padding: 40px clamp(20px, 4vw, 48px) 56px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: baseline;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.footer-brand span,
.footer-legal,
.footer-domain {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
}

.footer-domain {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a {
  color: var(--teal);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  left: clamp(12px, 3vw, 24px);
  right: clamp(12px, 3vw, 24px);
  bottom: clamp(12px, 3vw, 24px);
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(8, 28, 32, 0.12);
}

.cookie-copy p {
  margin: 0;
  flex: 1 1 240px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.cookie-copy {
  flex: 1 1 420px;
}

.cookie-copy > strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.88rem;
}

.cookie-actions {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-actions .btn {
  white-space: nowrap;
}
.cookie-banner a {
  color: var(--teal);
}

.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.pay-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 28, 32, 0.55);
}

.pay-modal-card {
  position: relative;
  width: min(100%, 440px);
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(8, 28, 32, 0.2);
}

.pay-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.pay-modal-card h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.pay-modal-tariff {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pay-modal-card label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 500;
}

.pay-modal-card input[type="email"],
.pay-modal-card input[type="password"],
.pay-modal-card input[type="text"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  box-sizing: border-box;
}

.pay-modal.hidden {
  display: none;
}

#register-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.pay-offer-check {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400 !important;
  color: var(--ink-soft);
}

.pay-offer-check input {
  margin-top: 4px;
}

.pay-error {
  margin: 0 0 12px;
  color: #b42318;
  font-size: 0.9rem;
}

.pay-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.payment-success-toast {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  max-width: min(92vw, 520px);
  margin: 0;
  padding: 14px 18px;
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(13, 92, 86, 0.35);
}

@media (max-width: 960px) {
  .trust-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 0;
  }

  .trust-facts li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .forecast-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .forecast-shell,
  .roles-layout,
  .role-outcomes {
    grid-template-columns: 1fr;
  }

  .forecast-explain {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
    align-items: end;
  }

  .role-outcomes article,
  .role-outcomes article:first-child {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .nav-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.7);
    color: var(--ink);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 16px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(246, 250, 248, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(8, 28, 32, 0.12);
    z-index: 30;
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav > a,
  .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: var(--radius);
  }

  .nav-dropdown-menu {
    position: static;
    left: auto;
    transform: none;
    min-width: 0;
    margin-top: 4px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
  }

  .site-header {
    position: sticky;
    gap: 12px;
  }

  .site-header .btn-ghost {
    padding: 8px 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: min(92svh, 820px);
    align-items: flex-end;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }

  .hero-copy h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }

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

  .price-grid {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .price-tier {
    flex: 1 1 auto;
    width: 100%;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-list li:nth-child(odd),
  .feature-list li:nth-child(even) {
    padding: 22px 0;
    border-right: 0;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  #cookie-banner {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .trust-facts,
  .forecast-metrics,
  .forecast-explain {
    grid-template-columns: 1fr;
  }

  .trust-facts li,
  .trust-facts li:first-child,
  .trust-facts li:nth-child(odd) {
    padding: 10px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-facts li:first-child {
    border-top: 0;
  }

  .forecast-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .forecast-metrics {
    gap: 0;
    padding: 12px 0;
  }

  .forecast-metrics > div,
  .forecast-metrics > div:first-child {
    padding: 10px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .forecast-metrics > div:first-child {
    border-top: 0;
  }

  .forecast-chart {
    min-height: 170px;
  }
}
@media (max-width: 640px) {
  .cookie-actions {
    width: 100%;
    flex-direction: column-reverse;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .cash-line {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}
