/* ============================================================================
   FleetScout — marketing site. LIGHT theme, consistent with the control panel.
   Headings: Space Grotesk · Body: Inter. Ink + blue/teal accents on white.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-tint: #eef3fc;
  --surface: #ffffff;

  --ink: #0b1320;
  --ink-soft: #334155;
  --text: #0b1320;
  --text-soft: #475569;
  --muted: #6b7689;

  --line: #e6eaf2;
  --line-strong: #d4dbe8;

  --blue: #1d4ed8;
  --blue-bright: #3b82f6;
  --teal: #0ea5a4;
  --teal-bright: #0d9488;

  --grad: linear-gradient(100deg, #1d4ed8 0%, #2563eb 42%, #0ea5a4 100%);
  --grad-soft: linear-gradient(120deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 164, 0.1));

  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 30px -12px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 30px 70px -28px rgba(15, 23, 42, 0.28);

  --radius: 18px;
  --radius-lg: 26px;
  --container: 1200px;

  --font-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* full-width 3px top line — black, matching the control panel brand motif */
.topline {
  height: 3px;
  width: 100%;
  background: #000;
  position: relative;
  z-index: 60;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section--alt {
  background: var(--bg-soft);
}

.section--tight {
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-head {
  max-width: 740px;
}

.section-head.center {
  margin: 0 auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 46px);
  margin: 16px 0 14px;
}

.section-head p {
  color: var(--text-soft);
  font-size: 18px;
}

.lead {
  color: var(--text-soft);
  font-size: 19px;
}

.text-grad {
  background: linear-gradient(100deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(37, 99, 235, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(37, 99, 235, 0.7);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--muted);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 14px;
}

/* ---- navbar -------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(15, 23, 42, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand img {
  height: 26px;
  width: auto;
}

.brand span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

/* ---- hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfcff 0%, var(--bg) 60%);
}

.hero-bg {
  display: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

.glow-a {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 65%);
  top: -200px;
  right: -120px;
}

.glow-b {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(14, 165, 164, 0.14), transparent 65%);
  bottom: -220px;
  left: -160px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  margin: 22px 0;
}

.hero p {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin: 32px 0 26px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-badges b {
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-head);
}

/* browser frame for product UI */
.frame {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.frame-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cdd5e3;
  display: inline-block;
}

.frame-bar .url {
  margin-left: 10px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-head);
}

.frame img {
  width: 100%;
  display: block;
}

.hero-visual {
  position: relative;
}

.hero-visual .frame {
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
  transition: transform 0.5s ease;
}

.hero-visual:hover .frame {
  transform: perspective(1600px) rotateY(-4deg) rotateX(1deg);
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 15px;
  box-shadow: var(--shadow);
}

.float-card .k {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.float-card .v {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}

.float-1 {
  top: -22px;
  left: -26px;
}

.float-2 {
  bottom: -24px;
  right: -18px;
}

/* ---- logo / trust bar ---------------------------------------------------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.trust .container {
  padding-top: 30px;
  padding-bottom: 30px;
}

.trust-head {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-family: var(--font-head);
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  flex-wrap: wrap;
}

.logo-row span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: #9aa6b8;
  letter-spacing: -0.01em;
}

/* ---- generic grid / cards ------------------------------------------------ */

.grid {
  display: grid;
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -20px rgba(15, 23, 42, 0.25);
  border-color: var(--line-strong);
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: var(--blue);
  margin-bottom: 18px;
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-soft);
  font-size: 14.5px;
}

/* ---- stakes / split ------------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}

.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 19, 32, 0.92) 4%, rgba(11, 19, 32, 0.34) 52%, rgba(11, 19, 32, 0.05));
  z-index: 1;
}

.photo-card .pc-body {
  position: relative;
  z-index: 2;
  padding: 30px;
}

.photo-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5eead4;
  margin-bottom: 12px;
}

.photo-card h3 {
  font-size: 25px;
  margin-bottom: 10px;
  color: #fff;
}

.photo-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  max-width: 440px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  font-size: 12.5px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 500;
}

/* ---- how it works -------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step .num {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-bright);
  letter-spacing: 0.1em;
}

/* ---- features grid ------------------------------------------------------- */

.features {
  grid-template-columns: repeat(3, 1fr);
}

/* ---- product showcase ---------------------------------------------------- */

.showcase {
  position: relative;
}

.showcase-frame {
  position: relative;
  margin-top: 44px;
}

.callouts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.callout {
  border-left: 2px solid var(--teal);
  padding-left: 14px;
}

.callout h4 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--ink);
}

.callout p {
  font-size: 13px;
  color: var(--muted);
}

/* ---- stats band (brand gradient) ----------------------------------------- */

.stats {
  background: var(--grad);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}

.stat .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 52px);
  color: #fff;
  line-height: 1;
}

.stat .lbl {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14.5px;
  margin-top: 10px;
}

/* ---- hardware spotlight --------------------------------------------------- */

.hw {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hw-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  box-shadow: var(--shadow);
}

.hw-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 26px;
  margin-top: 26px;
}

.spec {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.spec .s-k {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec .s-v {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  margin-top: 2px;
}

/* ---- testimonial --------------------------------------------------------- */

.quote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.quote .mark {
  font-family: var(--font-head);
  font-size: 64px;
  line-height: 0.5;
  color: var(--teal);
  margin-bottom: 20px;
}

.quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.32;
}

.quote-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.quote-by img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.quote-by .qn {
  text-align: left;
}

.quote-by .qn b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.quote-by .qn span {
  color: var(--muted);
  font-size: 14px;
}

/* ---- regulatory spotlight ------------------------------------------------ */

.reg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.reg-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -20px rgba(15, 23, 42, 0.25);
}

.reg-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 12px;
}

.reg-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.reg-card p {
  color: var(--text-soft);
  font-size: 14.5px;
  margin-bottom: 16px;
  flex: 1;
}

.reg-card a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--blue);
}

.reg-card a:hover {
  text-decoration: underline;
}

.reg-foot {
  text-align: center;
  max-width: 700px;
  margin: 38px auto 0;
  color: var(--text-soft);
  font-size: 17px;
}

@media (max-width: 980px) {
  .reg-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- CTA band (brand gradient) ------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  text-align: center;
  background: var(--grad);
  box-shadow: var(--shadow-lg);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  mix-blend-mode: overlay;
  z-index: 0;
}

.cta > * {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  margin-bottom: 16px;
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 30px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.3);
}

.cta .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ---- footer -------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 280px;
}

.footer h5 {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 11px;
}

.footer li a {
  color: var(--muted);
  font-size: 14.5px;
  transition: color 0.15s ease;
}

.footer li a:hover {
  color: var(--blue);
}

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- blog index ---------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 40px;
  background: linear-gradient(180deg, #fbfcff, var(--bg));
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin: 14px 0 12px;
}

.page-hero p {
  color: var(--text-soft);
  font-size: 18px;
  max-width: 620px;
}

.chips-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-chip {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.filter-chip:hover {
  border-color: var(--muted);
  color: var(--ink);
}

.filter-chip.active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(37, 99, 235, 0.5);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article-grid:empty::after {
  content: "No articles in this category yet.";
  color: var(--muted);
  font-size: 15px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px -22px rgba(15, 23, 42, 0.26);
}

.article-card .thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.article-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .thumb img {
  transform: scale(1.05);
}

.article-card .cat {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(11, 19, 32, 0.7);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 999px;
}

.article-card .cat.feature {
  background: var(--grad);
}

.article-card .ac-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card .date {
  font-size: 12.5px;
  color: var(--muted);
  font-family: var(--font-head);
}

.article-card h3 {
  font-size: 19px;
  margin: 8px 0 8px;
  line-height: 1.25;
}

.article-card p {
  color: var(--text-soft);
  font-size: 14.5px;
  flex: 1;
}

.article-card .more {
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---- article page -------------------------------------------------------- */

.article {
  padding: 40px 0 90px;
}

.article-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 22px;
}

.article-back:hover {
  color: var(--ink);
}

.article-cat {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.article h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  margin: 14px 0 18px;
  line-height: 1.1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 26px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.article-meta img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.article-meta b {
  color: var(--ink);
  font-weight: 600;
}

.article-hero {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 34px;
}

.prose {
  color: #243042;
  font-size: 17.5px;
  line-height: 1.75;
}

.prose > p {
  margin-bottom: 22px;
}

.prose h2 {
  font-size: 26px;
  margin: 40px 0 14px;
}

.prose h3 {
  font-size: 20px;
  margin: 30px 0 10px;
}

.prose ul {
  margin: 0 0 22px 20px;
}

.prose li {
  margin-bottom: 8px;
}

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose strong {
  color: var(--ink);
}

.prose blockquote {
  border-left: 3px solid var(--teal);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.stat-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0;
}

.stat-callout .big {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  background: linear-gradient(100deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-callout .ctxt {
  font-size: 15px;
  color: var(--text-soft);
}

.feature-box {
  background: var(--grad-soft);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 34px 0;
}

.feature-box .fb-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.feature-box h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.feature-box p {
  font-size: 15.5px;
  color: var(--text-soft);
  margin-bottom: 0;
}

.feature-box .frame {
  margin-top: 18px;
}

.article-figure {
  margin: 28px 0;
}

.article-figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.article-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.sources {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.sources h4 {
  font-family: var(--font-head);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.sources ol {
  margin-left: 18px;
  color: var(--muted);
  font-size: 13.5px;
}

.sources li {
  margin-bottom: 7px;
}

.sources a {
  color: var(--blue);
}

.article-cta {
  margin-top: 44px;
  background: var(--grad);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  color: #fff;
}

.article-cta h3 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 8px;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

@media (max-width: 980px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
  .prose {
    font-size: 17px;
  }
}

/* ---- cookie consent ------------------------------------------------------ */

.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(140%);
  z-index: 200;
  width: min(680px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.35s ease;
}

.cookie-bar.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cookie-bar p {
  font-size: 13.5px;
  color: var(--text-soft);
  margin: 0;
  flex: 1;
}

.cookie-bar a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cookie-decline {
  background: var(--surface);
  color: var(--ink-soft);
}

.cookie-decline:hover {
  background: var(--bg-soft);
}

.cookie-accept {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

.cookie-accept:hover {
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    text-align: center;
  }
  .cookie-actions {
    justify-content: center;
  }
}

/* ---- scroll reveal ------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---- responsive ---------------------------------------------------------- */

@media (max-width: 980px) {
  .hero-inner,
  .hw {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual .frame {
    transform: none;
  }
  .features,
  .steps,
  .stat-grid,
  .callouts {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 16px 24px 22px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.open .nav-links a {
    padding: 10px 0;
    width: 100%;
    font-size: 16px;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 80px 0;
  }
  .features,
  .steps,
  .stat-grid,
  .callouts,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-cta .btn-ghost {
    display: none;
  }
  .float-card {
    display: none;
  }
  .hero-badges {
    gap: 14px;
  }
}
