:root {
  --bg-top: #0a2230;
  --bg-bottom: #07141c;
  --panel: rgba(9, 28, 38, 0.82);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.08);
  --text: #edf3f1;
  --muted: #b8c7c9;
  --teal: #5cc6d5;
  --blue: #5f80f4;
  --sand: #f0c287;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top, rgba(92, 198, 213, 0.20), transparent 30%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

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

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

p,
li {
  color: var(--muted);
  line-height: 1.65;
}

h1,
h2,
h3,
strong {
  color: var(--text);
}

.site-header,
.site-footer,
main {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 0 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  font-weight: 700;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.site-nav {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

main {
  padding-bottom: 72px;
}

.hero,
.feature-grid,
.split-section,
.legal-hero,
.legal-card {
  margin-top: 28px;
}

.hero,
.split-section,
.legal-hero,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: center;
  padding: 42px;
}

.hero-copy,
.section-copy {
  max-width: 58ch;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--teal);
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.98;
  max-width: 12ch;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.06;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.lede {
  margin: 18px 0 0;
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, var(--sand), #f7d8a6);
  color: #08141b;
}

.button-secondary {
  background: linear-gradient(135deg, rgba(95, 128, 244, 0.22), rgba(92, 198, 213, 0.18));
  border: 1px solid rgba(92, 198, 213, 0.24);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 20px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sand), var(--teal));
  transform: translateY(-50%);
}

.phone-stack {
  position: relative;
  min-height: 700px;
}

.device-shell,
.promo-card {
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-shell {
  max-width: 320px;
  margin: 0 auto;
}

.device-shell img,
.promo-card img {
  width: 100%;
  height: auto;
}

.tilt-left {
  position: absolute;
  left: 0;
  top: 90px;
  transform: rotate(-8deg);
}

.tilt-right {
  position: absolute;
  right: 0;
  top: 0;
  transform: rotate(8deg);
}

.accent-shell {
  outline: 1px solid rgba(92, 198, 213, 0.25);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  padding: 34px;
}

.promo-card {
  align-self: center;
}

.legal-page {
  padding-bottom: 72px;
}

.legal-hero,
.legal-card {
  padding: 32px;
}

.legal-card h2 {
  margin-top: 26px;
  font-size: 1.4rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 12px 0 36px;
}

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

@media (max-width: 980px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

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

  .phone-stack {
    min-height: 620px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .split-section,
  .legal-hero,
  .legal-card {
    padding: 24px;
  }

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

  .phone-stack {
    min-height: 0;
    display: grid;
    gap: 18px;
  }

  .tilt-left,
  .tilt-right {
    position: static;
    transform: none;
  }

  .device-shell {
    max-width: 100%;
  }
}
