:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1d1d1f;
  background: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #f5f5f7;
  --line: #d2d2d7;
  --blue: #007aff;
  --teal: #30b0c7;
  --success: #34c759;
  --warning: #ff9f0a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  background: #ffffff;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(210, 210, 215, 0.74);
  backdrop-filter: blur(20px);
}

.brand,
nav {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
}

nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

nav a {
  text-decoration: none;
}

.nav-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.nav-button {
  min-height: 40px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  background: var(--soft);
}

.primary-button {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.secondary-button {
  border: 1px solid rgba(29, 29, 31, 0.13);
  background: #ffffff;
  color: var(--ink);
}

.hero {
  min-height: calc(100svh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(58px, 8vw, 108px) clamp(18px, 6vw, 88px) clamp(34px, 5vw, 70px);
  background:
    radial-gradient(circle at 78% 25%, rgba(0, 122, 255, 0.12), transparent 27rem),
    linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(58px, 10vw, 118px);
  line-height: 0.92;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1;
}

h3 {
  margin: 12px 0 10px;
  font-size: 24px;
}

.lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(21px, 3vw, 32px);
  line-height: 1.22;
}

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

.interface-stage {
  display: grid;
  place-items: center;
}

.device-frame {
  width: min(430px, 100%);
  border: 1px solid rgba(210, 210, 215, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.12);
  padding: 18px;
  backdrop-filter: blur(20px);
}

.device-top,
.signal-strip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.device-top strong {
  color: var(--blue);
}

.cover-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}

.cover-card {
  aspect-ratio: 2 / 3;
  display: grid;
  align-content: space-between;
  border-radius: 8px;
  padding: 18px;
  color: #ffffff;
}

.cover-card span {
  font-size: 30px;
  font-weight: 900;
}

.cover-card strong {
  font-size: 18px;
  line-height: 1.1;
}

.cover-blue {
  background: linear-gradient(150deg, #007aff, #30b0c7);
}

.cover-teal {
  background: linear-gradient(150deg, #30b0c7, #34c759);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.signal-strip div {
  min-height: 76px;
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  color: var(--ink);
  font-size: 24px;
}

.how,
.cta-band {
  padding: clamp(50px, 7vw, 90px) clamp(18px, 6vw, 88px);
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.cards article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(210, 210, 215, 0.8);
  border-radius: 8px;
  background: #ffffff;
}

.cards span {
  color: var(--teal);
  font-weight: 900;
}

.cards p,
.portal-row p,
.cta-band p {
  color: var(--muted);
  line-height: 1.55;
}

.portal-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 76px);
  align-items: start;
  padding: clamp(40px, 6vw, 76px) clamp(18px, 6vw, 88px);
  border-top: 1px solid var(--line);
}

.cta-band {
  color: #ffffff;
  background: var(--ink);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
}

.cta-band .secondary-button {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 6vw, 88px);
  color: var(--muted);
  font-weight: 800;
}

.modal-shell[hidden] {
  display: none;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 31, 0.58);
}

.paywall {
  position: relative;
  width: min(460px, 100%);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
}

.paywall h2 {
  font-size: 34px;
}

.paywall .price {
  margin: 14px 0 0;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
}

.paywall label {
  display: grid;
  gap: 8px;
  margin: 18px 0 12px;
  font-weight: 900;
}

.paywall input {
  min-height: 48px;
  border: 1px solid rgba(29, 29, 31, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
}

.paywall-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.full {
  width: 100%;
}

.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topbar nav {
    display: none;
  }

  .hero,
  .portal-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero-actions {
    display: grid;
  }

  .cover-stack,
  .signal-strip {
    grid-template-columns: 1fr;
  }

  footer {
    display: grid;
  }
}
