:root {
  --page: #f6f2ea;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #fffdf9;
  --text: #1d241f;
  --muted: #69716a;
  --line: #ddd9cf;
  --line-strong: #c9c4b8;
  --accent: #25583d;
  --accent-strong: #173d2a;
  --accent-soft: #e6efe9;
  --danger: #a23f34;
  --shadow: 0 22px 70px rgba(30, 38, 32, 0.09);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.94), transparent 29rem),
    radial-gradient(circle at 88% 85%, rgba(224, 234, 224, 0.72), transparent 28rem),
    var(--page);
}

button,
input {
  font: inherit;
}

button,
label {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
a:focus-visible,
label:has(input:focus-visible) {
  outline: 3px solid rgba(37, 88, 61, 0.26);
  outline-offset: 3px;
}

.shell {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: 26px 0 34px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar {
  min-height: 48px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: var(--accent);
  box-shadow: 0 8px 22px rgba(37, 88, 61, 0.18);
}

.time-note,
.footer {
  color: var(--muted);
  font-size: 0.84rem;
}

.funnel-card {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid rgba(205, 200, 189, 0.72);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.funnel-card::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(37, 88, 61, 0.10);
  border-radius: 50%;
  pointer-events: none;
}

.progress-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: 52px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.progress-track {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e4db;
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 280ms ease;
}

.screen {
  display: none;
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  animation: enter 260ms ease both;
}

.screen.active {
  display: block;
}

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

.eyebrow,
.question-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 {
  max-width: 790px;
  font-size: clamp(2.35rem, 7vw, 5rem);
  line-height: 0.98;
}

h2 {
  max-width: 760px;
  font-size: clamp(1.85rem, 4.5vw, 3.2rem);
  line-height: 1.06;
}

.lead,
.helper {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.helper {
  margin: 14px 0 26px;
  font-size: 0.96rem;
}

.welcome-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 38px 0;
}

.welcome-points > div {
  min-height: 115px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
}

.welcome-points p {
  margin: 20px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.mini-icon {
  display: block;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-stack {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.choice-card,
.pill-choice {
  position: relative;
  cursor: pointer;
}

.choice-card input,
.pill-choice input,
.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.54);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.choice-card:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.82);
}

.choice-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.choice-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.96rem;
}

.choice-card small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.choice-icon,
.choice-dot {
  flex: 0 0 auto;
}

.choice-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(37, 88, 61, 0.08);
  font-size: 1rem;
  font-weight: 700;
}

.choice-dot {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px transparent;
}

.choice-card:has(input:checked) .choice-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 4px var(--accent-soft);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pill-choice span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.pill-choice:hover span {
  border-color: var(--line-strong);
  background: white;
}

.pill-choice:has(input:checked) span {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.text-field {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.text-field > span,
.contact-method legend {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.text-field input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.text-field input:hover,
.text-field input:focus {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(37, 88, 61, 0.06);
  outline: none;
}

.skip-check,
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.skip-check input,
.consent-row input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
}

.text-field--full {
  grid-column: 1 / -1;
}

.contact-method {
  margin: 28px 0 0;
  padding: 0;
  border: 0;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.58);
}

.segmented label {
  position: relative;
  cursor: pointer;
}

.segmented span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.segmented label:has(input:checked) span {
  color: var(--accent-strong);
  background: white;
  box-shadow: 0 4px 16px rgba(30, 38, 32, 0.08);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.text-button {
  border: 0;
  cursor: pointer;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 14px;
  color: white;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(37, 88, 61, 0.18);
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
  box-shadow: 0 15px 30px rgba(37, 88, 61, 0.23);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.primary-button--link {
  margin-top: 28px;
}

.text-button {
  padding: 10px 2px;
  color: var(--muted);
  background: transparent;
  font-weight: 600;
}

.text-button:hover {
  color: var(--text);
}

.privacy-note,
.submit-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.submit-note {
  text-align: right;
}

.field-error {
  min-height: 20px;
  margin: 14px 0 -4px;
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 600;
}

.success-symbol {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 17px;
  color: white;
  background: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.success-symbol--error {
  background: var(--danger);
}

.footer {
  padding: 22px 6px 0;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, 980px);
    padding-top: 14px;
  }

  .topbar {
    margin-bottom: 14px;
    padding: 0 5px;
  }

  .time-note {
    font-size: 0.75rem;
  }

  .funnel-card {
    min-height: calc(100vh - 118px);
    padding: 30px 20px 26px;
    border-radius: 22px;
  }

  .progress-wrap {
    margin-bottom: 38px;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
  }

  .welcome-points {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 28px 0;
  }

  .welcome-points > div {
    display: flex;
    min-height: auto;
    align-items: center;
    gap: 16px;
    padding: 14px 15px;
  }

  .welcome-points p {
    margin: 0;
  }

  .choice-grid--two,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: 82px;
    padding: 14px;
  }

  .text-field--full {
    grid-column: auto;
  }

  .contact-method {
    margin-top: 28px;
  }

  .nav-row {
    position: sticky;
    bottom: 0;
    margin: 30px -4px -5px;
    padding: 12px 4px 5px;
    background: linear-gradient(to top, var(--surface-solid) 62%, transparent);
  }

  .nav-row .primary-button {
    min-width: 150px;
  }

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

  .footer {
    display: none;
  }
}

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


.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.language-button {
  min-width: 38px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  transition: color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.language-button:hover {
  color: var(--text);
}

.language-button.active {
  color: var(--accent-strong);
  background: white;
  box-shadow: 0 3px 12px rgba(30, 38, 32, 0.08);
}

.price-helper {
  display: grid;
  gap: 12px;
}

.pricing-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 88, 61, 0.24);
}

.pricing-link:hover {
  color: var(--accent-strong);
  border-bottom-color: var(--accent-strong);
}

.pricing-context {
  color: var(--muted);
}

@media (max-width: 560px) {
  .topbar-actions {
    gap: 8px;
  }

  .time-note {
    display: none;
  }
}
