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

:root {
  --olive: #748a28;
  --olive-dark: #5a6b1e;
  --olive-light: #a8c060;
  --navy: #20291b;
  --warm-bg: #f8f9f3;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --amber: #f97316;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.05);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--olive); color: #fff;
  padding: .65rem 1.4rem; border-radius: 8px;
  font-weight: 600; font-size: .9rem;
  text-decoration: none;
  transition: background .18s, transform .12s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--olive-dark); transform: translateY(-1px); }
.btn-primary.btn-lg { padding: .85rem 1.75rem; font-size: 1rem; }

.btn-outline {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--olive); color: var(--olive);
  padding: .6rem 1.3rem; border-radius: 8px;
  font-weight: 600; font-size: .9rem;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.btn-outline:hover { background: var(--olive); color: #fff; }

.btn-collab {
  display: inline-flex; align-items: center; gap: .35rem;
  background: linear-gradient(135deg, rgba(116,138,40,.1), rgba(116,138,40,.05));
  border: 1.5px solid rgba(116,138,40,.55); color: var(--olive-dark);
  padding: .45rem 1rem; border-radius: 20px;
  font-weight: 700; font-size: .88rem; text-decoration: none;
  transition: background .18s, color .18s, border-color .18s, transform .12s;
  white-space: nowrap;
}
.btn-collab:hover { background: var(--olive); color: #fff; border-color: var(--olive); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center;
  border: 1.5px solid rgba(255,255,255,.45); color: #fff;
  padding: .85rem 1.75rem; border-radius: 8px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  transition: background .18s, border-color .18s;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }

/* ── LAYOUT ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 2rem;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo-svg { width: 36px; height: 36px; flex-shrink: 0; }
.logo-svg.sm { width: 30px; height: 30px; }
.logo-text { font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { text-decoration: none; color: var(--gray-600); font-size: .9rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--olive); }
.nav-products { position: relative; }
.nav-products summary { list-style: none; cursor: pointer; color: var(--gray-600); font-size: .9rem; font-weight: 500; padding: .8rem 0; transition: color .15s; }
.nav-products summary::-webkit-details-marker { display: none; }
.nav-products summary::after { content: '⌄'; display: inline-block; font-size: .72rem; margin-left: .35rem; transition: transform .15s; }
.nav-products[open] summary, .nav-products summary:hover { color: var(--olive); }
.nav-products[open] summary::after { transform: rotate(180deg); }
.nav-products-menu { position: absolute; z-index: 50; top: calc(100% + .45rem); left: 50%; transform: translateX(-34%); width: 370px; padding: .55rem; background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; box-shadow: 0 18px 45px rgba(25,34,22,.14); }
.nav-products-menu::before { content: ''; position: absolute; left: 35%; top: -6px; width: 10px; height: 10px; background: #fff; border-left: 1px solid var(--gray-200); border-top: 1px solid var(--gray-200); transform: rotate(45deg); }
.nav-products-menu a { display: flex; align-items: center; gap: .75rem; padding: .72rem .75rem; border-radius: 9px; color: var(--navy); text-decoration: none; }
.nav-products-menu a:hover { background: var(--warm-bg); }
.nav-products-menu img, .nav-product-glyph { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.nav-product-glyph { display: grid; place-items: center; background: #f4f0ff; color: #6d28d9; font-size: 1rem; }
.nav-products-menu span { display: flex; flex-direction: column; min-width: 0; }
.nav-products-menu strong { color: var(--navy); font-size: .82rem; line-height: 1.25; }
.nav-products-menu small { color: var(--gray-500); font-size: .7rem; line-height: 1.35; margin-top: .12rem; }
.nav-products-menu .nav-products-all { border-top: 1px solid var(--gray-100); border-radius: 0; color: var(--olive-dark); font-size: .76rem; font-weight: 700; margin-top: .25rem; padding-top: .75rem; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--navy); padding: .25rem; }
.nav-mobile { display: none; flex-direction: column; gap: .5rem; padding: 1rem 2rem 1.5rem; border-top: 1px solid var(--gray-200); }
.nav-mobile a { text-decoration: none; color: var(--gray-600); font-size: .95rem; font-weight: 500; padding: .4rem 0; }
.nav-mobile.open { display: flex; }
.nav-mobile-products summary { color: var(--gray-600); cursor: pointer; font-size: .95rem; font-weight: 600; list-style: none; padding: .4rem 0; }
.nav-mobile-products summary::-webkit-details-marker { display: none; }
.nav-mobile-products summary::after { content: '+'; float: right; }
.nav-mobile-products[open] summary::after { content: '−'; }
.nav-mobile-products a { display: block; border-left: 2px solid var(--gray-200); margin-left: .25rem; padding-left: .85rem; }

/* ── HERO ── */
.hero {
  background: linear-gradient(140deg, var(--navy) 0%, #2a3d20 55%, #3a5228 100%);
  color: #fff; padding: 5rem 2rem 4rem;
}
.hero-inner {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.name-change-badge {
  display: inline-block;
  background: rgba(251,146,60,.18); color: #fbbf80;
  border: 1px solid rgba(251,146,60,.4);
  padding: .3rem .9rem; border-radius: 20px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  line-height: 1.2; margin-bottom: 1.25rem; color: #fff;
}
.hero h1 em { color: var(--olive-light); font-style: italic; }
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.75);
  margin-bottom: 2.25rem; line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; justify-content: center; }
.hero-note { font-size: .8rem; color: rgba(255,255,255,.4); }

/* ── APP MOCKUP ── */
.app-mockup {
  background: #1a1a2e; border-radius: 12px;
  overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.08);
}
.mockup-bar {
  background: #2a2a3e; padding: .6rem 1rem;
  display: flex; align-items: center; gap: .4rem;
}
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }
.mockup-title { margin-left: auto; margin-right: auto; font-size: .75rem; color: rgba(255,255,255,.4); font-family: 'IBM Plex Sans', sans-serif; }
.mockup-body { display: flex; min-height: 220px; }
.mockup-sidebar {
  width: 110px; background: #131320; padding: .75rem .5rem;
  display: flex; flex-direction: column; gap: .25rem; flex-shrink: 0;
}
.mock-nav-item {
  padding: .4rem .65rem; border-radius: 6px; font-size: .72rem;
  color: rgba(255,255,255,.45); cursor: default; transition: background .15s;
}
.mock-nav-item.active { background: var(--olive); color: #fff; font-weight: 600; }
.mockup-content { flex: 1; padding: .75rem 1rem; }
.mock-header { font-size: .75rem; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .75rem; }
.mock-row {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem .4rem; border-radius: 6px; margin-bottom: .25rem;
}
.mock-row:first-of-type { background: rgba(116,138,40,.15); }
.mock-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--olive); color: #fff;
  font-size: .65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mock-info { flex: 1; min-width: 0; }
.mock-name { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.85); }
.mock-sub { font-size: .67rem; color: rgba(255,255,255,.4); }
.mock-badge {
  font-size: .65rem; font-weight: 700; padding: .2rem .5rem;
  border-radius: 20px; white-space: nowrap; flex-shrink: 0;
}
.mock-badge.green { background: rgba(40,200,64,.15); color: #4ade80; }
.mock-badge.blue { background: rgba(59,130,246,.15); color: #60a5fa; }
.mock-badge.gray { background: rgba(255,255,255,.08); color: rgba(255,255,255,.4); }
.mock-badge.amber { background: rgba(249,115,22,.15); color: #fb923c; }
.mockup-caption {
  text-align: center; padding: .5rem; font-size: .68rem;
  color: rgba(255,255,255,.2); background: #131320; border-top: 1px solid rgba(255,255,255,.05);
}

/* ── GALLERY ── */
.gallery-section {
  background: linear-gradient(180deg, #1a2415 0%, #131a0f 100%);
  padding: 3.5rem 2rem;
  border-top: 1px solid rgba(116,138,40,.18);
  border-bottom: 1px solid rgba(116,138,40,.18);
}
.gallery-inner {
  max-width: 900px;
  margin: 0 auto;
}
.gallery-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(116,138,40,.3) transparent;
}
.gallery-slide {
  flex-shrink: 0;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.07);
  background: #1a1a2e;
}
.placeholder-slide { opacity: .65; }
.gallery-slide-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 260px;
  background: #131320;
}
.gallery-placeholder-label {
  font-size: .85rem; font-weight: 600;
  color: rgba(255,255,255,.35);
}
.gallery-placeholder-hint {
  font-size: .75rem;
  color: rgba(255,255,255,.18);
}

/* ── STATS BAR ── */
.stats-bar { background: var(--navy); padding: 1.5rem 2rem; }
.stats-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; padding: .5rem 2.5rem; }
.stat-num { font-size: 1.5rem; font-weight: 700; color: var(--olive-light); line-height: 1.2; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: .2rem; text-align: center; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.12); flex-shrink: 0; }

/* ── NAME CHANGE BANNER ── */
.name-change { background: #fffbf0; border-top: 3px solid var(--amber); border-bottom: 1px solid #fde8cc; padding: 2rem; }
.name-change-card { display: flex; gap: 1.25rem; align-items: flex-start; max-width: 820px; margin: 0 auto; }
.name-change-icon { font-size: 1.8rem; flex-shrink: 0; }
.name-change-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.name-change-card p { font-size: .9rem; color: var(--gray-600); line-height: 1.65; }

/* ── SECTION COMMON ── */
.section-label {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--olive); margin-bottom: .6rem;
}
.section-sub { color: var(--gray-600); font-size: .97rem; max-width: 540px; margin-bottom: 2.75rem; line-height: 1.65; }

/* ── FEATURES ── */
.features { padding: 5rem 2rem; background: var(--warm-bg); }
.features h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: var(--navy);
  margin-bottom: .75rem; line-height: 1.25;
}
/* Tier headers */
.feature-tier-header {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.25rem; padding-bottom: .75rem;
  border-bottom: 1.5px solid var(--gray-200);
}
.tier-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .85rem; border-radius: 20px;
  font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  white-space: nowrap;
}
.tier-badge.live { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.tier-badge.dev { background: #fef9c3; color: #854d0e; border: 1px solid #fde68a; }
.tier-badge.roadmap { background: #ede9fe; color: #6d28d9; border: 1px solid #ddd6fe; }
.tier-desc { font-size: .85rem; color: var(--gray-400); }

.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem;
}

/* Dev cards — slightly muted */
.dev-card { opacity: .88; background: #fafafa; }
.dev-card:hover { opacity: 1; }

/* Roadmap list */
.roadmap-list { display: flex; flex-direction: column; gap: .85rem; }
.roadmap-item {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #f5f0ff; border: 1px solid #ddd6fe;
  border-radius: var(--radius); padding: 1.1rem 1.25rem;
}
.roadmap-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.roadmap-title { font-size: .97rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.roadmap-desc { font-size: .86rem; color: var(--gray-600); line-height: 1.6; }
.feature-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 1.6rem; margin-bottom: .7rem; }
.feature-card h4 { font-size: .97rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.feature-card p { font-size: .86rem; color: var(--gray-600); line-height: 1.65; }
.feat-section-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--olive); margin-bottom: .6rem;
}
.feat-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.55rem); color: var(--navy);
  margin-bottom: .75rem; line-height: 1.18;
}
.feat-section-sub { color: var(--gray-600); font-size: .98rem; line-height: 1.7; max-width: 680px; margin-bottom: 2rem; }
.feature-bento {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
}
.feature-bento-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px;
  padding: 1.25rem; min-height: 150px; box-shadow: var(--shadow);
}
.feature-bento-card.spotlight {
  grid-column: span 2; grid-row: span 2;
  background: var(--navy); border-color: rgba(168,192,96,.3); color: #fff;
  padding: 1.6rem;
}
.feature-bento-card h3,
.feature-bento-card h4 { color: var(--navy); font-size: .98rem; line-height: 1.35; margin-bottom: .45rem; }
.feature-bento-card.spotlight h3 {
  font-family: var(--font-display); color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}
.feature-bento-card p,
.feature-bento-card li { color: var(--gray-600); font-size: .84rem; line-height: 1.62; }
.feature-bento-card.spotlight p,
.feature-bento-card.spotlight li { color: rgba(255,255,255,.72); }
.feature-bento-card ul { margin: .85rem 0 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: .45rem; }
.feat-inline-badge {
  display: inline-block; margin-left: .3rem; padding: .12rem .4rem; border-radius: 999px;
  font-size: .64rem; font-weight: 700; vertical-align: 1px;
}
.feat-inline-badge.free { background: rgba(116,138,40,.12); color: var(--olive-dark); }
.feat-inline-badge.pro { background: #dbeafe; color: #1d4ed8; }
.feat-inline-badge.dev { background: #eef3e2; color: var(--olive-dark); }
.feature-bento-card.spotlight .feat-inline-badge.free { background: rgba(168,192,96,.18); color: var(--olive-light); }

/* ── HIPAA SECTION ── */
.trust-strip { background: var(--warm-bg); border-bottom: 1px solid var(--gray-200); padding: 1rem 2rem; }
.trust-strip-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.trust-badges { display: flex; gap: .75rem; flex-wrap: wrap; }
.trust-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 650; color: var(--navy); }
.trust-badge-icon { color: var(--olive-dark); }
.trust-strip-link { color: var(--olive-dark); font-size: .84rem; font-weight: 700; text-decoration: none; }
.trust-strip-link:hover { text-decoration: underline; }
.hipaa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: .85rem; }
.hipaa-card {
  display: flex; gap: .7rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 10px; padding: .9rem 1rem;
}
.hipaa-card-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .05rem; }
.hipaa-card-name { font-size: .8rem; font-weight: 700; color: var(--navy); margin-bottom: .16rem; line-height: 1.35; }
.hipaa-card-desc { font-size: .76rem; color: var(--gray-500); line-height: 1.55; }

/* ── LICENSE / COLLABORATION (used by license.html) ── */
.os-list { list-style: none; margin: 1.25rem 0 2rem; display: flex; flex-direction: column; gap: .5rem; }
.os-list li { font-size: .91rem; color: var(--gray-600); }
.stack-card { background: var(--navy); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; }
.stack-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.stack-row:last-child { border-bottom: none; }
.stack-tech { color: var(--olive-light); font-weight: 700; font-size: .88rem; font-family: 'Courier New', monospace; }
.stack-desc { color: rgba(255,255,255,.45); font-size: .82rem; }
.github-stats { display: flex; flex-direction: column; gap: .6rem; }
.github-cta {
  display: flex; align-items: center; gap: .6rem;
  background: var(--warm-bg); border: 1px solid var(--gray-200);
  border-radius: 8px; padding: .75rem 1rem;
  text-decoration: none; color: var(--gray-800);
  font-size: .88rem; font-weight: 500;
  transition: border-color .15s, background .15s;
}
.github-cta:hover { border-color: var(--olive); background: var(--white); }

/* ── FEEDBACK ── */
.waitlist-section { padding: 4.5rem 2rem; background: var(--white); }
.feedback-section { padding: 6rem 2rem; background: var(--warm-bg); }
.feedback-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: var(--navy); margin-bottom: .75rem;
}
.feedback-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.feedback-form-wrap { display: flex; flex-direction: column; gap: .85rem; }
.category-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.cat-btn {
  padding: .55rem .75rem; border-radius: 8px; font-size: .85rem; font-weight: 500;
  border: 1.5px solid var(--gray-200); background: var(--white); color: var(--gray-600);
  cursor: pointer; text-align: left; transition: border-color .15s, background .15s, color .15s;
}
.cat-btn:hover { border-color: var(--olive); color: var(--olive); }
.cat-btn.active { background: var(--olive); color: #fff; border-color: var(--olive); font-weight: 600; }
.feedback-form-wrap textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200); border-radius: 8px;
  font-family: inherit; font-size: .9rem; color: var(--gray-800);
  background: var(--white); transition: border-color .15s; resize: vertical;
}
.feedback-form-wrap textarea:focus { outline: none; border-color: var(--olive); }
.feedback-form-wrap .btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.feedback-success {
  display: flex; align-items: center; gap: .6rem;
  padding: .75rem 1rem; background: #ecfdf5; border: 1px solid #a7f3d0;
  border-radius: 8px; color: #065f46; font-size: .88rem; font-weight: 500;
}
.form-note { font-size: .78rem; color: var(--gray-400); }
.feedback-alt { display: flex; flex-direction: column; gap: 1rem; }
.alt-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow);
}
.alt-icon { font-size: 1.3rem; margin-bottom: .4rem; }
.alt-card h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.alt-card p { font-size: .84rem; color: var(--gray-600); margin-bottom: .85rem; line-height: 1.5; }

/* ── FOOTER ── */
.footer { background: var(--navy); padding: 3rem 2rem 2rem; }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: .75rem; }
.footer-brand-name { font-size: 1rem; font-weight: 700; color: #fff; }
.footer-sub { font-size: .75rem; color: rgba(255,255,255,.35); margin-top: .1rem; }
.footer-cols { display: flex; gap: 3rem; }
.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-col-title { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: .25rem; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,.55); font-size: .85rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-license { margin-left: .35rem; }

/* ── GUIDES INDEX ── */
.guides-header {
  background: linear-gradient(140deg, var(--navy) 0%, #2a3d20 55%, #3a5228 100%);
  color: #fff; padding: 4rem 2rem 3.5rem;
}
.guides-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700;
  line-height: 1.2; margin-bottom: 1rem; color: #fff;
}
.guides-header .section-label { color: var(--olive-light); }
.guides-header-sub { font-size: 1rem; color: rgba(255,255,255,.7); max-width: 580px; line-height: 1.7; }

.guides-section { padding: 4rem 2rem 5rem; background: var(--warm-bg); }
.guides-section-alt { background: var(--white); }
.guides-category-header { margin-bottom: 2rem; }
.guides-category-label {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--olive); background: rgba(116,138,40,.08);
  border: 1px solid rgba(116,138,40,.2); padding: .25rem .75rem; border-radius: 20px;
  margin-bottom: .6rem;
}
.guides-category-sub { font-size: .92rem; color: var(--gray-400); margin: 0; }
.guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.5rem; }
.guides-grid-two { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }

.guide-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: .75rem;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--olive-light); }
.guide-card-tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--olive);
  background: rgba(116,138,40,.08); border: 1px solid rgba(116,138,40,.2);
  padding: .2rem .6rem; border-radius: 20px; align-self: flex-start;
}
.guide-card h2 { font-size: 1.07rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.guide-card p { font-size: .88rem; color: var(--gray-600); line-height: 1.65; flex: 1; }
.guide-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--gray-100); }
.guide-card-meta span { font-size: .8rem; color: var(--gray-400); }
.guide-card-cta { color: var(--olive); font-weight: 600; font-size: .82rem; }

.guides-cta-band { background: var(--navy); padding: 3.5rem 2rem; }
.guides-cta-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.guides-cta-inner h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem,2.5vw,1.9rem); color: #fff; margin-bottom: .5rem; }
.guides-cta-inner p { color: rgba(255,255,255,.6); font-size: .93rem; max-width: 480px; }

/* ── ARTICLE ── */
.article-wrap { padding: 3rem 2rem 5rem; background: var(--white); }
.article-container { max-width: 760px; margin: 0 auto; }

.article-breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: var(--gray-400); margin-bottom: 2rem;
}
.article-breadcrumb a { color: var(--olive); text-decoration: none; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-breadcrumb span { color: var(--gray-400); }

.article-header { margin-bottom: 2.5rem; }
.article-tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--olive);
  background: rgba(116,138,40,.08); border: 1px solid rgba(116,138,40,.2);
  padding: .2rem .6rem; border-radius: 20px; margin-bottom: 1rem;
}
.article-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 700;
  color: var(--navy); line-height: 1.2; margin-bottom: .85rem;
}
.article-deck { font-size: 1.07rem; color: var(--gray-600); line-height: 1.65; margin-bottom: .75rem; }
.article-meta { font-size: .8rem; color: var(--gray-400); }

article { line-height: 1.75; }
article h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem; font-weight: 700; color: var(--navy);
  margin: 2.5rem 0 .85rem; padding-top: .5rem;
  border-top: 1.5px solid var(--gray-100);
}
article h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 1.5rem 0 .5rem; }
article p { color: var(--gray-600); font-size: .97rem; margin-bottom: 1rem; }
article ul, article ol { color: var(--gray-600); font-size: .97rem; padding-left: 1.4rem; margin-bottom: 1rem; }
article li { margin-bottom: .35rem; line-height: 1.7; }
article strong { color: var(--gray-800); }
article em { color: var(--olive-dark); font-style: italic; }

.article-toc {
  background: var(--warm-bg); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2.5rem;
}
.article-toc-title { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-400); margin-bottom: .75rem; }
.article-toc ol { margin: 0; padding-left: 1.2rem; }
.article-toc li { margin-bottom: .3rem; }
.article-toc a { color: var(--olive); font-size: .9rem; text-decoration: none; }
.article-toc a:hover { text-decoration: underline; }

.article-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; border-radius: 8px; border: 1px solid var(--gray-200); }
.article-table-wrap table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.article-table-wrap th { background: var(--warm-bg); color: var(--navy); font-weight: 700; text-align: left; padding: .65rem 1rem; border-bottom: 1.5px solid var(--gray-200); }
.article-table-wrap td { padding: .6rem 1rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-600); vertical-align: top; }
.article-table-wrap tr:last-child td { border-bottom: none; }

.article-callout {
  background: rgba(116,138,40,.06); border: 1px solid rgba(116,138,40,.25);
  border-radius: 8px; padding: 1rem 1.25rem;
  margin: 1.5rem 0; font-size: .9rem; color: var(--gray-700); line-height: 1.6;
  display: flex; flex-direction: column; gap: .35rem;
}
.article-callout-link { color: var(--olive); font-weight: 600; text-decoration: none; font-size: .88rem; align-self: flex-start; }
.article-callout-link:hover { text-decoration: underline; }

.article-dl dt { font-weight: 700; color: var(--navy); margin: 1.25rem 0 .2rem; }
.article-dl dd { color: var(--gray-600); font-size: .95rem; margin-left: 1rem; line-height: 1.65; }

.article-cta-box {
  background: linear-gradient(135deg, #2a3d20, #1a2815);
  border-radius: var(--radius); padding: 2.25rem 2rem;
  margin: 3rem 0 1rem; text-align: center;
}
.article-cta-box h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #fff; margin-bottom: .6rem; }
.article-cta-box p { color: rgba(255,255,255,.65); font-size: .93rem; margin-bottom: 1.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }

.article-related { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1.5px solid var(--gray-100); }
.article-related h3 { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 1rem; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.related-card {
  background: var(--warm-bg); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.1rem 1.25rem;
  text-decoration: none; color: inherit; transition: border-color .15s, background .15s;
}
.related-card:hover { border-color: var(--olive); background: #fff; }
.related-tag { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); margin-bottom: .35rem; }
.related-title { font-size: .9rem; font-weight: 600; color: var(--navy); line-height: 1.4; }

/* ── ARTICLE VISUAL KIT ── */

/* Hero banner — replaces the plain text header */
.article-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--navy) 0%, #2a3d20 60%, #3a5228 100%);
  color: #fff; border-radius: 16px;
  padding: 2.75rem 2.5rem; margin-bottom: 2.5rem;
}
.article-hero-art {
  position: absolute; top: 0; right: 0; height: 100%; width: 45%;
  opacity: .5; pointer-events: none;
}
.article-hero-inner { position: relative; z-index: 1; max-width: 80%; }
.article-hero .article-tag {
  background: rgba(168,192,96,.18); border-color: rgba(168,192,96,.4); color: var(--olive-light);
  margin-bottom: 1rem;
}
.article-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 700;
  color: #fff; line-height: 1.2; margin-bottom: .85rem;
}
.article-hero .article-deck { color: rgba(255,255,255,.82); margin-bottom: .85rem; }
.article-hero .article-meta { color: rgba(255,255,255,.55); }

/* Key takeaways box at top */
.article-takeaways {
  background: var(--warm-bg); border: 1px solid rgba(116,138,40,.25);
  border-radius: 10px; padding: 1.4rem 1.6rem; margin: 0 0 2.25rem;
}
.article-takeaways-title {
  display: flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--olive-dark); margin-bottom: .85rem;
}
.article-takeaways ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.article-takeaways li {
  position: relative; padding-left: 1.5rem;
  font-size: .92rem; color: var(--gray-800); line-height: 1.55;
}
.article-takeaways li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--olive); font-weight: 700;
}

/* Stat blocks row */
.stat-blocks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem; margin: 1.75rem 0 2rem;
}
.stat-block {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.25rem; text-align: center;
  box-shadow: var(--shadow);
}
.stat-block-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem; font-weight: 700; color: var(--olive); line-height: 1.1;
}
.stat-block-label { font-size: .8rem; color: var(--gray-600); margin-top: .4rem; line-height: 1.4; }

/* Icon list grid (signals, checklist items) */
.icon-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem; margin: 1.25rem 0 1.75rem;
}
.icon-list-item {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.15rem 1.25rem; box-shadow: var(--shadow);
}
.icon-list-badge {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px;
  background: rgba(116,138,40,.12); color: var(--olive-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem;
}
.icon-list-body h4 { font-size: .92rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.icon-list-body p { font-size: .86rem; color: var(--gray-600); line-height: 1.55; margin: 0; }

/* Color-coded score band */
.score-band { display: flex; flex-direction: column; gap: .5rem; margin: 1.25rem 0 1.75rem; }
.score-row {
  display: flex; align-items: center; gap: 1rem;
  border-radius: 10px; padding: .85rem 1.15rem; border: 1px solid;
}
.score-row.green { background: #f0fdf4; border-color: #bbf7d0; }
.score-row.amber { background: #fffbeb; border-color: #fde68a; }
.score-row.orange { background: #fff7ed; border-color: #fed7aa; }
.score-row.red { background: #fef2f2; border-color: #fecaca; }
.score-range {
  flex-shrink: 0; font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 1.05rem; min-width: 78px;
}
.score-row.green .score-range { color: #15803d; }
.score-row.amber .score-range { color: #b45309; }
.score-row.orange .score-range { color: #c2410c; }
.score-row.red .score-range { color: #b91c1c; }
.score-desc { font-size: .9rem; color: var(--gray-800); line-height: 1.5; }
.score-desc strong { color: var(--navy); }

/* Red / green flag grid */
.flag-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.25rem 0 1.75rem; }
.flag-col { border-radius: var(--radius); padding: 1.25rem 1.4rem; border: 1px solid; }
.flag-col.green { background: #f0fdf4; border-color: #bbf7d0; }
.flag-col.red { background: #fef2f2; border-color: #fecaca; }
.flag-col-title {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: .85rem;
}
.flag-col.green .flag-col-title { color: #15803d; }
.flag-col.red .flag-col-title { color: #b91c1c; }
.flag-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .65rem; }
.flag-col li { font-size: .87rem; color: var(--gray-800); line-height: 1.5; padding-left: 1.4rem; position: relative; }
.flag-col.green li::before { content: "▲"; position: absolute; left: 0; color: #16a34a; font-size: .7rem; top: .15rem; }
.flag-col.red li::before { content: "▼"; position: absolute; left: 0; color: #dc2626; font-size: .7rem; top: .15rem; }

/* Vertical timeline */
.timeline { position: relative; margin: 1.5rem 0 1.75rem; padding-left: 2rem; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: .4rem; bottom: .4rem;
  width: 2px; background: linear-gradient(var(--olive), var(--olive-light));
}
.timeline-item { position: relative; padding-bottom: 1.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: calc(-2rem + 1px); top: .25rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--olive);
}
.timeline-item.flag::before { background: var(--olive); }
.timeline-when {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--olive-dark);
  background: rgba(116,138,40,.1); padding: .2rem .6rem; border-radius: 20px; margin-bottom: .5rem;
}
.timeline-item h3 { margin: 0 0 .4rem; font-size: 1rem; }
.timeline-item ul { margin: 0; }

/* Equipment / option tier cards */
.tier-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.25rem 0 1.75rem; }
.tier-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.4rem 1.35rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .4rem;
}
.tier-card.featured { border-color: var(--olive); border-width: 1.5px; position: relative; }
.tier-card.featured::after {
  content: "Best for most startups"; position: absolute; top: -10px; left: 1.35rem;
  background: var(--olive); color: #fff; font-size: .65rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: .15rem .6rem; border-radius: 20px;
}
.tier-card-name { font-size: .9rem; font-weight: 700; color: var(--navy); }
.tier-card-price { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--olive); }
.tier-card-note { font-size: .82rem; color: var(--gray-600); line-height: 1.5; }

/* ── SIMULATOR LANDINGS ── */
.sim-hero {
  background: linear-gradient(140deg, #f4f7ec 0%, #eef3e2 60%, #f8f9f3 100%);
  padding: 4rem 2rem 4.5rem; border-bottom: 1px solid var(--gray-200);
}
.sim-hero-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.sim-hero-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--olive); background: rgba(168,192,96,.12); border: 1px solid rgba(168,192,96,.35);
  padding: .3rem .8rem; border-radius: 20px; margin-bottom: 1.25rem;
}
.sim-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700;
  line-height: 1.18; margin-bottom: 1rem; color: var(--navy);
}
.sim-hero h1 em { color: var(--olive); font-style: italic; }
.sim-hero-deck { font-size: 1.05rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.75rem; }
.sim-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.sim-hero-note { font-size: .8rem; color: var(--gray-500); margin-top: 1rem; }
.sim-hero-note strong { color: var(--gray-700); }
.sim-hero .btn-ghost { border-color: var(--gray-300); color: var(--gray-700); }
.sim-hero .btn-ghost:hover { background: var(--gray-100); border-color: var(--gray-400); }

/* breadcrumb on light hero */
.sim-breadcrumb { max-width: 1120px; margin: 0 auto 1.5rem; display: flex; gap: .5rem; font-size: .82rem; color: var(--gray-500); }
.sim-breadcrumb a { color: var(--olive); text-decoration: none; }
.sim-breadcrumb a:hover { text-decoration: underline; }

/* sections */
.sim-section { padding: 4.5rem 2rem; }
.sim-section.alt { background: var(--warm-bg); }
.sim-section-inner { max-width: 1120px; margin: 0 auto; }
.sim-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy);
  margin-bottom: .6rem; line-height: 1.25;
}
.sim-section-sub { color: var(--gray-600); font-size: .98rem; max-width: 600px; line-height: 1.65; margin-bottom: 2.25rem; }

/* numbered steps */
.sim-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.sim-step { display: flex; flex-direction: column; gap: .6rem; }
.sim-step-num {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--olive); color: #fff;
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.sim-step h4 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.sim-step p { font-size: .9rem; color: var(--gray-600); line-height: 1.6; }

/* audience cards */
.sim-audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.sim-audience-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
}
.sim-audience-icon { font-size: 1.5rem; margin-bottom: .6rem; }
.sim-audience-card h4 { font-size: .98rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.sim-audience-card p { font-size: .88rem; color: var(--gray-600); line-height: 1.6; }

/* FAQ */
.sim-faq { display: flex; flex-direction: column; gap: 1rem; max-width: 760px; }
.sim-faq details {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: .25rem 1.4rem; box-shadow: var(--shadow);
}
.sim-faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0;
  font-size: 1rem; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.sim-faq summary::-webkit-details-marker { display: none; }
.sim-faq summary::after { content: "+"; color: var(--olive); font-size: 1.4rem; font-weight: 400; flex-shrink: 0; }
.sim-faq details[open] summary::after { content: "−"; }
.sim-faq details p { font-size: .92rem; color: var(--gray-600); line-height: 1.7; padding: 0 0 1.2rem; margin: 0; }

/* credibility band */
.sim-validated {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #f0f4e8; border: 1px solid rgba(116,138,40,.25);
  border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-top: 1rem;
}
.sim-validated-icon { font-size: 1.5rem; flex-shrink: 0; }
.sim-validated h4 { font-size: .98rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.sim-validated p { font-size: .9rem; color: var(--gray-600); line-height: 1.65; margin: 0; }

/* launch CTA band */
.sim-launch-band { background: var(--navy); padding: 3.5rem 2rem; text-align: center; }
.sim-launch-band h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem,2.6vw,2rem); color: #fff; margin-bottom: .6rem; }
.sim-launch-band p { color: rgba(255,255,255,.65); font-size: .95rem; max-width: 520px; margin: 0 auto 1.75rem; }

/* simulators hub */
.sim-hub-tag {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .2rem .6rem; border-radius: 20px;
  background: rgba(116,138,40,.1); color: var(--olive); border: 1px solid rgba(116,138,40,.25);
  align-self: flex-start;
}
.sim-hub-tag.research { background: rgba(124,58,237,.08); color: #7c3aed; border-color: rgba(124,58,237,.25); }
.sim-hub-tag.manufacturer { background: rgba(13,148,136,.08); color: #0d9488; border-color: rgba(13,148,136,.25); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { max-width: 100%; }
  .feedback-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 0; }
  .stat { padding: .5rem 1.5rem; }
  .stat-divider { display: none; }
  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .features, .feedback-section { padding: 4rem 1.5rem; }
  .footer-cols { flex-direction: column; gap: 1.5rem; }
  .article-hero { padding: 2rem 1.5rem; }
  .article-hero-inner { max-width: 100%; }
  .article-hero-art { opacity: .25; width: 60%; }
  .flag-cols { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .sim-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .sim-section { padding: 3rem 1.5rem; }
}

/* ════════════════════════════════════════════════════════════════
   DARK HUB HOME  —  scoped to body.home-dark + .hub / .drawer
   Additive layer; does not affect any other page.
   ════════════════════════════════════════════════════════════════ */

body.home-dark {
  --d-bg: #0d130a;
  --d-card: rgba(255,255,255,.035);
  --d-card-hover: rgba(168,192,96,.07);
  --d-border: rgba(168,192,96,.16);
  --d-text: rgba(255,255,255,.84);
  --d-dim: rgba(255,255,255,.55);
  background: var(--d-bg);
}

/* nav goes dark + transparent over the hub */
body.home-dark .nav {
  background: rgba(13,19,10,.82);
  border-bottom: 1px solid var(--d-border);
}
body.home-dark .logo-text { color: #fff; }
body.home-dark .nav-links a { color: rgba(255,255,255,.66); }
body.home-dark .nav-links a:hover { color: var(--olive-light); }
body.home-dark .nav-toggle { color: #fff; }
body.home-dark .nav-mobile { border-top-color: var(--d-border); }
body.home-dark .nav-mobile a { color: rgba(255,255,255,.7); }

/* ── HUB ── */
.hub {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 64px);
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(168,192,96,.10) 0%, rgba(168,192,96,0) 55%),
    radial-gradient(circle at 50% 40%, #1b2912 0%, #131c0e 45%, #0b1008 100%);
  border-bottom: 1px solid var(--d-border);
}
.hub-stage {
  position: relative;
  width: 100%; max-width: 940px; margin: 0 auto;
  min-height: 620px; flex-shrink: 0;
  padding: 2.5rem 2rem 1rem;
}

/* decorative orbit rings + spoke rays */
.hub-orbits {
  position: absolute; left: 50%; top: 48%;
  width: 660px; height: 660px;
  transform: translate(-50%,-50%);
  transition: transform .4s ease-out;
  pointer-events: none; z-index: 0;
}
.hub-ring { fill: none; stroke: rgba(168,192,96,.12); stroke-width: 1; }
.hub-rays line { stroke: rgba(168,192,96,.10); stroke-width: 1; }
.hub-rays { transform-origin: 300px 300px; animation: hubSpin 160s linear infinite; }
@keyframes hubSpin { to { transform: rotate(360deg); } }

/* core */
.hub-core {
  position: absolute; left: 50%; top: 48%;
  transform: translate(-50%,-50%);
  width: min(420px, 78%); text-align: center; z-index: 3;
}
.hub-logo {
  width: 70px; height: 70px; margin: 0 auto .9rem;
  filter: drop-shadow(0 6px 22px rgba(168,192,96,.35));
}
.hub-wordmark {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 1.9rem; color: #fff; letter-spacing: -.01em; margin-bottom: .5rem;
}
.hub-tagline {
  font-size: .98rem; color: rgba(255,255,255,.66); line-height: 1.6;
  margin-bottom: 1.5rem;
}
.hub-tagline em { color: var(--olive-light); font-style: italic; }
.hub-core .btn-primary { box-shadow: 0 8px 30px rgba(116,138,40,.4); }
.hub-note { font-size: .76rem; color: rgba(255,255,255,.4); margin-top: 1rem; }

/* nodes */
.hub-nodes { position: absolute; inset: 0; z-index: 2; }
.hub-node {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%,-50%) translate(var(--px,0px), var(--py,0px));
  transition: transform .35s ease-out;
  text-decoration: none; width: 150px;
}
.hub-node-inner {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  background: rgba(18,26,12,.72);
  border: 1px solid var(--d-border); border-radius: 14px;
  padding: .85rem .75rem; backdrop-filter: blur(6px);
  box-shadow: 0 8px 26px rgba(0,0,0,.35);
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
  animation: hubFloat 11s ease-in-out infinite; animation-delay: var(--delay, 0s);
}
@keyframes hubFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.hub-node-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(168,192,96,.14); color: var(--olive-light);
  margin-bottom: .15rem;
}
.hub-node-icon svg { width: 18px; height: 18px; }
.hub-node-label { font-size: .86rem; font-weight: 700; color: #fff; text-align: center; line-height: 1.25; }
.hub-node-preview { font-size: .72rem; color: rgba(255,255,255,.5); text-align: center; line-height: 1.35; }
.hub-node:hover .hub-node-inner {
  border-color: rgba(168,192,96,.55);
  background: rgba(34,46,22,.92);
  box-shadow: 0 12px 34px rgba(116,138,40,.3);
  transform: translateY(-4px) scale(1.04);
}

.hub-scroll-cue {
  display: block; margin: -.5rem auto 2.25rem; position: relative; z-index: 3;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.5); font-family: inherit; font-size: .82rem; font-weight: 500;
  letter-spacing: .02em; transition: color .15s;
}
.hub-scroll-cue:hover { color: var(--olive-light); }
.hub-scroll-cue span { display: block; font-size: 1.1rem; animation: cueBob 2s ease-in-out infinite; }
@keyframes cueBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ── DARK SECTION OVERRIDES (home only) ── */
body.home-dark .features,
body.home-dark .feedback-section { background: transparent; }

body.home-dark .features h2,
body.home-dark .feedback-section h2 { color: #fff; }
body.home-dark .section-sub { color: var(--d-dim); }
body.home-dark .section-label { color: var(--olive-light); }

body.home-dark .feature-card,
body.home-dark .hipaa-card,
body.home-dark .alt-card {
  background: var(--d-card); border-color: var(--d-border);
  box-shadow: none;
}
body.home-dark .feature-card:hover,
body.home-dark .hipaa-card:hover {
  background: var(--d-card-hover); border-color: rgba(168,192,96,.4);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
body.home-dark .feature-card h4,
body.home-dark .hipaa-card-name,
body.home-dark .alt-card h4 { color: #fff; }
body.home-dark .feature-card p,
body.home-dark .hipaa-card-desc,
body.home-dark .alt-card p { color: var(--d-dim); }

body.home-dark .feature-tier-header { border-bottom-color: var(--d-border); }
body.home-dark .tier-desc { color: rgba(255,255,255,.45); }

body.home-dark .os-list li { color: var(--d-dim); }
body.home-dark .github-cta {
  background: var(--d-card); border-color: var(--d-border); color: var(--d-text);
}
body.home-dark .github-cta:hover { border-color: rgba(168,192,96,.4); background: var(--d-card-hover); }

body.home-dark .cat-btn {
  background: var(--d-card); border-color: var(--d-border); color: var(--d-dim);
}
body.home-dark .cat-btn:hover { color: var(--olive-light); border-color: rgba(168,192,96,.4); }
body.home-dark .cat-btn.active { background: var(--olive); color: #fff; border-color: var(--olive); }
body.home-dark .feedback-form-wrap textarea {
  background: var(--d-card); border-color: var(--d-border); color: #fff;
}
body.home-dark .feedback-form-wrap textarea::placeholder { color: rgba(255,255,255,.35); }
body.home-dark .form-note { color: rgba(255,255,255,.4); }

/* reveal-on-scroll */
body.home-dark .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
body.home-dark .reveal.in { opacity: 1; transform: none; }

/* ── GUIDES (dark) ── */
body.home-dark .guides-section,
body.home-dark .guides-section-alt { background: transparent; }
body.home-dark .guides-section-alt { background: rgba(168,192,96,.03); }
body.home-dark .guides-category-sub { color: rgba(255,255,255,.45); }
body.home-dark .guide-card {
  background: var(--d-card); border-color: var(--d-border); box-shadow: none;
}
body.home-dark .guide-card:hover {
  background: var(--d-card-hover); border-color: rgba(168,192,96,.42);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
body.home-dark .guide-card h2 { color: #fff; }
body.home-dark .guide-card p { color: var(--d-dim); }
body.home-dark .guide-card-meta { border-top-color: var(--d-border); }
body.home-dark .guide-card-meta span { color: rgba(255,255,255,.4); }
body.home-dark .guide-card-cta { color: var(--olive-light); }

/* ── RESEARCH (dark) ── */
body.home-dark .author-card { background: var(--d-card); border-color: var(--d-border); }
body.home-dark .author-name { color: #fff; }
body.home-dark .author-creds { color: var(--d-dim); }
body.home-dark .research-section-count { color: rgba(255,255,255,.4); }
body.home-dark .research-section-header { border-bottom-color: var(--d-border); }
body.home-dark .pub-card { background: var(--d-card); border-color: var(--d-border); box-shadow: none; }
body.home-dark .pub-card:hover { border-color: rgba(168,192,96,.32); }
body.home-dark .pub-title { color: #fff; }
body.home-dark a.pub-title:hover { color: var(--olive-light); }
body.home-dark .pub-authors { color: var(--d-dim); }
body.home-dark .pub-authors strong { color: rgba(255,255,255,.85); }
body.home-dark .pub-abstract { color: var(--d-dim); }
body.home-dark .pub-link.ghost { background: transparent; border-color: var(--d-border); color: var(--d-dim); }
body.home-dark .pub-link.ghost:hover { border-color: rgba(168,192,96,.45); color: var(--olive-light); }
body.home-dark .pub-tag { color: rgba(255,255,255,.4); }
body.home-dark .empty-state { border-color: var(--d-border); color: rgba(255,255,255,.4); }

/* ── DRAWER (inline spoke content) ── */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,12,6,.66); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: min(880px, 94vw);
  background: var(--d-bg, #0d130a);
  border-left: 1px solid var(--d-border, rgba(168,192,96,.16));
  box-shadow: -24px 0 64px rgba(0,0,0,.5);
  transform: translateX(100%); transition: transform .34s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 1.6rem; border-bottom: 1px solid rgba(168,192,96,.16);
  flex-shrink: 0;
}
.drawer-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: #fff; }
.drawer-close {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  color: #fff; width: 34px; height: 34px; border-radius: 9px; cursor: pointer;
  font-size: 1.1rem; line-height: 1; transition: background .15s, border-color .15s;
}
.drawer-close:hover { background: rgba(168,192,96,.18); border-color: rgba(168,192,96,.5); }
.drawer-body { flex: 1; overflow-y: auto; overflow-x: hidden; }
.drawer-loading { padding: 3rem; text-align: center; color: rgba(255,255,255,.45); font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
  .hub-rays, .hub-node-inner, .hub-scroll-cue span { animation: none; }
  .hub-node, .hub-orbits { transition: none; }
  body.home-dark .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .hub { min-height: auto; display: block; }
  .hub-stage { min-height: auto; padding: 2rem 1.5rem; }
  .hub-orbits { display: none; }
  .hub-core { position: static; transform: none; width: 100%; margin-bottom: 2rem; }
  .hub-nodes { position: static; inset: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
  .hub-node {
    position: static; left: auto; top: auto; transform: none !important; width: auto;
  }
  .hub-node-inner { animation: none; }
  .hub-scroll-cue { margin-top: 1.5rem; }
}
@media (max-width: 420px) {
  .hub-nodes { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   TOOLS GRID  —  shared (used on /fpd AND inside the home drawer)
   Lives in style.css so fetched simulator-grid content stays styled.
   ════════════════════════════════════════════════════════════════ */

.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }

.tool-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 1.5rem;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: transform .18s, border-color .18s, background .18s, box-shadow .18s;
}
.tool-card:hover { transform: translateY(-4px); border-color: rgba(116,138,40,.35); background: rgba(116,138,40,.03); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.tool-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--olive), var(--olive-light));
  opacity: 0; transition: opacity .18s;
}
.tool-card:hover::before { opacity: 1; }
.tool-card.dev::before { background: linear-gradient(90deg, #b08537, #d9b063); opacity: .55; }

.tool-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.tool-ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tool-ic svg { width: 22px; height: 22px; }
.tool-ic.olive  { background: linear-gradient(135deg, var(--olive), var(--olive-dark)); }
.tool-ic.slate  { background: linear-gradient(135deg, #475569, #334155); }
.tool-ic.amber  { background: linear-gradient(135deg, #d97706, #b45309); }
.tool-ic.teal   { background: linear-gradient(135deg, #0d9488, #0f766e); }
.tool-ic.violet { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.tool-ic.blue   { background: linear-gradient(135deg, #1e3a5f, #2d5a8e); }

.tool-badge { font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .24rem .65rem; border-radius: 20px; flex-shrink: 0; }
.tool-badge.live { background: rgba(116,138,40,.2); color: var(--olive-light); }
.tool-badge.dev  { background: rgba(217,176,99,.16); color: #e3c07a; }
.tool-badge.soon { background: rgba(0,0,0,.05); color: var(--gray-500); }

.tool-cat-tag {
  align-self: flex-start; font-size: .66rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--olive-light);
  background: rgba(168,192,96,.1); border: 1px solid rgba(168,192,96,.25);
  padding: .2rem .6rem; border-radius: 20px; margin-bottom: .8rem;
}
.tool-cat-tag.research { color: #b794f6; background: rgba(124,58,237,.12); border-color: rgba(124,58,237,.3); }
.tool-cat-tag.manufacturer { color: #5eead4; background: rgba(13,148,136,.12); border-color: rgba(13,148,136,.3); }

.tool-name { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.tool-tagline { font-size: .8rem; color: var(--olive); font-weight: 600; margin-bottom: .6rem; }
.tool-desc { font-size: .86rem; color: var(--gray-600); line-height: 1.6; flex: 1; }
.tool-desc strong { color: var(--gray-800); }
.tool-note {
  margin-top: .9rem; padding: .65rem .85rem; border-radius: 8px;
  background: rgba(217,176,99,.1); border: 1px solid rgba(217,176,99,.3);
  font-size: .78rem; line-height: 1.55; color: #e3c07a;
}
.tool-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--gray-200); }
.tool-tag { font-size: .7rem; font-weight: 600; padding: .2rem .55rem; border-radius: 6px; background: var(--gray-100); color: var(--gray-500); }
.tool-links { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.tool-link { font-size: .78rem; font-weight: 600; text-decoration: none; padding: .38rem .85rem; border-radius: 7px; transition: background .15s, color .15s, border-color .15s; }
.tool-link.primary { background: var(--olive); color: #fff; }
.tool-link.primary:hover { background: var(--olive-dark); }
.tool-link.ghost { border: 1px solid var(--gray-200); color: var(--gray-600); }
.tool-link.ghost:hover { border-color: rgba(116,138,40,.4); color: var(--olive); }
.tool-link.muted { color: var(--gray-400); border: 1px solid var(--gray-200); cursor: not-allowed; }
.tool-card-arrow { margin-top: 1rem; font-size: .82rem; font-weight: 600; color: var(--olive-light); }

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

/* ════════════════════════════════════════════════════════════════
   RESEARCH base  —  shared (used on /research AND the home drawer)
   Dark treatment is layered via body.home-dark overrides above.
   ════════════════════════════════════════════════════════════════ */
.research-hero {
  background: linear-gradient(140deg, #f4f7ec 0%, #eef3e2 60%, #f8f9f3 100%);
  padding: 3.5rem 2rem 3rem; text-align: center;
  border-bottom: 1px solid var(--gray-200);
}
.research-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  color: var(--navy); margin-bottom: 1rem; line-height: 1.2;
}
.research-hero h1 em { color: var(--olive); font-style: italic; }
.research-hero p { color: var(--gray-600); font-size: 1rem; max-width: 560px; margin: 0 auto; line-height: 1.75; }

.research-main { max-width: 860px; margin: 0 auto; padding: 2.5rem 2rem 4rem; }

.author-card {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--warm-bg); border: 1px solid var(--gray-200);
  border-radius: 16px; padding: 1.5rem; margin-bottom: 2rem;
}
.author-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--olive), var(--olive-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: #fff; font-weight: 700; font-family: 'Playfair Display', serif;
}
.author-name { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.author-creds { font-size: .82rem; color: var(--gray-600); line-height: 1.6; }

.research-section { margin-bottom: 2.25rem; }
.research-section-header {
  display: flex; align-items: center; gap: 1rem;
  padding-bottom: .75rem; border-bottom: 1.5px solid var(--gray-200); margin-bottom: 1.5rem;
}
.research-section-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.research-section-count { font-size: .75rem; color: var(--gray-400); font-weight: 500; }

.pub-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 1.75rem; margin-bottom: 1.25rem;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.pub-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.pub-card.published::before { background: linear-gradient(90deg, var(--olive), var(--olive-light)); }
.pub-card.preprint::before { background: linear-gradient(90deg, #0d90e6, #38bdf8); }
.pub-card.working::before  { background: linear-gradient(90deg, #94a3b8, #cbd5e1); }

.pub-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.pub-status {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: .22rem .65rem; border-radius: 20px; flex-shrink: 0;
}
.pub-status.published { background: #dcfce7; color: #15803d; }
.pub-status.preprint  { background: #dbeafe; color: #1d4ed8; }
.pub-status.working   { background: #f1f5f9; color: #64748b; }
.pub-status.inprep    { background: #fef9c3; color: #854d0e; }

.pub-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700; color: var(--navy);
  line-height: 1.35; margin-bottom: .5rem; text-decoration: none;
}
a.pub-title:hover { color: var(--olive); }
.pub-authors { font-size: .82rem; color: var(--gray-600); margin-bottom: .4rem; line-height: 1.5; }
.pub-authors strong { color: var(--gray-800); font-weight: 600; }
.pub-venue {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; color: var(--olive-dark);
  background: rgba(116,138,40,.08); border: 1px solid rgba(116,138,40,.2);
  padding: .2rem .65rem; border-radius: 20px; margin-bottom: .9rem;
}
.pub-abstract { font-size: .87rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.1rem; }
.pub-links { display: flex; gap: .6rem; flex-wrap: wrap; }
.pub-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .78rem; font-weight: 600; text-decoration: none;
  padding: .32rem .8rem; border-radius: 7px; transition: background .15s, color .15s;
}
.pub-link.primary { background: var(--olive); color: #fff; }
.pub-link.primary:hover { background: var(--olive-dark); }
.pub-link.ghost { border: 1px solid var(--gray-200); color: var(--gray-600); background: var(--white); }
.pub-link.ghost:hover { border-color: var(--olive); color: var(--olive); }
.pub-tags { margin-bottom: 1rem; }
.pub-tag { font-size: .72rem; color: var(--gray-400); letter-spacing: .03em; }

.empty-state {
  border: 1.5px dashed var(--gray-200); border-radius: 14px;
  padding: 2rem; text-align: center; font-size: .88rem; color: var(--gray-400); line-height: 1.65;
}

@media (max-width: 600px) {
  .author-card { flex-direction: column; text-align: center; }
  .pub-card-top { flex-direction: column-reverse; }
}

/* ════════════════════════════════════════════════════════════════
   HOME: comparison table + FAQ (relocated from /suite, dark)
   ════════════════════════════════════════════════════════════════ */
.home-section { padding: 5rem 2rem; }
.home-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: #fff;
  margin-bottom: .75rem; line-height: 1.25;
}

.cmp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 2rem; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 580px; }
.cmp-table thead th {
  padding: .9rem .75rem; text-align: center; font-weight: 700; font-size: .78rem;
  letter-spacing: .04em; white-space: nowrap; color: rgba(255,255,255,.7);
  border-bottom: 2px solid rgba(168,192,96,.2);
}
.cmp-table thead th:first-child { text-align: left; }
.cmp-table thead th.col-ot {
  background: rgba(116,138,40,.16); color: var(--olive-light);
  border-bottom: 2px solid var(--olive); border-radius: 8px 8px 0 0;
}
.cmp-table tbody tr:hover { background: rgba(116,138,40,.06); }
.cmp-table tbody td {
  padding: .8rem .75rem; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.6);
}
.cmp-table tbody td:first-child { text-align: left; font-weight: 500; color: rgba(255,255,255,.85); }
.cmp-table tbody td.col-ot { background: rgba(168,192,96,.16); font-weight: 600; color: #fff; }
.cmp-table .section-row td {
  background: rgba(255,255,255,.04); font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); padding: .45rem .75rem;
}
.cmp-table tfoot td {
  padding: .55rem .75rem; font-size: .76rem; color: rgba(255,255,255,.4);
  border-top: 1px solid rgba(255,255,255,.08);
}
.cmp-table tfoot td.col-ot { background: rgba(168,192,96,.16); }
.cmp-yes  { color: #4ade80; font-size: 1.05rem; }
.cmp-no   { color: #f87171; font-size: 1.05rem; }
.cmp-part { color: #fbbf24; font-size: .78rem; font-weight: 600; }

.faq-list { margin-top: 2rem; max-width: 760px; }
.faq-item { border-bottom: 1px solid rgba(168,192,96,.16); padding: 1.25rem 0; }
.faq-q { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.faq-a { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.75; }

@media (max-width: 640px) {
  .home-section { padding: 3.5rem 1.5rem; }
}

/* ════════════════════════════════════════════════════════════════
   DARK SIMULATOR LANDINGS  (body.home-dark on simulators/*.html)
   sim-hero + sim-launch-band are already dark gradients.
   ════════════════════════════════════════════════════════════════ */
body.home-dark .sim-section { background: transparent; }
body.home-dark .sim-section.alt { background: rgba(168,192,96,.03); }
body.home-dark .sim-section h2 { color: #fff; }
body.home-dark .sim-section-sub { color: rgba(255,255,255,.6); }
body.home-dark .sim-step h4 { color: #fff; }
body.home-dark .sim-step p { color: rgba(255,255,255,.6); }
body.home-dark .sim-audience-card { background: var(--d-card); border-color: var(--d-border); box-shadow: none; }
body.home-dark .sim-audience-card h4 { color: #fff; }
body.home-dark .sim-audience-card p { color: rgba(255,255,255,.6); }
body.home-dark .sim-faq details { background: var(--d-card); border-color: var(--d-border); box-shadow: none; }
body.home-dark .sim-faq summary { color: #fff; }
body.home-dark .sim-faq details p { color: rgba(255,255,255,.6); }
body.home-dark .sim-validated { background: rgba(168,192,96,.06); border-color: rgba(168,192,96,.25); }
body.home-dark .sim-validated h4 { color: #fff; }
body.home-dark .sim-validated p { color: rgba(255,255,255,.6); }

/* ════════════════════════════════════════════════════════════════
   DARK ARTICLES  (body.home-dark on guides/*.html)
   article-hero + article-cta-box are already dark gradients.
   ════════════════════════════════════════════════════════════════ */
body.home-dark .article-wrap { background: transparent; }
body.home-dark .article-breadcrumb { color: rgba(255,255,255,.45); }
body.home-dark .article-breadcrumb span { color: rgba(255,255,255,.3); }
body.home-dark .article-breadcrumb a { color: var(--olive-light); }
body.home-dark .article-header h1 { color: #fff; }
body.home-dark .article-deck { color: rgba(255,255,255,.7); }
body.home-dark .article-meta { color: rgba(255,255,255,.4); }
body.home-dark article h2 { color: #fff; border-top-color: rgba(255,255,255,.1); }
body.home-dark article h3 { color: #fff; }
body.home-dark article p { color: rgba(255,255,255,.72); }
body.home-dark article ul, body.home-dark article ol { color: rgba(255,255,255,.72); }
body.home-dark article strong { color: #fff; }
body.home-dark article em { color: var(--olive-light); }
body.home-dark .article-toc { background: var(--d-card); border-color: var(--d-border); }
body.home-dark .article-toc-title { color: rgba(255,255,255,.4); }
body.home-dark .article-toc a { color: var(--olive-light); }
body.home-dark .article-table-wrap { border-color: var(--d-border); }
body.home-dark .article-table-wrap th { background: rgba(255,255,255,.05); color: #fff; border-bottom-color: var(--d-border); }
body.home-dark .article-table-wrap td { color: rgba(255,255,255,.65); border-bottom-color: rgba(255,255,255,.07); }
body.home-dark .article-callout { background: rgba(116,138,40,.1); border-color: rgba(116,138,40,.3); color: rgba(255,255,255,.72); }
body.home-dark .article-callout-link { color: var(--olive-light); }
body.home-dark .article-dl dt { color: #fff; }
body.home-dark .article-dl dd { color: rgba(255,255,255,.7); }
body.home-dark .article-related { border-top-color: rgba(255,255,255,.1); }
body.home-dark .article-related h3 { color: rgba(255,255,255,.4); }
body.home-dark .related-card { background: var(--d-card); border-color: var(--d-border); }
body.home-dark .related-card:hover { background: var(--d-card-hover); border-color: rgba(168,192,96,.4); }
body.home-dark .related-title { color: #fff; }
body.home-dark .article-takeaways { background: var(--d-card); border-color: rgba(168,192,96,.25); }
body.home-dark .article-takeaways li { color: rgba(255,255,255,.82); }
body.home-dark .stat-block { background: var(--d-card); border-color: var(--d-border); box-shadow: none; }
body.home-dark .stat-block-num { color: var(--olive-light); }
body.home-dark .stat-block-label { color: rgba(255,255,255,.6); }
body.home-dark .icon-list-item { background: var(--d-card); border-color: var(--d-border); box-shadow: none; }
body.home-dark .icon-list-badge { background: rgba(168,192,96,.14); color: var(--olive-light); }
body.home-dark .icon-list-body h4 { color: #fff; }
body.home-dark .icon-list-body p { color: rgba(255,255,255,.6); }
body.home-dark .tier-card { background: var(--d-card); border-color: var(--d-border); box-shadow: none; }
body.home-dark .tier-card-name { color: #fff; }
body.home-dark .tier-card-note { color: rgba(255,255,255,.6); }
body.home-dark .tier-card.featured { border-color: var(--olive); }
body.home-dark .timeline-item h3 { color: #fff; }
body.home-dark .timeline-item::before { background: #0d130a; }
body.home-dark .score-row.green  { background: rgba(34,197,94,.08);  border-color: rgba(34,197,94,.28); }
body.home-dark .score-row.amber  { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.28); }
body.home-dark .score-row.orange { background: rgba(249,115,22,.08); border-color: rgba(249,115,22,.28); }
body.home-dark .score-row.red    { background: rgba(239,68,68,.08);  border-color: rgba(239,68,68,.28); }
body.home-dark .score-desc { color: rgba(255,255,255,.78); }
body.home-dark .score-desc strong { color: #fff; }
body.home-dark .flag-col.green { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.28); }
body.home-dark .flag-col.red   { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.28); }
body.home-dark .flag-col li { color: rgba(255,255,255,.8); }

/* ════════════════════════════════════════════════════════════════
   SUITE — shared, scoped under .suite-main (dark)
   Used on /suite AND when the home drawer fetches the suite content.
   (.suite-hero stays inline in suite.html — it's outside <main>.)
   ════════════════════════════════════════════════════════════════ */
.suite-main { max-width: 1100px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.suite-main .section-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-light); margin-bottom: .5rem; }
.suite-main .section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 1rem; }
.suite-main .section-sub { font-size: .95rem; color: rgba(255,255,255,.6); line-height: 1.75; max-width: 560px; }

.suite-main .phase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.suite-main .phase-card { background: rgba(255,255,255,.035); border: 1px solid rgba(168,192,96,.16); border-radius: 14px; padding: 1.5rem; position: relative; overflow: hidden; }
.suite-main .phase-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--olive), var(--olive-light)); }
.suite-main .phase-card.pro-phase::before { background: linear-gradient(90deg, #0d90e6, #06b98a); }
.suite-main .phase-icon { font-size: 1.6rem; margin-bottom: .75rem; }
.suite-main .phase-name { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: .35rem; }
.suite-main .phase-desc { font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.65; }
.suite-main .phase-badge { display: inline-block; font-size: .68rem; font-weight: 700; padding: .15rem .5rem; border-radius: 20px; margin-top: .65rem; }
.suite-main .phase-badge.free { background: rgba(116,138,40,.2); color: var(--olive-light); }
.suite-main .phase-badge.pro { background: rgba(13,144,230,.18); color: #6cb6f0; }

.suite-main .proof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 2rem; }
.suite-main .proof-card { background: rgba(255,255,255,.035); border: 1px solid rgba(168,192,96,.16); border-radius: 12px; padding: 1.25rem 1.5rem; text-align: center; }
.suite-main .proof-number { font-size: 2rem; font-weight: 800; color: var(--olive-light); line-height: 1; }
.suite-main .proof-label { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: .35rem; line-height: 1.4; }

.suite-main .btn-purchase { display: block; width: 100%; background: var(--olive); color: #fff; font-size: 1rem; font-weight: 700; padding: 1rem; border-radius: 12px; text-decoration: none; transition: background .15s; text-align: center; }
.suite-main .btn-purchase:hover { background: var(--olive-dark); }

.suite-main .tech-strip { background: rgba(255,255,255,.035); border: 1px solid rgba(168,192,96,.16); border-radius: 14px; padding: 1.25rem 1.75rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; }
.suite-main .tech-strip-label { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; }
.suite-main .tech-tag { font-size: .78rem; font-weight: 600; padding: .25rem .65rem; border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid rgba(168,192,96,.16); color: rgba(255,255,255,.6); }

@media (max-width: 640px) {
  .suite-main { padding: 3rem 1.5rem 4rem; }
  .suite-main .phase-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   HOMEPAGE V2  —  light redesign (index.html, no body.home-dark)
   ════════════════════════════════════════════════════════════════ */

/* ── Nav download button ── */
.nav-download-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--olive); color: #fff;
  padding: .45rem 1rem; border-radius: 8px;
  font-weight: 600; font-size: .85rem; text-decoration: none;
  transition: background .18s, transform .12s;
}
.nav-download-btn:hover { background: var(--olive-dark); transform: translateY(-1px); }
.nav-mobile-download {
  display: block; margin-top: .5rem; padding: .65rem 1rem;
  background: var(--olive); color: #fff; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: .9rem; text-align: center;
}

/* ── Hero V2 ── */
.hero-editorial {
  background: var(--white);
  border-top: 6px solid var(--olive);
  border-bottom: 1px solid var(--gray-200);
  padding: 4.5rem 2rem 4rem;
}
.hero-editorial-inner { max-width: 720px; margin: 0 auto; }
.hero-editorial-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--olive-dark); margin-bottom: 1rem;
}
.hero-editorial-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700;
  color: var(--navy); line-height: 1.18; margin-bottom: 1.1rem;
}
.hero-editorial-deck {
  font-size: 1.02rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 1.75rem;
  max-width: 640px;
}
.hero-product-cards {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(210px, .85fr);
  gap: .85rem; margin-bottom: 1.25rem;
}
.hero-download,
.hero-conductor-card {
  padding: 1.15rem;
  background: var(--warm-bg); border: 1px solid var(--gray-200); border-radius: 14px;
}
.hero-download-product {
  display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem;
}
.hero-download-icon {
  width: 44px; height: 44px; border-radius: 10px; flex: 0 0 auto;
}
.hero-download-name {
  color: var(--navy); font-size: 1rem; font-weight: 750; line-height: 1.25;
}
.hero-download-description {
  color: var(--gray-600); font-size: .82rem; line-height: 1.45; margin-top: .12rem;
}
.hero-editorial-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .75rem;
}
.hero-editorial-actions .btn-primary {
  display: inline-flex; align-items: center; gap: .45rem;
}
.hero-editorial-note {
  font-size: .76rem; color: var(--gray-500); margin: 0;
}
.hero-conductor-card {
  background: rgba(116,138,40,.055); border-color: rgba(116,138,40,.28);
  display: flex; flex-direction: column;
}
.hero-conductor-card .hero-download-product { align-items: flex-start; margin-bottom: .7rem; }
.hero-coming-soon {
  color: var(--olive-dark); font-size: .65rem; font-weight: 750;
  letter-spacing: .08em; line-height: 1; margin-bottom: .35rem; text-transform: uppercase;
}
.hero-conductor-card p {
  color: var(--gray-600); font-size: .78rem; line-height: 1.5; margin-bottom: .7rem;
}
.hero-conductor-card > a {
  color: var(--olive-dark); font-size: .8rem; font-weight: 700;
  margin-top: auto; text-decoration: none;
}
.hero-conductor-card > a:hover { text-decoration: underline; }
.hero-includes {
  max-width: 620px; color: var(--gray-600); font-size: .86rem; line-height: 1.6;
  margin-bottom: 0;
}
.hero-includes strong { color: var(--navy); }

/* ── Tracks section ── */
.tracks {
  padding: 4rem 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.tracks-intro { text-align: center; margin-bottom: 2.25rem; }
.tracks-sub { font-size: .97rem; color: var(--gray-600); line-height: 1.65; max-width: 480px; margin: .4rem auto 0; }
.tracks-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.75rem; max-width: 860px; margin: 0 auto;
}
.track-card {
  border: 1.5px solid var(--gray-200); border-radius: 16px;
  padding: 2rem; background: var(--white); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .75rem;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.track-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--olive-light); }
.track-card--primary { border-color: var(--olive); background: rgba(116,138,40,.03); }
.track-card--primary:hover { border-color: var(--olive-dark); }
.track-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(116,138,40,.12); color: var(--olive-dark);
  display: flex; align-items: center; justify-content: center;
}
.track-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--olive);
}
.track-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.track-card p { font-size: .9rem; color: var(--gray-600); line-height: 1.65; flex: 1; }
.track-card a { align-self: flex-start; margin-top: .5rem; }

/* ── Dark band (compare table + FAQ as intentional dark section) ── */
.dark-band { background: var(--navy); }

/* ── Pro tier badge ── */
.tier-badge.pro-badge { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* ── Reveal animation (unscoped for light homepage) ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive: homepage ── */
@media (max-width: 960px) {
  .hero-editorial { padding: 3.5rem 1.5rem 3rem; }
  .hero-editorial-deck { max-width: 100%; }
  .feature-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tracks-grid { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 640px) {
  .hero-product-cards { grid-template-columns: 1fr; }
  .hero-editorial-actions { flex-direction: column; }
  .hero-editorial-actions .btn-primary { justify-content: center; width: 100%; }
  .feature-bento { grid-template-columns: 1fr; }
  .feature-bento-card.spotlight { grid-column: auto; grid-row: auto; }
  .nav-download-btn { display: none; }
}

/* ── Product-family homepage ── */
.family-hero { background: radial-gradient(circle at 82% 28%, rgba(116,138,40,.12), transparent 26rem), linear-gradient(135deg, #f7f8f3 0%, #fff 55%); border-top: 5px solid var(--olive); border-bottom: 1px solid var(--gray-200); padding: 6.5rem 2rem 6rem; }
.family-hero-inner { max-width: 920px; margin: 0 auto; }
.family-eyebrow { color: var(--olive-dark); font-size: .72rem; font-weight: 700; letter-spacing: .12em; margin-bottom: .9rem; text-transform: uppercase; }
.family-hero h1 { color: var(--navy); font-family: var(--font-display); font-size: clamp(2.7rem, 6vw, 5.25rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 1.4rem; }
.family-hero h1 em { color: var(--olive); font-style: italic; }
.family-hero p { color: var(--gray-600); font-size: 1.08rem; line-height: 1.75; margin-bottom: 2rem; max-width: 650px; }
.pathways-section { background: #fff; padding: 5rem 2rem 5.5rem; }
.family-section-heading { max-width: 680px; margin-bottom: 2.25rem; }
.family-section-heading h2, .platform-feature h2, .family-explore h2 { color: var(--navy); font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.65rem); line-height: 1.15; margin-bottom: .8rem; }
.family-section-heading > p { color: var(--gray-600); font-size: .96rem; line-height: 1.7; }
.pathways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pathway-card { position: relative; min-height: 290px; padding: 1.7rem; border: 1px solid var(--gray-200); border-radius: 18px; color: inherit; display: flex; gap: 1.15rem; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pathway-card:hover { border-color: rgba(116,138,40,.45); box-shadow: 0 14px 35px rgba(27,37,23,.09); transform: translateY(-3px); }
.pathway-card > img, .pathway-glyph { width: 50px; height: 50px; border-radius: 12px; flex: 0 0 auto; object-fit: cover; }
.pathway-glyph { background: #f4f0ff; color: #6d28d9; display: grid; font-size: 1.35rem; place-items: center; }
.pathway-number { color: rgba(32,41,27,.05); font-family: var(--font-display); font-size: 7rem; font-weight: 700; line-height: 1; position: absolute; right: .75rem; top: .15rem; }
.pathway-copy { display: flex; flex-direction: column; position: relative; z-index: 1; }
.pathway-kicker { color: var(--olive-dark); font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.pathway-copy h3 { color: var(--navy); font-family: var(--font-display); font-size: 1.42rem; line-height: 1.2; margin: .3rem 0 .6rem; }
.pathway-copy p { color: var(--gray-600); font-size: .84rem; line-height: 1.62; margin-bottom: 1rem; }
.pathway-copy > strong { color: var(--olive-dark); font-size: .8rem; margin-top: auto; }
.pathway-status { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.pathway-status span { background: var(--warm-bg); border-radius: 999px; color: var(--gray-600); font-size: .65rem; font-weight: 650; padding: .3rem .58rem; }
.pathway-pioneer { background: linear-gradient(145deg, #fff, #f5f8ff); }
.pathway-fpd { background: linear-gradient(145deg, #fff, #faf8ff); }
.pathway-tanit { background: linear-gradient(145deg, #fff, #f7f6f3); }
.platform-feature { background: var(--navy); color: #fff; padding: 5rem 2rem; }
.platform-feature-inner { align-items: center; display: grid; gap: 4rem; grid-template-columns: 1fr 1fr; }
.platform-feature .family-eyebrow { color: var(--olive-light); }
.platform-feature h2 { color: #fff; }
.platform-feature-copy > p { color: rgba(255,255,255,.68); font-size: .95rem; line-height: 1.75; margin-bottom: 1.6rem; }
.platform-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.platform-actions .btn-outline { border-color: rgba(255,255,255,.24); color: #fff; }
.platform-modules { position: relative; }
.platform-module { align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); border-radius: 15px; display: flex; gap: 1rem; padding: 1.2rem; }
.platform-module img { border-radius: 10px; height: 46px; width: 46px; }
.platform-module span { color: var(--olive-light); font-size: .64rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.platform-module h3 { color: #fff; font-size: 1rem; margin: .15rem 0 .2rem; }
.platform-module p { color: rgba(255,255,255,.58); font-size: .76rem; line-height: 1.45; }
.platform-module.coming { margin-left: 2.5rem; }
.platform-connector { background: rgba(163,181,96,.5); height: 20px; margin-left: 3rem; width: 1px; }
.family-principles { background: var(--warm-bg); padding: 5rem 2rem; }
.principles-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.principles-grid > div { background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; padding: 1.4rem; }
.principles-grid strong { color: var(--navy); display: block; font-family: var(--font-display); font-size: 1.12rem; margin-bottom: .45rem; }
.principles-grid p { color: var(--gray-600); font-size: .8rem; line-height: 1.6; }
.family-explore { background: #fff; padding: 4.5rem 2rem; }
.family-explore-inner { align-items: flex-end; display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; }
.family-explore-links { border-top: 1px solid var(--gray-200); }
.family-explore-links a { align-items: center; border-bottom: 1px solid var(--gray-200); color: var(--navy); display: flex; font-weight: 650; justify-content: space-between; padding: .9rem 0; text-decoration: none; }
.family-explore-links a:hover { color: var(--olive-dark); }
@media (max-width: 780px) {
  .family-hero { padding: 4.5rem 1.5rem 4rem; }
  .pathways-section, .platform-feature, .family-principles, .family-explore { padding-left: 1.5rem; padding-right: 1.5rem; }
  .pathways-grid, .platform-feature-inner, .family-explore-inner { grid-template-columns: 1fr; }
  .platform-feature-inner { gap: 2.5rem; }
  .principles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pathway-card { min-height: 0; padding: 1.25rem; }
  .pathway-card > img, .pathway-glyph { height: 42px; width: 42px; }
  .platform-module.coming { margin-left: 0; }
}
