/* ===========================================================================
   WardenLock — shared design system for dedicated pages
   (mirrors the homepage system in index.html so every page feels like one site)
   =========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --bg-tint: #ecfdf8;
  --ink: #0d1b2a;
  --ink-soft: #1f3147;
  --muted: #56697f;
  --muted-2: #7c8ca0;
  --line: #e4eaf1;
  --line-strong: #d3dde7;
  --teal: #0d9488;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-50: #e7faf5;
  --teal-100: #c8f1e8;
  --amber: #f59e0b;
  --amber-50: #fff6e6;
  --navy: #0f2942;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 41, 66, 0.06), 0 1px 3px rgba(15, 41, 66, 0.05);
  --shadow: 0 10px 30px -12px rgba(15, 41, 66, 0.18);
  --shadow-lg: 0 30px 60px -25px rgba(13, 148, 136, 0.30), 0 18px 40px -20px rgba(15, 41, 66, 0.22);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--teal-700); text-decoration: none; }
h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0;
}
p { margin: 0; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Brand ---------- */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: 1.32rem; letter-spacing: -0.02em; color: var(--ink);
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-700) 100%);
  display: inline-grid; place-items: center;
  box-shadow: 0 6px 16px -6px rgba(13, 148, 136, 0.6); flex: none;
}
.brand-mark svg { width: 19px; height: 19px; }
.brand .b-lock { color: var(--teal-700); }
.brand--footer { color: var(--white); }
.brand--footer .b-lock { color: var(--teal-100); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary {
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-700) 100%);
  color: #fff; box-shadow: 0 12px 24px -12px rgba(13, 148, 136, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(13, 148, 136, 0.75); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--teal-700); }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link { color: var(--ink-soft); font-weight: 500; font-size: .97rem; transition: color .15s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--teal-700); }
.nav-utility { display: flex; align-items: center; gap: 14px; margin-left: 6px; }
.nav-login-link { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav-login-link:hover { color: var(--teal-700); }
.nav-cta {
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-700) 100%);
  color: #fff; font-weight: 600; font-size: .95rem;
  padding: 10px 18px; border-radius: 10px;
  box-shadow: 0 10px 20px -12px rgba(13,148,136,.7);
  transition: transform .15s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 24px -12px rgba(13,148,136,.8); color:#fff; }

.nav-mobile-menu { display: none; position: relative; }
.nav-mobile-toggle {
  width: 44px; height: 44px; border: 1px solid var(--line-strong);
  background: #fff; border-radius: 12px; cursor: pointer; display: grid; place-items: center;
}
.nav-mobile-toggle-bars { display: inline-flex; flex-direction: column; gap: 5px; }
.nav-mobile-toggle-bars span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s ease; }
.nav-mobile-toggle[aria-expanded="true"] .nav-mobile-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle[aria-expanded="true"] .nav-mobile-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle[aria-expanded="true"] .nav-mobile-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-panel {
  position: absolute; right: 0; top: calc(100% + 12px);
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 10px; min-width: 230px;
  display: none; flex-direction: column;
}
.nav-mobile-menu.is-open .nav-mobile-panel { display: flex; }
.nav-mobile-link { padding: 11px 14px; border-radius: 10px; color: var(--ink-soft); font-weight: 500; }
.nav-mobile-link:hover { background: var(--bg-soft); color: var(--teal-700); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(13,148,136,0.10), transparent 60%),
    radial-gradient(700px 420px at -5% 10%, rgba(245,158,11,0.07), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; padding: 86px 0 76px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 700; }
.page-hero h1 .accent { color: var(--teal-700); }
.page-hero p { margin: 22px auto 0; font-size: 1.18rem; color: var(--muted); max-width: 620px; }
.page-hero .hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Section scaffolding ---------- */
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; }
.section-head p { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.step::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-700)); }
.step-num { font-family: "Space Grotesk"; font-weight: 700; font-size: 1rem; color: var(--teal-700); background: var(--teal-50); width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.step h3 { font-size: 1.25rem; margin-top: 18px; }
.step p { color: var(--muted); margin-top: 10px; }
.step ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.step ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Feature cards ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.feature-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); margin-bottom: 16px; font-size: 1.4rem; }
.feature-card h3 { font-size: 1.12rem; }
.feature-card p { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* ---------- Split (copy + visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split-visual { order: -1; }
.split-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.split-copy p { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }
.split-points { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; padding: 0; }
.split-points li { list-style: none; display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.split-points .tick { margin-top: 3px; }
.split-actions { margin-top: 28px; }

.surface {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px;
}

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.compare-card { border-radius: var(--radius-lg); padding: 30px; }
.compare-old { background: #fff; border: 1px solid var(--line); }
.compare-new { background: linear-gradient(160deg, var(--teal-50), #fff); border: 1px solid var(--teal-100); box-shadow: var(--shadow); }
.compare-card h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.compare-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 13px; }
.compare-card li { display: flex; gap: 11px; color: var(--ink-soft); font-size: .97rem; }
.compare-old li .mk { color: #c0392b; }
.compare-new li .mk { color: var(--teal-700); }
.mk { flex: none; font-weight: 700; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--teal); box-shadow: var(--shadow-lg); position: relative; }
.price-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(150deg, var(--teal), var(--teal-700)); color: #fff; font-weight: 700; font-size: .74rem; letter-spacing: .04em; padding: 6px 16px; border-radius: 999px; }
.price-name { font-family: "Space Grotesk"; font-weight: 700; font-size: 1.3rem; }
.price-tag { margin: 14px 0 4px; font-family: "Space Grotesk"; }
.price-tag .amt { font-size: 2.8rem; font-weight: 700; color: var(--ink); }
.price-tag .per { color: var(--muted); font-weight: 500; font-size: 1rem; }
.price-note { color: var(--muted); font-size: .92rem; min-height: 24px; }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.price-card li { display: flex; gap: 10px; color: var(--ink-soft); font-size: .96rem; }
.price-card .btn { margin-top: auto; }
.price-sub { text-align: center; color: var(--muted-2); font-size: .9rem; margin-top: 26px; }

/* ---------- Feature comparison table ---------- */
.plan-table-wrap { max-width: 860px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: #fff; }
.plan-table { width: 100%; border-collapse: collapse; min-width: 540px; }
.plan-table th, .plan-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.plan-table thead th { font-family: "Space Grotesk"; font-size: 1rem; color: var(--ink); }
.plan-table thead th:not(:first-child), .plan-table tbody td:not(:first-child) { text-align: center; width: 130px; }
.plan-table tbody tr:last-child td { border-bottom: none; }
.plan-table td:first-child { color: var(--ink-soft); font-weight: 500; }
.plan-table .yes { color: var(--teal-700); font-weight: 700; }
.plan-table .no { color: var(--muted-2); font-weight: 700; }
.plan-table .col-premium { background: var(--teal-50); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-group-title { max-width: 800px; margin: 44px auto 6px; font-family: "Space Grotesk"; font-size: 1.15rem; color: var(--teal-700); }
.faq-group-title:first-of-type { margin-top: 0; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-size: 1.04rem; font-weight: 600;
  color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--teal); transition: transform .18s ease; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { padding: 0 24px 22px; color: var(--muted); font-size: 1rem; line-height: 1.7; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 380px at 80% 0%, rgba(13,148,136,0.16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #123a5e 100%);
  color: #fff;
}
.cta-band-inner { text-align: center; padding: 80px 0; max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.cta-band p { color: rgba(255,255,255,.8); margin-top: 16px; font-size: 1.1rem; }
.cta-band .hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); box-shadow: none; }
.cta-band .btn-secondary:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.tick { color: var(--teal); flex: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #cdd9e6; padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-blurb { color: rgba(255,255,255,.62); font-size: .95rem; margin-top: 16px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.72); padding: 6px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--teal-100); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; }
.footer-bottom p { color: rgba(255,255,255,.55); font-size: .88rem; }
.footer-socials { display: flex; gap: 12px; }
.footer-social-link { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); display: grid; place-items: center; transition: background .2s ease; }
.footer-social-link:hover { background: var(--teal-700); }
.footer-social-link svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split, .split--reverse .split-visual { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .split--reverse .split-visual { order: 0; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-mobile-menu { display: block; }
  .steps, .pricing-grid, .compare, .features-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .page-hero-inner { padding: 60px 0 54px; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .footer-top { grid-template-columns: 1fr; }
}
