/* Koru Shield: landing page styles */

:root {
  --ink: #19323C;
  --ink-soft: #3A4A53;
  --ink-body: #4C5C66;
  --ink-faint: #8EA4AF;
  --bg: #ffffff;
  --bg-soft: #F1F7FC;
  --bg-card: #F7FBFE;
  --line: #D3E0E9;
  --line-soft: #DFE9F0;
  --line-card: #E6EEF4;
  --accent: #19323C;
  --accent-deep: #0E2831;
  --accent-soft: #E3F2FD;
  --accent-hover: #24434F;
  --alice: #F1F7FC;
  --alice-deep: #E3F2FD;
  --alice-line: #D3E0E9;
  --navy: #19323C;
  --navy-2: #223941;
  --navy-3: #2A4652;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 10px;
  --shadow: 0 22px 44px -26px rgba(25, 50, 60, 0.35), inset 0 0 0 1px #E6EEF4;
  --shadow-lg: 0 24px 48px -28px rgba(25, 50, 60, 0.35);
  --shadow-card: 0 14px 30px -20px rgba(25, 50, 60, 0.35), inset 0 0 0 1px #E6EEF4;
  --font-display: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; margin-bottom: 0.6rem; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; scroll-margin-top: 72px; }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-sub { color: #aab4cc; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.eyebrow-light { color: var(--accent); }
.section-sub { color: var(--ink-soft); font-size: 1.12rem; max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section .eyebrow { justify-content: center; }
.section h2 { text-align: center; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
/* Button groups: proper flex spacing for CTA pairs */
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; text-decoration: none; border-radius: 12px;
  border: 0; cursor: pointer; min-height: 48px; padding: 0.8rem 1.8rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: var(--font-body);
}
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 0.95rem 2.1rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.92rem; }
.btn-primary { background: var(--accent); color: #FFFFFF !important; box-shadow: 0 10px 26px -10px rgba(25, 50, 60, 0.55); }
.btn-primary:hover { background: #243B46; box-shadow: 0 14px 30px -10px rgba(25, 50, 60, 0.65); }
.btn-ghost { border-width: 2px; border-style: solid; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-outline { border-width: 2px; border-style: solid; border-color: var(--line); color: var(--ink); padding: 0.8rem 1.8rem; }
.btn-outline:hover { border-color: var(--accent-deep); color: var(--accent-deep); }
.btn-outline-dark { border-width: 2px; border-style: solid; border-color: var(--line); color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(16,24,39,0.05); }
.btn-outline-dark:hover { border-color: #9fb0ad; background: var(--bg-soft); }
/* Outline buttons on dark backgrounds */
.cta-final .btn-outline, .section-dark .btn-outline { color: #FFFFFF; border-color: #FFFFFF; }
.cta-final .btn-outline:hover, .section-dark .btn-outline:hover { color: #FFFFFF; border-color: #E3F2FD; background: rgba(255,255,255,0.1); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }
.price-card .btn-primary, .price-card .btn-outline { margin-top: 1.75rem; }
.price-card .btn-primary { width: 100%; padding: 0.9rem 1.8rem; background: var(--accent); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 16, 32, 0.72); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* Header logo: white on dark nav */
/* logo is now an img */
.nav .brand-name { color: #FFFFFF; }

.nav-inner { width: min(1140px, 92%); margin: 0 auto; display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: #fff; margin-right: auto; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; background: #FFFFFF; padding: 3px; box-sizing: border-box; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { color: #c6cddd; text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: calc(68px + clamp(3rem, 7vw, 6rem)) 0 clamp(3.5rem, 7vw, 6rem); }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 82% 18%, rgba(0, 195, 137, 0.16), transparent 60%),
    radial-gradient(700px 500px at 8% 90%, rgba(64, 110, 255, 0.14), transparent 60%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.hero-copy .eyebrow { justify-content: flex-start; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(0, 195, 137, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(0, 195, 137, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 195, 137, 0); } }
.hero h1 { margin-bottom: 1.25rem; }
.lede { font-size: 1.18rem; color: #c2c9dd; max-width: 34rem; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.hero-micro { color: #8b94ad; font-size: 0.92rem; margin-bottom: 1.8rem; }
.platform-strip { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.platform-pill {
  font-size: 0.85rem; font-weight: 600; color: #dfe5f2;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px; padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
}

.hero-visual { position: relative; display: flex; justify-content: center; min-height: 380px; }
.hero-shield { width: min(400px, 88%); height: auto; filter: drop-shadow(0 24px 60px rgba(0, 195, 137, 0.25)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.toast {
  position: absolute; display: flex; align-items: center; gap: 0.7rem;
  background: rgba(17, 26, 51, 0.92); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px; padding: 0.65rem 1rem; box-shadow: var(--shadow);
  backdrop-filter: blur(8px); animation: float 7s ease-in-out infinite;
}
.toast strong { display: block; font-size: 0.86rem; }
.toast span { display: block; font-size: 0.76rem; color: #9aa3bd; }
.toast-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 0.9rem; font-weight: 700; flex: none; }
.toast-block { background: rgba(255, 92, 92, 0.16); color: #ff8f8f; }
.toast-ok { background: rgba(0, 195, 137, 0.16); color: var(--accent); }
.toast-1 { top: 6%; left: 0; }
.toast-2 { top: 44%; right: -2%; animation-delay: 1.4s; }
.toast-3 { bottom: 4%; left: 8%; animation-delay: 2.6s; }

/* Trust strip */
.trust-strip { border-bottom: 1px solid var(--line); background: var(--bg); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.6rem 0; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.02rem; }
.trust-item span { color: var(--ink-faint); font-size: 0.9rem; }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 1rem; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 1.8rem 1.5rem;
}
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #FFFFFF; font-family: var(--font-display);
  font-weight: 800; font-size: 1.2rem; margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.step p { color: #aab4cc; font-size: 0.95rem; }

/* Family */
.family-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.family-grid .eyebrow { justify-content: flex-start; }
.family-grid h2, .family-grid .section-sub { text-align: left; }
.check-list { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.8rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--ink-soft); font-weight: 500; }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0.1rem;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-deep);
  font-size: 0.8rem; font-weight: 700; display: grid; place-items: center;
}
.section-dark .check-list li { color: #c2c9dd; }
.family-visual { display: flex; justify-content: center; }
.family-art { width: min(360px, 90%); height: auto; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; max-width: 860px; margin: 0 auto; }
.price-card {
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: 2.4rem 2.2rem; background: var(--bg); position: relative;
  display: flex; flex-direction: column;
}
.price-featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.price-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #FFFFFF; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 1rem; border-radius: 12px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.3rem; }
.price { margin: 0.9rem 0 0.2rem; display: flex; align-items: baseline; gap: 0.5rem; }
.price-num { font-family: var(--font-display); font-size: 2.9rem; font-weight: 800; letter-spacing: -0.03em; }
.price-per { color: var(--ink-faint); font-weight: 500; }
.price-alt { color: var(--accent-deep); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; }
.price-desc { color: var(--ink-soft); margin-bottom: 0.4rem; }
.price-card .check-list { margin-top: 1rem; }
.price-card .check-list li { font-size: 0.96rem; }
.pricing-note { text-align: center; color: var(--ink-faint); margin-top: 1.8rem; font-size: 0.95rem; }

/* Principles */
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.principle { border-top: 3px solid var(--accent); padding-top: 1.4rem; }
.principle h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.principle p { color: #aab4cc; }

/* FAQ */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-list { display: grid; gap: 0.9rem; margin-top: 2.2rem; }
.faq-list details {
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg);
  padding: 1.15rem 1.4rem; transition: box-shadow 0.15s ease;
}
.faq-list details[open] { box-shadow: var(--shadow); }
.faq-list summary { font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; color: var(--accent-deep); font-weight: 400; flex: none; transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--ink-soft); margin-top: 0.8rem; }

/* Final CTA */
.cta-final { background: linear-gradient(135deg, #0E2831 0%, #19323C 55%, #2E4F5C 100%); color: #fff; text-align: center; }
.cta-wrap { max-width: 640px; margin: 0 auto; }
.cta-mark { width: 64px; height: 64px; margin-bottom: 1.2rem; }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255, 255, 255, 0.92); font-size: 1.1rem; margin-bottom: 1.8rem; }
.signup-form { display: flex; gap: 0.7rem; max-width: 480px; margin: 0 auto; }
.signup-form input {
  flex: 1; border: 2px solid rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.14);
  border-radius: 12px; padding: 0.95rem 1.4rem; font-size: 1rem; color: #fff; font-family: var(--font-body);
  min-width: 0;
}
.signup-form input::placeholder { color: rgba(255, 255, 255, 0.7); }
.signup-form input:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, 0.2); }
.form-note { font-size: 0.9rem; margin-top: 1rem; color: rgba(255, 255, 255, 0.85); }
.form-note.success { font-weight: 600; color: #fff; }

/* Footer */
.footer { background: var(--navy); color: #8b94ad; padding: 2.2rem 0; font-size: 0.92rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 0.2rem; font-size: 0.88rem; }
.footer-links { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.footer-links a { color: #c6cddd; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-sep { opacity: 0.5; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }


/* Details/summary */
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }

/* Handwritten accents */
.font-hand { font-family: var(--font-hand); }
.font-mono { font-family: var(--font-mono); }

/* Alice Blue section backgrounds */
.section-alice { background: #F1F7FC; }
.section-alice-deep { background: #E3F2FD; }
.section-white { background: #FFFFFF; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { min-height: 320px; }
  .hero-shield { width: min(300px, 80%); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .family-grid { grid-template-columns: 1fr; gap: 2rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .principles-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .nav-inner { gap: 0.9rem; }
  .nav-links { display: none; }
  /* On mobile the bar keeps only the compact CTA + hamburger; Sign in lives in the menu. */
  .nav .btn-ghost.btn-sm { display: none; }
  .nav .btn-primary.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.88rem; min-height: 44px; }
  .nav-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; flex: none;
  }
  .nav-toggle span { margin: 2.5px 0; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: var(--navy-2); padding: 1.2rem 4%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); gap: 0.2rem;
  }
  .nav-links.open a { padding: 0.7rem 0; font-size: 1.02rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav-links.open a:last-child { border-bottom: 0; }
  .nav-cta-mobile { display: none; }
  .nav-links.open .nav-cta-mobile {
    display: block; color: #fff; font-weight: 600;
  }
}

@media (max-width: 620px) {
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .signup-form { flex-direction: column; }
  .toast-2 { right: 0; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .brand-name { font-size: 1.02rem; }
  .cta-band { padding: 2.4rem 1.4rem; margin: 3rem 0 1rem; }
  .setup-device { padding: 1.5rem 1.2rem; }
  .footer-grid { flex-direction: column; text-align: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-shield, .toast, .pulse-dot { animation: none; }
}

/* ============ v2: multi-page components ============ */

/* Inner page hero */
.page-hero { background: var(--navy); color: #fff; padding: calc(68px + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 420px at 80% 10%, rgba(25,50,60,0.14), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { margin: 0.8rem 0 1rem; max-width: 16em; }
.page-hero .lede { max-width: 40rem; }

/* Status badges */
.badge { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.28rem 0.8rem; border-radius: 12px; }
.badge-now { background: var(--accent-soft); color: var(--accent-deep); border: 1px solid #9be3c6; }
.badge-soon { background: #fff4e0; color: #8a5a00; border: 1px solid #f0d48a; }
.badge-roadmap { background: #eef1fb; color: #3b4a7a; border: 1px solid #c3cbe8; }

/* Callout boxes */
.callout { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--bg-soft); border-radius: 12px; padding: 1.2rem 1.4rem; margin: 1.8rem 0; }
.callout p { margin: 0; color: var(--ink-soft); }
.callout strong { color: var(--ink); }
.callout-warn { border-left-color: #e0a92e; }

/* Prose (long-form pages: setup, privacy, security) */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { text-align: left; margin: 2.6rem 0 0.9rem; font-size: 1.7rem; }
.prose h3 { margin: 1.8rem 0 0.6rem; font-size: 1.2rem; }
.prose p, .prose li { color: var(--ink-soft); line-height: 1.75; margin-bottom: 0.9rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.prose a { color: var(--accent-deep); font-weight: 600; }
.prose code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 0.1rem 0.45rem; font-size: 0.9em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
.prose pre { background: var(--navy); color: #dfe5f2; border-radius: 12px; padding: 1.2rem 1.4rem; overflow-x: auto; margin: 1.2rem 0; font-size: 0.92rem; line-height: 1.6; }
.prose pre code { background: none; border: 0; color: inherit; padding: 0; }

/* Comparison tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 2rem 0; background: var(--bg); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.96rem; min-width: 640px; }
.compare-table th, .compare-table td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 1rem; border-bottom: 0; }
.compare-table thead th:first-child { border-radius: 0; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody th { font-weight: 700; color: var(--ink); background: var(--bg-soft); width: 26%; }
.compare-table td.hl { background: var(--accent-soft); font-weight: 600; }
.compare-table thead th.hl { background: #19323C; color: #fff; }
.tick-yes { color: var(--accent-deep); font-weight: 700; }
.tick-no { color: #b04848; font-weight: 700; }
.tick-part { color: #a5760a; font-weight: 700; }

/* Verdict cards on compare pages */
.verdict-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 2rem 0; }
.verdict-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.verdict-card h3 { margin-bottom: 0.7rem; }
.verdict-card ul { list-style: none; display: grid; gap: 0.6rem; padding: 0; }
.verdict-card li { color: var(--ink-soft); padding-left: 1.6rem; position: relative; }
.verdict-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent-deep); font-weight: 700; }
.verdict-card.them li::before { content: "\2022"; color: var(--ink-faint); }

/* Hub cards (setup index, compare index) */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.hub-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; text-decoration: none; color: inherit; display: block; transition: transform 0.18s ease, box-shadow 0.18s ease; background: var(--bg); }
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hub-card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.hub-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.hub-card .hub-link { display: inline-block; margin-top: 1rem; color: var(--accent-deep); font-weight: 700; font-size: 0.95rem; }

/* Setup guide sections */
.setup-device { border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; margin: 1.6rem 0; background: var(--bg); scroll-margin-top: 84px; }
.setup-device h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.setup-device .device-sub { color: var(--ink-faint); margin-bottom: 1.2rem; }
.setup-device ol { padding-left: 1.3rem; display: grid; gap: 0.7rem; color: var(--ink-soft); }
.setup-device ol li::marker { color: var(--accent-deep); font-weight: 700; }

/* Roadmap timeline */
.roadmap-list { display: grid; gap: 1.4rem; margin-top: 2.2rem; }
.roadmap-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; background: var(--bg); }
.roadmap-item .badge { margin-bottom: 0.9rem; }
.roadmap-item h3 { margin-bottom: 0.5rem; }
.roadmap-item p { color: var(--ink-soft); margin: 0 0 0.6rem; }
.roadmap-item ul { margin: 0.6rem 0 0; padding-left: 1.3rem; color: var(--ink-soft); display: grid; gap: 0.35rem; }

/* Pricing: 4 tiers */
.pricing-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; max-width: 1180px; margin: 0 auto; }
.pricing-grid-4 .price-card { padding: 2rem 1.7rem; }
.pricing-grid-4 .price-num { font-size: 2.3rem; }
.tier-status { font-size: 0.82rem; font-weight: 700; margin-top: 0.6rem; }
.tier-live { color: var(--accent-deep); }
.tier-soon { color: #8a5a00; }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin: 3.5rem 0; }
.feature-row:nth-child(even) .feature-copy { order: 2; }
.feature-copy h3 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.feature-copy p { color: var(--ink-soft); margin-bottom: 1rem; }
.feature-art { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); min-height: 260px; display: grid; place-items: center; padding: 2rem; }
.feature-art svg { width: 120px; height: 120px; }

/* Product mockups (features page) */
.mockup-card {
  background: #0f172a; border: 1px solid #1e293b; border-radius: var(--radius);
  min-height: 260px; padding: 1.8rem; display: flex; flex-direction: column;
  justify-content: center; gap: 1rem; color: #e2e8f0;
  box-shadow: 0 1px 2px rgba(16,24,39,0.04), 0 16px 36px -26px rgba(16,24,39,0.22);
}
.mockup-domain { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.95rem; color: #e2e8f0; }
.mockup-pill { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.22rem 0.65rem; border-radius: 999px; }
.mockup-pill-red { background: rgba(255, 92, 92, 0.16); color: #ff8f8f; }
.mockup-pill-green { background: rgba(0, 195, 137, 0.16); color: #4ade9b; }

/* Threat notification mockup */
.mockup-threat-row { display: flex; align-items: center; gap: 0.9rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 0.85rem 1rem; }
.mockup-threat-icon { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; font-weight: 700; }
.mockup-threat-icon.is-blocked { background: rgba(255, 92, 92, 0.16); color: #ff8f8f; }
.mockup-threat-icon.is-ok { background: rgba(0, 195, 137, 0.16); color: #4ade9b; }
.mockup-threat-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.mockup-threat-meta { display: flex; align-items: center; gap: 0.6rem; }
.mockup-time { font-size: 0.78rem; color: #8b94ad; }

/* Analytics mini-chart mockup */
.mockup-chart-title { font-size: 0.82rem; font-weight: 600; color: #aab4cc; text-transform: uppercase; letter-spacing: 0.06em; }
.mockup-bars { display: flex; align-items: flex-end; gap: 0.6rem; height: 120px; }
.mockup-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 0.4rem; }
.mockup-bar { width: 100%; border-radius: 5px 5px 0 0; background: #4ade9b; }
.mockup-bar.is-high { background: #ff8f8f; }
.mockup-bar-label { font-size: 0.68rem; color: #8b94ad; }

/* Device profile mockup */
.mockup-device-head { display: flex; align-items: center; justify-content: space-between; }
.mockup-device-name { font-weight: 700; font-size: 1rem; color: #fff; }
.mockup-device-tag { font-size: 0.75rem; color: #8b94ad; }
.mockup-toggle-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.88rem; color: #c6cddd; padding: 0.55rem 0; border-top: 1px solid rgba(255,255,255,0.08); }
.mockup-toggle { width: 38px; height: 22px; border-radius: 999px; background: rgba(255,255,255,0.12); position: relative; flex: none; }
.mockup-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #8b94ad; }
.mockup-toggle.is-on { background: rgba(0, 195, 137, 0.3); }
.mockup-toggle.is-on::after { left: auto; right: 3px; background: #4ade9b; }
.mockup-device-stat { font-size: 0.82rem; color: #8b94ad; padding-top: 0.4rem; border-top: 1px solid rgba(255,255,255,0.08); }
.mockup-device-stat strong { color: #fff; font-weight: 700; }

/* DNS query log mockup */
.mockup-log-title { font-size: 0.82rem; font-weight: 600; color: #aab4cc; text-transform: uppercase; letter-spacing: 0.06em; }
.mockup-log-row { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.55rem 0; border-top: 1px solid rgba(255,255,255,0.08); }
.mockup-log-row:first-of-type { border-top: 0; }

/* Footer columns */
.footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding: 3rem 0 2rem; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; font-family: var(--font-display); }
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col a { color: #aab4cc; text-decoration: none; font-size: 0.93rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.88rem; }
.footer-bottom a { color: #c6cddd; text-decoration: none; }

/* 404 */
.error-wrap { text-align: center; padding: 9rem 1.5rem 6rem; max-width: 560px; margin: 0 auto; }
.error-code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; color: var(--accent); line-height: 1; }
.error-wrap h1 { margin: 1rem 0; }
.error-wrap p { color: var(--ink-soft); margin-bottom: 2rem; }

/* Page CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: calc(var(--radius) + 8px); padding: 3rem 2.5rem; text-align: center; margin: 4rem 0 1rem; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0%, rgba(25,50,60,0.18), transparent 65%); pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: 0.8rem; }
.cta-band p { color: #aab4cc; max-width: 34rem; margin: 0 auto 1.8rem; }
.cta-band .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* Responsive additions */
@media (max-width: 1020px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
/* Compare tables become stacked cards on small screens */
@media (max-width: 760px) {
  .table-wrap { border: 0; background: none; overflow: visible; }
  .compare-table { min-width: 0; }
  .compare-table thead { display: none; }
  .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table tbody tr {
    border: 1px solid var(--line); border-radius: 14px;
    margin-bottom: 1rem; overflow: hidden; background: var(--bg);
  }
  .compare-table tbody th {
    background: var(--navy); color: #fff; padding: 0.85rem 1.2rem;
    font-size: 1rem; width: 100%;
  }
  .compare-table td { border-bottom: 1px solid var(--line); padding: 0.9rem 1.2rem; font-size: 0.92rem; }
  .compare-table td:last-child { border-bottom: 0; }
  .compare-table td::before {
    content: attr(data-col); display: block;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.35rem;
  }
  .compare-table td.hl { background: var(--accent-soft); }
  .verdict-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-row:nth-child(even) .feature-copy { order: 0; }
  .pricing-grid-4 { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .compare-table th, .compare-table td { padding: 0.8rem; font-size: 0.88rem; }
}

/* Redesign polish: quieter surfaces, clearer hierarchy, and consistent page rhythm. */
body { line-height: 1.68; }
h1, h2, h3 { letter-spacing: -.035em; }
h1 { font-size: clamp(2.45rem, 5.2vw, 4.35rem); line-height: 1.04; }
h2 { line-height: 1.12; }
h3 { font-weight: 700; letter-spacing: -0.015em; }
.container { width: min(1160px, calc(100% - 48px)); }
.section { padding: clamp(4.2rem, 8vw, 7.2rem) 0; }
.section:not(.section-dark):not(.section-soft):not(.cta-final) {
  background:
    radial-gradient(900px 260px at 50% 0%, rgba(25,50,60,0.035), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}
.nav { background: rgba(10, 18, 33, .86); border-color: rgba(255,255,255,.09); }
.nav-inner { width: min(1200px, calc(100% - 40px)); gap: clamp(.6rem, 1.4vw, 1.3rem); }
.brand { gap: .55rem; }
.nav-links { gap: clamp(.7rem, 1.45vw, 1.4rem); }
.nav-links a { font-size: .9rem; white-space: nowrap; }
.nav .btn-sm { white-space: nowrap; }
.nav-toggle { flex: none; }
.hero, .page-hero { background-color: #0c1628; }
.hero-bg { background: radial-gradient(800px 480px at 82% 18%, rgba(25,50,60,.19), transparent 62%), radial-gradient(700px 500px at 10% 95%, rgba(74,120,220,.12), transparent 65%); }
.page-hero { padding-top: calc(68px + clamp(3rem, 7vw, 5.5rem)); padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { max-width: 44rem; margin-bottom: 0; }
.page-hero + .section { padding-top: clamp(2rem, 4vw, 2.75rem); }
.eyebrow { letter-spacing: .13em; }
.card, .price-card, .hub-card, .setup-device, .roadmap-item, .verdict-card {
  box-shadow: 0 1px 2px rgba(16,24,39,0.04), 0 16px 36px -26px rgba(16,24,39,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card { padding: 2rem; }
.card:hover, .price-card:hover, .hub-card:hover, .setup-device:hover, .roadmap-item:hover, .verdict-card:hover, .check-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1px 2px rgba(16,24,39,0.04), 0 28px 48px -24px rgba(16,24,39,0.3);
  border-color: #cfe9de;
}
.footer { background: #0b1424; color: #aab4c4; }
.footer-cols-five { grid-template-columns: 1.25fr repeat(5, minmax(0, 1fr)); gap: 1.4rem; }
.footer-brand p { max-width: 16rem; color: #aab4c4; margin-top: .6rem; }
.footer-col ul { gap: .48rem; }
.footer-col a { line-height: 1.45; }
.footer-bottom { color: #96a2b5; }
.faq-list details { padding: 1.1rem 1.3rem; }
.faq-list summary { font-size: 1.02rem; }
.contact-card { border: 1px solid var(--line); background: var(--bg-soft); padding: 2rem; border-radius: var(--radius); }
.contact-email { font: 700 clamp(1.2rem, 3vw, 1.8rem) var(--font-display); color: var(--accent-deep); }
.step-num { width: 42px; height: 42px; }

@media (max-width: 1100px) {
  .nav-links { gap: .7rem; }
  .nav-links a { font-size: .82rem; }
  .nav-inner { gap: .7rem; }
  .nav .btn-sm { padding-inline: .85rem; font-size: .82rem; }
  .footer-cols-five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .nav-signin { display: none; }
  .nav-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 2.5px 0; border-radius: 2px; }
  .nav-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #111a2d; padding: .8rem 4% 1rem; border-bottom: 1px solid rgba(255,255,255,.1); gap: 0; box-shadow: 0 20px 32px rgba(0,0,0,.2); }
  .nav-links.open a { padding: .7rem 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-links.open a:last-child { border-bottom: 0; }
  .nav-cta-mobile { display: block; color: #fff !important; font-weight: 600 !important; }
  .footer-cols-five { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .container { width: min(100% - 36px, 520px); }
  .nav-inner { width: calc(100% - 28px); }
  .nav .nav-access { font-size: .79rem; padding-inline: .8rem; }
  .footer-cols-five { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Inline links on dark heroes */
.page-hero .lede a { color: #FFFFFF; font-weight: 700; text-decoration: underline; }
.page-hero .lede a:hover { color: #E3F2FD; }
