:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #5d6b7d;
  --soft: #eef5fb;
  --paper: #ffffff;
  --line: #d7e3ee;
  --blue: #1464d2;
  --blue-deep: #0b3f91;
  --indigo: #24325f;
  --gold: #d7a947;
  --mist: #f7fbff;
  --shadow: 0 20px 60px rgba(16, 32, 51, 0.14);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(215, 227, 238, 0.8);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(20, 100, 210, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(20, 100, 210, 0.25);
}

.button.secondary {
  background: white;
  color: var(--blue-deep);
  border-color: var(--line);
  box-shadow: none;
}

.button.ghost {
  background: transparent;
  color: var(--blue-deep);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 24%, rgba(20, 100, 210, 0.16), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 72%);
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: center;
  padding: 64px 0 56px;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
}

.hero-copy p {
  margin: 24px 0 0;
  max-width: 590px;
  color: var(--muted);
  font-size: 20px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
  max-width: 620px;
}

.hero-facts strong {
  display: block;
  color: var(--blue-deep);
  font-size: 24px;
  line-height: 1;
}

.hero-facts span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.phone-wrap {
  justify-self: center;
  perspective: 1200px;
}

.phone {
  width: min(360px, 84vw);
  aspect-ratio: 0.49;
  padding: 14px;
  border-radius: 42px;
  background: #102033;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(180deg, #f9fbff, #edf6fd);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.phone-bar {
  width: 104px;
  height: 28px;
  margin: 10px auto 0;
  border-radius: 0 0 18px 18px;
  background: #102033;
}

.app-mini-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 24px 0;
  font-size: 13px;
  font-weight: 760;
}

.app-mini-header img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.counter-card {
  margin: 22px 24px 0;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(215, 227, 238, 0.9);
}

.counter-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.counter-card strong {
  display: block;
  margin-top: 4px;
  font-size: 48px;
  line-height: 1;
}

.bead-ring {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 48px auto 0;
}

.bead-ring span {
  --angle: calc(var(--i) * 15deg);
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(145deg, #1d7ee7, #103e9b);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 18px rgba(20, 100, 210, 0.18);
  transform: rotate(var(--angle)) translate(112px) rotate(calc(var(--angle) * -1));
}

.bead-ring span:nth-child(6n) {
  width: 34px;
  height: 34px;
  margin: -17px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), transparent 22%),
    linear-gradient(145deg, #e9c462, #b88722);
}

.bead-center {
  position: absolute;
  inset: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--blue-deep);
  font-weight: 850;
  text-align: center;
  box-shadow: inset 0 0 0 1px var(--line);
}

.phone-footer {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.section h2,
.page-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-lede {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.feature-card,
.info-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.06);
}

.feature-card svg,
.info-card svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.feature-card h3,
.info-card h3,
.support-card h3 {
  margin: 16px 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.feature-card p,
.info-card p,
.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.band {
  background: var(--mist);
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

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

.part-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.part-list strong {
  color: var(--blue-deep);
}

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

.premium-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 34px;
}

.premium-copy {
  padding: 34px;
  border-radius: 12px;
  background: var(--indigo);
  color: white;
}

.premium-copy h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.08;
}

.premium-copy p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.premium-list li {
  padding-left: 24px;
  position: relative;
}

.premium-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.price-table {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  color: var(--muted);
  font-size: 14px;
}

.price-row strong {
  color: var(--blue-deep);
}

.testflight-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e9f4ff, #ffffff);
  border: 1px solid var(--line);
}

.testflight-strip h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.footer {
  background: #102033;
  color: white;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

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

.page-hero {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 58px;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.page-section {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
}

.page-section + .page-section {
  border-top: 1px solid var(--line);
}

.page-section h2 {
  font-size: 30px;
}

.page-section h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.page-section p,
.page-section li {
  color: var(--muted);
}

.page-section ul,
.page-section ol {
  padding-left: 22px;
}

.meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 20px 20px 20px 70px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 800;
}

.faq {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 760;
}

.faq p {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .hero-inner,
  .split,
  .premium-panel,
  .testflight-strip {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 0;
    gap: 42px;
  }

  .phone-wrap {
    justify-self: start;
  }

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

@media (max-width: 720px) {
  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 46px;
  }

  .hero-copy p,
  .page-hero p {
    font-size: 18px;
  }

  .hero-facts,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .part-list li,
  .price-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .phone {
    transform: none;
  }
}
