:root {
  --bg: #f2f5f7;
  --ink: #1a2744;
  --muted: #737f8c;
  --teal: #2ec4b6;
  --teal-deep: #1a8c84;
  --coral: #ff6b4a;
  --card: #ffffff;
  --max: 1080px;
  --font: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(46, 196, 182, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 107, 74, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.55;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal-deep); }

.pill-nav {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: rgba(26, 39, 68, 0.92);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(26, 39, 68, 0.28);
  text-decoration: none;
  font-size: 0.85rem;
}
.pill-nav > span { font-weight: 700; padding: 0 0.35rem; }
.pill-link {
  color: #fff;
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.pill-link:hover { background: var(--teal); color: var(--ink); }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 1.02;
  margin: 0.2rem 0 0.6rem;
  letter-spacing: -0.03em;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--teal-deep);
  font-weight: 700;
  margin: 0;
}
.tagline {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.lede { color: var(--muted); margin: 0 0 1.4rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visual {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(26, 39, 68, 0.16);
  transform: rotate(1.5deg);
}
.hero-visual img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.btn.coral { background: var(--coral); color: #fff; }
.btn.teal { background: var(--teal-deep); color: #fff; }
.btn.ghost { background: transparent; border: 1.5px solid rgba(26,39,68,0.2); color: var(--ink); }

.stats {
  max-width: var(--max);
  margin: 0.5rem auto 2rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.stats div {
  background: var(--card);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stats strong { font-size: 1.45rem; }
.stats span { color: var(--muted); font-size: 0.9rem; }

.features, .screens, .legal-split {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 1rem;
}
.section-head { margin-bottom: 1.25rem; max-width: 34rem; }
.section-head.left { text-align: left; margin-right: auto; }
.section-head.right { text-align: right; margin-left: auto; }
.section-head h2 { margin: 0 0 0.4rem; font-size: 1.85rem; letter-spacing: -0.02em; }
.section-head p { margin: 0; color: var(--muted); }

.stripe-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.stripe-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--card);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  border-left: 5px solid var(--teal);
}
.stripe-list li:nth-child(2) { border-left-color: var(--coral); }
.stripe-list li:nth-child(3) { border-left-color: var(--ink); }
.idx {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.stripe-list h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.stripe-list p { margin: 0; color: var(--muted); }

.device-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: end;
}
.device-pair figure {
  margin: 0;
  background: var(--card);
  border-radius: 1.25rem;
  padding: 0.85rem;
  box-shadow: 0 16px 40px rgba(26, 39, 68, 0.1);
}
.device-pair img {
  border-radius: 0.9rem;
  border: 1px solid rgba(26, 39, 68, 0.08);
}
.device-pair figcaption {
  margin-top: 0.55rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.device-pair figure:last-child { transform: translateY(1.5rem); }

.gallery-row {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gallery-row img {
  border-radius: 1rem;
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.legal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-bottom: 3rem;
}
.legal-split article {
  background: var(--card);
  border-radius: 1.25rem;
  padding: 1.4rem 1.5rem;
}
.legal-split h2 { margin-top: 0; }
.muted { color: var(--muted); }

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem 6rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-visual { transform: none; order: -1; }
  .stats, .device-pair, .legal-split, .gallery-row { grid-template-columns: 1fr; }
  .device-pair figure:last-child { transform: none; }
  .section-head.right { text-align: left; margin-left: 0; }
  .pill-nav { left: 1rem; right: 1rem; justify-content: center; }
}
