:root {
  --blue: #1595f8;
  --blue-dark: #0873d8;
  --ink: #0d0f12;
  --muted: #676d78;
  --line: #e8edf3;
  --surface: #ffffff;
  --surface-warm: #f7f8f5;
  --mint: #d9f6ea;
  --gold: #f9dfa3;
  --soft-blue: #e6f4ff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(17, 28, 45, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 46%, #f7f9fc 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 780;
}

.brand img,
.download-section img {
  border-radius: 22%;
  box-shadow: 0 10px 28px rgba(21, 149, 248, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #343941;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
}

.nav-links a:hover {
  background: #f1f5f9;
}

.section-band,
.content-section,
.feature-band,
.download-section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  min-height: calc(100svh - 132px);
  padding: clamp(24px, 4vw, 54px) 0 clamp(18px, 3vw, 36px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.8rem, 10vw, 7.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  font-weight: 730;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-description,
.feature-copy p,
.protocol-card p,
.site-footer p,
.check-list {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-description {
  max-width: 610px;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: var(--radius);
  font-weight: 790;
}

.button {
  padding: 0 22px;
}

.button-primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 18px 36px rgba(13, 15, 18, 0.18);
}

.button-primary:hover {
  background: #24282f;
}

.button-secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: white;
}

.button-secondary:hover {
  border-color: #ccd6e2;
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.82fr) minmax(210px, 0.62fr);
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  min-height: 480px;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #dfe5ec;
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--shadow);
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 10px 34% auto;
  z-index: 2;
  height: 5px;
  border-radius: 999px;
  background: rgba(13, 15, 18, 0.12);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 1284 / 2778;
  object-fit: cover;
}

.phone-frame-primary {
  justify-self: end;
  width: min(100%, 240px);
  transform: rotate(-4deg);
}

.phone-frame-secondary {
  justify-self: start;
  width: min(100%, 185px);
  transform: translateY(44px) rotate(5deg);
}

.content-section {
  padding: clamp(76px, 10vw, 136px) 0;
}

.content-section.compact {
  padding-top: clamp(64px, 9vw, 108px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(240px, 0.35fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -14px;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.protocol-card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 14px 42px rgba(17, 28, 45, 0.07);
}

.protocol-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 46px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 820;
}

.accent-blue .protocol-mark {
  color: white;
  background: var(--blue);
}

.accent-mint .protocol-mark {
  color: #134638;
  background: var(--mint);
}

.accent-ink .protocol-mark {
  color: white;
  background: var(--ink);
}

.accent-gold .protocol-mark {
  color: #62440a;
  background: var(--gold);
}

.accent-soft .protocol-mark {
  color: var(--blue-dark);
  background: var(--soft-blue);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.52fr);
  gap: clamp(32px, 8vw, 120px);
  align-items: center;
  padding: clamp(56px, 8vw, 92px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-warm);
}

.feature-copy p {
  max-width: 630px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 7px var(--soft-blue);
}

.feature-phone {
  justify-self: end;
  width: min(100%, 330px);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: clamp(18px, 5vw, 56px);
}

.download-section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(34px, 6vw, 54px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download-section h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 3.2rem);
}

.store-button {
  flex-direction: column;
  min-width: 178px;
  min-height: 64px;
  padding: 8px 18px 10px;
  color: white;
  background: var(--ink);
}

.store-button span {
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.1;
}

.store-button strong {
  font-size: 1.32rem;
  line-height: 1.05;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 52px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--blue-dark);
  font-weight: 780;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(62px, 10vw, 116px) 0 clamp(76px, 10vw, 128px);
}

.page-hero {
  margin-bottom: clamp(38px, 7vw, 72px);
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.35rem, 8vw, 7.2rem);
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.page-hero a,
.policy-panel a,
.faq-item a {
  color: var(--blue-dark);
  font-weight: 760;
}

.policy-panel,
.faq-list {
  display: grid;
  gap: 14px;
}

.policy-panel article,
.faq-item {
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 14px 42px rgba(17, 28, 45, 0.06);
}

.policy-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.08;
}

.policy-panel p,
.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.62;
}

.fine-print {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-section .section-heading {
  grid-template-columns: 1fr;
}

.faq-section .section-heading .eyebrow {
  margin-bottom: -12px;
}

.faq-item h3 {
  margin-bottom: 12px;
}

@media (max-width: 960px) {
  .hero,
  .feature-band,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 8px;
    min-height: auto;
    padding-top: 34px;
  }

  .hero-media {
    min-height: auto;
    grid-template-columns: minmax(0, 0.74fr) minmax(0, 0.58fr);
    justify-content: center;
    padding: 12px 0 34px;
  }

  .phone-frame-secondary {
    transform: translateY(44px) rotate(5deg);
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

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

  .feature-band {
    padding: clamp(34px, 7vw, 54px);
  }

  .feature-phone {
    justify-self: center;
  }

  .download-section {
    justify-items: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 24px, 1180px);
    padding: 12px 0;
  }

  .nav-links {
    display: none;
  }

  .section-band,
  .content-section,
  .feature-band,
  .download-section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: clamp(4rem, 22vw, 6.2rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .hero-subtitle {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
  }

  .protocol-grid,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .hero-description {
    display: none;
  }

  .hero-media {
    grid-template-columns: minmax(0, 0.88fr);
    gap: 22px;
    padding: 0 0 18px;
  }

  .phone-frame-primary,
  .phone-frame-secondary {
    width: min(100%, 175px);
    justify-self: center;
    transform: none;
  }

  .phone-frame-secondary {
    display: none;
  }

  .protocol-card {
    min-height: 210px;
  }

  .protocol-mark {
    margin-bottom: 34px;
  }

  .feature-band {
    padding: 28px 18px;
  }

  .download-section {
    padding-inline: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-shell {
    width: min(100% - 24px, 920px);
    padding-top: 46px;
  }

  .page-hero h1 {
    font-size: clamp(3.2rem, 15vw, 5.2rem);
  }
}

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