@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --color-ink: #1d1d1f;
  --color-graphite: #707070;
  --color-slate: #474747;
  --color-fog: #f5f5f7;
  --color-snow: #ffffff;
  --color-obsidian: #000000;
  --color-silver-mist: #e8e8ed;
  --color-azure: #0071e3;
  --color-cobalt-link: #0066cc;
  --color-border: #d2d2d7;
  --color-citrus-gradient: linear-gradient(184deg, rgb(29, 29, 31) 0%, rgb(223, 231, 79) 33%, rgb(94, 156, 42) 66%, rgb(10, 134, 26) 95%);
  --color-indigo-gradient: linear-gradient(184deg, rgb(29, 29, 31) 20%, rgb(168, 211, 251) 43%, rgb(0, 18, 249) 76%, rgb(37, 53, 224) 95%);
  --color-blush-gradient: linear-gradient(184deg, rgb(29, 29, 31) 20%, rgb(243, 196, 246) 43%, rgb(245, 0, 180) 76%, rgb(204, 41, 188) 95%);
  --font-sans: "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --radius-card: 28px;
  --radius-pill: 999px;
  --page-width: 1200px;
  --subnav-height: 52px;
  --section-gap: clamp(88px, 11vw, 144px);
  --hero-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-fog);
  color: var(--color-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-azure);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.022em;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.product-subnav {
  position: sticky;
  top: 0;
  z-index: 20;
}

.product-subnav {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--color-silver-mist);
}

.subnav-shell,
.hero,
.intro-band,
.feature-grid-section,
.compare-section,
.switch-section,
.download-section,
.site-footer {
  width: min(var(--page-width), calc(100% - 40px));
  margin: 0 auto;
}

.subnav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}

.subnav-links a,
.subnav-title,
.subnav-buy {
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.003em;
}

.subnav-links a {
  color: var(--color-ink);
}

.subnav-buy,
.button-blue {
  min-height: 32px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--color-azure);
  color: var(--color-snow);
}

.secondary-download {
  background: var(--color-snow);
  color: var(--color-azure);
  border: 1px solid var(--color-silver-mist);
}

.subnav-shell {
  min-height: var(--subnav-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.subnav-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.subnav-title strong {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

main {
  overflow: clip;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(400px, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: calc(100vh - var(--subnav-height));
  padding: 52px 0 96px;
}

.product-name,
.section-kicker,
.hero-price,
.download-note,
.platform-card span,
.compare-row,
.site-footer,
.text-link {
  letter-spacing: -0.003em;
}

.product-name,
.section-kicker {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.29;
}

.product-name.on-dark {
  color: var(--color-snow);
}

h1 {
  max-width: 7ch;
  margin-bottom: 20px;
  font-size: clamp(64px, 9vw, 96px);
  line-height: 1.04;
  font-weight: 700;
}

h2 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(40px, 5.4vw, 56px);
  line-height: 1.07;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hero-price,
.section-copy p,
.gradient-copy p,
.switch-points p {
  max-width: 34rem;
  color: var(--color-graphite);
  font-size: 20px;
  line-height: 1.4;
}

.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.button-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--color-obsidian);
  color: var(--color-snow);
  font-size: 17px;
  line-height: 1.24;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-cobalt-link);
  font-size: 17px;
  line-height: 1.47;
}

.light-link {
  color: #7dc1ff;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.hero-hand {
  position: absolute;
  inset: auto 8% 2% auto;
  width: 58%;
  height: 44%;
  border-radius: 999px 999px 320px 320px;
  background:
    radial-gradient(circle at 24% 40%, rgba(255, 255, 255, 0.92), rgba(245, 245, 247, 0.1) 40%),
    linear-gradient(180deg, rgba(237, 240, 226, 0.88), rgba(221, 220, 140, 0.8) 62%, rgba(147, 165, 88, 0.7));
  filter: blur(2px);
  transform: rotate(-12deg) translateY(calc(var(--hero-progress) * 12px));
}

.device {
  position: relative;
  width: min(420px, 84vw);
  border-radius: 46px;
  padding: 18px;
  background: linear-gradient(180deg, #f2f3f5, #dfe0e5);
}

.device::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 36px;
  background: var(--color-snow);
}

.device-hero {
  transform: rotate(-11deg) translateY(calc(var(--hero-progress) * -18px));
}

.device-topbar,
.hero-screen,
.cw-screen {
  position: relative;
  z-index: 1;
}

.device-topbar {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px 14px;
  color: var(--color-slate);
  font-size: 12px;
}

.hero-screen {
  min-height: 620px;
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 82% 16%, rgba(223, 231, 79, 0.52), transparent 20rem),
    linear-gradient(180deg, #fafafc 0%, #f5f5f7 100%);
}

.hero-headline-block {
  margin-bottom: 28px;
}

.hero-headline-block strong,
.hero-headline-block span {
  display: block;
}

.hero-headline-block strong {
  margin-bottom: 4px;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.016em;
}

.hero-headline-block span {
  color: var(--color-slate);
  font-size: 17px;
}

.signal-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 180px;
  margin-bottom: 24px;
  padding: 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, #202124, #050505);
}

.signal-bars i {
  width: 100%;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #eef18d 0%, #92c341 45%, #0a8619 100%);
  transform-origin: bottom center;
}

.signal-bars i:nth-child(1) { height: 32%; }
.signal-bars i:nth-child(2) { height: 56%; }
.signal-bars i:nth-child(3) { height: 41%; }
.signal-bars i:nth-child(4) { height: 72%; }
.signal-bars i:nth-child(5) { height: 48%; }
.signal-bars i:nth-child(6) { height: 84%; }
.signal-bars i:nth-child(7) { height: 61%; }
.signal-bars i:nth-child(8) { height: 38%; }

.hero-cards {
  display: grid;
  gap: 12px;
}

.hero-cards article,
.platform-card,
.feature-card,
.switch-points article {
  border-radius: var(--radius-card);
}

.hero-cards article {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--color-snow);
}

.hero-cards strong,
.hero-cards span {
  display: block;
}

.hero-cards strong {
  margin-bottom: 2px;
  font-size: 17px;
}

.hero-cards span {
  color: var(--color-graphite);
  font-size: 14px;
}

.finish-swatch {
  position: absolute;
  right: 4%;
  bottom: 2%;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  background: rgba(210, 210, 215, 0.64);
  backdrop-filter: blur(20px);
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid transparent;
}

.swatch.is-selected {
  border-color: var(--color-ink);
}

.swatch-silver { background: #e3e4e5; }
.swatch-citrus { background: #dddc8c; }
.swatch-indigo { background: #596680; }
.swatch-blush { background: #e8d0d0; }

.intro-band,
.feature-grid-section,
.compare-section,
.switch-section,
.download-section {
  padding: var(--section-gap) 0;
}

.intro-band {
  padding-top: 16px;
}

.section-copy.centered {
  text-align: center;
}

.section-copy.centered h2,
.section-copy.centered p {
  margin-inline: auto;
}

.section-copy-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-card,
.platform-card,
.switch-card {
  padding: 28px;
  background: var(--color-snow);
}

.feature-card p,
.platform-card span,
.compare-row,
.switch-points p,
.site-footer a,
.site-footer span {
  color: var(--color-graphite);
}

.dark-card {
  background: var(--color-obsidian);
  color: var(--color-snow);
}

.dark-card p {
  color: rgba(255, 255, 255, 0.78);
}

.gradient-stage {
  width: min(var(--page-width), calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 76px);
  border-radius: 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.92fr);
  gap: 32px;
  align-items: center;
}

.citrus-stage {
  background: var(--color-citrus-gradient);
}

.gradient-copy h2,
.gradient-copy p {
  color: var(--color-snow);
}

.gradient-copy p {
  max-width: 26rem;
}

.stage-device {
  justify-self: center;
  transform: rotate(7deg);
}

.cw-screen {
  min-height: 620px;
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
}

.cw-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.cw-pills span {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-fog);
  color: var(--color-ink);
  font-size: 17px;
}

.cw-score-ring {
  display: grid;
  place-items: center;
  width: min(270px, 70vw);
  aspect-ratio: 1;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: conic-gradient(from -90deg, #0a8619 0 62%, #dfe74f 62% 84%, #1d1d1f 84% 100%);
}

.cw-score-ring::before {
  content: "";
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border-radius: 50%;
  background: var(--color-snow);
}

.cw-score-ring strong,
.cw-score-ring span {
  position: absolute;
}

.cw-score-ring strong {
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.022em;
}

.cw-score-ring span {
  margin-top: 84px;
  color: var(--color-graphite);
  font-size: 17px;
}

.cw-feedback-panel {
  display: grid;
  gap: 12px;
}

.cw-feedback-panel div {
  padding: 18px 20px;
  border-radius: var(--radius-card);
  background: var(--color-fog);
}

.cw-feedback-panel strong,
.cw-feedback-panel span {
  display: block;
}

.cw-feedback-panel strong {
  margin-bottom: 4px;
  font-size: 17px;
}

.cw-feedback-panel span {
  color: var(--color-graphite);
  font-size: 14px;
  line-height: 1.43;
}

.compare-table {
  background: var(--color-snow);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 1fr;
  gap: 24px;
  padding: 20px 28px;
  font-size: 17px;
  line-height: 1.47;
}

.compare-row + .compare-row {
  border-top: 1px solid var(--color-silver-mist);
}

.compare-head {
  color: var(--color-ink);
  font-size: 14px;
  line-height: 1.43;
}

.switch-card {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.88fr);
  gap: 28px;
}

.switch-points {
  display: grid;
  gap: 16px;
}

.switch-points article {
  padding: 24px 28px;
  background: var(--color-fog);
}

.switch-points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.29;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.platform-card {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.platform-card-link {
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.platform-card-link:hover {
  transform: translateY(-2px);
}

.platform-card-link em {
  min-height: 32px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-azure);
  color: var(--color-snow);
  font-style: normal;
  font-size: 14px;
  line-height: 1.43;
}

.platform-card svg {
  width: 28px;
  height: 28px;
}

.platform-card strong {
  font-size: 24px;
  line-height: 1.29;
  letter-spacing: -0.005em;
}

.platform-card span,
.site-footer {
  font-size: 14px;
  line-height: 1.43;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0 44px;
}

@media (max-width: 1060px) {
  .hero,
  .gradient-stage,
  .switch-card,
  .section-copy-split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-copy,
  .gradient-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy p,
  .gradient-copy h2,
  .gradient-copy p {
    margin-inline: auto;
  }

  .hero-actions,
  .download-actions {
    justify-content: center;
  }

  .gradient-copy p {
    max-width: 34rem;
  }

  .stage-device {
    transform: none;
  }

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

@media (max-width: 820px) {
  .subnav-shell {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .subnav-links {
    overflow-x: auto;
    justify-content: start;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .subnav-links::-webkit-scrollbar {
    display: none;
  }

  .hero-stage,
  .gradient-stage {
    width: min(var(--page-width), calc(100% - 24px));
  }

  .feature-grid,
  .download-grid,
  .switch-points {
    grid-template-columns: 1fr;
  }

  .compare-table {
    overflow-x: auto;
  }

  .compare-row {
    min-width: 760px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .subnav-shell,
  .hero,
  .intro-band,
  .feature-grid-section,
  .compare-section,
  .switch-section,
  .download-section,
  .site-footer {
    width: calc(100% - 24px);
  }

  .subnav-shell {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .subnav-links {
    display: none;
  }

  h1 {
    font-size: clamp(48px, 18vw, 72px);
  }

  h2 {
    font-size: clamp(32px, 11vw, 44px);
  }

  h3 {
    font-size: 24px;
  }

  .product-name,
  .section-kicker {
    font-size: 21px;
  }

  .hero-price,
  .section-copy p,
  .gradient-copy p {
    font-size: 17px;
  }

  .device {
    width: min(100%, 380px);
    padding: 14px;
  }

  .hero-screen,
  .cw-screen {
    min-height: 520px;
    padding: 22px;
  }

  .hero-hand {
    width: 72%;
    height: 34%;
    right: 0;
  }

  .feature-card,
  .platform-card,
  .switch-card,
  .switch-points article,
  .compare-row {
    padding-inline: 20px;
  }

  .finish-swatch {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
