/* ═══════════════════════════════════════════════════════
   GLOBAL CSS — VertiGoes Design System
   Headspace-exact: warm, soft, generous whitespace, borderless
   ═══════════════════════════════════════════════════════ */

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

:root {
  /* ── Primary brand palette ── */
  --orange: #4A90A8;
  --orange-hover: #3A7A92;
  --orange-light: #EEF6FB;
  --orange-50: #F5FAFD;

  --yellow: #FFCE00;
  --yellow-light: #FFF9E6;

  --blue: #7EB8D4;
  --blue-dark: #4A90A8;
  --blue-light: #EEF6FB;

  --green: #7BC67E;
  --green-light: #EFF9EF;

  --purple: #9B8EC4;
  --purple-light: #F3F0FA;

  /* ── Deep tones ── */
  --navy: #2D2C2B;
  --navy-deep: #1E1D1C;

  /* ── Headspace warm neutrals ── */
  --warm-50: #FDFBF9;
  --warm-100: #F9F4F0;
  --warm-200: #F3ECE5;
  --warm-300: #E8DFD6;
  --gray-100: #F5F2EF;
  --gray-200: #E8E4DF;
  --gray-300: #D1CBC4;
  --gray-400: #A8A09A;
  --gray-500: #7A736D;
  --gray-600: #5A5450;
  --gray-700: #3D3835;
  --gray-900: #2D2C2B;

  /* ── Semantic tokens ── */
  --bg: #F9F4F0;
  --bg-alt: #FFFFFF;
  --bg-clinical: #FFFFFF;            /* Hybrid IA: white for clinical sections */
  --surface: #FFFFFF;
  --text: #2D2C2B;
  --text-2: #5A5450;                 /* Bumped from #6B645E for WCAG AAA on warm bg */
  --text-3: #8A8278;                 /* Bumped from #A8A09A for AA on warm bg */
  --border: transparent;
  --border-2: #E8E4DF;
  --hairline: rgba(45,44,43,.06);    /* Soft hairline divider — Apple-level */
  --focus-ring: rgba(74,144,168,.4); /* Teal focus ring */

  /* ── Headspace shadows (ultra soft) ── */
  --shadow-xs: 0 1px 2px rgba(45,44,43,.03);
  --shadow-sm: 0 2px 8px rgba(45,44,43,.05);
  --shadow: 0 4px 24px rgba(45,44,43,.07);
  --shadow-md: 0 8px 40px rgba(45,44,43,.08);
  --shadow-lg: 0 16px 56px rgba(45,44,43,.1);

  /* ── Typography ──
     DM Sans handles Latin; Heebo carries Hebrew glyphs.
     When DM Sans has no glyph, the browser falls through to Heebo. */
  --font: 'DM Sans', 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── Radii (Headspace: very round, organic) ── */
  --r-xs: 12px;
  --r-sm: 16px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 32px;
  --r-2xl: 40px;
  --r-full: 100px;

  /* ── Motion ── */
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -100px; inset-inline-end: 16px;
  padding: 10px 20px; background: var(--orange);
  color: #fff; border-radius: 0 0 16px 16px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; z-index: 9999;
  transition: top .1s;
}
.skip-link:focus { top: 0; }

/* ═══ NAV ═══════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249,244,240,.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 28px; padding: 0 36px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text); flex-shrink: 0;
}
.brand-mark {
  width: 40px; height: 40px;
  background: var(--orange);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 800;
  letter-spacing: .02em;
}
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: -.4px; }
.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  display: block; padding: 8px 16px; color: var(--text-2);
  text-decoration: none; font-size: 14px; font-weight: 500;
  border-radius: var(--r-full); transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: rgba(45,44,43,.04); }
.nav-links a.active {
  color: var(--orange);
  background: var(--orange-light);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 24px;
  background: var(--orange);
  color: #fff; border-radius: var(--r-full);
  font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all .2s var(--ease);
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--orange-hover); transform: translateY(-1px); }
.nav-mobile-btn {
  display: none; background: none;
  border: none; border-radius: var(--r-sm);
  width: 44px; height: 44px; cursor: pointer;
  font-size: 20px; color: var(--text-2);
  align-items: center; justify-content: center;
}
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--surface); padding: 16px 24px; z-index: 99;
  flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 18px; color: var(--text-2);
  text-decoration: none; font-size: 16px; font-weight: 500;
  border-radius: var(--r);
}
.mobile-menu a:hover { background: var(--warm-100); color: var(--text); }
.mobile-menu-group { display: flex; flex-direction: column; gap: 0; }
.mobile-menu-heading {
  padding: 14px 18px 6px;
  font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3);
}
.mobile-menu-group a { padding-inline-start: 30px; }
.mobile-menu-utils {
  display: flex; gap: 8px; padding: 12px 18px 4px;
  border-top: 1px solid var(--hairline); margin-top: 8px;
}
.mobile-menu-utils > * { flex: 1; justify-content: center; }

/* ── Nav dropdown (desktop "מרכז הידע" parent) ── */
.nav-dropdown { position: relative; list-style: none; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 16px;
  font-family: var(--font); font-size: 14px; font-weight: 500;
  color: var(--text-2); background: none; border: none;
  border-radius: var(--r-full); cursor: pointer;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-dropdown-trigger:hover { color: var(--text); background: rgba(45,44,43,.04); }
.nav-dropdown-caret {
  width: 12px; height: 12px;
  transition: transform .2s var(--ease);
}
.nav-dropdown.is-open .nav-dropdown-trigger {
  color: var(--orange); background: var(--orange-light);
}
.nav-dropdown.is-open .nav-dropdown-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  min-width: 200px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 8px;
  list-style: none;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  z-index: 101;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s;
}
.nav-dropdown-menu a {
  display: block; padding: 11px 16px;
  color: var(--text-2); text-decoration: none;
  font-size: 14px; font-weight: 500;
  border-radius: var(--r);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: var(--orange-light);
  color: var(--orange);
}

/* Knowledge-Center icon rows (used in desktop dropdown + mobile menu group). */
.nav-dd-link {
  display: flex !important;
  align-items: center;
  gap: 12px;
}
.nav-dd-icon {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s var(--ease);
}
.nav-dd-link:hover .nav-dd-icon { transform: scale(1.08); }
.nav-dd-icon svg { width: 18px; height: 18px; display: block; }
.nav-dd-icon--blue   { background: var(--blue-light);   color: var(--blue-dark); }
.nav-dd-icon--orange { background: var(--orange-light); color: var(--orange);    }
.nav-dd-icon--green  { background: var(--green-light);  color: var(--green);     }
.nav-dd-icon--purple { background: var(--purple-light); color: var(--purple);    }
.nav-dd-icon--yellow { background: var(--yellow-light); color: #B48800;          }
.safe-view .nav-dd-link:hover .nav-dd-icon { transform: none; }

/* ── Lang toggle ── */
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 14px; border-radius: var(--r-full);
  border: 1.5px solid var(--border-2);
  background: transparent; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  letter-spacing: .04em; transition: all .2s;
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--orange); color: var(--orange); }
html[lang="en"] .lang-show-he,
html[lang="he"] .lang-show-en { display: none; }

/* ═══ SECTIONS ══════════════════════════════════════════ */
.section-wrap { background: var(--bg); }
.section-wrap.alt { background: var(--surface); }
.section { max-width: 1120px; margin: 0 auto; padding: 112px 36px; }
.section-sm { max-width: 1120px; margin: 0 auto; padding: 72px 36px; }
.section-label {
  display: inline-flex; align-items: center;
  padding: 8px 18px;
  background: var(--orange-light);
  border-radius: var(--r-full); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 20px;
}
.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800; letter-spacing: -1.2px;
  line-height: 1.12; color: var(--gray-900);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 18px; color: var(--text-2);
  line-height: 1.7; max-width: 540px;
  margin-bottom: 56px;
}

/* ═══ GRIDS ═════════════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px; }

/* ═══ CARDS (Headspace: floating, borderless, soft) ════ */
.card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow);
  border: none;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px); /* Calmer lift — vestibular-friendly */
}
.card-icon {
  width: 60px; height: 60px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  background: var(--orange-light);
  color: var(--orange);
}
.card-icon svg { width: 28px; height: 28px; flex-shrink: 0; }
.card-icon.green { background: var(--green-light); color: var(--green); }
.card-icon.amber { background: var(--yellow-light); color: #D4A017; }
.card-icon.red { background: #FFF0F0; color: #E8636F; }
.card-icon.blue { background: var(--blue-light); color: var(--blue-dark); }
.card-icon.purple { background: var(--purple-light); color: var(--purple); }
.card h3 {
  font-size: 18px; font-weight: 700;
  color: var(--text); margin-bottom: 10px;
  letter-spacing: -.3px;
}
.card p { font-size: 15px; color: var(--text-2); line-height: 1.75; }
.card-tag {
  display: inline-block; margin-top: 18px;
  padding: 6px 16px;
  background: var(--orange-light);
  border-radius: var(--r-full); font-size: 12px; font-weight: 600;
  color: var(--orange); letter-spacing: .02em;
}
.card-source {
  display: inline-block; margin-top: 12px; margin-inline-start: 8px;
  font-size: 12px; font-weight: 500;
  color: var(--text-3); text-decoration: underline dotted;
  text-underline-offset: 3px;
}
.card-source:hover { color: var(--orange); }
.card.blue-card {
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.card.blue-card h3, .card.blue-card p { color: rgba(255,255,255,.9); }
.card.blue-card .card-icon { background: rgba(255,255,255,.1); color: #fff; }
.card.blue-card .card-tag { background: rgba(255,255,255,.12); color: #fff; }

/* ═══ CALLOUT (warm, friendly, borderless) ═════════════ */
.callout {
  display: flex; gap: 18px;
  padding: 26px 28px; border-radius: var(--r-lg);
  border: none; margin: 24px 0;
  align-items: flex-start;
}
.callout.info { background: var(--blue-light); }
.callout.warning { background: var(--yellow-light); }
.callout.danger { background: #FFF0F0; }
.callout.success { background: var(--green-light); }
.callout-icon { flex-shrink: 0; margin-top: 2px; width: 24px; height: 24px; color: var(--orange); }
.callout.info .callout-icon { color: var(--blue-dark); }
.callout.warning .callout-icon { color: #D4A017; }
.callout.danger .callout-icon { color: #E8636F; }
.callout.success .callout-icon { color: var(--green); }
.callout-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.callout-body p { font-size: 15px; color: var(--text-2); line-height: 1.75; }
.callout-body a { color: var(--orange); font-weight: 600; }

/* ═══ TABS (Headspace pill style) ══════════════════════ */
.tabs-header {
  display: flex; gap: 4px;
  margin-bottom: 36px;
  background: var(--warm-100);
  border-radius: var(--r-full);
  padding: 5px;
  width: fit-content;
}
.tab-pill {
  padding: 16px 32px; font-family: var(--font);
  font-size: 18px; font-weight: 600; color: var(--text-2);
  background: none; border: none; border-radius: var(--r-full);
  cursor: pointer; transition: all .25s var(--ease);
  white-space: nowrap;
  letter-spacing: -.2px;
}
.tab-pill:hover { color: var(--text); }
.tab-pill.active {
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ═══ ACCORDION ═════════════════════════════════════════ */
.accordion-item {
  border-bottom: 1px solid var(--gray-200);
}
.accordion-item:first-child { border-top: 1px solid var(--gray-200); }
.acc-trigger {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 22px 0; background: none; border: none;
  font-family: var(--font); font-size: 17px; font-weight: 600;
  color: var(--text); cursor: pointer; text-align: start; gap: 18px;
}
.acc-arrow {
  flex-shrink: 0; width: 32px; height: 32px;
  border-radius: 50%; background: var(--warm-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-2);
  transition: transform .3s var(--ease), background .2s, color .2s;
}
.acc-trigger.open .acc-arrow {
  transform: rotate(180deg);
  background: var(--orange);
  color: #fff;
}
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-body-inner {
  padding: 0 0 24px; font-size: 16px;
  color: var(--text-2); line-height: 1.8;
}

/* ═══ TABLE ═════════════════════════════════════════════ */
.table-wrap {
  overflow-x: auto; border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  background: var(--surface);
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead tr { background: var(--warm-100); }
th {
  padding: 16px 20px; text-align: start;
  font-weight: 700; color: var(--gray-600);
  font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; border-bottom: 1px solid var(--gray-200);
}
td {
  padding: 18px 20px; border-bottom: 1px solid var(--gray-100);
  color: var(--text-2); vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--orange-50); }
td strong { color: var(--text); }

/* ═══ TIMELINE ══════════════════════════════════════════ */
.timeline { display: flex; flex-direction: column; }
.tl-item { display: flex; gap: 24px; padding-bottom: 40px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-left {
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0; width: 48px;
}
.tl-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--orange-light);
  flex-shrink: 0; margin-top: 4px;
}
.tl-line { width: 2px; flex: 1; background: var(--orange-light); margin-top: 8px; }
.tl-item:last-child .tl-line { display: none; }
.tl-content { flex: 1; }
.tl-badge {
  display: inline-block; padding: 5px 14px;
  background: var(--orange-light);
  border-radius: var(--r-full); font-size: 12px; font-weight: 700;
  color: var(--orange); margin-bottom: 10px;
}
.tl-content h4 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.tl-content p { font-size: 15px; color: var(--text-2); line-height: 1.75; }

/* ═══ FOUNDER CARD ══════════════════════════════════════ */
.founder-card {
  display: grid; grid-template-columns: auto 1fr;
  gap: 44px; align-items: start; padding: 48px;
  background: var(--surface);
  border-radius: var(--r-2xl); box-shadow: var(--shadow);
}
.founder-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; flex-shrink: 0;
}
.founder-meta .name { font-size: 22px; font-weight: 800; margin-bottom: 4px; letter-spacing: -.3px; }
.founder-meta .role { font-size: 14px; color: var(--text-3); margin-bottom: 22px; }
blockquote {
  font-size: 18px; line-height: 1.8; color: var(--text-2);
  padding-inline-start: 24px;
  border-inline-start: 3px solid var(--orange);
  margin-bottom: 18px; font-style: italic;
}

/* ═══ BUTTONS (Headspace pill style) ═══════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-full);
  font-family: var(--font); font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all .25s var(--ease);
}
.btn-primary {
  background: var(--orange); color: #fff;
  border: none;
}
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: var(--surface); color: var(--text);
  border: 2px solid var(--gray-200);
}
.btn-outline:hover { background: var(--warm-100); border-color: var(--gray-300); }
.btn-ghost {
  background: none;
  color: var(--orange);
  border: 2px solid var(--orange-light);
}
.btn-ghost:hover { background: var(--orange-light); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ═══ RESOURCE LINKS ════════════════════════════════════ */
.resource-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: var(--surface);
  border-radius: var(--r-lg);
  text-decoration: none; color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: all .25s var(--ease);
}
.resource-link:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.resource-link .rl-left { display: flex; align-items: center; gap: 18px; }
.resource-link .rl-icon {
  width: 46px; height: 46px; border-radius: 16px;
  background: var(--orange-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; letter-spacing: .03em;
  color: var(--orange); flex-shrink: 0;
}
.resource-link .rl-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.resource-link .rl-text p { font-size: 13px; color: var(--text-3); }
.resource-link .rl-arrow { color: var(--text-3); font-size: 16px; }

/* ═══ SEARCH RESULTS ════════════════════════════════════ */
.search-results-box {
  background: var(--surface);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.search-result-item {
  display: block; padding: 16px 20px;
  color: var(--text); text-decoration: none;
  font-size: 15px; font-weight: 600;
  border-bottom: 1px solid var(--gray-100);
  transition: background .15s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--orange-50); }
.search-result-item small {
  display: block; color: var(--text-3);
  font-weight: 400; font-size: 13px; margin-top: 3px;
}
.search-no-result { padding: 20px; font-size: 15px; color: var(--text-3); text-align: center; }

/* ═══ MINI AVATAR ═══════════════════════════════════════ */
.mini-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; color: #fff; font-weight: 700; flex-shrink: 0;
}

/* ═══ ARTICLE TAG ═══════════════════════════════════════ */
.article-tag {
  display: inline-block;
  padding: 5px 14px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.article-tag.blue { background: var(--blue-light); color: var(--blue-dark); }
.article-tag.green { background: var(--green-light); color: var(--green); }
.article-tag.amber { background: var(--yellow-light); color: #D4A017; }

/* ═══ FOOTER (warm dark, not cold navy) ════════════════ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.6);
  padding: 64px 36px 48px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
}
.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 32px;
}
.footer-brand-col .footer-brand-name {
  font-size: 22px; font-weight: 700; color: #fff;
  margin-bottom: 10px; letter-spacing: -.3px;
}
.footer-brand-col p {
  font-size: 15px; color: rgba(255,255,255,.4);
  line-height: 1.7; max-width: 300px;
}
.footer-links-col h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.25); margin-bottom: 16px;
}
.footer-links-col a {
  display: block; font-size: 15px;
  color: rgba(255,255,255,.5); text-decoration: none;
  padding: 5px 0; transition: color .2s;
}
.footer-links-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p {
  font-size: 13px; color: rgba(255,255,255,.2);
}
.footer-disclaimer {
  font-size: 13px; color: rgba(255,255,255,.2);
  line-height: 1.7; max-width: 600px;
}
.footer-disclaimer a {
  color: rgba(255,255,255,.35); text-decoration: underline;
}
.footer-utils {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 16px;
}
.safe-toggle--dark, .lang-toggle--dark {
  border-color: rgba(255,255,255,.12) !important;
  color: rgba(255,255,255,.55) !important;
  background: transparent !important;
}
.safe-toggle--dark:hover, .lang-toggle--dark:hover {
  border-color: rgba(255,255,255,.3) !important;
  color: #fff !important;
}
.safe-toggle--dark[aria-pressed="true"] {
  background: rgba(123,198,126,.12) !important;
  border-color: rgba(123,198,126,.5) !important;
  color: var(--green-light) !important;
}

/* ═══ RESPONSIVE ════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-btn { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .founder-card { grid-template-columns: 1fr; }
  .founder-card .founder-avatar { display: none; }
  .tabs-header { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 0 20px; }
  .section { padding: 72px 20px; }
  .section-sm { padding: 48px 20px; }
  .section-title { margin-bottom: 12px; }
  .section-desc { margin-bottom: 40px; font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .grid-auto { grid-template-columns: 1fr; }
  .footer { padding: 48px 20px 36px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  table { font-size: 13px; }
  th, td { padding: 12px 14px; }
  .founder-card { padding: 28px 24px; }
  blockquote { font-size: 16px; padding-inline-start: 16px; }
  .resource-link { flex-wrap: wrap; gap: 10px; }
  .tl-item { gap: 16px; }
  .callout { padding: 20px 22px; gap: 14px; }
  .btn { font-size: 14px; padding: 12px 24px; }
  .card { padding: 28px; border-radius: var(--r-lg); }
}

/* ═════════════════════════════════════════════════════════════════
   PHASE 1 — Safety, accessibility & polish layer
   Keep these rules at the end so they win the cascade.
   ═════════════════════════════════════════════════════════════════ */

/* ── Focus ring (visible only for keyboard / a11y users) ── */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 8px;
}
a:focus-visible, button:focus-visible,
.nav-cta:focus-visible, .btn:focus-visible,
.chip:focus-visible, .tab-pill:focus-visible,
.lang-toggle:focus-visible, .safe-toggle:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* ── Vestibular-safe toggle button (sits in nav) ── */
.safe-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 7px 12px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border-2);
  background: transparent; cursor: pointer;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  color: var(--text-2);
  letter-spacing: .02em; transition: all .2s;
  flex-shrink: 0;
}
.safe-toggle:hover { border-color: var(--orange); color: var(--orange); }
.safe-toggle svg { width: 16px; height: 16px; flex-shrink: 0; }
.safe-toggle[aria-pressed="true"] {
  background: var(--green-light);
  border-color: var(--green);
  color: var(--green);
}
.safe-toggle .safe-label-on,
.safe-toggle[aria-pressed="true"] .safe-label-off { display: none; }
.safe-toggle[aria-pressed="true"] .safe-label-on { display: inline; }

/* ── Tabular numerals for stats and tables (prevents number jitter) ── */
.stat-num, table td, table th {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* ── Hybrid IA: clinical sections opt into pure white background ── */
.section-wrap.clinical {
  background: var(--bg-clinical);
}
.section-wrap.clinical .card {
  box-shadow: 0 1px 2px rgba(45,44,43,.02), 0 8px 28px rgba(45,44,43,.05);
}

/* ── Hairline divider utility ── */
.hairline { border-top: 1px solid var(--hairline); }

/* ── Safe view: applied when body has .safe-view OR user prefers reduced motion ──
   Nukes decorative motion, decorative blobs, hover transforms, and gradient glow.
   Keeps layout, focus, and essential animation tokens. */
.safe-view *,
.safe-view *::before,
.safe-view *::after {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
  scroll-behavior: auto !important;
}
.safe-view .card:hover,
.safe-view .chip:hover,
.safe-view .blog-featured:hover,
.safe-view .resource-link:hover,
.safe-view .nav-cta:hover,
.safe-view .btn-primary:hover {
  transform: none !important;
}
.safe-view .hero-wrap::before,
.safe-view .hero-wrap::after,
.safe-view .stats-bar::before,
.safe-view .stats-bar::after,
.safe-view .community-banner::before,
.safe-view .community-banner::after {
  display: none !important;
}
.safe-view .founder-avatar,
.safe-view .mini-avatar {
  background: var(--orange) !important;
}
html.safe-view { scroll-behavior: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover, .chip:hover, .resource-link:hover,
  .blog-featured:hover, .nav-cta:hover, .btn-primary:hover {
    transform: none !important;
  }
}

/* ── Attack-Now floating button (sitewide) ── */
.attack-btn {
  position: fixed;
  inset-inline-start: 20px; bottom: 20px;
  z-index: 200;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  background: var(--surface); color: var(--text);
  border: 1.5px solid var(--orange-light);
  border-radius: var(--r-full);
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.attack-btn:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.attack-btn-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #E8636F; flex-shrink: 0; position: relative;
}
.attack-btn-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #E8636F;
  animation: vg-pulse 2.4s ease-out infinite;
}
@keyframes vg-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(2.6); opacity: 0;   }
}
.safe-view .attack-btn-dot::after { animation: none; opacity: 0; }
@media (max-width: 600px) {
  .attack-btn { padding: 10px 14px; font-size: 13px; bottom: 16px; inset-inline-start: 16px; }
}

/* ── Attack-Now modal (sitewide) ── */
.attack-modal {
  position: fixed; inset: 0; z-index: 300;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(45,44,43,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px;
}
.attack-modal.open { display: flex; }
.attack-modal-panel {
  background: var(--warm-50);
  border-radius: var(--r-2xl);
  max-width: 560px; width: 100%;
  max-height: 92vh; overflow-y: auto;
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.attack-modal-close {
  position: absolute; top: 14px; inset-inline-end: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--warm-100); border: none;
  color: var(--text-2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1;
  transition: background .15s, color .15s;
}
.attack-modal-close:hover { background: var(--warm-200); color: var(--text); }
.attack-modal h2 {
  font-size: 28px; font-weight: 700; letter-spacing: -.5px;
  color: var(--text); text-align: center;
  margin-bottom: 8px;
}
.attack-modal-sub {
  font-size: 17px; color: var(--text-2);
  text-align: center; margin-bottom: 28px;
  line-height: 1.55;
}
.attack-breathing {
  width: 160px; height: 160px;
  margin: 0 auto 24px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.attack-breathing-circle {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,144,168,.22) 0%, rgba(74,144,168,.05) 70%, transparent 100%);
  animation: vg-breathe 8s ease-in-out infinite;
}
.attack-breathing-label {
  position: relative; z-index: 1;
  font-size: 17px; font-weight: 600;
  color: var(--orange); text-align: center;
}
@keyframes vg-breathe {
  0%, 100% { transform: scale(.7); }
  50%      { transform: scale(1);  }
}
.safe-view .attack-breathing-circle {
  animation: none;
  transform: scale(.85);
}
.attack-steps {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 24px;
}
.attack-step {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px;
  background: var(--surface);
  border-radius: var(--r);
  border: 1px solid var(--hairline);
}
.attack-step-num {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange-light); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.attack-step-text {
  font-size: 18px; line-height: 1.55;
  color: var(--text); font-weight: 500;
}
.attack-redflag {
  background: #FFF0F0;
  border-radius: var(--r);
  padding: 18px 20px;
  margin-bottom: 18px;
  border-inline-start: 3px solid #E8636F;
}
.attack-redflag h4 {
  font-size: 17px; font-weight: 700; color: #C44E4E;
  margin-bottom: 10px;
}
.attack-redflag ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.attack-redflag li {
  font-size: 16px; color: var(--text);
  padding-inline-start: 18px;
  position: relative;
  line-height: 1.5;
}
.attack-redflag li::before {
  content: "•"; position: absolute;
  inset-inline-start: 0; color: #E8636F;
  font-weight: 700;
}
.attack-actions {
  display: flex; gap: 10px;
}
.attack-actions .btn { flex: 1; justify-content: center; }
.attack-actions .btn-emergency {
  background: #C44E4E; color: #fff;
}
.attack-actions .btn-emergency:hover { background: #A83C3C; }
@media (max-width: 600px) {
  .attack-modal-panel { padding: 32px 24px 28px; }
  .attack-breathing { width: 130px; height: 130px; }
}

/* ── Print: "Take to your doctor" friendly default ── */
@media print {
  .nav, .footer, .skip-link, .mobile-menu,
  .hero-search, .hero-chips, .lang-toggle, .safe-toggle,
  .nav-cta, .attack-btn { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .callout { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  a { color: #000; text-decoration: underline; }
  .section { padding: 24px 0; }
}
