:root {
  --ink: #10261c;
  --soft: #2c4d3d;
  --field: #0e4b34;
  --field-deep: #08291c;
  --lawn: #1b7a4e;
  --foam: #e8f6ee;
  --paper: #fbfffd;
  --line: #cfe4d8;
  --white: #ffffff;
  --header: 76px;
  --shadow: 0 22px 48px rgba(8, 41, 28, 0.12);
  --shadow-tight: 0 10px 24px rgba(14, 75, 52, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--foam);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

img {
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.card-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

p {
  margin: 0 0 14px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--white);
  color: var(--field);
  padding: 8px 12px;
  border-radius: 10px;
}

.skip:focus {
  top: 10px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: #fbfffd;
  border-bottom: 1px solid transparent;
}

.topbar.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(8, 41, 28, 0.06);
}

.topbar-inner {
  height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 40px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.brand span {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px 22px;
}

.site-nav a {
  text-decoration: none;
  color: var(--soft);
  font-size: 0.98rem;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover {
  color: var(--field);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--field);
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 52px;
  padding: 0 18px;
  border-radius: 40px 40px 40px 10px;
  background: var(--field);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(14, 75, 52, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -45%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(14, 75, 52, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta:hover::after {
  left: 120%;
}

.cta-light {
  background: var(--white);
  color: var(--field-deep);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

main {
  border-left: 14px solid var(--field);
}

.hero {
  padding: 36px 0 12px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
  gap: 22px;
  align-items: stretch;
}

.hero-slab {
  min-height: 540px;
  padding: 54px 50px 58px;
  color: var(--white);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    radial-gradient(860px 280px at 100% 0%, rgba(255, 255, 255, 0.12), transparent 46%),
    linear-gradient(168deg, #18784c 0%, #0e4b34 58%, #08291c 100%);
  background-size: 1px 100%, auto, auto;
  background-position: 42px 0, 0 0, 0 0;
  background-repeat: no-repeat;
  border-radius: 34px 34px 128px 34px;
  box-shadow: var(--shadow);
}

.kicker {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lawn);
}

.hero-slab .kicker {
  color: #d7ffe9;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  max-width: 11ch;
  color: var(--white);
}

.hero-slab p {
  max-width: 58ch;
  color: #e7f7ef;
}

.short {
  font-weight: 600;
  color: var(--field);
}

.hero-slab .short {
  color: #ffffff;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  min-height: 52px;
}

.age {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

.hero-card {
  min-height: 540px;
  background: var(--paper);
  border-radius: 30px;
  padding: 28px 26px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  margin: 0 0 18px;
  font-size: 2rem;
}

.check {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  min-height: 64px;
}

.check svg {
  width: 22px;
  height: 22px;
  margin-top: 3px;
}

.card-foot {
  margin: 18px 0 0;
  color: var(--soft);
  font-size: 0.95rem;
}

.block {
  padding: 78px 0 10px;
}

.block h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  max-width: 16ch;
}

.snap {
  max-width: 72ch;
  color: var(--soft);
  font-size: 1.08rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
  margin-top: 28px;
}

.steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  min-height: 84px;
  padding: 2px 0 22px 68px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--field);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.steps li::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 48px;
  bottom: 6px;
  width: 2px;
  background: #b7d8c6;
}

.steps li:last-child::after {
  display: none;
}

.note {
  margin-top: 8px;
  background: var(--white);
  border-left: 6px solid var(--lawn);
  border-radius: 0 18px 18px 0;
  padding: 14px 16px;
  box-shadow: var(--shadow-tight);
}

.device-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  grid-template-areas:
    "phone tablet"
    "phone cache";
  gap: 16px;
}

.device {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px 24px 8px;
  box-shadow: var(--shadow-tight);
}

.device-phone {
  grid-area: phone;
  background: var(--field-deep);
  color: #e9f8f0;
  border: 0;
  border-radius: 32px 32px 32px 12px;
  padding-bottom: 18px;
}

.device-tablet {
  grid-area: tablet;
}

.device-cache {
  grid-area: cache;
}

.device h3,
.subhead {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.device-phone h3,
.device-phone .short {
  color: #ffffff;
}

.order {
  margin: 12px 0 18px;
  padding-left: 18px;
}

.order li {
  margin: 0 0 8px;
  padding-left: 4px;
}

.spec {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.spec div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  min-height: 148px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-tight);
}

.spec dt {
  font-weight: 600;
  color: var(--field);
  margin-bottom: 6px;
}

.spec dd {
  margin: 0;
  color: var(--soft);
}

.faq-list {
  margin-top: 26px;
}

.ask {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 0 0 12px;
  box-shadow: var(--shadow-tight);
}

.ask h3 {
  margin: 0;
  font: inherit;
  letter-spacing: 0;
}

.ask-btn {
  width: 100%;
  min-height: 68px;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
}

.ask-btn::after {
  content: "+";
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 9px;
  background: var(--foam);
  color: var(--field);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
}

.ask.is-open .ask-btn::after {
  content: "–";
}

.ask-panel {
  display: grid;
  grid-template-rows: 1fr;
}

.ask-panel .answer {
  overflow: hidden;
  min-height: 0;
  padding: 0 20px 16px;
  color: var(--soft);
}

.js .ask-panel .answer {
  padding-bottom: 0;
}

.js .ask.is-open .ask-panel .answer {
  padding-bottom: 16px;
}

.js .ask-panel {
  grid-template-rows: 0fr;
}

.js .ask.is-open .ask-panel {
  grid-template-rows: 1fr;
}

.legal {
  margin: 72px 0 28px;
  padding: 40px 42px 28px;
  background: var(--field-deep);
  color: #e5f6ec;
  border-radius: 36px;
}

.legal h2 {
  color: var(--white);
  max-width: 14ch;
}

.legal .kicker {
  color: #b7ebcf;
}

.legal .short {
  color: #ffffff;
}

.site-foot {
  background: #071910;
  color: #d7efe4;
  padding: 42px 0 54px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.site-foot .brand span,
.site-foot a {
  color: #f4fff8;
}

.foot-links {
  display: grid;
  gap: 8px;
}

.foot-links a {
  text-decoration: none;
  min-height: 28px;
}

.foot-links a:hover {
  text-decoration: underline;
}

.updated {
  margin: 0;
  font-weight: 600;
  color: #ffffff;
}

.policy {
  padding-top: 34px;
}

.policy h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  color: #ffffff;
}

.policy p {
  max-width: 78ch;
  color: #c9e6d8;
}

:focus-visible {
  outline: 3px solid #9be7c0;
  outline-offset: 3px;
}

@media (max-width: 860px) {
  main {
    border-left-width: 8px;
  }

  .topbar-inner {
    grid-template-columns: auto auto 1fr;
    gap: 10px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-tight);
  }

  .site-nav.is-open {
    display: flex;
  }

  .topbar .cta {
    justify-self: end;
    width: 148px;
    height: 44px;
  }

  .hero-grid,
  .guide-grid,
  .spec,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .hero-slab,
  .hero-card {
    min-height: 0;
    border-radius: 28px;
  }

  .hero-slab {
    padding: 32px 22px 36px;
    background-position: 22px 0, 0 0, 0 0;
  }

  h1 {
    max-width: none;
  }

  .device-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "phone"
      "tablet"
      "cache";
  }

  .legal {
    padding: 28px 20px 16px;
    border-radius: 24px;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .brand span {
    font-size: 1.15rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cta,
  .cta::after,
  .ask-panel {
    transition: none;
  }
}
