:root {
  --primary: #2050d8;
  --primary-dark: #163c9e;
  --accent: #20a855;
  --danger: #e0342b;
  --ink: #0d0f14;
  --ink-soft: #4b5563;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --border: #e5e7eb;
  --radius: 16px;
  --max-width: 1100px;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand .logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
}

.store-badge:hover {
  text-decoration: none;
  opacity: 0.85;
}

.store-badge small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  opacity: 0.85;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 18% 18%, #e8f0ff 0%, var(--bg) 58%);
  padding: 72px 0 40px;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: #eaf0ff;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e7f8ef;
  color: #16a34a;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 30px 10px;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  z-index: 0;
}

.hero-visual::before {
  width: 240px;
  height: 240px;
  background: rgba(32, 80, 216, 0.24);
  top: 0;
  right: 16px;
}

.hero-visual::after {
  width: 190px;
  height: 190px;
  background: rgba(32, 168, 85, 0.2);
  bottom: 8px;
  left: 6px;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
}

/* Phone mockup — Home Launcher */
.phone-mock {
  width: 100%;
  aspect-ratio: 9 / 18.5;
  border-radius: 40px;
  background: linear-gradient(160deg, #1f2937, #0b0b0f);
  box-shadow: var(--shadow);
  padding: 12px;
  position: relative;
}

.phone-mock .screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ink);
  padding: 26px 16px 18px;
  overflow: hidden;
  position: relative;
}

.phone-mock .screen-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 2px;
}

.launcher-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.launcher-btn {
  border-radius: 16px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}

.launcher-btn.call { background: linear-gradient(135deg, #26b869, var(--accent)); }
.launcher-btn.text { background: linear-gradient(135deg, #4c7bff, var(--primary)); }
.launcher-btn.camera { background: #6b7280; }
.launcher-btn.photos { background: #9ca3af; }

.pinned-tile {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 10px 12px;
}

.pinned-tile .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.pinned-tile .name {
  font-size: 14px;
  font-weight: 700;
}

.pinned-tile .sub {
  font-size: 11.5px;
  color: var(--ink-soft);
}

.sos-pill {
  margin-top: auto;
  background: var(--danger);
  color: #fff;
  border-radius: 999px;
  padding: 12px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.hero-badge {
  position: absolute;
  bottom: 15%;
  left: -18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px 10px 10px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.hero-badge .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

/* Real app screenshots in device frames */
.shot-carousel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 18px;
}

.shot-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 240px);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 6px 4px 20px;
  scroll-behavior: smooth;
  scroll-padding-inline: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  scroll-snap-align: start;
}

.shot figcaption {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
}

.device {
  width: 100%;
  max-width: 240px;
  border-radius: 34px;
  background: linear-gradient(160deg, #23262e, #0b0b0f);
  padding: 9px;
  box-shadow: 0 18px 40px rgba(20, 24, 40, 0.22);
}

.device img {
  width: 100%;
  border-radius: 26px;
  display: block;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.carousel-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.carousel-btn:disabled {
  cursor: default;
  opacity: 0.35;
}

.carousel-btn span {
  font-size: 36px;
  line-height: 1;
  transform: translateY(-2px);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
  padding: 0;
  cursor: pointer;
}

.carousel-dots button[aria-current="true"] {
  background: var(--primary);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

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

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 16px rgba(32, 80, 216, 0.25);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.feature-card .pro {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #7c3aed;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
}

/* Steps */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 8px;
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 8px 18px rgba(32, 80, 216, 0.3);
}

.step h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* Family Setup band */
.family-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.family-band h2 {
  font-size: 30px;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.family-band p {
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e7f8ef;
  color: #16a34a;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.family-visual {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: linear-gradient(140deg, #0f172a, #163c9e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.family-visual svg {
  position: relative;
  z-index: 1;
}

.family-visual::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(32, 168, 85, 0.28);
  filter: blur(50px);
}

/* Pricing */
.pricing-card {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
}

.pricing-card .badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: #e7f8ef;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.pricing-card .price {
  font-size: 42px;
  font-weight: 800;
  margin: 6px 0 4px;
}

.pricing-card .price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-soft);
}

.pricing-card p.note {
  color: var(--ink-soft);
  margin: 0 0 24px;
}

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 14px;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 0 28px;
  opacity: 0.92;
}

.cta-band .store-badge {
  background: #fff;
  color: #111;
}

/* Legal / content pages */
.legal-page {
  padding: 56px 0 80px;
}

.legal-page .container {
  max-width: 820px;
}

.legal-page h1 {
  font-size: 34px;
  margin-bottom: 4px;
}

.legal-meta {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 21px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  font-size: 15.5px;
}

.legal-page ul {
  padding-left: 22px;
}

.toc {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 8px;
}

.toc p {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--ink);
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.faq-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #d1d5db;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 14px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: #d1d5db;
  font-size: 14.5px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Responsive */
@media (max-width: 980px) {
  .shot-carousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 12px;
  }
}

@media (max-width: 860px) {
  .hero .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

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

  .family-band {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 24px;
  }

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

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
  }

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

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 33px;
  }

  .section-head h2 {
    font-size: 27px;
  }

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

  .shot-carousel {
    display: block;
  }

  .shot-track {
    grid-auto-columns: minmax(190px, 74vw);
    margin: 0 -24px;
    padding-inline: 24px;
  }

  .carousel-btn {
    display: none;
  }

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

  .cta-band {
    padding: 40px 24px;
  }

  .pricing-card {
    padding: 32px 24px;
  }
}
