:root {
  --primary: #246bce;
  --secondary: #8b5cf6;
  --accent: #ffb58a;
  --background: #f8f9fc;
  --text: #1d1d1f;
  --muted: #62666f;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(29, 29, 31, 0.1);
  --shadow: 0 20px 60px rgba(36, 107, 206, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  background: rgba(248, 249, 252, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-links {
  position: fixed;
  inset: 67px 16px auto;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.nav-links.is-open {
  display: flex;
}

.nav-links a {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.header-button {
  display: none;
}

.menu-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-button span {
  width: 17px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.menu-button span + span {
  margin-top: -10px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  display: grid;
  place-items: center;
  padding: 84px 20px 76px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 181, 138, 0.85), transparent 27%),
    radial-gradient(circle at 78% 20%, rgba(139, 92, 246, 0.8), transparent 32%),
    linear-gradient(135deg, #246bce 0%, #4c6be9 48%, #8b5cf6 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.08) 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(3px);
  opacity: 0.42;
}

.hero-glow-one {
  width: 220px;
  height: 220px;
  left: -60px;
  bottom: 90px;
  background: rgba(255, 181, 138, 0.55);
}

.hero-glow-two {
  width: 260px;
  height: 260px;
  right: -100px;
  top: 150px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.16));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(46px, 12vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 8vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 4vw, 23px);
}

.primary-button,
.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  color: #fff;
  background: var(--text);
  border-radius: 28px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

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

.section-heading p:not(.eyebrow),
.preview-copy p,
.legal-hero p,
.legal-content p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 28px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 18px;
  font-size: 24px;
  font-weight: 800;
}

.split-section {
  display: grid;
  gap: 30px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  font-weight: 800;
}

.timeline-item p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.safety-section {
  width: 100%;
  padding: 92px 20px;
  background: #fff;
}

.safety-section .section-heading,
.safety-list {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.safety-list {
  display: grid;
  gap: 12px;
}

.safety-list div {
  padding: 18px 20px;
  color: var(--text);
  background: var(--background);
  border-radius: 20px;
  font-weight: 800;
}

.preview-section {
  display: grid;
  gap: 40px;
  align-items: center;
}

.phone-shell {
  width: min(306px, 78vw);
  aspect-ratio: 1206 / 2622;
  height: auto;
  margin: 0 auto;
  padding: 10px;
  background: #1d1d1f;
  border-radius: 48px;
  box-shadow: 0 28px 80px rgba(29, 29, 31, 0.22);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 38px;
}

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

.download-section {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 80px;
  padding: 62px 24px;
  text-align: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.download-section h2 {
  margin-bottom: 26px;
}

.site-footer {
  display: grid;
  gap: 22px;
  padding: 34px 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

.site-footer a {
  color: var(--muted);
  font-weight: 650;
}

.site-footer p {
  margin: 0;
}

.legal-page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 90px;
}

.legal-hero {
  margin-bottom: 32px;
}

.legal-hero h1 {
  color: var(--text);
  font-size: clamp(42px, 10vw, 72px);
}

.legal-content,
.contact-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin: 30px 0 10px;
  font-size: 24px;
}

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

.legal-content p {
  margin-bottom: 0;
  font-size: 17px;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 17px;
}

.contact-card p {
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.contact-card a {
  color: var(--primary);
  font-size: clamp(24px, 7vw, 38px);
  font-weight: 800;
}

.compact {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

@media (min-width: 760px) {
  .site-header {
    padding: 18px 36px;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 18px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-links a {
    padding: 0;
  }

  .header-button {
    display: inline-flex;
    background: var(--primary);
    box-shadow: none;
  }

  .menu-button {
    display: none;
  }

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

  .split-section,
  .preview-section {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .preview-section {
    grid-template-columns: 0.82fr 1fr;
  }

  .preview-copy {
    max-width: 520px;
  }

  .safety-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-footer {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding-left: 36px;
    padding-right: 36px;
  }

  .site-footer nav {
    justify-content: center;
  }
}
