:root {
  --ink: #121925;
  --muted: #66717c;
  --green: #57b45a;
  --green-soft: #f5fbf5;
  --paper: #f8faf9;
  --card: #ffffff;
  --line: #e4e9e6;
  --dark-green: #102a1c;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(22, 38, 29, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 16px 32px;
  border: 1px solid rgba(23, 19, 31, 0.08);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0.5px 0.4px rgba(0, 0, 0, 0.02),
    0 1.8px 1.45px rgba(0, 0, 0, 0.03),
    0 8px 6.3px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  transform: translate3d(-50%, 0, 0);
  transition:
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translate3d(-50%, calc(-100% - 38px), 0);
  box-shadow: none;
  pointer-events: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.site-nav a {
  flex: 0 0 auto;
  color: #676783;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #17131f;
  transform: translateY(-1px);
}

.site-nav a:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(118, 88, 232, 0.42);
  outline-offset: 5px;
}

.section-dock {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 15px 24px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow:
    0 16px 44px rgba(27, 25, 44, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(34px) saturate(180%);
  -webkit-backdrop-filter: blur(34px) saturate(180%);
  scrollbar-width: none;
  transform: translateX(-50%);
}

.section-dock::-webkit-scrollbar {
  display: none;
}

.section-dock a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: rgba(39, 38, 49, 0.46);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.24s ease;
}

.section-dock a:hover,
.section-dock a:focus-visible,
.section-dock a.is-active {
  color: var(--ink);
}

.section-dock a:focus-visible {
  outline: none;
}

.section-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(93, 84, 150, 0.25);
  box-shadow: 0 0 0 0 rgba(61, 38, 223, 0);
  transition:
    background 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.section-dock a.is-active .section-dot {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(87, 180, 90, 0.16);
  transform: scale(1.08);
}

.section-separator {
  width: 32px;
  height: 1px;
  flex: 0 0 32px;
  background: rgba(50, 48, 68, 0.25);
}

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

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  overflow: hidden;
}

.section {
  padding: clamp(72px, 11vw, 150px) 0;
}

.hero {
  display: grid;
  min-height: min(880px, 100svh);
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(20px, 6vw, 90px);
  padding-top: 64px;
}

.hero-copy,
.hero-art {
  min-width: 0;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.1vw, 1.75rem);
  line-height: 1.35;
}

.body-copy {
  max-width: 610px;
}

.metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.metadata span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 650;
}

.hero-art {
  position: relative;
  aspect-ratio: 0.82;
  margin: 0;
}

.hero-phone {
  position: absolute;
  width: 76%;
  height: auto;
}

.hero-phone-home {
  top: -2%;
  left: -3%;
}

.hero-phone-review {
  top: 4%;
  right: -4%;
}

.hero-phone-history {
  z-index: 2;
  right: 12%;
  bottom: -4%;
}

.section-intro {
  max-width: 890px;
}

.section-intro p {
  max-width: 820px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.info-card {
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.info-card p,
.steps p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.flow {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(450px, 1.28fr);
  gap: clamp(48px, 9vw, 130px);
}

.flow-intro {
  position: sticky;
  top: 60px;
  align-self: start;
}

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

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 6px 20px rgba(22, 38, 29, 0.04);
}

.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-weight: 750;
}

.compact {
  margin-bottom: 42px;
}

.screens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
  max-width: 1060px;
  margin-inline: auto;
}

.screen-card {
  margin: 0;
}

.screen-card img {
  width: min(100%, 220px);
  height: auto;
  aspect-ratio: 252 / 547;
  margin-inline: auto;
  border-radius: 20px;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.screen-card figcaption {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  text-align: center;
}

.feature-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 8vw, 110px);
  padding: clamp(40px, 6vw, 72px);
  border-radius: 26px;
  color: white;
  background: var(--dark-green);
}

.feature-panel h2,
.feature-panel p {
  color: white;
}

.feature-panel p {
  margin-bottom: 0;
  opacity: 0.66;
}

.feature-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.55;
}

.opportunity {
  margin-top: clamp(72px, 11vw, 150px);
  padding: clamp(40px, 7vw, 84px);
  border: 1px solid #dcebdd;
  border-radius: 26px;
  background: var(--green-soft);
}

.opportunity h2 {
  max-width: 910px;
  font-size: clamp(1.65rem, 3.5vw, 2.8rem);
  line-height: 1.2;
}

.opportunity p:last-child,
.reflection p {
  max-width: 850px;
  margin-bottom: 0;
}

.reflection {
  padding-bottom: clamp(100px, 16vw, 210px);
}

@media (max-width: 820px) {
  main {
    width: min(calc(100% - 32px), 680px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 110px;
  }

  .hero-art {
    width: min(88%, 480px);
    margin: 20px auto 0;
  }

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

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow-intro {
    position: static;
  }

  .feature-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(3.2rem, 17vw, 4.4rem);
  }

  .hero-copy p {
    overflow-wrap: anywhere;
  }

  .section {
    padding: 70px 0;
  }

  .metadata span {
    font-size: 0.65rem;
  }

  .steps li {
    grid-template-columns: 38px 1fr;
    gap: 13px;
    padding: 20px 18px;
  }

  .step-number {
    width: 36px;
    height: 36px;
  }

  .screens {
    display: flex;
    gap: 14px;
    margin-right: -16px;
    margin-left: -16px;
    padding: 0 16px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .screens::-webkit-scrollbar {
    display: none;
  }

  .screen-card {
    width: min(62vw, 240px);
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .feature-panel,
  .opportunity {
    padding: 32px 24px;
    border-radius: 20px;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    max-width: none;
    padding: 13px 18px;
    justify-content: flex-start;
    overflow-x: auto;
    border-radius: 28px;
    scrollbar-width: none;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    font-size: 13px;
  }

  .section-dock {
    bottom: 12px;
    justify-content: flex-start;
    width: calc(100% - 24px);
    max-width: none;
    gap: 6px;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .section-dock a {
    gap: 5px;
    font-size: 11px;
  }

  .section-dot {
    width: 8px;
    height: 8px;
  }

  .section-separator {
    width: 12px;
    flex-basis: 12px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 650ms ease,
      transform 650ms ease;
  }

  .section.is-visible {
    opacity: 1;
    transform: none;
  }
}
