:root {
  --ink: #0b1f3a;
  --ink-soft: #40546f;
  --muted: #6f7f94;
  --blue: #087cf0;
  --blue-deep: #035fbe;
  --cyan: #12b7d6;
  --paper: #ffffff;
  --surface: #f4f7fb;
  --surface-blue: #eaf4ff;
  --line: #dce5ef;
  --green: #22a95b;
  --orange: #ff8b26;
  --purple: #a83de0;
  --shadow: 0 24px 70px rgba(11, 31, 58, 0.14);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-deep);
}

a:hover {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid rgba(8, 124, 240, 0.45);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

p {
  margin: 0;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 229, 239, 0.88);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(150%);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.025em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  box-shadow: 0 5px 18px rgba(11, 31, 58, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--blue);
}

.hero {
  overflow: hidden;
  padding: 84px 0 88px;
  background:
    radial-gradient(circle at 87% 15%, rgba(18, 183, 214, 0.18), transparent 30%),
    radial-gradient(circle at 70% 68%, rgba(8, 124, 240, 0.16), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 1px solid #cce5fb;
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(34, 169, 91, 0.12);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  font-weight: 860;
}

.hero h1 span {
  color: var(--blue);
}

.hero-copy {
  max-width: 660px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2.1vw, 1.3rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.07);
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.button.primary:hover {
  border-color: var(--blue-deep);
  background: var(--blue-deep);
  color: #ffffff;
}

.button.subdued {
  cursor: default;
  border-color: #cce5fb;
  background: var(--surface-blue);
  color: var(--blue-deep);
  box-shadow: none;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.hero-meta span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--green);
  font-weight: 900;
}

.device-stage {
  position: relative;
  min-height: 650px;
}

.device {
  position: absolute;
  overflow: hidden;
  border: 9px solid #10151e;
  border-radius: 56px;
  background: #10151e;
  box-shadow: var(--shadow);
}

.device img {
  width: 100%;
  height: auto;
}

.device.primary {
  z-index: 2;
  top: 0;
  left: 15%;
  width: 310px;
  transform: rotate(-2.2deg);
}

.device.secondary {
  z-index: 1;
  top: 102px;
  right: 0;
  width: 270px;
  transform: rotate(5deg);
  opacity: 0.94;
}

.proof {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

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

.proof-item {
  padding: 4px 28px;
  border-right: 1px solid var(--line);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  border-right: 0;
}

.proof strong {
  display: block;
  color: var(--blue-deep);
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.proof span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section {
  padding: 104px 0;
}

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

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

.kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  font-weight: 830;
}

.section-heading p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

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

.feature-card {
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 38px rgba(11, 31, 58, 0.06);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 15px;
  background: var(--surface-blue);
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 850;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
  background: #ecf9f1;
  color: var(--green);
}

.feature-card:nth-child(3) .feature-icon {
  background: #fff2e7;
  color: var(--orange);
}

.feature-card:nth-child(4) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
  background: #f7ebfc;
  color: var(--purple);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.screen-card {
  margin: 0;
}

.screen-shell {
  overflow: hidden;
  border: 7px solid #111722;
  border-radius: 42px;
  background: #111722;
  box-shadow: 0 22px 55px rgba(11, 31, 58, 0.16);
}

.screen-shell img {
  width: 100%;
  height: auto;
}

.screen-card:nth-child(even) {
  margin-top: 40px;
}

.screen-card figcaption {
  padding: 18px 8px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.ipad-showcase {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
  align-items: center;
}

.ipad-copy ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ipad-copy li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
}

.ipad-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.ipad-frame {
  overflow: hidden;
  border: 10px solid #111722;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.families {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.family {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.privacy-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  padding: 46px;
  border-radius: 34px;
  background: var(--ink);
  color: #ffffff;
}

.privacy-panel h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.privacy-panel p {
  margin-top: 18px;
  color: #c6d5e6;
}

.privacy-list {
  display: grid;
  gap: 13px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
}

.privacy-list li::before {
  content: "✓";
  margin-right: 10px;
  color: #59dc8c;
}

.support-strip {
  padding: 68px 0;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  color: #ffffff;
}

.support-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.support-strip h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.support-strip p {
  max-width: 650px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.support-strip .button {
  flex: 0 0 auto;
  border-color: #ffffff;
  color: var(--blue-deep);
}

.legal-note {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer {
  padding: 44px 0 50px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
}

.footer-copy {
  max-width: 520px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.document-main {
  padding: 80px 0 110px;
  background: var(--surface);
}

.document {
  max-width: 820px;
  margin: 0 auto;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 16px 50px rgba(11, 31, 58, 0.07);
}

.document h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
}

.document .updated {
  margin: 12px 0 36px;
  color: var(--muted);
  font-size: 0.88rem;
}

.document h2 {
  margin: 38px 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.document h3 {
  margin: 26px 0 8px;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.document p,
.document li {
  color: var(--ink-soft);
}

.document p + p {
  margin-top: 14px;
}

.document ul,
.document ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.document-callout {
  margin: 30px 0;
  padding: 20px 22px;
  border: 1px solid #cce5fb;
  border-radius: 18px;
  background: var(--surface-blue);
  color: var(--ink-soft);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.support-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.support-card h2 {
  margin-top: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecf9f1;
  color: #177c40;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

@media (max-width: 940px) {
  .hero-grid,
  .ipad-showcase {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 46px;
  }

  .device-stage {
    width: min(100%, 600px);
    min-height: 620px;
    margin: 0 auto;
  }

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

  .screenshots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 700px;
    margin: 0 auto;
  }

  .privacy-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    min-height: 64px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav-links a:not(:last-child) {
    display: none;
  }

  .hero {
    padding: 58px 0 64px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12.5vw, 4rem);
    overflow-wrap: anywhere;
  }

  .hero-meta {
    gap: 12px 18px;
  }

  .device-stage {
    min-height: 510px;
  }

  .device.primary {
    left: 2%;
    width: 235px;
  }

  .device.secondary {
    top: 72px;
    width: 205px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .proof-item,
  .proof-item:first-child {
    padding: 0 18px;
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .section {
    padding: 76px 0;
  }

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

  .screenshots {
    gap: 14px;
  }

  .screen-shell {
    border-width: 4px;
    border-radius: 27px;
  }

  .screen-card:nth-child(even) {
    margin-top: 26px;
  }

  .privacy-panel,
  .document {
    padding: 30px 24px;
    border-radius: 24px;
  }

  .support-inner,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .document-main {
    padding: 54px 0 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
