:root {
  --navy: #1e194f;
  --navy-deep: #140f38;
  --navy-light: #2e2870;
  --accent: #4f5eff;
  --bg: #f7f7f9;
  --ink: #1a1a1f;
  --muted: #5a5a6b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; }

/* Early-access banner */
.ea-banner {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
}
.ea-banner a { text-decoration: underline; color: #fff; }

/* Nav */
nav.site-nav {
  background: var(--navy-deep);
  color: #fff;
}
nav.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  flex-wrap: wrap;
  gap: 12px;
}
nav.site-nav .brand img { height: 28px; display: block; }
nav.site-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
}
nav.site-nav ul a {
  text-decoration: none;
  color: #c9c9e8;
  transition: color 0.15s ease;
}
nav.site-nav ul a:hover,
nav.site-nav ul a.active { color: #fff; }
nav.site-nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  order: 2;
}
@media (max-width: 760px) {
  nav.site-nav .nav-toggle { display: block; }
  nav.site-nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 2px;
    order: 4;
    padding-top: 8px;
  }
  nav.site-nav ul.nav-open { display: flex; }
  nav.site-nav ul a {
    display: block;
    padding: 10px 4px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  nav.site-nav .nav-cta { order: 1; margin-left: auto; margin-right: 8px; }
  nav.site-nav .brand { order: 0; }
}
nav.site-nav .nav-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

/* Generic page hero */
header.page-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 64px 0 72px;
  text-align: center;
}
header.page-hero .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9aa6ff;
  margin-bottom: 14px;
}
header.page-hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0 auto 18px;
}
header.page-hero p.lead {
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 28px;
  color: #c9c9e8;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(79,94,255,0.35);
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.4);
}

/* Section helpers */
section { padding: 72px 0; }
section.alt { background: var(--navy); color: #fff; }
section h2.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--navy);
}
section.alt h2.section-title { color: #fff; }
p.section-lead {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
  color: var(--muted);
  font-size: 16px;
}
section.alt p.section-lead { color: #c9c9e8; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid #e4e4ec;
  border-radius: 14px;
  padding: 26px;
}
section.alt .feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}
section.alt .feature-card h3 { color: #fff; }
.feature-card p {
  font-size: 14.5px;
  color: var(--muted);
}
section.alt .feature-card p { color: #c9c9e8; }
.feature-card .status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.status.live { background: #e3f6ea; color: #1c7a43; }
.status.beta { background: #fff2dc; color: #92650b; }
.status.planned { background: #ececf4; color: #4a4a63; }
section.alt .status.live { background: rgba(60,200,130,0.18); color: #7CF0AA; }
section.alt .status.beta { background: rgba(255,190,70,0.18); color: #FFD27A; }
section.alt .status.planned { background: rgba(255,255,255,0.12); color: #c9c9e8; }

/* Module grid (home page) */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.module-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 28px;
  text-decoration: none;
  display: block;
  transition: transform 0.15s ease, background 0.15s ease;
}
.module-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.module-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa6ff;
  margin-bottom: 10px;
}
.module-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.module-card p { font-size: 15px; color: #c9c9e8; }
.module-card .more { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; color: #9aa6ff; }

/* Pricing table */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 2px solid #e4e4ec;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.highlight {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(79,94,255,0.18);
}
.price-card .plan-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 10px; }
.price-card .plan-price { font-size: 38px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.price-card .plan-price span { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-card .plan-desc { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.price-card ul { list-style: none; margin-bottom: 24px; flex-grow: 1; }
.price-card li { font-size: 14.5px; margin-bottom: 10px; padding-left: 22px; position: relative; color: var(--ink); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-card .btn-primary { text-align: center; }
.price-note {
  text-align: center;
  max-width: 640px;
  margin: 32px auto 0;
  font-size: 13.5px;
  color: var(--muted);
}
section.alt .price-note { color: #c9c9e8; }
section.alt .price-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); }
section.alt .price-card.highlight { border-color: var(--accent); }
section.alt .price-card .plan-name { color: #9aa6ff; }
section.alt .price-card .plan-price { color: #fff; }
section.alt .price-card .plan-price span { color: #c9c9e8; }
section.alt .price-card .plan-desc { color: #c9c9e8; }
section.alt .price-card li { color: #fff; }

/* Segment headers (Personal vs. Business grouping) */
.segment-head { text-align: center; margin-bottom: 40px; }
.segment-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
section.alt .segment-head .eyebrow { color: #9aa6ff; }
.segment-head p { max-width: 640px; margin: 12px auto 0; color: var(--muted); font-size: 15px; }
section.alt .segment-head p { color: #c9c9e8; }

/* VPN-Solo: visually distinct add-on, not another bundle tile */
.addon-card {
  max-width: 820px;
  margin: 40px auto 0;
  background: #fff;
  border: 2px dashed var(--accent);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.addon-card .addon-info { flex: 1 1 280px; }
.addon-card .addon-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(79,94,255,0.1);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.addon-card .plan-name { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 4px; text-transform: none; letter-spacing: normal; }
.addon-card .plan-price { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.addon-card .plan-price span { font-size: 13px; font-weight: 600; color: var(--muted); }
.addon-card .plan-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.addon-card ul { list-style: none; }
.addon-card li { font-size: 13.5px; margin-bottom: 5px; padding-left: 18px; position: relative; color: var(--ink); }
.addon-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.addon-card .addon-crosssell {
  flex: 1 1 220px;
  font-size: 13px;
  color: var(--muted);
  border-left: 1px solid #e4e4ec;
  padding-left: 24px;
}
.addon-card .addon-cta { flex: 0 0 auto; }
@media (max-width: 640px) {
  .addon-card .addon-crosssell { border-left: none; padding-left: 0; border-top: 1px solid #e4e4ec; padding-top: 16px; }
}

/* Trust grid reuse */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  text-align: center;
}
.trust-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.trust-item p { font-size: 14px; color: var(--muted); }

/* Comparison callout box */
.callout {
  border: 2px solid var(--navy);
  border-radius: 14px;
  padding: 24px 28px;
  max-width: 760px;
  margin: 0 auto;
}
.callout h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.callout p { font-size: 14.5px; color: var(--muted); }

/* Breadcrumb-ish module list at bottom */
.module-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}
.module-links a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 14px;
  border-radius: 20px;
  color: #fff;
}

/* Docs page: tech-stack line inside module cards */
.feature-card .tech-stack {
  margin-top: 12px;
  font-size: 12.5px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  color: var(--accent);
}
section.alt .feature-card .tech-stack { color: #9aa6ff; }

/* Docs page: FAQ entries */
.faq-item {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin-bottom: 26px;
}
.faq-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.faq-item p { font-size: 14.5px; color: var(--muted); }

/* Footer CTA */
footer.cta {
  background: var(--navy-deep);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
footer.cta h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
footer.cta p { color: #b0b0cc; margin-bottom: 28px; }
form.signup {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
form.signup input[type="email"] {
  padding: 14px 18px;
  border-radius: 8px;
  border: none;
  min-width: 260px;
  font-size: 15px;
  font-family: inherit;
}
footer.small {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: #7a7a95;
  background: var(--navy-deep);
}
footer.small nav {
  margin-bottom: 10px;
}
footer.small nav a {
  color: #9aa6ff;
  text-decoration: none;
  margin: 0 8px;
  font-weight: 600;
}
