@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Arial'), local('Liberation Sans');
  font-weight: 400;
  font-style: normal;
  size-adjust: 99.2%;
  ascent-override: 100%;
  descent-override: 31.25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Arial'), local('Liberation Sans');
  font-weight: 500;
  font-style: normal;
  size-adjust: 104%;
  ascent-override: 95.38%;
  descent-override: 29.81%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f7f8;
  --bg-alt: #f0f0f2;
  --ink: #000;
  --muted: rgba(0, 0, 0, 0.6);
  --card: #fff;
  --line: rgba(0, 0, 0, 0.06);
  --marquee-bg: #f0f0f2;
  --marquee-line: rgba(0, 0, 0, 0.06);
  --light: #f0f0f2;
  --dark: #111113;
  --darker: #0a0a0c;
  color-scheme: light;
}

html.dark {
  --bg: #111113;
  --bg-alt: #0a0a0c;
  --ink: #f0f0f2;
  --muted: rgba(255, 255, 255, 0.72);
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --marquee-bg: #0a0a0c;
  --marquee-line: rgba(255, 255, 255, 0.06);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', 'DM Sans Fallback', Arial, sans-serif;
  font-size: 1.25vw;
  font-weight: 400;
  line-height: 1.3;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3,
p {
  margin: 0;
  font-weight: inherit;
}

p {
  line-height: 1.55;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

strong {
  font-weight: 500;
}

::selection {
  background: #111113;
  color: #fff;
}

html.dark ::selection {
  background: #f0f0f2;
  color: #111113;
}

:focus-visible {
  outline: 2px solid #111113;
  outline-offset: 3px;
}

html.dark :focus-visible {
  outline-color: #f0f0f2;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1em;
  top: -4em;
  z-index: 10000;
  background: #000;
  color: #fff;
  padding: 0.6em 1em;
  border-radius: 2em;
}

.skip-link:focus {
  top: 1em;
}

.placeholder {
  font-weight: 500;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.18em;
}

.term-value .placeholder,
.card-title .placeholder,
.cta-price .placeholder {
  white-space: nowrap;
}

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.wrap {
  width: 100%;
  padding-left: 5em;
  padding-right: 5em;
  position: relative;
  z-index: 1;
}

.h1,
.h2 {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.05;
  text-wrap: balance;
}

.h1 {
  font-size: 3.75em;
}

.h2 {
  font-size: 2.5em;
  max-width: 20em;
  width: auto;
}

.h3 {
  color: var(--ink);
  font-size: 1.5em;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lead {
  color: var(--muted);
  font-size: 1.1em;
  line-height: 1.55;
}

.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75em;
  width: 100%;
}

.card {
  background: var(--card);
  border-radius: 1em;
}

/* Header */

.header {
  background: var(--bg);
  padding: 0.85em 0;
  z-index: 1001;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.wordmark {
  justify-self: start;
  font-size: 1.05em;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 1.5em;
  grid-column: 2;
}

.nav-link {
  font-size: 0.7em;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 0.6;
}

.header-end {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
}

.header-btn {
  font-size: 0.8em;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 8px;
  position: relative;
  z-index: 1000;
}

.menu-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-btn.is-open .menu-bar:first-child {
  transform: translateY(8px) rotate(45deg);
}

.menu-btn.is-open .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-btn.is-open .menu-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

html.dark .mobile-menu {
  background: #111113;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
}

.mobile-menu-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.15em 0.6em;
  font-size: 28px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.mobile-menu-link:hover {
  opacity: 0.6;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 1em;
  background: #000;
  color: #fff;
  border-radius: 2em;
  padding: 0.2em 0.25em 0.2em 1em;
  font-size: 1em;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

.btn-text-wrap {
  display: grid;
  overflow: hidden;
}

.btn-text,
.btn-text-hover {
  grid-area: 1 / 1;
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.btn-text-hover {
  transform: translateY(100%);
}

.btn:hover .btn-text {
  transform: translateY(-100%);
}

.btn:hover .btn-text-hover {
  transform: translateY(0);
}

.btn-icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25em;
  height: 2.25em;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  color: #000;
}

.btn-icon,
.btn-icon-hover {
  width: 1em;
  height: 1em;
}

.btn-icon-hover {
  position: absolute;
  transform: translateX(-200%);
}

.btn:hover .btn-icon-hover {
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(200%);
  transition: transform 0.3s ease;
}

html.dark .btn {
  background: var(--light);
  color: var(--dark);
}

html.dark .btn:hover {
  opacity: 1;
  background: #d8d8d8;
}

html.dark .btn-icon-box {
  background: var(--dark);
  color: var(--light);
}

.cta .btn {
  background: var(--light);
  color: var(--dark);
}

.cta .btn-icon-box {
  background: var(--dark);
  color: var(--light);
}

html.dark .cta .btn:hover {
  background: #d8d8d8;
}

/* Hero */

.hero {
  padding: 1.35em 0 2.5em;
}

html.dark .hero {
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #1a1a2e 0%, #111113 70%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.eyebrow {
  margin-bottom: 0.55em;
  font-size: 0.7em;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  width: 100%;
  max-width: 56em;
  margin-bottom: 0.55em;
}

.hero-sub {
  max-width: 40em;
  margin: 0 auto 0.8em;
  font-size: 1.05em;
  line-height: 1.55;
  color: var(--muted);
}

.vsl {
  width: min(100%, 28.5em);
  margin: 0 auto 0.65em;
}

.vsl-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1em;
  overflow: hidden;
  background: #dedee3;
}

html.dark .vsl-frame {
  background: #2c2c31;
}

.vsl-frame iframe,
.vsl-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vsl-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 500;
  font-size: 0.95em;
}

html.dark .vsl-placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.vsl-play {
  width: 3.25em;
  height: 3.25em;
}

.vsl-caption {
  max-width: 38em;
  margin: 0 auto 0.45em;
  font-size: 0.98em;
  line-height: 1.55;
  color: var(--muted);
}

.hero-btn {
  font-size: 1.1em;
}

.hero-note {
  max-width: 28em;
  margin-top: 0.6em;
  font-size: 0.8em;
  line-height: 1.45;
  color: var(--muted);
}

/* Marquee */

.marquee {
  flex-direction: row;
  align-items: center;
  gap: 0;
  overflow: hidden;
  padding: 1.5em 0;
  background: var(--marquee-bg);
  border-top: 1px solid var(--marquee-line);
  border-bottom: 1px solid var(--marquee-line);
}

.marquee-label-wrap {
  flex-shrink: 0;
  width: auto;
  max-width: none;
  padding-right: 0;
  z-index: auto;
}

.marquee-label {
  padding-right: 2em;
  color: var(--muted);
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  gap: 3em;
  padding-right: 3em;
}

.marquee-item {
  color: var(--muted);
  font-size: 0.88em;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Offer */

.offer {
  padding: 6em 0;
}

.terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  width: 100%;
}

.term {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5em 1.15em;
  box-shadow: 0 0 0 1px var(--line);
}

.term-value {
  font-size: 2em;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}

.term-label {
  margin-top: 0.4em;
  font-size: 0.8em;
  line-height: 1.4;
  color: var(--muted);
}

.offer-intro {
  margin-top: 3.25em;
}

.price-grid,
.split,
.steps,
.fit-grid {
  display: grid;
  gap: 1.5em;
  width: 100%;
  margin-top: 2.5em;
}

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

.price-card,
.info-card,
.fit-card,
.step {
  padding: 1.5em;
}

.price-card,
.info-card {
  box-shadow: 0 0 0 1px var(--line);
}

.card-title {
  font-size: 1.25em;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75em;
}

.price-card p,
.info-card li,
.fit-card li {
  color: var(--ink);
  font-size: 0.98em;
  line-height: 1.55;
}

.ticks {
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  margin-top: 0.25em;
}

.ticks li {
  position: relative;
  padding-left: 1.15em;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.38em;
  height: 0.38em;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.split {
  grid-template-columns: 1fr 1fr;
  margin-top: 1.5em;
}

/* Guarantee */

.guarantee {
  background: var(--darker);
  color: var(--light);
  padding: 5em 0;
  overflow: hidden;
}

html.dark .guarantee {
  background: radial-gradient(ellipse 70% 60% at 50% 50%, #141420 0%, #0a0a0c 70%);
}

.guarantee-inner {
  width: min(100%, 40em);
  margin: 0 auto;
  text-align: center;
}

.guarantee .h2 {
  color: var(--light);
  margin-inline: auto;
}

.guarantee p {
  margin-top: 0.9em;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1em;
  line-height: 1.55;
}

/* How it works */

.how,
.faq {
  background: var(--bg-alt);
  padding: 6em 0;
}

html.dark .how,
html.dark .faq {
  background: radial-gradient(ellipse 70% 50% at 50% 50%, #10101a 0%, #0a0a0c 70%);
}

.steps {
  grid-template-columns: repeat(6, 1fr);
  margin-top: 3em;
}

.step:nth-child(-n + 3) {
  grid-column: span 2;
}

.step:nth-child(n + 4) {
  grid-column: span 3;
}

.step-num {
  margin-bottom: 1em;
  font-size: 0.7em;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.step p {
  font-size: 1em;
  line-height: 1.55;
}

/* Fit */

.fit {
  padding: 6em 0;
}

.fit-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 3em;
}

.fit-card {
  box-shadow: 0 0 0 1px var(--line);
}

.fit-card .ticks {
  margin-top: 0.35em;
}

.fit-card.is-out li::before {
  width: 0.65em;
  height: 2px;
  top: 0.72em;
  border-radius: 0;
  opacity: 0.7;
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  width: min(100%, 48em);
  margin: 2.75em auto 0;
}

.faq-item {
  padding: 0 1.25em;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  width: 100%;
  min-height: 48px;
  padding: 1.05em 0;
  text-align: left;
  font-size: 1.05em;
  font-weight: 500;
  line-height: 1.35;
}

.faq-q:hover .faq-q-text {
  opacity: 0.65;
}

.faq-chevron {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(45deg);
}

.faq-a {
  padding-bottom: 1.15em;
  color: var(--muted);
  font-size: 0.98em;
  line-height: 1.55;
}

.faq-heading {
  font-size: inherit;
  font-weight: inherit;
}

/* Final CTA */

.cta {
  background: var(--dark);
  color: var(--light);
  overflow: hidden;
  padding: 6em 0;
}

.cta-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 40%, #1a1a2e 0%, transparent 70%);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25em;
  text-align: center;
}

.cta .h2 {
  color: var(--light);
  width: 100%;
}

.cta-sub {
  max-width: 32em;
  color: rgba(255, 255, 255, 0.72);
}

.cta-btn-wrap {
  font-size: 1.1em;
  margin-top: 0.75em;
}

.cta-price {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85em;
  line-height: 1.45;
}

/* Footer */

.footer {
  background: #000;
  color: #fff;
  padding: 5em 0;
}

html.dark .footer {
  background: #0a0a0c;
}

.footer-brand {
  font-size: 1.35em;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.45em;
}

.footer .lead {
  color: rgba(255, 255, 255, 0.72);
}

.footer-email {
  display: inline-block;
  margin-top: 0.95em;
  font-size: 0.95em;
  opacity: 0.72;
  transition: opacity 0.2s;
}

.footer-email:hover {
  opacity: 1;
}

.footer-divider {
  height: 1px;
  margin-top: 3.5em;
  background: rgba(255, 255, 255, 0.1);
}

html.dark .footer-divider {
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5em 2em;
  width: 100%;
  margin-top: 2em;
}

.footer-meta,
.copyright {
  font-size: 0.8125em;
  line-height: 1.45;
  opacity: 0.72;
}

/* Theme toggle */

.theme-toggle {
  position: fixed;
  right: 1.5em;
  bottom: 1.5em;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75em;
  height: 2.75em;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.theme-toggle:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

html.dark .theme-toggle {
  background: #111113;
  color: #f0f0f2;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

html.dark .theme-toggle:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.theme-icon {
  width: 1.125em;
  height: 1.125em;
}

html.dark .theme-icon.sun,
.theme-icon.moon {
  display: none;
}

html.dark .theme-icon.moon {
  display: block;
}

@media (max-width: 991px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header {
    padding: 20px 0;
  }

  .nav,
  .header-btn {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .h1,
  .h2 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .h2 {
    width: 70%;
  }

  .lead {
    font-size: 20px;
  }

  .eyebrow {
    font-size: 13px;
  }

  .hero {
    padding: 8px 0 28px;
  }

  .hero-title {
    margin-bottom: 0.4em;
  }

  .hero-sub {
    margin-bottom: 0.65em;
  }

  .vsl {
    margin-bottom: 0.5em;
  }

  .vsl-caption {
    margin-bottom: 0.65em;
  }

  .hero-btn,
  .cta-btn-wrap {
    font-size: 16px;
  }

  .vsl {
    width: 100%;
  }

  .offer,
  .how,
  .fit,
  .faq,
  .footer {
    padding: 48px 0;
  }

  .guarantee,
  .cta {
    padding: 48px 0;
  }

  .centered {
    gap: 16px;
  }

  .terms,
  .price-grid,
  .split,
  .fit-grid,
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step:nth-child(-n + 3),
  .step:nth-child(n + 4) {
    grid-column: auto;
  }

  .footer-divider {
    margin-top: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 24px;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .marquee-track {
    animation: none;
  }

  .btn-text,
  .btn-text-hover,
  .btn-icon,
  .btn-icon-hover,
  .faq-chevron,
  .menu-bar {
    transition: none;
  }
}
