:root {
  --bg: #0a0f1a;
  --bg-elevated: #101826;
  --bg-soft: #152033;
  --border: rgba(148, 163, 184, 0.14);
  --text: #e8eef8;
  --muted: #93a4bd;
  --faint: #64748b;
  --accent: #22d3ee;
  --accent-2: #818cf8;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --violet-soft: rgba(129, 140, 248, 0.14);
  --success: #34d399;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1160px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --nav-h: 72px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(34, 211, 238, 0.14), transparent 55%),
    radial-gradient(900px 480px at 92% 0%, rgba(129, 140, 248, 0.14), transparent 50%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 0.95rem;
  transition: 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #818cf8);
  color: #041018;
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  min-height: 38px;
  padding: 0 0.9rem;
  font-size: 0.88rem;
}

.section {
  padding: 4.25rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0.7rem 0 0.65rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(21, 32, 51, 0.95), rgba(16, 24, 38, 0.95));
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pill {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--violet-soft);
  color: #c7d2fe;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

.faint {
  color: var(--faint);
}

.shot-frame {
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #0b1220;
  box-shadow: var(--shadow);
}

.shot-frame img {
  width: 100%;
  height: auto;
}

.phone-frame {
  width: min(100%, 320px);
  margin-inline: auto;
  border-radius: 36px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #020617;
  padding: 10px;
  box-shadow: var(--shadow);
}

.phone-frame .bezel {
  border-radius: 28px;
  overflow: hidden;
  background: #0b1220;
  aspect-ratio: 390 / 844;
  position: relative;
  /* Reserve layout size so lazy-loaded imgs always have a box to paint into */
  width: 100%;
}

.phone-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #111827;
}

.shot-caption {
  margin-top: 0.7rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.feature-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.feature-list li {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-list li::before {
  content: "→ ";
  color: var(--accent);
}

.cta-band {
  margin: 1rem 0 4rem;
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background:
    radial-gradient(700px 220px at 15% 0%, rgba(34, 211, 238, 0.16), transparent 60%),
    var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-band h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

.prose h2,
.prose h3 {
  letter-spacing: -0.02em;
}

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 560px;
}

table.compare th,
table.compare td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

table.compare th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 650;
}

table.compare td {
  color: var(--muted);
}

table.compare tr:last-child td {
  border-bottom: 0;
}

.gallery {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .gallery.phones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .gallery.phones-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
  }
}
