:root {
  --ink-1000: #071b21;
  --ink-950: #0b252c;
  --ink-800: #173d45;
  --ink-650: #49666a;
  --paper: #f3f7f6;
  --paper-deep: #e5ecea;
  --surface: #ffffff;
  --sand: #c2d0cc;
  --teal-700: #126e69;
  --teal-550: #2c9990;
  --teal-100: #dcece7;
  --line: #bdc9c4;
  --font-sans: "Avenir Next", Avenir, "Segoe UI", Candara, sans-serif;
  --font-display: "Avenir Next", Avenir, "Segoe UI", Candara, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.65, .01, .05, .99);
  --ease-snap: cubic-bezier(.85, 0, .15, 1);
  --duration-micro: 180ms;
  --duration-state: 320ms;
  --duration-enter: 700ms;
}

html {
  scroll-padding-top: 5.25rem;
}

body {
  background: var(--paper);
}

button,
input,
summary {
  font: inherit;
}

.home-header {
  position: sticky;
  z-index: 12;
  top: 0;
  border-bottom-color: rgb(11 37 44 / 14%);
  background: rgb(243 247 246 / 96%);
}

.home-header .header-inner {
  min-height: 4.75rem;
}

.brand-editorial {
  flex: none;
  gap: .65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -.02em;
}

.brand-editorial strong {
  font-family: var(--font-sans);
  font-size: .72em;
  letter-spacing: .13em;
}

.brand-ledger {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--teal-700);
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.6;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 2.2vw, 1.65rem);
  margin-left: auto;
}

.primary-nav a {
  min-height: 2.75rem;
  padding: .7rem .15rem;
  color: var(--ink-800);
  font-size: var(--step--1);
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a:not(.language-link) {
  background: linear-gradient(var(--teal-700), var(--teal-700)) 0 100% / 0 1px no-repeat;
  transition: background-size var(--duration-micro) var(--ease-out), color var(--duration-micro) ease;
}

.primary-nav a:not(.language-link):hover,
.primary-nav a:not(.language-link):focus-visible {
  color: var(--teal-700);
  background-size: 100% 1px;
}

.home-header .language-link {
  padding-inline: .75rem;
  border-left: 1px solid rgb(11 37 44 / 18%);
}

.header-cta {
  margin-left: .25rem;
}

.nav-toggle {
  display: none;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid rgb(11 37 44 / 22%);
  border-radius: var(--radius-s);
  color: var(--ink-950);
  background: transparent;
}

.home-hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 4.75rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(24rem, .82fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  padding-block: clamp(2.25rem, 5vw, 5rem);
}

.hero-story {
  align-self: stretch;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.home-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.65rem, 4.2vw, 4.25rem);
  font-weight: 650;
  line-height: 1;
}

.home-hero .lede {
  max-width: 37rem;
  font-size: clamp(1.02rem, 1.4vw, 1.3rem);
}

.calculator-wrap {
  position: relative;
}

.calculator {
  color: #f4f0e7;
  background: var(--ink-950);
  padding: clamp(1.4rem, 3.4vw, 2.65rem);
  box-shadow: 0 1.8rem 4rem rgb(7 27 33 / 19%);
}

.calculator-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.calculator-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 650;
}

.control-group {
  padding-block: .75rem .3rem;
  border-top: 1px solid rgb(255 255 255 / 15%);
}

.control-line {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.control-line label {
  color: #c0cfcc;
  font-size: .86rem;
  font-weight: 650;
}

.number-shell {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: baseline;
  border-bottom: 1px solid #5a777a;
}

.number-shell:focus-within {
  border-color: #9ad1c8;
}

.number-shell input {
  width: 7.25ch;
  min-height: 2.75rem;
  padding: .1rem .3rem;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  appearance: textfield;
}

.number-shell input::-webkit-inner-spin-button,
.number-shell input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.number-shell-days input {
  width: 3.25ch;
}

.number-shell > span {
  color: #c0cfcc;
  font-size: .78rem;
}

.range {
  display: block;
  width: 100%;
  height: 2.75rem;
  margin: 0;
  accent-color: var(--teal-550);
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.range::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(90deg, #82c5bc var(--range-progress, 50%), #61777a var(--range-progress, 50%));
}

.range::-moz-range-track {
  height: 2px;
  background: #61777a;
}

.range::-moz-range-progress {
  height: 2px;
  background: #82c5bc;
}

.range::-webkit-slider-thumb {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: -.58rem;
  border: 3px solid var(--ink-950);
  border-radius: 50%;
  appearance: none;
  background: #9ad1c8;
  box-shadow: 0 0 0 1px #9ad1c8;
}

.range::-moz-range-thumb {
  width: 1.05rem;
  height: 1.05rem;
  border: 3px solid var(--ink-950);
  border-radius: 50%;
  background: #9ad1c8;
  box-shadow: 0 0 0 1px #9ad1c8;
}

.range-bounds {
  display: flex;
  justify-content: space-between;
  margin-top: -.55rem;
  color: #8da3a5;
  font-size: .64rem;
  font-variant-numeric: tabular-nums;
}

.field-message,
.repeat-note {
  margin: .45rem 0 0;
  color: #d9bca0;
  font-size: .72rem;
}

.repeat-note {
  padding: .65rem .75rem;
  border-left: 2px solid var(--sand);
  background: rgb(255 255 255 / 6%);
}

.offer-summary {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 0;
  border-block: 1px solid rgb(255 255 255 / 17%);
}

.summary-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.summary-item small {
  color: #9db0b0;
  font-size: .7rem;
}

.summary-item strong {
  margin-top: .15rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  font-weight: 620;
  line-height: 1.15;
}

.summary-total {
  padding-left: 1rem;
  border-left: 1px solid rgb(255 255 255 / 17%);
}

.summary-total strong {
  color: #b8e0d7;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.rate-line {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  padding-block: .75rem;
  color: #aabdbd;
  font-size: .69rem;
}

.rate-line strong {
  display: block;
  color: white;
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
}

.calculator-legal-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .25rem;
  padding-top: .35rem;
}

.calculator-legal-links .language-link {
  min-width: 0;
  min-height: 2.75rem;
  padding: .3rem .2rem;
  color: #d9e5e3;
  font-size: .68rem;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.calculator-legal-links strong {
  color: inherit;
  font-size: inherit;
}

.calculator .button {
  width: 100%;
  min-height: 3.1rem;
  border-color: #79c0b6;
  color: var(--ink-1000);
  background: #9ad1c8;
}

.calculator .button:hover {
  border-color: white;
  color: var(--ink-1000);
  background: white;
}

.calculator-decision,
.calculator .caution {
  margin: .65rem 0 0;
  color: #aabdbd;
  font-size: .69rem;
  line-height: 1.4;
}

.calculator .caution {
  color: #e5d4be;
}

.trust-strip {
  border-block: 1px solid rgb(11 37 44 / 14%);
  background: var(--surface);
}

.trust-strip ul {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  margin-block: 0;
  padding-block: 1.1rem;
  list-style: none;
}

.trust-strip li {
  display: block;
  min-width: 0;
  padding: .25rem clamp(.5rem, 2vw, 1.5rem);
  border-left: 1px solid var(--line);
}

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

.trust-strip strong,
.trust-strip small {
  display: block;
}

.trust-strip strong {
  font-size: .78rem;
  line-height: 1.3;
}

.trust-strip small {
  margin-top: .18rem;
  color: var(--ink-650);
  font-size: .66rem;
  line-height: 1.35;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section h2 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.5vw, 3.35rem);
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1;
  text-wrap: balance;
}

.section-intro > p:last-child,
.conditions-heading > p,
.responsible-lede {
  max-width: 37rem;
  color: var(--ink-650);
}

.process {
  display: block;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  margin: 0;
  margin-top: 3rem;
  padding: 0;
  list-style: none;
}

.process-step {
  min-height: 0;
  padding: 1.35rem .75rem 0 0;
  border-top: 2px solid var(--ink-950);
}

.process-step h3,
.process-step p,
.benefit h3,
.benefit p {
  margin: 0;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
}

.process-step p {
  margin-top: .3rem;
  color: var(--ink-650);
  font-size: .88rem;
}

.benefits-section {
  border-block: 1px solid rgb(11 37 44 / 13%);
  background: var(--paper-deep);
}

.benefits-section .section-intro {
  max-width: 48rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, .85fr);
  grid-template-rows: repeat(2, minmax(9rem, auto));
  gap: 1rem;
  margin-top: 3.5rem;
}

.benefit {
  min-height: 0;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  background: var(--surface);
}

.benefit:first-child {
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border-color: transparent;
  background: var(--teal-100);
}

.benefit h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 650;
}

.benefit p {
  margin-top: .65rem;
  color: var(--ink-650);
  font-size: .88rem;
}

.conditions {
  display: grid;
  grid-template-columns: minmax(18rem, .82fr) minmax(24rem, 1.18fr);
  gap: clamp(3rem, 10vw, 9rem);
}

.conditions-heading .button {
  margin-top: 1.25rem;
}

.condition-table {
  margin: 0;
  border-top: 2px solid var(--ink-950);
}

.condition-row {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.condition-row dt {
  color: var(--ink-650);
  font-size: .8rem;
}

.condition-row dd {
  margin: 0;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
}

.responsible {
  color: var(--ink-950);
  background: var(--teal-100);
}

.responsible-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(3rem, 10vw, 9rem);
}

.responsible .responsible-lede {
  color: var(--ink-650);
}

.help-card {
  position: relative;
  align-self: start;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.help-rule {
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-bottom: 2.25rem;
  background: var(--teal-700);
}

.help-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 650;
}

.help-card p {
  color: var(--ink-650);
}

.help-card a {
  display: block;
  min-height: 2.75rem;
  width: fit-content;
  padding-block: .55rem;
  color: var(--teal-700);
}

.faq {
  display: block;
}

.faq-list {
  max-width: 52rem;
  margin-top: 3rem;
  margin-left: auto;
  border-top: 2px solid var(--ink-950);
}

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

.faq-item summary {
  position: relative;
  display: block;
  min-height: 4.5rem;
  padding: .75rem 2.5rem .75rem 0;
  color: var(--ink-950);
  font-weight: 680;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  right: .25rem;
  content: "+";
  color: var(--teal-700);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  transition: transform var(--duration-state) var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 44rem;
  padding: 0 2.5rem 1.35rem 0;
  color: var(--ink-650);
}

.faq-answer p {
  margin: 0;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding-inline: clamp(1.5rem, 5vw, 4.5rem);
  color: var(--ink-950);
  background: var(--teal-100);
}

.final-cta p {
  max-width: 47rem;
}

.final-total {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.final-cta .button {
  min-width: 14rem;
}

.site-footer .brand-editorial {
  color: var(--ink-950);
}

.site-footer .brand-ledger {
  color: var(--teal-700);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: start;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer-top p {
  max-width: 43rem;
  color: var(--ink-650);
}

.site-footer .footer-grid {
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.site-footer .footer-grid > div {
  min-width: 0;
}

.site-footer .footer-grid p:not(.footer-heading, .footer-name) {
  color: var(--ink-650);
  overflow-wrap: anywhere;
}

.site-footer .footer-grid p span {
  color: var(--ink-800);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  color: var(--ink-650);
}

.sticky-cta {
  display: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity var(--duration-enter) var(--ease-out), transform var(--duration-enter) var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-transparency: reduce) {
  .home-header {
    background: var(--paper);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .entrance {
    animation: home-enter var(--duration-enter) var(--ease-out) both;
  }

  .calculator-wrap.entrance {
    animation-delay: 100ms;
  }

}

@keyframes home-enter {
  from { opacity: 0; transform: translateY(.8rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 68rem) {
  .header-cta {
    display: none;
  }

  .home-hero {
    grid-template-columns: minmax(0, .95fr) minmax(22rem, 1.05fr);
    gap: 2.5rem;
  }

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

@media (max-width: 48rem) {
  html {
    scroll-padding-top: 4.1rem;
  }

  body {
    padding-bottom: calc(4.35rem + env(safe-area-inset-bottom));
  }

  .home-header .header-inner {
    position: relative;
    min-height: 4rem;
    flex-wrap: wrap;
  }

  .brand-ledger {
    width: 2.15rem;
    height: 2.15rem;
  }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav-toggle i,
  .nav-toggle i::before,
  .nav-toggle i::after {
    display: block;
    width: 1.05rem;
    height: 1px;
    background: currentColor;
  }

  .nav-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .nav-toggle i {
    position: relative;
  }

  .nav-toggle i::before,
  .nav-toggle i::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .nav-toggle i::before { top: -.35rem; }
  .nav-toggle i::after { top: .35rem; }

  .primary-nav {
    position: static;
    display: grid;
    width: 100%;
    order: 3;
    gap: 0;
    margin: 0;
    padding: .4rem 0 .75rem;
    border-top: 1px solid var(--line);
    background: var(--paper);
  }

  .js .primary-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    width: auto;
    padding: .6rem 1rem 1rem;
    border: 1px solid var(--line);
    box-shadow: 0 1rem 2rem rgb(7 27 33 / 12%);
  }

  .js .primary-nav:not([data-open="true"]) {
    display: none;
  }

  .home-header .language-link {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .home-hero {
    display: block;
    min-height: 0;
    padding-block: 1.15rem 1.8rem;
  }

  .home-hero h1 {
    max-width: 16ch;
    font-size: clamp(2rem, 9.2vw, 2.7rem);
    line-height: 1;
  }

  .home-hero .eyebrow {
    margin-bottom: .5rem;
    font-size: .65rem;
  }

  .home-hero .lede {
    margin-top: .65rem;
    font-size: .9rem;
    line-height: 1.4;
  }

  .calculator-wrap {
    margin-top: 1rem;
  }

  .calculator {
    padding: .85rem 1rem 1rem;
  }

  .calculator-heading {
    margin-bottom: .35rem;
  }

  .calculator-heading h2 {
    font-size: 1.2rem;
  }

  .control-group {
    padding-block: .32rem .1rem;
  }

  .control-line,
  .number-shell {
    min-height: 2.75rem;
  }

  .number-shell input {
    min-width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
    padding-block: 0;
    font-size: 1.35rem;
  }

  .range {
    height: 2.75rem;
  }

  .range-bounds {
    margin-top: -.3rem;
  }

  .offer-summary {
    margin-top: .55rem;
    padding: .6rem 0;
  }

  .summary-item strong {
    font-size: 1.05rem;
  }

  .summary-total strong {
    font-size: 1.3rem;
  }

  .rate-line {
    padding-block: .5rem;
  }

  .calculator .button {
    min-height: 2.75rem;
    padding-block: .6rem;
  }

  .calculator-decision {
    display: none;
  }

  .calculator .caution {
    margin-top: .45rem;
    font-size: .62rem;
  }

  .trust-strip ul {
    grid-template-columns: 1fr 1fr;
  }

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

  .section {
    padding-block: 4rem;
  }

  .process,
  .conditions,
  .responsible-grid,
  .faq,
  .final-cta,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process,
  .conditions,
  .responsible-grid,
  .faq {
    gap: 2.5rem;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: .75rem;
  }

  .benefit {
    min-height: 0;
    padding: 1.25rem;
  }

  .benefit:first-child {
    grid-row: auto;
  }

  .benefit h3 {
    margin-top: 0;
  }

  .final-cta {
    align-items: start;
    margin-bottom: 4rem;
  }

  .final-cta .button {
    width: 100%;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    position: fixed;
    z-index: 15;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: .55rem 1rem calc(.55rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgb(11 37 44 / 15%);
    background: var(--paper);
  }

  .sticky-cta .button {
    width: 100%;
    min-height: 3rem;
  }
}

@media (max-width: 24.375rem) and (max-height: 52.75rem) {
  .home-hero {
    padding-top: .8rem;
  }

  .home-hero .lede {
    display: none;
  }

  .calculator-wrap {
    margin-top: .65rem;
  }

  .calculator-heading,
  .rate-line {
    margin-bottom: 0;
  }

  .calculator .caution {
    max-width: 48ch;
  }
}

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

  .entrance,
  .js .reveal,
  .js .reveal.is-visible {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .primary-nav a:not(.language-link) {
    background-image: none;
  }
}

@media (forced-colors: active) {
  .calculator,
  .responsible,
  .sticky-cta {
    border: 1px solid CanvasText;
  }

  .button,
  .range::-webkit-slider-thumb {
    forced-color-adjust: none;
  }
}
