:root {
  color-scheme: dark;
  --midnight: #071114;
  --graphite: #101820;
  --paper: #f7f8f2;
  --paper-soft: #e7ebe1;
  --muted: #a7b2ad;
  --mint: #34d399;
  --orange: #ff7a1a;
  --blue: #2563eb;
  --violet: #8b5cf6;
  --line: rgba(247, 248, 242, 0.14);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--midnight);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 12%, rgba(52, 211, 153, 0.2), transparent 32rem),
    linear-gradient(140deg, #071114 0%, #101820 52%, #071114 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", sans-serif;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0 72px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-bottom: 48px;
}

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

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: var(--midnight);
  background: var(--mint);
  box-shadow: 0 10px 30px rgba(52, 211, 153, 0.2);
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 122, 26, 0.48);
  border-radius: 999px;
  color: #ffd2b2;
  background: rgba(255, 122, 26, 0.12);
  font-size: 0.82rem;
  font-weight: 750;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 8.4vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.hero-lede,
.section-copy p {
  max-width: 660px;
  color: var(--paper-soft);
  font-size: 1.12rem;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid rgba(247, 248, 242, 0.18);
  border-radius: 8px;
  color: var(--midnight);
  background: var(--paper);
  box-shadow: var(--shadow);
  font-weight: 850;
  line-height: 1.05;
}

.store-button small {
  display: block;
  margin-bottom: 4px;
  color: #51605b;
  font-size: 0.74rem;
  font-weight: 760;
}

.store-icon {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 1.75rem;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--paper-soft);
  font-weight: 760;
}

.beta-note {
  max-width: 500px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

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

.phone-frame {
  width: min(100%, 360px);
  aspect-ratio: 0.48;
  overflow: hidden;
  border: 1px solid rgba(247, 248, 242, 0.16);
  border-radius: 34px;
  background: #050707;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.personal-section,
.screens-section {
  display: grid;
  gap: 34px;
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.personal-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 248, 242, 0.07);
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.screens-section {
  padding-bottom: 120px;
}

.screen-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
}

.rail-item {
  min-height: 104px;
  display: flex;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(52, 211, 153, 0.18), transparent 58%),
    rgba(247, 248, 242, 0.06);
  color: var(--paper-soft);
  font-weight: 820;
}

.rail-item:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.22), transparent 58%),
    rgba(247, 248, 242, 0.06);
}

.rail-item:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(255, 122, 26, 0.2), transparent 58%),
    rgba(247, 248, 242, 0.06);
}

.rail-item:nth-child(4) {
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.2), transparent 58%),
    rgba(247, 248, 242, 0.06);
}

@media (max-width: 860px) {
  .hero {
    justify-content: flex-start;
    padding-top: 24px;
  }

  .nav {
    margin-bottom: 34px;
  }

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

  h1 {
    max-width: 10ch;
    font-size: clamp(3.2rem, 15vw, 5.2rem);
  }

  .phone-frame {
    width: min(74vw, 330px);
    max-height: 620px;
  }

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

@media (max-width: 480px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .hero-lede,
  .section-copy p {
    font-size: 1rem;
  }

  .store-button,
  .secondary-link {
    width: 100%;
    justify-content: center;
  }

  .phone-frame {
    width: min(86vw, 320px);
  }
}
