:root {
  --navy: #0f172a;
  --navy-soft: #172554;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --sky: #e0f2fe;
  --paper: #f8fafc;
  --white: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft-line: rgba(148, 163, 184, 0.24);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::selection {
  color: var(--white);
  background: var(--blue);
}

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

button,
summary {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.76);
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.25);
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 26px);
}

.nav-links {
  color: #475569;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a,
.login-link {
  transition: color 160ms ease;
}

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

.login-link,
.nav-cta,
.button {
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 12px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--white);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.section {
  padding: clamp(64px, 8vw, 126px) clamp(18px, 5vw, 80px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  overflow: hidden;
  padding-top: clamp(56px, 7vw, 104px);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 78% 18%, rgba(6, 182, 212, 0.18), transparent 28%),
    radial-gradient(circle at 18% 24%, rgba(37, 99, 235, 0.16), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 220px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(226, 232, 240, 0.54));
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(3.25rem, 6.2vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  color: #475569;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.78;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span,
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
  color: #334155;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-proof span::before,
.trust-strip span::before {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.floating-card {
  animation: floatCard 7s ease-in-out infinite;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.dashboard-shell,
.product-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.mock-topbar {
  display: flex;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.74);
}

.mock-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #cbd5e1;
}

.mock-layout,
.product-preview {
  display: grid;
  grid-template-columns: 168px 1fr;
}

.mock-layout aside,
.product-preview aside {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  color: #cbd5e1;
  background: var(--navy);
}

.mock-layout aside strong,
.product-preview aside strong {
  margin-bottom: 12px;
  color: var(--white);
}

.mock-layout aside span,
.product-preview aside span {
  min-height: 34px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  font-weight: 700;
}

.mock-layout aside span:first-of-type,
.product-preview aside span:first-of-type {
  color: var(--white);
  background: rgba(37, 99, 235, 0.7);
}

.mock-content {
  padding: 22px;
}

.mock-header,
.preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.mock-header small,
.preview-head small,
.security-score span,
.preview-grid span,
.pricing-grid article > span,
.family-card small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mock-header h2,
.preview-head h3 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
}

.security-score {
  display: grid;
  min-width: 112px;
  gap: 3px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.security-score strong {
  color: var(--blue);
  font-size: 1.45rem;
}

.widget-grid,
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.widget-grid article,
.feature-grid article,
.preview-grid article,
.pricing-grid article,
.security-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.widget-grid article {
  min-height: 154px;
  padding: 17px;
}

.widget-grid h3,
.feature-grid h3,
.security-grid h3 {
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: 1rem;
}

.widget-grid p,
.feature-grid p,
.security-grid p,
.pricing-grid p,
.faq-list p,
.family-access p,
.section-heading p,
.final-cta p,
.site-footer p {
  color: var(--muted);
  line-height: 1.66;
}

.widget-icon,
.feature-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.16));
}

.widget-icon::before,
.feature-icon::before {
  width: 18px;
  height: 18px;
  border: 2px solid var(--blue);
  border-radius: 6px;
  content: "";
}

.family-icon::before {
  border-radius: 99px;
  box-shadow: 12px 6px 0 -3px var(--cyan), -12px 6px 0 -3px var(--blue);
}

.alert-icon::before {
  border-radius: 99px 99px 4px 4px;
}

.home-icon::before {
  transform: rotate(45deg);
}

.calendar-icon::before {
  border-radius: 4px;
}

.server-icon::before {
  border-radius: 4px;
  box-shadow: 0 6px 0 -3px var(--blue), 0 12px 0 -3px var(--cyan);
}

.shield-icon::before {
  border-radius: 10px 10px 14px 14px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: 30px;
  padding-bottom: 30px;
  background: var(--white);
}

.section-heading {
  max-width: 820px;
}

.section-heading.centered {
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2,
.family-access h2,
.security h2,
.final-cta h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.1vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: 0;
}

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

.feature-grid article {
  min-height: 245px;
  padding: 26px;
}

.family-access {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
  background:
    radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.28), transparent 28%),
    linear-gradient(135deg, #eff6ff, #e0f2fe 55%, #f8fafc);
}

.family-access ul,
.pricing-grid ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.family-access li,
.pricing-grid li {
  position: relative;
  padding-left: 26px;
  color: #334155;
  font-weight: 700;
}

.family-access li::before,
.pricing-grid li::before {
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  content: "";
  background: var(--cyan);
}

.family-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.family-row {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.family-node {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  text-align: center;
}

.family-node span {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.main-node {
  width: min(260px, 100%);
}

.family-connector {
  width: 2px;
  height: 34px;
  background: linear-gradient(var(--blue), rgba(37, 99, 235, 0));
}

.approval-card {
  display: grid;
  gap: 5px;
  width: min(440px, 100%);
  padding: 18px;
  border-radius: 22px;
  color: var(--white);
  background: var(--navy);
}

.approval-card small {
  color: #93c5fd;
}

.preview {
  background: var(--white);
}

.product-preview {
  max-width: 1180px;
  margin: 0 auto;
  background: #f1f5f9;
}

.product-preview aside {
  min-height: 620px;
}

.preview-main {
  padding: clamp(20px, 4vw, 34px);
}

.preview-head > span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #166534;
  background: #dcfce7;
  font-size: 0.82rem;
  font-weight: 900;
}

.preview-grid article {
  min-height: 172px;
  padding: 22px;
}

.preview-grid strong {
  display: block;
  margin: 10px 0 8px;
  color: var(--navy);
  font-size: 1.55rem;
}

.score-card {
  grid-column: span 2;
  background:
    radial-gradient(circle at 80% 18%, rgba(6, 182, 212, 0.16), transparent 34%),
    var(--white) !important;
}

.security {
  color: var(--white);
  background:
    radial-gradient(circle at 84% 12%, rgba(6, 182, 212, 0.16), transparent 30%),
    var(--navy);
}

.security .section-heading h2,
.security h3 {
  color: var(--white);
}

.security .section-heading p,
.security-grid p {
  color: #cbd5e1;
}

.security .eyebrow {
  color: #67e8f9;
}

.security-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 42px;
}

.security-grid article {
  min-height: 230px;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.pricing {
  background: var(--paper);
}

.pricing-grid article {
  min-height: 430px;
  padding: 30px;
}

.pricing-grid h3 {
  margin-bottom: 14px;
  font-size: 1.32rem;
}

.pricing-grid article > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
}

.featured-plan {
  position: relative;
  color: var(--white);
  background: linear-gradient(160deg, var(--navy), #1e3a8a) !important;
  transform: translateY(-12px);
}

.featured-plan h3,
.featured-plan > strong {
  color: var(--white) !important;
}

.featured-plan p,
.featured-plan li {
  color: #dbeafe;
}

.featured-plan > span {
  display: inline-flex;
  width: max-content;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(6, 182, 212, 0.24);
}

.faq {
  background: var(--white);
}

.faq-list {
  display: grid;
  max-width: 900px;
  gap: 14px;
  margin: 0 auto;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: clamp(18px, 5vw, 80px);
  border-radius: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 12%, rgba(6, 182, 212, 0.34), transparent 30%),
    linear-gradient(135deg, var(--blue), #1e40af);
}

.final-cta h2,
.final-cta p,
.final-cta .eyebrow {
  color: var(--white);
}

.final-cta p {
  max-width: 720px;
  opacity: 0.86;
}

.final-cta .button.primary {
  color: var(--blue);
  background: var(--white);
  box-shadow: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(150px, 1fr));
  gap: 30px;
  padding: 54px clamp(18px, 5vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer strong {
  color: var(--navy);
}

.site-footer a,
.site-footer span,
.site-footer p {
  color: var(--muted);
}

.footer-brand p {
  max-width: 330px;
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .hero,
  .family-access,
  .product-preview,
  .mock-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .mock-layout aside,
  .product-preview aside {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: auto;
  }

  .mock-layout aside strong,
  .product-preview aside strong {
    grid-column: 1 / -1;
  }

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

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

  .nav-actions {
    width: 100%;
  }

  .login-link,
  .nav-cta {
    flex: 1;
    justify-content: center;
  }

  .hero-actions,
  .final-cta,
  .family-row {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .widget-grid,
  .preview-grid,
  .feature-grid,
  .pricing-grid,
  .security-grid,
  .mock-layout aside,
  .product-preview aside {
    grid-template-columns: 1fr;
  }

  .score-card {
    grid-column: auto;
  }

  .featured-plan {
    transform: none;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.6rem);
  }

  .final-cta {
    margin: 18px;
  }
}
