:root {
  --navy: #17324d;
  --teal: #23bfa4;
  --white: #ffffff;
  --ink: #333333;
  --muted: #6b7280;
  --mist: #f4f6fa;
  --yes: #178a4c;
  --header: 76px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-anchor: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy);
  font-weight: 700;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

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

.wrap {
  width: min(960px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header);
  padding: 0 20px;
  background: var(--white);
  border-bottom: 1px solid var(--mist);
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 52px;
  width: auto;
}

.header-link {
  flex: none;
  color: var(--white);
  background: var(--teal);
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
}

.header-link:hover,
.header-link:focus-visible {
  color: var(--white);
}

.compare {
  position: relative;
  height: min(46vh, 520px);
  min-height: 280px;
  background: var(--navy);
  overflow: hidden;
  touch-action: none;
  cursor: ew-resize;
  user-select: none;
}

.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  pointer-events: none;
}

.tag {
  position: absolute;
  top: 16px;
  padding: 8px 12px;
  background: rgba(23, 50, 77, 0.88);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  pointer-events: none;
}

.tag-before {
  left: 16px;
}

.tag-after {
  right: 16px;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 58%;
  width: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.compare-before {
  clip-path: inset(0 42% 0 0);
}

.compare-handle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: var(--white);
}

.compare-handle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 4px var(--white);
}

.compare-handle:focus-visible {
  outline: none;
}

.compare-handle:focus-visible::after {
  box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--teal);
}

.hero-copy,
.band-copy {
  padding: 36px 0 8px;
  text-align: center;
}

h1,
h2 {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.lede {
  margin: 12px auto 0;
  max-width: 36rem;
  color: var(--ink);
  font-size: 1.2rem;
}

.stay {
  margin: 16px 0 0;
  color: var(--navy);
  font-weight: 700;
}

.credit {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.credit a {
  color: var(--muted);
  font-weight: 600;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.store {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 190px;
  min-height: 56px;
  padding: 8px 18px;
  border-radius: 14px;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  text-align: left;
}

.store:hover,
.store:focus-visible {
  color: var(--white);
}

.store-kicker {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.store-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section {
  padding: 72px 0;
}

.section-mist {
  background: var(--mist);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 28px;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.steps,
.points {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

.points li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.steps li,
.points li {
  margin: 0;
  padding: 22px;
  background: var(--mist);
  border-radius: 16px;
}

.section-mist .steps li,
.section-mist .points li {
  background: var(--white);
}

.steps {
  counter-reset: step;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--teal);
  color: var(--navy);
  font-weight: 800;
}

.steps h3,
.points h3,
.moment h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.15rem;
}

.habit-wrap {
  width: min(1040px, calc(100% - 40px));
}

.habit + .section {
  border-top: 1px solid #e6ebf2;
}

.moments {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: moment;
}

.moment {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 40px;
  margin: 0;
  padding: 26px 0 26px 56px;
  border-top: 1px solid #e6ebf2;
}

.moment::before {
  content: counter(moment);
  counter-increment: moment;
  position: absolute;
  left: 0;
  top: 26px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}

.moment:last-child::before {
  background: var(--teal);
  color: var(--navy);
}

.kicker {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.moment p {
  margin: 0;
}

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

.fixes li + li {
  margin-top: 10px;
}

.fixes .pro-pill {
  margin-right: 8px;
  vertical-align: 1px;
}

.habit-close {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.steps p,
.points p,
.prose p {
  margin: 0;
}

.plans-wrap {
  max-width: 760px;
}

.section-mist .plans-wrap {
  padding: 28px 28px 32px;
  background: var(--white);
  border-radius: 16px;
}

table.plans {
  width: 100%;
  border-collapse: collapse;
}

.plans th,
.plans td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--mist);
  text-align: center;
  vertical-align: middle;
}

.plans th[scope="row"] {
  text-align: left;
  font-weight: 500;
  color: var(--ink);
}

.plans thead th {
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
}

.pro-pill {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.tick {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

.price {
  margin: 18px 0 0;
  color: var(--navy);
  font-weight: 700;
}

.fine {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.trust p {
  max-width: 38rem;
  font-size: 1.05rem;
}

.trust a {
  display: inline-block;
  margin-top: 12px;
}

.band {
  padding: 64px 0 72px;
  background: var(--mist);
}

.site-footer {
  padding: 28px 0 36px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.page {
  padding: 36px 0 64px;
}

.page h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.prose {
  max-width: 40rem;
  margin-top: 24px;
}

.prose p + p,
.prose h2 {
  margin-top: 16px;
}

.prose h2 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.prose a {
  font-weight: 700;
}

@media (max-width: 800px) {
  .steps,
  .points,
  .moment {
    grid-template-columns: 1fr;
  }

  .moment {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .logo img {
    height: 40px;
  }

  .header-link {
    padding: 10px 12px;
    font-size: 15px;
  }

  .compare {
    height: min(44vh, 420px);
    min-height: 220px;
  }

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

  .store {
    width: 100%;
  }

  .section {
    padding: 48px 0;
  }
}

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