/* =============================================================
   Jeeto11 — Editorial Stylesheet
   Sharp-editorial geometry, rose-newsroom palette,
   responsive mobile-first, sticky nav, hamburger drawer,
   sticky mobile CTA, signature timeline rail, horizontal story rail.
   ============================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--primary-700); text-decoration: underline; text-underline-offset: 3px; }

/* Headings */
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--text); margin: 0; line-height: var(--lh-tight); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1-d); }
h2 { font-size: var(--fs-h2-d); }
h3 { font-size: var(--fs-h3-d); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 var(--sp-4); }

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

/* =============================================================
   HEADER + NAVIGATION (sticky, mega-menu, hamburger)
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex; align-items: center;
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
}
.site-header .container { display: flex; align-items: center; gap: var(--sp-6); }
.brand { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px;
  background: var(--primary); color: var(--text-on-primary);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  border-radius: var(--radius-sm);
  letter-spacing: -0.02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--text); letter-spacing: -0.01em; }
.brand-tag { font-family: var(--font-body); font-size: 11px; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: var(--sp-2); }
.main-nav a {
  display: inline-block; padding: 10px 12px;
  color: var(--text); font-size: 15px; font-weight: 500;
  border-radius: var(--radius-sm);
}
.main-nav a:hover { background: var(--surface-2); color: var(--primary-700); text-decoration: none; }
.main-nav a.cta-primary {
  background: var(--primary); color: var(--text-on-primary); font-weight: 600;
  margin-left: var(--sp-3); padding: 10px 18px;
}
.main-nav a.cta-primary:hover { background: var(--primary-700); color: var(--text-on-primary); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
  z-index: 190;
}
.mobile-drawer[aria-hidden="false"] { max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; }
.mobile-drawer nav { padding: var(--sp-4) var(--gutter) var(--sp-6); }
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mobile-drawer a {
  display: block; padding: 14px 12px; color: var(--text); font-size: 16px; font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 0;
}
.mobile-drawer a:hover { background: var(--surface-2); text-decoration: none; }
.mobile-drawer .cta-row { display: flex; flex-direction: column; gap: var(--sp-2); padding-top: var(--sp-4); }
.mobile-drawer .cta-row .btn { width: 100%; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* =============================================================
   BUTTONS (CTA pair: Get Started + Compare Options)
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; min-height: 48px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: var(--text-on-primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-700); border-color: var(--primary-700); color: var(--text-on-primary); }
.btn-secondary { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary-050); color: var(--primary-700); }
.btn-accent { background: var(--accent); color: var(--text-on-accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-700); border-color: var(--accent-700); color: var(--text-on-accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 10px 16px; min-height: 40px; font-size: 14px; }
.btn-block { width: 100%; }

.cta-pair { display: inline-flex; flex-wrap: wrap; gap: var(--sp-3); }
.cta-pair .btn { flex: 0 0 auto; }

/* =============================================================
   HERO (editorial-lead + timeline-rail signature device)
   ============================================================= */
.hero {
  background: var(--background);
  padding: var(--sp-12) 0 var(--sp-10);
  border-bottom: 1px solid var(--border);
}
.hero .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--sp-10); align-items: start; }
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary); margin-bottom: var(--sp-4);
  display: inline-block; padding: 6px 10px;
  background: var(--primary-050); border-radius: var(--radius-xs);
}
.hero h1 {
  font-size: var(--fs-h1-d); line-height: 1.05; margin-bottom: var(--sp-5);
  color: var(--text); letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--primary); font-family: var(--font-display); }
.hero-lede { font-size: 19px; color: var(--text-soft); line-height: 1.55; max-width: 56ch; margin-bottom: var(--sp-6); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.hero-meta .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-pill); font-size: 13px; color: var(--text-soft); font-weight: 500;
}
.hero-cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* Hero timeline rail — signature device */
.hero-rail {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: var(--sp-6);
  position: relative;
}
.hero-rail h3 {
  font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: var(--sp-4); padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.hero-rail .rail-title {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary);
  margin: 0 0 var(--sp-4); padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border); line-height: 1.3;
}
.story-rail .rail-card .rail-card-title {
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  line-height: 1.25; color: var(--text); margin: 0;
}
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 70px; top: 6px; bottom: 6px;
  width: 1px; background: var(--border-strong);
}
.timeline li {
  display: grid; grid-template-columns: 60px 1fr; gap: var(--sp-3);
  padding: var(--sp-3) 0; align-items: start;
  border-bottom: 1px solid var(--border-soft);
}
.timeline li:last-child { border-bottom: 0; }
.timeline time {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--primary); padding: 4px 6px;
  background: var(--primary-050); border-radius: var(--radius-xs);
  text-align: center;
}
.timeline strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 2px; line-height: 1.3; }
.timeline span { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero { padding: var(--sp-8) 0 var(--sp-8); }
  .hero h1 { font-size: var(--fs-h1-m); }
  .hero-lede { font-size: 17px; }
}

/* =============================================================
   SECTIONS — sharp editorial bands
   ============================================================= */
.section { padding: var(--sp-16) 0; border-bottom: 1px solid var(--border-soft); }
.section.tight { padding: var(--sp-10) 0; }
.section.deep { padding: var(--sp-20) 0; }
.section-band { background: var(--background-deep); }
.section-ink { background: var(--surface-ink); color: var(--text-on-ink); }
.section-ink h2, .section-ink h3, .section-ink h4 { color: var(--text-on-ink); }
.section-ink a { color: var(--primary-050); }
.section-surface { background: var(--surface); }

.section-head { display: flex; align-items: flex-end; gap: var(--sp-6); margin-bottom: var(--sp-8); flex-wrap: wrap; }
.section-head .title-block { flex: 1 1 auto; }
.section-eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary); margin-bottom: var(--sp-3);
}
.section-eyebrow.muted { color: var(--text-muted); }
.section-title { font-family: var(--font-display); font-size: var(--fs-h2-d); line-height: 1.15; color: var(--text); max-width: 24ch; margin-bottom: var(--sp-3); letter-spacing: -0.02em; }
.section-lede { font-size: 17px; color: var(--text-soft); max-width: 62ch; line-height: 1.55; margin: 0; }
.section-head .link-block { flex: 0 0 auto; }
.section-head .link-block a { font-size: 14px; font-weight: 600; color: var(--primary); }

/* =============================================================
   CARDS — sharp editorial, ink-rule + soft panels
   ============================================================= */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.card h3 { font-size: 19px; margin: 0; }
.card p { margin: 0; color: var(--text-soft); font-size: 15px; line-height: 1.55; }
.card .card-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary);
}
.card-grid { display: grid; gap: var(--sp-4); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; } }
@media (max-width: 1100px) and (min-width: 901px) {
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

.card-feature { padding: 0; overflow: hidden; }
.card-feature .card-image { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-3); position: relative; }
.card-feature .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.card-feature:hover .card-image img { transform: scale(1.03); }
.card-feature .card-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.card-feature h3 { font-size: 20px; line-height: 1.25; }
.card-feature .meta {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: 12px; font-family: var(--font-mono); color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--sp-1);
}
.card-feature .meta .dot { width: 4px; height: 4px; background: var(--text-muted); border-radius: 50%; }

.card-stat { padding: var(--sp-5); border-left: 3px solid var(--primary); background: var(--surface); }
.card-stat .stat-num { font-family: var(--font-display); font-size: 38px; line-height: 1; color: var(--primary); font-weight: 600; letter-spacing: -0.02em; margin-bottom: var(--sp-2); }
.card-stat .stat-label { font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

/* Bento asymmetric grid */
.bento { display: grid; gap: var(--sp-4); grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(180px, auto); }
.bento-cell { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--sp-5); display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.bento-cell.span-2 { grid-column: span 2; }
.bento-cell.span-3 { grid-column: span 3; }
.bento-cell.span-4 { grid-column: span 4; }
.bento-cell.span-6 { grid-column: span 6; }
.bento-cell.tall { grid-row: span 2; }
.bento-cell.tinted { background: var(--primary-050); border-color: var(--border-strong); }
.bento-cell.ink { background: var(--surface-ink); color: var(--text-on-ink); border-color: var(--surface-ink-2); }
.bento-cell.ink h3 { color: var(--text-on-ink); }
.bento-cell.ink .stat-num { color: var(--primary-050); }
.bento-cell.accent { background: var(--accent-050); border-color: var(--accent); }
.bento-cell h3 { font-size: 19px; line-height: 1.2; }
.bento-cell p { font-size: 14px; color: var(--text-soft); margin: 0; }
.bento-cell.ink p { color: var(--primary-050); opacity: 0.85; }
.bento-cell .stat-num { font-family: var(--font-display); font-size: 32px; line-height: 1; font-weight: 600; color: var(--primary); margin-bottom: var(--sp-2); }
.bento-cell .cell-foot { display: flex; align-items: center; gap: var(--sp-2); margin-top: auto; padding-top: var(--sp-3); border-top: 1px dashed var(--border); font-size: 13px; color: var(--text-soft); }
.bento-cell.ink .cell-foot { border-top-color: rgba(255,255,255,0.18); color: var(--primary-050); }
.bento-cell .cell-foot a { color: inherit; font-weight: 600; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .bento-cell.span-2, .bento-cell.span-3, .bento-cell.span-4, .bento-cell.span-6 { grid-column: span 1; }
  .bento-cell.tall { grid-row: span 1; }
}

/* Horizontal story rail (signature interaction) */
.story-rail-wrap { position: relative; }
.story-rail {
  display: flex; gap: var(--sp-4);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-3);
  scrollbar-width: thin;
}
.story-rail::-webkit-scrollbar { height: 6px; }
.story-rail::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.story-rail .rail-card {
  flex: 0 0 320px; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.story-rail .rail-card .rail-image { aspect-ratio: 16/10; background: var(--surface-3); overflow: hidden; }
.story-rail .rail-card .rail-image img { width: 100%; height: 100%; object-fit: cover; }
.story-rail .rail-card .rail-body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.story-rail .rail-card h4 { font-size: 17px; line-height: 1.25; }
.story-rail .rail-card .rail-meta { font-size: 12px; font-family: var(--font-mono); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.story-rail .rail-card p { font-size: 14px; color: var(--text-soft); margin: 0; line-height: 1.5; }

.rail-controls { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.rail-controls button,
.rail-prev,
.rail-next {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--primary); cursor: pointer; font-size: 18px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; line-height: 1;
}
.rail-controls button:hover,
.rail-prev:hover,
.rail-next:hover { background: var(--primary-050); }
.rail-controls button:focus-visible,
.rail-prev:focus-visible,
.rail-next:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.rail-prev[disabled],
.rail-next[disabled] { opacity: 0.4; cursor: not-allowed; }

/* =============================================================
   DATA TABLE (live digest)
   ============================================================= */
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.data-table thead { background: var(--surface-2); }
.data-table th { text-align: left; padding: var(--sp-3) var(--sp-4); font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); border-bottom: 1px solid var(--border-strong); }
.data-table td { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--border-soft); color: var(--text-soft); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .rank { font-family: var(--font-mono); font-weight: 600; color: var(--primary); }
.data-table .status-pill { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; }
.data-table .status-pill.live { background: var(--primary); color: var(--text-on-primary); }
.data-table .status-pill.upcoming { background: var(--accent-050); color: var(--accent-700); }
.data-table .status-pill.completed { background: var(--surface-3); color: var(--text-muted); }

@media (max-width: 700px) {
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 12px; }
}

/* Mobile overflow guard: keep wide data-tables inside the viewport by
   turning the table itself into a horizontally-scrollable block. Tables
   kept their default block flow above 700px so desktop layouts are
   untouched. */
@media (max-width: 700px) {
  .data-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .data-table thead,
  .data-table tbody,
  .data-table tr { display: table; width: 100%; table-layout: auto; }
  .data-table tr > th,
  .data-table tr > td { word-break: break-word; overflow-wrap: anywhere; }
}

/* =============================================================
   NUMBERED CHECKLIST (verification guide)
   ============================================================= */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.checklist .item {
  display: grid; grid-template-columns: 56px 1fr; gap: var(--sp-4);
  padding: var(--sp-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.checklist .item .num {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--primary); color: var(--text-on-primary);
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  border-radius: var(--radius-sm);
}
.checklist .item h4 { font-size: 16px; margin-bottom: 4px; line-height: 1.3; }
.checklist .item p { font-size: 14px; color: var(--text-soft); margin: 0; line-height: 1.5; }
@media (max-width: 700px) { .checklist { grid-template-columns: 1fr; } }

/* =============================================================
   FAQ
   ============================================================= */
.faq { display: grid; gap: var(--sp-3); }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
}
.faq details[open] { border-color: var(--primary); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  font-size: 16px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); font-size: 20px; color: var(--primary); transition: transform var(--t-base) var(--ease); flex: 0 0 auto; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: var(--sp-3); color: var(--text-soft); font-size: 15px; line-height: 1.6; }

/* =============================================================
   CTA STRIP (final CTA + context)
   ============================================================= */
.cta-strip {
  background: var(--surface-ink); color: var(--text-on-ink);
  padding: var(--sp-12) 0; text-align: center;
  border-top: 1px solid var(--surface-ink-2); border-bottom: 1px solid var(--surface-ink-2);
}
.cta-strip h2 { color: var(--text-on-ink); font-size: var(--fs-h2-d); margin-bottom: var(--sp-3); }
.cta-strip p { color: var(--primary-050); opacity: 0.9; max-width: 60ch; margin: 0 auto var(--sp-6); font-size: 17px; }
.cta-strip .cta-pair { justify-content: center; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: var(--surface-ink); color: var(--primary-050);
  padding: var(--sp-16) 0 var(--sp-8);
  border-top: 3px solid var(--primary);
}
.site-footer .container { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: var(--sp-8); }
.site-footer .brand-mark { background: var(--primary); }
.site-footer .brand-name { color: var(--text-on-ink); }
.site-footer .brand-tag { color: var(--primary-050); opacity: 0.7; }
.site-footer h2, .site-footer h3, .site-footer h4 { color: var(--text-on-ink); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--sp-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.site-footer a { color: var(--primary-050); opacity: 0.85; font-size: 14px; }
.site-footer a:hover { color: #FFFFFF; opacity: 1; }
.site-footer .legal-strip {
  border-top: 1px solid var(--surface-ink-2); margin-top: var(--sp-10); padding-top: var(--sp-6);
  display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between;
  font-size: 13px; color: var(--primary-050); opacity: 0.7;
}
.site-footer .socials { display: flex; gap: var(--sp-2); }
.site-footer .socials a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--surface-ink-2); border-radius: var(--radius-sm);
  opacity: 1;
}
.site-footer .socials a:hover { background: var(--surface-ink-2); }
@media (max-width: 900px) { .site-footer .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer .container { grid-template-columns: 1fr; } }

/* =============================================================
   STICKY MOBILE CTA BAR
   ============================================================= */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--surface); border-top: 1px solid var(--border-strong);
  padding: var(--sp-3) var(--gutter);
  z-index: 180;
  box-shadow: 0 -2px 12px rgba(53, 25, 35, 0.06);
}
.sticky-cta .btn { width: 100%; }
@media (max-width: 960px) {
  .sticky-cta { display: block; }
  .sticky-cta.visible { display: block; transform: translateY(0); }
  body { padding-bottom: 80px; }
}

/* =============================================================
   ARTICLE + HUB PAGE TYPOGRAPHY
   ============================================================= */
.article-hero {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: var(--sp-12) 0 var(--sp-8);
}
.article-hero .breadcrumb {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-4);
}
.article-hero .breadcrumb a { color: var(--primary); }
.article-hero h1 { font-size: var(--fs-h1-d); max-width: 22ch; margin-bottom: var(--sp-4); line-height: 1.1; }
.article-hero .lede { font-size: 19px; color: var(--text-soft); max-width: 60ch; line-height: 1.55; margin-bottom: var(--sp-4); }
.article-hero .byline { font-size: 13px; font-family: var(--font-mono); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.article-hero .banner-image {
  margin-top: var(--sp-8); aspect-ratio: 16/7; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border);
}
.article-hero .banner-image img { width: 100%; height: 100%; object-fit: cover; }

.prose { max-width: 70ch; margin: 0 auto; font-size: 18px; line-height: var(--lh-loose); color: var(--text); }
.prose h2 { font-size: 30px; margin: var(--sp-10) 0 var(--sp-4); line-height: 1.2; }
.prose h3 { font-size: 22px; margin: var(--sp-8) 0 var(--sp-3); line-height: 1.25; }
.prose p { margin: 0 0 var(--sp-4); }
.prose ul, .prose ol { margin: 0 0 var(--sp-5); padding-left: var(--sp-6); }
.prose li { margin-bottom: var(--sp-2); line-height: var(--lh-loose); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  border-left: 3px solid var(--primary); padding: var(--sp-3) var(--sp-5);
  background: var(--primary-050); margin: var(--sp-6) 0;
  font-style: italic; color: var(--text); border-radius: 0 var(--radius) var(--radius) 0;
}
.prose figure { margin: var(--sp-6) 0; }
.prose figure img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.prose figcaption { font-size: 13px; color: var(--text-muted); padding-top: var(--sp-2); text-align: center; font-style: italic; }

.inline-image { margin: var(--sp-6) 0; }
.inline-image img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }

.toc {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--sp-5); margin: var(--sp-8) 0;
}
.toc h2 { font-size: 14px; font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: var(--sp-3); }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 6px; font-size: 15px; line-height: 1.5; }
.toc a { color: var(--text); }
.toc a:hover { color: var(--primary); }

/* Trust strip */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: var(--sp-4);
  font-size: 13px; color: var(--text-soft); font-family: var(--font-mono);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.trust-strip .dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }

/* =============================================================
   UTILITY
   ============================================================= */
.muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); } .mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); } .mt-8 { margin-top: var(--sp-8); }
.mb-2 { margin-bottom: var(--sp-2); } .mb-3 { margin-bottom: var(--sp-3); } .mb-4 { margin-bottom: var(--sp-4); } .mb-6 { margin-bottom: var(--sp-6); } .mb-8 { margin-bottom: var(--sp-8); }
.flex { display: flex; } .flex-col { flex-direction: column; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-2 { gap: var(--sp-2); } .gap-3 { gap: var(--sp-3); } .gap-4 { gap: var(--sp-4); } .gap-6 { gap: var(--sp-6); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
@media (max-width: 800px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.image-block { aspect-ratio: 16/10; background: var(--surface-3); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.image-block img { width: 100%; height: 100%; object-fit: cover; }
.image-block.square { aspect-ratio: 1/1; }
.image-block.portrait { aspect-ratio: 4/5; }
.image-block.banner { aspect-ratio: 16/7; }

.eyebrow-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary);
  padding: 4px 10px; background: var(--primary-050); border-radius: var(--radius-xs);
}

/* Section-id anchor scroll-margin so sticky nav doesn't overlap */
section[id], h2[id], h3[id] { scroll-margin-top: 90px; }
@media (max-width: 899px) {
  .hero { padding: var(--sp-8) 0 var(--sp-6) !important; min-height: 0 !important; max-height: none !important; }
  .hero .container { grid-template-columns: 1fr; gap: var(--sp-5); }
  .hero h1 { font-size: 32px; line-height: 1.1; }
  .hero-rail { padding: var(--sp-4); }
  .timeline li { padding: var(--sp-2) 0; }
  .timeline time { font-size: 11px; }
  .article-hero { padding: var(--sp-8) 0 var(--sp-6); }
  .article-hero h1 { font-size: 32px; }
}
