/* =============================================================
   Lighthouse — Design System
   "Cool Editorial Tech" — blue-shifted, precise, slightly dramatic
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Neutrals */
  --base: #F2F5FA;          /* Cool Mist — page background */
  --near-black: #1A1C1E;    /* body text, dark cards */
  --deep-navy: #1E2B3C;     /* primary button */
  --black: #000000;         /* headings */
  --white: #FFFFFF;

  /* Text */
  --text: #1A1C1E;
  --muted: #4A5568;
  --on-dark: rgba(255, 255, 255, 0.60);
  --on-dark-strong: rgba(255, 255, 255, 0.90);
  --step-num: rgb(80, 90, 105);

  /* Accents */
  --brand-blue: #2563EB;
  --sky-blue: #60A5FA;
  --electric-blue: #3B82F6;
  --teal: #0EA5E9;
  --orange: #F97316;
  --violet: #A78BFA;

  /* Lines & surfaces */
  --border: #C5D3E8;
  --border-soft: #DCE5F2;
  --dark-card: #1A1C1E;
  --on-dark-btn: #D1DCF0;
  --chip-bg: rgba(255, 255, 255, 0.08);

  /* Navy panel gradient stops */
  --navy-a: #0A1628;
  --navy-b: #1E3A5F;

  /* Layout */
  --maxw: 1240px;
  --gutter: 24px;
  --radius: 8px;
  --radius-lg: 16px;
  --nav-h: 64px;

  /* Type */
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s ease;
  --t: 0.28s var(--ease);

  /* Shadows — kept very subtle, editorial not material */
  --shadow-sm: 0 1px 2px rgba(16, 30, 54, 0.04);
  --shadow: 0 12px 32px -12px rgba(16, 30, 54, 0.18);
  --shadow-lg: 0 32px 64px -24px rgba(16, 30, 54, 0.30);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font);
  background: var(--base);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--black); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }

.display {
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 600; letter-spacing: -0.025em; }
.h3 { font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem); color: var(--muted); line-height: 1.6; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.eyebrow.muted { color: var(--muted); }

.text-muted { color: var(--muted); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}
/* Editorial vertical frame lines */
.frame {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.section { padding-block: clamp(56px, 4vw + 40px, 100px); }
.section-sm { padding-block: clamp(40px, 3vw + 24px, 64px); }
.divider { border-top: 1px solid var(--border); }

.grid { display: grid; gap: 32px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .cols-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 18px; }
@media (max-width: 640px) { .section-head { margin-bottom: 36px; } }

.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.center { text-align: center; }
.center.section-head { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; min-width: 168px;
  border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500; white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t), background-color var(--t), color var(--t), opacity var(--t-fast);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--deep-navy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #16212e; box-shadow: var(--shadow); transform: translateY(-1px); }

.btn-secondary { background: var(--white); color: var(--text); box-shadow: var(--shadow-sm); border: 1px solid var(--border-soft); }
.btn-secondary:hover { box-shadow: var(--shadow); transform: translateY(-1px); }

.btn-on-dark { background: var(--on-dark-btn); color: var(--near-black); width: 100%; font-weight: 500; }
.btn-on-dark:hover { background: #e2eaf7; }

.btn-ghost-light { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.16); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); }

.btn-lg { height: 50px; padding: 0 26px; font-size: 0.95rem; }
.btn-sm { height: 38px; min-width: 0; padding: 0 16px; font-size: 0.85rem; }
.btn-auto { width: auto; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand-blue); font-weight: 500; font-size: 0.9rem;
  transition: gap var(--t-fast), color var(--t-fast);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.link-arrow:hover { color: var(--electric-blue); }
.link-arrow:hover svg { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(242, 245, 250, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background-color var(--t);
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(242, 245, 250, 0.85); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { height: 30px; width: auto; flex: none; }
.brand-word { font-size: 1rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.brand:hover .brand-word { opacity: 0.82; }
.footer .brand-word { font-size: 1.05rem; }
.brand:hover { opacity: 0.82; }
.footer .brand-mark { height: 32px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 12px; border-radius: 7px;
  font-size: 0.875rem; font-weight: 500; color: var(--text);
  transition: color var(--t-fast), background-color var(--t-fast);
}
.nav-link:hover { color: var(--brand-blue); background: rgba(37, 99, 235, 0.06); }
.nav-link .chev { width: 14px; height: 14px; transition: transform var(--t-fast); }

.nav-item { position: relative; }
.nav-item:hover .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 280px; padding: 8px; background: var(--white);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.dd-link { display: flex; gap: 12px; padding: 12px; border-radius: 10px; transition: background-color var(--t-fast); }
.dd-link:hover { background: var(--base); }
.dd-ic { width: 36px; height: 36px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(37,99,235,0.08); color: var(--brand-blue); }
.dd-ic svg { width: 18px; height: 18px; }
.dd-title { font-size: 0.875rem; font-weight: 600; color: var(--text); display: block; }
.dd-desc { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-signin { font-size: 0.8rem; font-weight: 500; padding: 8px 10px; transition: color var(--t-fast); }
.nav-signin:hover { color: var(--brand-blue); }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 9px; align-items: center; justify-content: center; color: var(--text); }
.nav-toggle:hover { background: rgba(37,99,235,0.06); }
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--base); padding: 24px var(--gutter) 40px;
  transform: translateX(100%); transition: transform var(--t);
  overflow-y: auto; display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { display: block; padding: 14px 4px; font-size: 1.1rem; font-weight: 500; border-bottom: 1px solid var(--border-soft); }
.mobile-menu .mm-label { display: block; padding: 18px 4px 6px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mobile-menu .mm-sub { font-size: 1rem; padding-left: 16px; }
.mobile-menu .mobile-cta { display: block; padding: 14px 4px; font-size: 1.1rem; font-weight: 600; color: var(--brand-blue); border-bottom: 1px solid var(--border-soft); }

@media (max-width: 860px) {
  .nav-links, .nav-right .nav-signin, .nav-right .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + 56px); }
.hero-radial {
  position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(84% 84% at 52% 100%,
    #3B82F6 0%, #60A5FA 24.76%, #BAE6FD 47.6%, #E0F2FE 75%, #F0F9FF 100%);
  opacity: 0.16;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 80%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 80%);
}
.hero-inner { padding-block: clamp(40px, 5vw, 84px); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.7); border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 500; color: var(--muted);
  backdrop-filter: blur(6px); box-shadow: var(--shadow-sm);
}
.hero-badge .pip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; background: var(--brand-blue); color: #fff; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em; }
.hero h1 { margin-top: 24px; }
.hero .lead { margin-top: 22px; max-width: 620px; }
.hero .btn-row { margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 0.82rem; color: var(--muted); }
.hero-center { text-align: center; }
.hero-center .lead { margin-left: auto; margin-right: auto; max-width: 720px; }
.hero-center .btn-row { justify-content: center; }

/* ---------- Stat blocks ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stats.two { grid-template-columns: repeat(2, 1fr); }
.stat { background: var(--base); padding: 32px 28px; }
.stat-num { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); font-weight: 700; letter-spacing: -0.03em; color: var(--black); line-height: 1; background: linear-gradient(120deg, var(--brand-blue), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 720px) { .stats, .stats.two { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 28px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(37,99,235,0.08); color: var(--brand-blue); }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Dark feature card */
.dcard {
  position: relative; background: var(--dark-card); color: #fff; border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 24px; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.dcard.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dcard::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 0% 0%, rgba(96,165,250,0.14), transparent 55%); pointer-events: none; }
.dcard .step-num { font-size: 0.95rem; font-weight: 600; color: var(--step-num); position: relative; z-index: 1; }
.dcard h3 { color: #fff; position: relative; z-index: 1; }
.dcard p { color: var(--on-dark); font-size: 0.95rem; position: relative; z-index: 1; }
.dcard .spacer { flex: 1; }
.dcard .btn-on-dark { position: relative; z-index: 1; }

/* Chips inside dark cards */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; position: relative; z-index: 1; }
.chip { display: inline-flex; align-items: center; border-radius: 999px; background: var(--chip-bg); color: var(--on-dark-strong); font-size: 0.85rem; padding: 3px 13px; }

/* Category dot label */
.cat { display: inline-flex; align-items: center; gap: 7px; font-size: 0.875rem; font-weight: 500; }
.cat .dot { width: 8px; height: 8px; border-radius: 999px; }
.cat.primary { color: var(--text); } .cat.primary .dot { background: var(--sky-blue); }
.cat.secondary { color: var(--text); } .cat.secondary .dot { background: var(--orange); }
.cat.tertiary { color: var(--text); } .cat.tertiary .dot { background: var(--violet); }

.badge-new { color: var(--orange); font-size: 0.75rem; font-weight: 500; }

/* ---------- Navy panel ---------- */
.navy {
  position: relative; color: #fff; border-radius: 20px; overflow: hidden;
  padding: clamp(36px, 4vw, 64px) clamp(28px, 4vw, 56px);
  background: linear-gradient(210deg, var(--navy-a) 50%, var(--navy-b));
}
.navy::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 100% 0%, rgba(96,165,250,0.22), transparent 50%); pointer-events: none; }
.navy h2, .navy h3 { color: #fff; }
.navy p { color: var(--on-dark); }
.navy .eyebrow { color: var(--sky-blue); }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: scroll-x var(--dur, 38s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

.logo-pill { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; margin: 0 8px; border-radius: 8px; background: var(--white); border: 1px solid var(--border-soft); color: var(--near-black); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }

/* Brand logos */
.logo-img { height: 22px; width: auto; max-width: 26px; object-fit: contain; flex: none; border-radius: 4px; }
.logo-mono { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--sky-blue), var(--brand-blue)); color: #fff; font-size: 0.6rem; font-weight: 700; letter-spacing: -0.02em; flex: none; }
.pill .logo-img, .pill .logo-mono { width: 18px; height: 18px; max-width: 18px; }
.ic.ic-logo { background: #fff; border: 1px solid var(--border-soft); }
.ic.ic-logo .logo-img { height: 26px; max-width: 30px; border-radius: 6px; }
.ic.ic-logo .logo-mono { width: 26px; height: 26px; font-size: 0.7rem; }

/* Testimonial cards */
.tcard { width: 400px; flex: none; margin: 0 12px; background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 28px; transition: box-shadow var(--t), transform var(--t); }
.tcard:hover { box-shadow: var(--shadow); }
.tcard .stars { display: flex; gap: 2px; color: var(--orange); margin-bottom: 16px; }
.tcard .stars svg { width: 16px; height: 16px; }
.tcard .quote { font-size: 1.02rem; color: var(--text); line-height: 1.55; }
.tcard .who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.tcard .av { width: 42px; height: 42px; border-radius: 999px; flex: none; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 0.9rem; background: linear-gradient(135deg, var(--electric-blue), var(--teal)); }
.tcard .nm { font-size: 0.9rem; font-weight: 600; }
.tcard .rl { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 480px) { .tcard { width: 86vw; } }

/* ---------- Steps (horizontal numbered) ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step {
  position: relative; padding: 26px 22px; border-radius: 14px; background: var(--white);
  border: 1px solid var(--border-soft); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.step.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border); }
.step .n { font-size: 0.8rem; font-weight: 700; color: var(--brand-blue); letter-spacing: 0.04em; }
.step h3 { font-size: 1.05rem; margin: 14px 0 8px; }
.step p { font-size: 0.88rem; color: var(--muted); }
.step .s-ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(37,99,235,0.08); color: var(--brand-blue); display: grid; place-items: center; margin-bottom: 4px; }
.step .s-ic svg { width: 20px; height: 20px; }
@media (max-width: 1000px) { .steps, .steps.four, .steps.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps, .steps.four, .steps.three { grid-template-columns: 1fr; } }

/* ---------- Feature list (icon rows) ---------- */
.flist { display: grid; gap: 4px; }
.frow { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--border-soft); }
.frow:first-child { border-top: none; }
.frow .fic { width: 28px; height: 28px; border-radius: 8px; flex: none; display: grid; place-items: center; background: rgba(37,99,235,0.08); color: var(--brand-blue); margin-top: 2px; }
.frow .fic svg { width: 16px; height: 16px; }
.frow .ft { font-size: 0.98rem; font-weight: 600; }
.frow .fd { font-size: 0.92rem; color: var(--muted); margin-top: 3px; }

/* check list */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.98rem; color: var(--text); }
.checks li svg { width: 20px; height: 20px; flex: none; color: var(--brand-blue); margin-top: 1px; }
.checks.on-dark li { color: var(--on-dark-strong); }
.checks.on-dark li svg { color: var(--sky-blue); }

/* ---------- Split feature block ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; } .split.reverse > :first-child { order: 0; } }

/* ---------- Product mockup ---------- */
.mock-wrap { position: relative; }
.mock {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.hero .mock:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border-soft); background: #fbfcfe; }
.mock-bar .dot { width: 10px; height: 10px; border-radius: 999px; background: #d7e0ee; }
.mock-bar .title { margin-left: 10px; font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.mock-body { padding: 18px; display: grid; gap: 10px; }
.cand { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--border-soft); border-radius: 12px; background: #fff; transition: border-color var(--t), background var(--t); }
.cand:hover { border-color: var(--sky-blue); background: #fbfdff; }
.cand .av { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 0.8rem; }
.cand .nm { font-size: 0.85rem; font-weight: 600; }
.cand .meta { font-size: 0.72rem; color: var(--muted); margin-top: 1px; }
.cand .score { font-weight: 700; font-size: 0.95rem; padding: 6px 10px; border-radius: 9px; min-width: 46px; text-align: center; }
.score.hi { color: #047857; background: #d1fae5; } .score.mid { color: #b45309; background: #fef3c7; } .score.lo { color: #64748b; background: #eef2f7; }
.bar { height: 5px; border-radius: 999px; background: #eef2f7; margin-top: 7px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-blue), var(--teal)); }

/* floating chips on mockup */
.mock-float { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 10px 14px; font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; z-index: 2; }
.mock-float svg { width: 16px; height: 16px; }
@media (max-width: 720px) { .mock-float { display: none; } }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 0; max-width: 820px; margin-inline: auto; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; text-align: left; font-size: 1.05rem; font-weight: 600; color: var(--text); }
.faq-q .pm { width: 24px; height: 24px; flex: none; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; inset: 50% 4px auto; height: 2px; background: var(--brand-blue); border-radius: 2px; transition: transform var(--t); }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-item.open .pm::after { transform: rotate(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height var(--t); }
.faq-a-inner { padding: 0 4px 26px; color: var(--muted); font-size: 0.98rem; line-height: 1.65; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; border-radius: 24px; overflow: hidden; color: #fff; text-align: center;
  padding: clamp(48px, 6vw, 84px) clamp(24px, 4vw, 64px);
  background: linear-gradient(210deg, var(--navy-a) 45%, var(--navy-b));
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% 0%, rgba(96,165,250,0.28), transparent 60%); }
.cta::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 70% at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(70% 70% at 50% 0%, #000, transparent 70%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; max-width: 720px; margin-inline: auto; }
.cta p { color: var(--on-dark-strong); max-width: 600px; margin: 18px auto 0; }
.cta .btn-row { justify-content: center; margin-top: 32px; }
.cta .beam { position: absolute; top: -10%; left: 50%; width: 2px; height: 120%; transform-origin: top center; background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent); opacity: 0.5; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer-about { font-size: 0.9rem; color: var(--muted); max-width: 320px; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.9rem; color: var(--text); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--brand-blue); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; color: var(--muted); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border-soft); color: var(--muted); transition: all var(--t-fast); }
.socials a:hover { color: var(--brand-blue); border-color: var(--border); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col.first { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--t), box-shadow var(--t), border-color var(--t); height: 100%; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border); }
.post-thumb { aspect-ratio: 16 / 9; position: relative; overflow: hidden; display: grid; place-items: center; }
.post-thumb .beam-ic { width: 54px; height: 54px; color: #fff; opacity: 0.92; position: relative; z-index: 1; }
.post-thumb .tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.9); color: var(--brand-blue); }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 0.78rem; color: var(--muted); }
.post-card h3 { font-size: 1.12rem; margin: 10px 0 10px; line-height: 1.3; }
.post-card p { font-size: 0.9rem; color: var(--muted); flex: 1; }
.post-card .link-arrow { margin-top: 18px; }

.post-card.featured { grid-column: 1 / -1; }
@media (min-width: 981px) { .post-card.featured { display: grid; grid-template-columns: 1.1fr 1fr; } .post-card.featured .post-thumb { aspect-ratio: auto; height: 100%; min-height: 320px; } .post-card.featured .post-body { padding: 44px; } .post-card.featured h3 { font-size: 1.7rem; } }

/* Article */
.article { max-width: 760px; margin-inline: auto; }
.article-hero { max-width: 820px; margin-inline: auto; text-align: center; padding-top: 24px; }
.article-hero .h1 { margin: 18px 0; }
.article-meta { display: inline-flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.article-meta .sep { width: 4px; height: 4px; border-radius: 999px; background: var(--border); }
.article-lead { font-size: 1.18rem; line-height: 1.6; color: var(--muted); margin-bottom: 8px; }
.article-banner { aspect-ratio: 16 / 9; width: 100%; border-radius: 18px; margin: 36px 0 8px; position: relative; overflow: hidden; }
.article-banner .beam-ic { width: 64px; height: 64px; color: #fff; opacity: 0.92; z-index: 1; }

.prose { font-size: 1.05rem; line-height: 1.75; color: #2a2f36; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; margin-bottom: 0.2em; color: var(--black); }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; margin-bottom: 0.1em; color: var(--black); }
.prose h4 { font-size: 1.05rem; margin-top: 1.4em; color: var(--black); }
.prose p { color: #2a2f36; }
.prose strong { color: var(--black); font-weight: 600; }
.prose a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.4em; display: grid; gap: 0.5em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.6em; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 999px; background: var(--brand-blue); }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose ol > li::marker { color: var(--brand-blue); font-weight: 700; }
.prose blockquote { border-left: 3px solid var(--brand-blue); padding: 4px 0 4px 22px; margin: 1.4em 0; font-size: 1.15rem; color: var(--text); font-style: italic; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.2em 0; }
.prose .callout { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; }
.prose .callout.tldr { background: linear-gradient(180deg, #fff, #fbfcff); }
.prose .callout h4 { margin-top: 0; color: var(--brand-blue); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.prose .example { background: #fbfcff; border: 1px solid var(--border-soft); border-left: 3px solid var(--sky-blue); border-radius: 10px; padding: 14px 18px; font-size: 0.98rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-soft); }
.prose th { font-weight: 600; color: var(--black); border-bottom-color: var(--border); }

.article-cta { margin-top: 56px; }
.author-row { display: flex; align-items: center; gap: 14px; padding: 24px 0; margin-top: 40px; border-top: 1px solid var(--border); }
.author-row .av { width: 46px; height: 46px; border-radius: 999px; background: linear-gradient(135deg, var(--electric-blue), var(--teal)); display: grid; place-items: center; color: #fff; }
.author-row .av svg { width: 22px; height: 22px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.form { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 0.95rem; color: var(--text);
  background: var(--base); border: 1px solid var(--border); border-radius: 10px; transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); background: #fff; }
.form .btn { width: 100%; }
.contact-feat { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--border-soft); }
.contact-feat:first-of-type { border-top: none; }
.contact-feat .ic { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center; background: rgba(37,99,235,0.08); color: var(--brand-blue); }
.contact-feat .ic svg { width: 20px; height: 20px; }

/* ---------- Misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 8px; background: var(--white); border: 1px solid var(--border-soft); font-size: 0.85rem; font-weight: 500; color: var(--text); }
.pill svg { width: 14px; height: 14px; color: var(--brand-blue); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare .col { border-radius: 16px; padding: 28px; }
.compare .col.bad { background: #fff; border: 1px solid var(--border-soft); }
.compare .col.good { background: var(--dark-card); color: #fff; position: relative; overflow: hidden; }
.compare .col.good::after { content: ""; position: absolute; inset: 0; background: radial-gradient(100% 80% at 100% 0%, rgba(96,165,250,0.16), transparent 55%); }
.compare .col h3 { margin-bottom: 18px; }
.compare .col.good h3 { color: #fff; }
.compare .col.good * { position: relative; z-index: 1; }
.x-list li, .c-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.95rem; padding: 8px 0; }
.x-list li svg { width: 18px; height: 18px; flex: none; color: #cbd5e1; margin-top: 2px; }
.c-list li svg { width: 18px; height: 18px; flex: none; color: var(--sky-blue); margin-top: 2px; }
.compare .col.good .c-list li { color: var(--on-dark-strong); }
.compare .col.bad .x-list li { color: var(--muted); }

.roles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 920px) { .roles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .roles-grid { grid-template-columns: 1fr; } }
.role { padding: 22px; border-radius: 14px; background: var(--white); border: 1px solid var(--border-soft); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.role:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border); }
.role h4 { font-size: 1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.role h4 svg { width: 18px; height: 18px; color: var(--brand-blue); }
.role li { font-size: 0.85rem; color: var(--muted); padding: 4px 0; padding-left: 16px; position: relative; }
.role li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 999px; background: var(--sky-blue); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.06s; } .reveal.d2 { transition-delay: 0.12s; } .reveal.d3 { transition-delay: 0.18s; } .reveal.d4 { transition-delay: 0.24s; }

/* utility */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 36px; } .mt-4 { margin-top: 48px; }
.maxw-680 { max-width: 680px; } .maxw-760 { max-width: 760px; }
.hide-sm { } @media (max-width: 640px) { .hide-sm { display: none; } }
