/* =====================================================================
   SecureGard — shared design system
   ===================================================================== */

/* SecureGard palette — white background, two-tone blue accents pulled from
   the brand shield: medium royal blue on the left, deep navy on the right. */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --panel: #ffffff;
  --panel-strong: #f5f8fc;
  --line: rgba(15, 31, 74, 0.08);
  --line-strong: rgba(15, 31, 74, 0.16);
  --text: #1e2d5c;
  --text-strong: #0f1f4a;
  --muted: #5a6a8c;
  --accent: #1e5ab8;
  --accent-2: #2563eb;
  --accent-3: #0f1f4a;
  --grad: linear-gradient(135deg, #1e5ab8 0%, #0f1f4a 100%);
  --grad-soft: linear-gradient(135deg, rgba(30,90,184,0.08), rgba(15,31,74,0.05));
  --shadow-lg: 0 24px 60px -28px rgba(15,31,74,0.18), 0 8px 24px -12px rgba(15,31,74,0.10);
  --radius: 12px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; line-height: 1.6;
  background:
    radial-gradient(900px 600px at 8% -10%, rgba(30,90,184,0.08), transparent 60%),
    radial-gradient(800px 600px at 100% 0%, rgba(15,31,74,0.05), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  body { font-size: 14.5px; }
}

/* Reusable check icon (replaces 20+ repeated inline SVGs in the HTML) */
.ic-check { width: 14px; height: 14px; color: #22c55e; flex: 0 0 auto; display: inline-block; }
.plan-feats .ic-check, .hero-meta .ic-check { width: 14px; height: 14px; }

/* Performance: skip layout/paint for sections that are below the fold until
   the user scrolls them into view. Modern browsers only — gracefully ignored
   elsewhere. */
@supports (content-visibility: auto) {
  section.section { content-visibility: auto; contain-intrinsic-size: 1px 800px; }
}

/* Drop expensive backdrop-filter blur on small screens — saves measurable
   paint cost on mobile GPUs without a visible quality difference. */
@media (max-width: 760px) {
  header.site,
  .feature, .step, .plan, .contact-card,
  .cookie-banner, .cookie-modal, .cookie-modal-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Header / nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text-strong); }
.brand:hover { color: var(--text-strong); }
/* Brand mark = /logo.svg image. The .brand-logo class also applies when the
   element is an <img>, giving us a single sizing rule for the new logo. */
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.brand-mark svg, img.brand-logo { width: 40px; height: 40px; display: block; }
img.brand-logo { object-fit: contain; }
.brand-text {
  font-weight: 800; color: var(--text-strong); font-size: 17px;
  letter-spacing: -0.4px;
}
.brand-text .grad-half {
  background: linear-gradient(135deg, #1e5ab8, #2563eb);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub { color: var(--muted); font-size: 11px; margin-top: -2px; font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.cta) {
  color: var(--muted); font-size: 13.5px; font-weight: 500;
  padding: 6px 0;
}
.nav-links a:not(.cta):hover { color: var(--text); }
.nav-links .cta {
  padding: 9px 16px; border-radius: 10px;
  background: var(--grad); color: #ffffff;
  font-weight: 700; font-size: 13px;
  transition: filter 0.15s, transform 0.15s;
  display: inline-block;
  box-shadow: 0 8px 18px -8px rgba(15,31,74,0.45);
}
.nav-links .cta:hover { filter: brightness(1.08); transform: translateY(-1px); color: #ffffff; }

/* ---------- Hamburger / mobile menu ---------- */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  align-items: center; justify-content: center;
  padding: 0; flex: 0 0 auto;
  transition: background 0.12s, border-color 0.12s;
}
.nav-toggle:hover { background: rgba(15, 23, 42, 0.6); border-color: rgba(148, 163, 184, 0.5); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.mobile-menu {
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 29;
  background: rgba(11, 16, 32, 0.97);
  border-top: 1px solid var(--line);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 20px 32px;
  max-width: 480px; margin: 0 auto;
}
.mobile-menu-inner a {
  padding: 14px 16px; border-radius: 12px;
  color: var(--text); font-size: 16px; font-weight: 600;
  border: 1px solid transparent;
}
.mobile-menu-inner a:hover, .mobile-menu-inner a:active {
  background: rgba(30, 41, 59, 0.7); border-color: var(--line);
  color: var(--text-strong);
}
.mobile-menu-inner a.signin {
  margin-top: 12px; border: 1px solid var(--line-strong);
  background: rgba(15, 23, 42, 0.6); text-align: center;
}
.mobile-menu-inner a.cta {
  margin-top: 8px; padding: 14px 18px;
  background: var(--grad); color: #0b1020;
  font-weight: 700; text-align: center;
  box-shadow: 0 14px 28px -14px rgba(129, 140, 248, 0.55);
}
.mobile-menu-inner a.cta:hover { color: #0b1020; filter: brightness(1.08); }

@media (max-width: 760px) {
  .nav-links-desktop { display: none !important; }
  .nav-toggle { display: inline-flex; }
  /* Legal subpages (about, privacy, cookies, terms) use plain .nav-links
     without a hamburger — collapse the in-page anchor links there too so
     only Sign in + Start free remain visible. */
  .nav-links:not(.nav-links-desktop) { gap: 10px; }
  .nav-links:not(.nav-links-desktop) a:not(.cta):not(.signin) { display: none; }

  /* Cleaner mobile header — borderless hamburger, condensed brand */
  header.site { background: rgba(255,255,255,0.98); border-bottom-color: var(--line); }
  /* More breathing room on phones — bigger horizontal & vertical padding so
     brand and hamburger don't crowd the screen edges. */
  header.site .container { padding: 0 24px; }
  .nav { padding: 20px 0; }
  .brand-sub { display: none; } /* hide subtitle on mobile so brand is just the wordmark */
  .brand-text { font-size: 17px; letter-spacing: -0.4px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark svg, img.brand-logo { width: 34px; height: 34px; }
  .nav-toggle {
    border: none;
    background: transparent;
    width: 40px; height: 40px;
  }
  .nav-toggle:hover { background: transparent; border: none; }
  .nav-toggle svg { width: 22px; height: 22px; color: var(--text-strong); }
  /* Mobile menu styled to match: pill primary CTA, plain text-link items */
  .mobile-menu { top: 72px; background: #ffffff; border-top: 1px solid var(--line); }
  .mobile-menu-inner a { padding: 16px 18px; font-size: 16px; color: var(--text-strong); }
  .mobile-menu-inner a:hover, .mobile-menu-inner a:active {
    background: var(--bg-soft); border-color: var(--line); color: var(--text-strong);
  }
  .mobile-menu-inner a.signin {
    margin-top: 12px; border: 1px solid var(--line-strong);
    background: #ffffff; text-align: center; color: var(--text-strong);
  }
  .mobile-menu-inner a.cta {
    border-radius: 999px;
    padding: 16px 22px;
    background: var(--text-strong);
    color: #ffffff;
    border: 1px solid var(--text-strong);
    box-shadow: 0 12px 28px -14px rgba(15,31,74,0.35);
  }
  .mobile-menu-inner a.cta:hover { color: #ffffff; background: var(--accent); border-color: var(--accent); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 11px;
  font-weight: 700; font-size: 14px;
  border: 1px solid transparent;
  transition: filter 0.15s, transform 0.15s, background 0.15s, border-color 0.15s;
  cursor: pointer;
  text-align: center; justify-content: center;
}
.btn.primary {
  background: var(--grad); color: #ffffff; border: none;
  box-shadow: 0 14px 36px -14px rgba(15,31,74,0.45);
}
.btn.primary:hover { filter: brightness(1.08); transform: translateY(-1px); color: #ffffff; }
.btn.ghost {
  background: #ffffff; border-color: var(--line-strong); color: var(--text-strong);
}
.btn.ghost:hover { background: var(--bg-soft); border-color: var(--accent); color: var(--text-strong); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
section.hero { padding: 88px 0 56px; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 11.5px; color: var(--text);
  letter-spacing: 0.4px; text-transform: uppercase; font-weight: 700;
  margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 8px #16a34a; }

h1 {
  margin: 0 auto;
  font-size: 56px; line-height: 1.05;
  font-weight: 800; letter-spacing: -1.6px;
  color: var(--text-strong); max-width: 820px;
}
h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero p.lead {
  margin: 24px auto 32px; max-width: 660px;
  color: var(--muted); font-size: 17.5px; line-height: 1.6;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta {
  margin-top: 26px;
  color: var(--muted); font-size: 12.5px;
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 14px; height: 14px; color: #22c55e; }
/* =========================================================================
   Mobile hero — Resend-inspired: serif display headline, gradient-border
   chip, pill primary CTA, text-link secondary, lots of breathing room.
   Only applies under 760px; desktop is unchanged.
   ========================================================================= */
@media (max-width: 760px) {
  section.hero {
    padding: 64px 0 40px;
    text-align: center;
  }
  /* Gradient-bordered chip — uses background-clip:padding-box so the gradient
     shows only as a thin ring, like Resend's "Announcing" pill. White inner. */
  .hero-eyebrow {
    margin-bottom: 32px;
    padding: 7px 14px;
    font-size: 11px; letter-spacing: 0.5px;
    background:
      linear-gradient(#ffffff, #ffffff) padding-box,
      var(--grad) border-box;
    border: 1px solid transparent;
    color: var(--text-strong);
    text-transform: none; font-weight: 600;
  }
  .hero-eyebrow .dot { display: none; }

  /* Display serif using a high-quality system stack — no web-font request,
     keeps page fast. Falls back gracefully on every platform. */
  h1 {
    font-family: "Tobias", "Charter", "Iowan Old Style", "Apple Garamond",
                 "Baskerville", "Source Serif Pro", "Cambria",
                 "Times New Roman", Times, ui-serif, serif;
    font-size: clamp(44px, 13vw, 64px);
    line-height: 1.04;
    letter-spacing: -1.5px;
    font-weight: 600;
    max-width: 16ch;
    margin: 0 auto;
  }
  /* On mobile we drop the gradient highlight so the serif reads cleanly */
  h1 .grad {
    background: none; -webkit-text-fill-color: var(--text-strong); color: var(--text-strong);
  }

  .hero p.lead {
    font-size: 17px; line-height: 1.5;
    color: var(--muted);
    margin: 26px auto 36px;
    max-width: 36ch;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    padding: 0 4px;
  }
  /* Primary CTA: full-width pill, navy surface — high contrast on white */
  .hero-ctas .btn.primary {
    width: 100%;
    padding: 17px 22px;
    font-size: 15px; font-weight: 600;
    border-radius: 999px;
    background: var(--text-strong);
    color: #ffffff;
    border: 1px solid var(--text-strong);
    box-shadow: 0 12px 28px -14px rgba(15,31,74,0.35);
  }
  .hero-ctas .btn.primary:hover { filter: none; transform: none; background: var(--accent); border-color: var(--accent); color: #ffffff; }
  /* Secondary becomes a plain text link sitting below the button */
  .hero-ctas .btn.ghost {
    background: transparent !important;
    border: none !important;
    padding: 14px 0;
    color: var(--muted);
    font-size: 14.5px; font-weight: 600;
    text-decoration: none;
  }
  .hero-ctas .btn.ghost:hover { color: var(--text-strong); }

  .hero-meta { display: none; } /* tucked-in on phones for breathing room */
  .trust-bar { display: none; }
}
@media (max-width: 720px) {
  /* Inherits the above; specific-feature-grid tweaks live elsewhere. */
}
@media (max-width: 380px) {
  h1 { letter-spacing: -1px; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  margin: 44px auto 0; max-width: 940px;
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  font-size: 12.5px; color: var(--text);
  font-weight: 600;
}
.trust-item svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Section base ---------- */
section.section { padding: 80px 0; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-title .eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  color: var(--accent); letter-spacing: 1.6px; text-transform: uppercase;
  margin-bottom: 14px;
}
h2 {
  margin: 0 0 14px;
  font-size: 38px; line-height: 1.15;
  font-weight: 800; letter-spacing: -1.1px;
  color: var(--text-strong);
}
.section-title p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
@media (max-width: 720px) {
  section.section { padding: 44px 0; }
  .section-title { margin-bottom: 32px; }
  h2 { font-size: 26px; letter-spacing: -0.6px; }
  .section-title p { font-size: 14.5px; }
}

/* ---------- Product preview ---------- */
.preview-frame {
  position: relative;
  margin: 0 auto;
  max-width: 1040px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(30,90,184,0.08), rgba(15,31,74,0.04));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 30px 60px -28px rgba(15,31,74,0.22);
}
.preview-frame .preview-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.preview-frame .preview-caption {
  margin: 14px 6px 4px;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
}
.preview-frame .preview-caption code {
  background: rgba(15,31,74,0.06);
  padding: 2px 6px; border-radius: 4px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11.5px; color: var(--text-strong);
}

.preview-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px auto 0;
  max-width: 1040px;
}
@media (max-width: 760px) {
  .preview-points { grid-template-columns: 1fr; gap: 14px; }
  .preview-frame { padding: 8px; border-radius: 16px; }
  .preview-frame .preview-img { border-radius: 10px; }
}
.preview-point {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px 16px;
  box-shadow: 0 4px 14px -8px rgba(15,31,74,0.08);
}
.preview-point-num {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #ffffff;
  font-weight: 800; font-size: 13px;
  margin-bottom: 12px;
  box-shadow: 0 6px 14px -8px rgba(15,31,74,0.45);
}
.preview-point h3 {
  margin: 0 0 6px;
  font-size: 15px; font-weight: 700;
  color: var(--text-strong); letter-spacing: -0.2px;
}
.preview-point p {
  margin: 0; color: var(--muted);
  font-size: 13.5px; line-height: 1.6;
}

/* ---------- Features grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 940px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: 0 4px 14px -8px rgba(15,31,74,0.08);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.feature:hover { border-color: rgba(30,90,184,0.45); transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(15,31,74,0.18); }
.feature .icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(30,90,184,0.10);
  border: 1px solid rgba(30,90,184,0.22);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 {
  margin: 0 0 8px;
  font-size: 17px; font-weight: 700;
  color: var(--text-strong); letter-spacing: -0.2px;
}
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- Use cases ---------- */
.use-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .use-cases { grid-template-columns: 1fr; } }
.use-case {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  box-shadow: 0 4px 14px -8px rgba(15,31,74,0.08);
}
.use-case .icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(15,31,74,0.08);
  border: 1px solid rgba(15,31,74,0.18);
  color: var(--accent-3);
  display: grid; place-items: center;
}
.use-case .icon svg { width: 22px; height: 22px; }
.use-case h3 {
  margin: 0 0 6px; font-size: 15px; color: var(--text-strong); font-weight: 700;
}
.use-case p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px 22px;
  position: relative;
  box-shadow: 0 4px 14px -8px rgba(15,31,74,0.08);
}
.step .num {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--grad);
  color: #ffffff; font-weight: 800; font-size: 14px;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px -8px rgba(15,31,74,0.45);
}
.step h3 { margin: 0 0 8px; font-size: 16px; color: var(--text-strong); font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- Pricing ---------- */
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; align-items: stretch;
}
/* 5-column variant: tighter cards so all five tiers fit on a 1200-px container. */
.plans.plans-5 { grid-template-columns: repeat(5, 1fr); gap: 12px; }
.plans.plans-5 .plan { padding: 26px 20px 22px; }
.plans.plans-5 .plan-price { font-size: 30px; }
.plans.plans-5 .plan-price span { font-size: 12px; }
.plans.plans-5 .plan-tag { font-size: 12px; margin-bottom: 14px; }
.plans.plans-5 .plan-feats li { font-size: 12.5px; padding: 8px 0; }
.plans.plans-5 .plan-cta { font-size: 13px; padding: 11px 14px; }
.plans.plans-5 .plan.featured { transform: translateY(-4px); }
@media (max-width: 1200px) { .plans.plans-5 { grid-template-columns: repeat(3, 1fr); }
                             .plans.plans-5 .plan.featured { transform: translateY(-6px); } }
@media (max-width: 880px) { .plans, .plans.plans-5 { grid-template-columns: 1fr; }
                            .plans.plans-5 .plan.featured { transform: none; } }
.plan {
  position: relative;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px 26px;
  display: flex; flex-direction: column;
  box-shadow: 0 6px 18px -10px rgba(15,31,74,0.10);
}
.plan.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(30,90,184,0.06), rgba(15,31,74,0.03));
  box-shadow: 0 28px 60px -28px rgba(30,90,184,0.45);
  transform: translateY(-6px);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #ffffff;
  font-weight: 800; font-size: 10.5px; letter-spacing: 1.2px;
  padding: 5px 14px; border-radius: 999px;
  box-shadow: 0 8px 18px -6px rgba(15,31,74,0.45);
}
.plan-name {
  font-size: 13px; font-weight: 700; color: var(--text-strong);
  letter-spacing: 0.6px; text-transform: uppercase;
}
.plan-price {
  font-size: 38px; font-weight: 800; color: var(--text-strong);
  letter-spacing: -1px; margin: 8px 0 2px;
}
.plan-price span { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-tag { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan-feats li {
  padding: 9px 0; color: var(--text); font-size: 13.5px;
  border-top: 1px dashed rgba(15,31,74,0.08);
  display: flex; align-items: center; gap: 8px;
}
.plan-feats li:first-child { border-top: none; }
.plan-feats li svg { width: 14px; height: 14px; color: #16a34a; flex: 0 0 auto; }
.plan-cta { width: 100%; }
.plans-foot {
  margin: 28px auto 0; max-width: 640px; text-align: center;
  color: var(--muted); font-size: 12.5px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  box-shadow: 0 2px 8px -4px rgba(15,31,74,0.06);
}
.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15px; font-weight: 700;
  color: var(--text-strong);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 14px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5ab8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  transition: transform 0.15s;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-body {
  padding: 0 20px 18px;
  color: var(--muted); font-size: 14px; line-height: 1.7;
}
.faq-body p { margin: 0 0 8px; }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 880px; margin: 0 auto;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
  padding: 16px 18px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--text);
  transition: border-color 0.15s, transform 0.12s, box-shadow 0.15s;
  box-shadow: 0 4px 14px -8px rgba(15,31,74,0.08);
}
.contact-card:hover { border-color: rgba(30,90,184,0.45); transform: translateY(-1px); color: var(--text); box-shadow: 0 12px 28px -14px rgba(15,31,74,0.18); }
.contact-card.no-link { cursor: default; }
.contact-card.no-link:hover { transform: none; border-color: var(--line); }
.contact-ico {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(30,90,184,0.10);
  border: 1px solid rgba(30,90,184,0.22);
  color: var(--accent);
  display: grid; place-items: center;
}
.contact-ico svg { width: 22px; height: 22px; }
.contact-label {
  font-size: 11px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1.2px;
  margin-bottom: 2px;
}
.contact-value { font-size: 14.5px; font-weight: 600; color: var(--text-strong); }
.contact-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.contact-note {
  margin: 28px auto 0; max-width: 720px; text-align: center;
  color: var(--muted); font-size: 12.5px; line-height: 1.6;
}

/* ---------- CTA band ---------- */
.cta-band {
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(30,90,184,0.08), rgba(15,31,74,0.04));
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 50px 36px; text-align: center;
}
.cta-band h2 { margin: 0 0 12px; font-size: 32px; font-weight: 800; color: var(--text-strong); letter-spacing: -0.6px; }
.cta-band p { margin: 0 auto 24px; max-width: 580px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 720px) {
  .cta-band { padding: 36px 22px; border-radius: 18px; }
  .cta-band h2 { font-size: 24px; }
  .cta-band p { font-size: 14.5px; }
  .cta-band .hero-ctas { flex-direction: column; align-items: stretch; }
  .cta-band .hero-ctas .btn { width: 100%; }
}
@media (max-width: 720px) {
  .feature, .step { padding: 20px 18px; }
  .plan { padding: 26px 22px 22px; }
  .plan.featured { transform: none; }
  .plan-price { font-size: 32px; }
  .contact-card { padding: 14px 16px; }
}

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 44px 0 32px;
  margin-top: 60px;
  background: var(--bg-soft);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}
@media (max-width: 880px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-cols { grid-template-columns: 1fr; gap: 24px; } }
.footer-col h4 {
  margin: 0 0 14px;
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700;
}
.footer-col a, .footer-col p {
  display: block;
  color: var(--text);
  font-size: 13.5px; line-height: 1.8;
  margin: 0;
}
.footer-col a:hover { color: var(--accent); }
.footer-meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 11.5px;
}
.footer-meta a { color: var(--muted); }
.footer-meta a:hover { color: var(--text); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  display: none;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  padding: 18px 20px;
  box-shadow: 0 -10px 30px -10px rgba(15,31,74,0.18);
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
}
@media (max-width: 720px) { .cookie-inner { grid-template-columns: 1fr; } }
.cookie-text {
  color: var(--text); font-size: 13.5px; line-height: 1.55;
}
.cookie-text strong { color: var(--text-strong); display: block; margin-bottom: 4px; font-size: 14px; }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions button {
  padding: 9px 14px; border-radius: 9px; border: 1px solid var(--line-strong);
  background: #ffffff; color: var(--text-strong);
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: inherit;
}
.cookie-actions button.primary { background: var(--grad); color: #ffffff; border: none; font-weight: 700; }
.cookie-actions button:hover { filter: brightness(1.05); }

.cookie-modal {
  position: fixed; inset: 0; z-index: 1001;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(15,31,74,0.45);
  backdrop-filter: blur(6px);
  padding: 20px;
}
.cookie-modal.show { display: flex; }
.cookie-modal-card {
  width: 520px; max-width: 100%;
  max-height: 85vh; overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 16px; padding: 24px 26px;
  box-shadow: 0 30px 60px -20px rgba(15,31,74,0.30);
}
.cookie-modal-card h3 {
  margin: 0 0 8px;
  font-size: 18px; color: var(--text-strong); font-weight: 700;
}
.cookie-modal-card p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0 0 16px; }
.cookie-cat {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center;
}
.cookie-cat-name { font-size: 14px; color: var(--text-strong); font-weight: 700; }
.cookie-cat-desc { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin-top: 4px; }
.cookie-toggle {
  position: relative; width: 42px; height: 24px;
  background: #e2e8f0; border-radius: 999px; border: 1px solid var(--line-strong);
  cursor: pointer; transition: background 0.15s;
}
.cookie-toggle::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%; background: #94a3b8;
  transition: transform 0.15s, background 0.15s;
}
.cookie-toggle.on { background: var(--grad); border-color: transparent; }
.cookie-toggle.on::after { transform: translateX(18px); background: #ffffff; }
.cookie-toggle.locked { opacity: 0.6; cursor: not-allowed; }
.cookie-modal-actions {
  display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px;
}
.cookie-modal-actions button {
  padding: 9px 14px; border-radius: 9px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  border: 1px solid var(--line-strong); background: #ffffff; color: var(--text-strong);
}
.cookie-modal-actions button.primary { background: var(--grad); color: #ffffff; border: none; font-weight: 700; }

/* ---------- Legal page layout ---------- */
.legal {
  max-width: 820px; margin: 0 auto;
  padding: 60px 28px 40px;
}
.legal h1 {
  font-size: 36px; line-height: 1.15; letter-spacing: -0.8px; max-width: none;
  text-align: left; margin-bottom: 8px;
}
.legal .updated { color: var(--muted); font-size: 13px; margin-bottom: 32px; }
.legal h2 {
  font-size: 22px; margin: 36px 0 12px;
  letter-spacing: -0.4px;
  border-bottom: 1px solid var(--line); padding-bottom: 8px;
}
.legal h3 { font-size: 16px; margin: 24px 0 8px; color: var(--text-strong); font-weight: 700; }
.legal p, .legal li { color: var(--text); font-size: 14.5px; line-height: 1.75; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal table {
  width: 100%; border-collapse: collapse; margin: 14px 0 22px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden;
}
.legal th, .legal td {
  padding: 10px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line); font-size: 13px;
}
.legal th { background: rgba(15,31,74,0.06); color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; font-size: 11.5px; }
.legal tr:last-child td { border-bottom: none; }
.legal code {
  background: rgba(15,31,74,0.06); padding: 2px 6px; border-radius: 4px;
  font-family: ui-monospace, Menlo, monospace; font-size: 12.5px;
  color: var(--text-strong);
}
