:root {
  color-scheme: light;
  --surface: #f9f9ff;
  --surface-low: #f1f3ff;
  --surface-high: #e1e8fd;
  --text: #141b2b;
  --muted: #464554;
  --outline: #c7c4d7;
  --primary: #4648d4;
  --primary-strong: #3335b7;
  --primary-soft: #e1e0ff;
  --secondary: #006c4b;
  --secondary-soft: #68fcbf;
  --gold: #ffb95f;
  --error: #ba1a1a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(42, 47, 97, 0.18);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(104, 252, 191, 0.22), transparent 34rem),
    radial-gradient(circle at 90% 10%, rgba(70, 72, 212, 0.16), transparent 28rem),
    var(--surface);
}

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.76);
  border: 1px solid rgba(199, 196, 215, 0.52);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(20, 27, 43, 0.08);
  backdrop-filter: blur(18px);
}

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

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

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

.site-header nav a,
.site-footer nav a,
.text-link {
  color: var(--primary);
  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);
}

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

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(3.75rem, 9vw, 7.4rem);
}

.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);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

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

.button.primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 18px 36px rgba(70, 72, 212, 0.28);
}

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

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

.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.78);
  border: 1px solid rgba(199, 196, 215, 0.5);
  box-shadow: 0 12px 34px rgba(20, 27, 43, 0.07);
}

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

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

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

.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.9;
}

.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.6rem);
}

.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;
}

.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);
}

.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(199, 196, 215, 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 20% 10%, rgba(104, 252, 191, 0.34), transparent 20rem),
    linear-gradient(135deg, #ffffff 0%, #f0f1ff 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: 750;
}

@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;
  }
}
