:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #5d6965;
  --line: #d8dfdc;
  --paper: #ffffff;
  --canvas: #f3f6f4;
  --green: #0a5b45;
  --green-dark: #074535;
  --green-soft: #e1eee9;
  --coral: #d96c53;
  --blue-soft: #e4f0f4;
  --focus: #146bba;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

button,
input {
  font: inherit;
}

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

a {
  color: var(--green);
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 60%, white);
  outline-offset: 3px;
}

.site-header {
  min-height: 72px;
  padding: 14px max(24px, calc((100% - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  flex: 0 0 34px;
}

.brand span {
  display: grid;
  line-height: 1.08;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}

.locale-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
}

.locale-nav a {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

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

.locale-nav a[aria-current="page"] {
  background: var(--paper);
  box-shadow: 0 1px 4px rgba(23, 32, 29, 0.12);
  color: var(--green);
}

main > section,
.policy-page,
footer {
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
}

.product-intro {
  padding-top: 72px;
  padding-bottom: 80px;
  background: var(--paper);
}

.intro-copy {
  max-width: 780px;
  animation: enter 520ms ease-out both;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 52px;
  font-weight: 760;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 17px;
}

.lede {
  max-width: 720px;
  margin: 0;
  color: #34413d;
  font-size: 19px;
}

.scope-note {
  max-width: 760px;
  margin: 24px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--coral);
  color: var(--muted);
  font-size: 14px;
}

.builder-layout {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 22px;
  align-items: stretch;
}

.builder,
.result-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(23, 32, 29, 0.08);
}

.builder {
  padding: 26px;
  animation: enter 520ms 80ms ease-out both;
}

.builder fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.builder legend,
.amount-label,
.lead-form > label:first-child {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 750;
}

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

.choice {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.choice:hover {
  border-color: #9bb4aa;
  transform: translateY(-1px);
}

.choice:has(input:checked) {
  border-color: var(--green);
  background: var(--green-soft);
}

.choice input,
.consent-choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
  flex: 0 0 auto;
}

.choice span {
  font-size: 14px;
  font-weight: 650;
}

.amount-label {
  display: block;
  margin-top: 24px;
}

.money-input {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  background: #fbfcfb;
}

.money-input:focus-within {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(20, 107, 186, 0.14);
}

.money-input span {
  color: var(--green);
  font-size: 19px;
  font-weight: 800;
}

.money-input input {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.money-input small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.field-note,
.privacy-note {
  color: var(--muted);
  font-size: 13px;
}

.field-note {
  margin: 8px 0 0;
}

.form-status {
  min-height: 22px;
  margin: 10px 0;
  color: #9b302c;
  font-size: 13px;
  font-weight: 650;
}

.form-status[data-state="success"] {
  color: var(--green);
}

.primary-button,
.secondary-button,
.text-button {
  min-height: 44px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.primary-button {
  padding: 11px 16px;
  background: var(--green);
  box-shadow: 0 5px 0 var(--green-dark);
  color: white;
}

.primary-button:hover {
  background: #0b684f;
  box-shadow: 0 3px 0 var(--green-dark);
  transform: translateY(2px);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.secondary-button {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.text-button {
  min-height: 38px;
  padding: 8px 0;
  background: transparent;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.result-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background: #f7faf8;
  animation: enter 520ms 150ms ease-out both;
}

.result-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 94px;
  height: 8px;
  background: var(--coral);
}

.result-panel h2 {
  max-width: 460px;
  margin-bottom: 18px;
  font-size: 25px;
}

.result-empty {
  min-height: 250px;
  padding: 50px 10% 24px;
  color: var(--muted);
  display: grid;
  place-items: center;
  text-align: center;
}

.result-empty[hidden] {
  display: none;
}

.result-content[hidden] {
  display: none;
}

.result-content.is-ready {
  animation: resultReady 340ms ease-out both;
}

.result-total {
  min-height: 66px;
  margin: 0 0 20px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.result-total span {
  color: var(--green);
  font-size: 34px;
  font-weight: 800;
}

.result-total small {
  color: var(--muted);
  font-weight: 700;
  text-align: right;
}

.result-block {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.result-block h3 {
  margin-bottom: 10px;
}

.result-block ul {
  margin: 0;
  padding-left: 20px;
  color: #34413d;
}

.result-block li + li {
  margin-top: 6px;
}

.response-block p,
.next-step {
  margin: 0;
  color: #34413d;
}

.next-step {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--coral);
  background: white;
  font-size: 14px;
}

.result-offer-link {
  width: 100%;
  margin-top: 12px;
}

.source-band,
.faq-band {
  padding-top: 72px;
  padding-bottom: 72px;
}

.source-band {
  background: var(--blue-soft);
}

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

.section-heading h2 {
  margin-bottom: 0;
}

.source-list {
  border-top: 1px solid #aec4cc;
}

.source-item {
  min-height: 108px;
  padding: 20px 0;
  border-bottom: 1px solid #aec4cc;
  display: grid;
  grid-template-columns: 180px minmax(220px, 0.8fr) minmax(240px, 1fr);
  gap: 28px;
  align-items: center;
}

.source-item p,
.source-item h3,
.source-item span {
  margin: 0;
}

.source-item p {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.source-item h3 a {
  color: var(--ink);
  text-underline-offset: 4px;
}

.source-item span {
  color: var(--muted);
  font-size: 14px;
}

.faq-band {
  background: var(--paper);
}

.faq-list {
  max-width: 850px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  padding: 20px 38px 20px 0;
  cursor: pointer;
  font-weight: 750;
}

.faq-item p {
  max-width: 760px;
  margin: -6px 0 22px;
  color: var(--muted);
}

.launch-section {
  padding-top: 74px;
  padding-bottom: 80px;
  background: #18231f;
  color: white;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 72px;
  align-items: start;
}

.launch-copy h2 {
  max-width: 560px;
}

.launch-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: #c9d2ce;
}

.launch-section .eyebrow {
  color: #75c8aa;
}

.launch-price {
  margin-top: 28px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.launch-price strong {
  color: #ff9b82;
  font-size: 36px;
}

.launch-price span {
  color: #c9d2ce;
  font-size: 13px;
}

.lead-form {
  min-width: 0;
  padding: 24px;
  border: 1px solid #52605b;
  border-radius: 8px;
  background: #202d28;
}

.lead-form > label:first-child {
  display: block;
}

.lead-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #65736e;
  border-radius: 6px;
  background: white;
  color: var(--ink);
}

.consent-choice {
  margin: 14px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d9e0dd;
  font-size: 13px;
}

.lead-form .primary-button {
  width: 100%;
}

.lead-form .privacy-note {
  margin-bottom: 0;
  color: #aebbb6;
}

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

footer {
  padding-top: 30px;
  padding-bottom: 34px;
  border-top: 1px solid #2f3b37;
  background: #101815;
  color: #aebbb6;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  font-size: 13px;
}

footer div {
  display: grid;
}

footer div strong {
  color: white;
}

footer nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

footer a {
  color: #cbd6d2;
}

footer p {
  margin: 0;
  text-align: right;
}

.consent-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  width: min(520px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid #9eaaa6;
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 48px rgba(23, 32, 29, 0.24);
}

.consent-panel[hidden] {
  display: none;
}

.consent-panel p {
  margin: 0 0 14px;
  color: #34413d;
  font-size: 14px;
}

.consent-panel > div {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.policy-page {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 70px;
  padding-bottom: 80px;
}

.policy-page h1 {
  font-size: 44px;
}

.policy-page section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.policy-page section h2 {
  font-size: 21px;
}

.not-found {
  min-height: 80vh;
  padding: 16vh 24px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

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

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

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .locale-nav {
    width: 100%;
    overflow-x: auto;
  }

  .locale-nav a {
    flex: 1 0 auto;
    text-align: center;
  }

  .product-intro {
    padding-top: 50px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: 39px;
  }

  .builder-layout,
  .launch-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .launch-section {
    gap: 36px;
  }

  .source-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  footer {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  footer nav {
    justify-content: flex-start;
  }

  footer p {
    text-align: left;
  }
}

@media (max-width: 520px) {
  main > section,
  .policy-page,
  footer,
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 34px;
  }

  .locale-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .locale-nav a {
    min-width: 0;
    padding: 7px 4px;
    font-size: 12px;
  }

  h2 {
    font-size: 26px;
  }

  .lede {
    font-size: 17px;
  }

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

  .builder,
  .result-panel,
  .lead-form {
    padding: 20px;
  }

  .result-empty {
    min-height: 190px;
  }

  .launch-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .launch-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .consent-panel > div {
    flex-direction: column-reverse;
  }

  .consent-panel button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
