:root {
  color-scheme: light;
  --surface: #faf8ff;
  --surface-low: #f2f3ff;
  --surface-high: #e3e7fa;
  --text: #161b28;
  --muted: #434656;
  --outline: #c4c5d9;
  --primary: #2e5bff;
  --primary-strong: #0040e0;
  --primary-soft: #dde1ff;
  --secondary: #595f66;
  --jade: #66b2a1;
  --coral: #c24100;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 74, 240, 0.16);
  --radius: 28px;
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(46, 91, 255, 0.14), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(102, 178, 161, 0.16), transparent 26rem),
    linear-gradient(180deg, #f7f4ef 0%, var(--surface) 42%, #eef1ff 100%);
}

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

a {
  color: inherit;
}

.site-header,
.site-footer,
main > section {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(196, 197, 217, 0.55);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(22, 27, 40, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-header nav a,
.site-footer nav a,
.text-link {
  color: var(--primary-strong);
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover,
.text-link:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(32px, 7vw, 82px);
  padding: clamp(64px, 8vw, 112px) 0 clamp(44px, 8vw, 86px);
}

.brand-mark {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.hero-copy h1,
.section-heading h2,
.split-section h2,
.cta h2,
.content-page h1,
.content-page h2 {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
}

.lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-note {
  max-width: 420px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 18px 36px rgba(46, 91, 255, 0.28);
}

.button.primary:hover {
  background: var(--primary-strong);
}

.button.secondary {
  color: var(--primary-strong);
  background: var(--primary-soft);
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  line-height: 0;
  transition: transform 160ms ease, filter 160ms ease;
}

.app-store-link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.app-store-link img {
  width: 180px;
  height: 60px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: 34px 0 0;
}

.hero-stats div,
.card,
.score-panel,
.content-card,
.control-list,
.cta {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(196, 197, 217, 0.5);
  box-shadow: 0 12px 34px rgba(22, 27, 40, 0.07);
}

.hero-stats div {
  padding: 16px;
  border-radius: 20px;
}

.hero-stats dt {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.hero-art {
  position: relative;
  min-height: 620px;
}

.phone-shot {
  position: absolute;
  width: min(78vw, 320px);
  border-radius: 40px;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.main-shot {
  top: 4px;
  right: 42px;
  z-index: 2;
}

.side-shot {
  top: 86px;
  left: 0;
  transform: rotate(-7deg) scale(0.92);
  opacity: 0.92;
}

.section,
.split-section {
  padding: clamp(46px, 7vw, 84px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2,
.split-section h2,
.cta h2,
.content-page h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.section-heading p:not(.eyebrow),
.split-section p,
.card p,
.note,
.content-page p,
.content-page li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

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

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

.card {
  padding: 24px;
  border-radius: var(--radius);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
}

.shot-inline {
  margin: 0 0 14px;
}

.shot-inline img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(22, 27, 40, 0.12);
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.control-list {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius);
}

.control-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 14px 16px;
  background: var(--surface-low);
  border-radius: 18px;
}

.control-list strong {
  color: var(--primary-strong);
}

.control-list span {
  color: var(--muted);
}

.score-panel {
  display: grid;
  max-width: 760px;
  overflow: hidden;
  border-radius: var(--radius);
}

.score-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
}

.score-row + .score-row {
  border-top: 1px solid rgba(196, 197, 217, 0.54);
}

.score-row strong {
  color: var(--primary);
  text-align: right;
}

.note {
  max-width: 760px;
  margin: 18px 0 0;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 28px);
  align-items: start;
}

.screenshots-grid img {
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.cta {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
  margin-top: 42px;
  margin-bottom: 44px;
  padding: clamp(34px, 7vw, 68px);
  border-radius: 40px;
  background:
    radial-gradient(circle at 18% 12%, rgba(102, 178, 161, 0.28), transparent 18rem),
    linear-gradient(135deg, #ffffff 0%, #eef1ff 100%);
}

.cta p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 0 44px;
  color: var(--muted);
}

.content-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 82px) 0;
}

.content-card {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 30px;
}

.content-card h2 {
  margin-top: 34px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card ul,
.content-card ol {
  padding-left: 1.2rem;
}

.content-card li + li {
  margin-top: 8px;
}

.meta-note {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    border-radius: 24px;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 14px;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 560px;
  }

  .main-shot {
    right: 14%;
  }

  .side-shot {
    left: 12%;
  }

  .feature-grid,
  .feature-grid.three,
  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-grid img {
    width: min(360px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
    flex-direction: column;
  }

  .site-header nav {
    justify-content: flex-start;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: auto;
    display: grid;
    gap: 18px;
    justify-items: center;
  }

  .phone-shot {
    position: static;
    width: min(320px, 100%);
    transform: none;
  }

  .side-shot {
    opacity: 1;
  }

  .control-list div,
  .score-row,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
