/* ============================================================
   ועד דיגיטלי חכם — גולומב 2, רמת גן
   Shared stylesheet for all pages
   Accessibility: WCAG AA contrast, focus-visible, reduced motion
   ============================================================ */

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

:root {
  --primary: #0f172a;
  --primary-2: #1e293b;
  --primary-3: #334155;
  --primary-soft: #f1f5f9;

  --accent: #16a34a;
  --accent-2: #15803d;
  --accent-soft: #dcfce7;
  --accent-faint: #f0fdf4;

  --warn: #d97706;
  --warn-soft: #fef3c7;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --info: #2563eb;
  --info-soft: #dbeafe;

  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow: 0 4px 14px rgba(15,23,42,.08);
  --shadow-lg: 0 18px 40px rgba(15,23,42,.12);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --wa-bg: #ECE5DD;
  --wa-out: #DCF8C6;
  --wa-in: #FFFFFF;
  --wa-header: #075E54;
  --wa-green: #25D366;
  --wa-text: #303030;
  --wa-time: #8b9094;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Arial Hebrew", "Open Sans Hebrew", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(22, 163, 74, .15);
  overflow-x: hidden;
}
main { overflow-x: hidden; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent-2);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--accent); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--info);
  outline-offset: 3px;
  border-radius: 4px;
}

button { font: inherit; cursor: pointer; }

ul, ol { padding-inline-start: 1.4em; }

/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  top: -100px;
  right: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  z-index: 1000;
  transition: top .15s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ===== Container ===== */
.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.container-narrow {
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ===== Site header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--text);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-2) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-weight: 800; font-size: 1.02rem; }
.brand-text small { color: var(--text-soft); font-size: .82rem; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: .25rem;
  padding: 0;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .55rem 1rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
}
.site-nav a:hover { background: var(--primary-soft); color: var(--text); }
.site-nav a[aria-current="page"] {
  background: var(--primary);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .45rem .65rem;
}

@media (max-width: 820px) {
  .site-nav { display: none; }
  .site-nav.open { display: block; position: absolute; top: 64px; right: 0; left: 0; background: #fff; border-bottom: 1px solid var(--border); padding: .75rem 1.5rem 1rem; box-shadow: var(--shadow); }
  .site-nav.open ul { flex-direction: column; gap: 0; }
  .site-nav.open a { padding: .8rem .9rem; }
  .nav-toggle { display: inline-flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(1100px 500px at 90% -10%, rgba(22,163,74,.12), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(30,58,138,.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent-soft);
  color: var(--accent-2);
  padding: .35rem .85rem;
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 1.1rem;
  max-width: 22ch;
}
.hero h1 .accent { color: var(--accent-2); }
.hero .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 2rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}
.stat-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: .6rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  font-size: .95rem;
  box-shadow: var(--shadow-sm);
}
.stat-pill .num { font-weight: 800; color: var(--accent-2); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-1px); box-shadow: var(--shadow); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: var(--shadow); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface); }

/* ===== Sections ===== */
section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
section.alt { background: var(--surface); border-block: 1px solid var(--border); }
section.dark {
  background: linear-gradient(180deg, var(--primary) 0%, #0b1224 100%);
  color: #e2e8f0;
  border-block: 1px solid #1e293b;
}
section.dark h2, section.dark h3 { color: #fff; }
section.dark a { color: #93c5fd; }

.section-head {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 2.5rem;
}
.section-head .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 800;
  color: var(--accent-2);
  margin-bottom: .75rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -.015em;
  margin-bottom: .75rem;
  line-height: 1.2;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
section.dark .section-head p { color: #cbd5e1; }

/* ===== Cards ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .35rem; }
.card p { color: var(--text-muted); }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===== Pros / Cons two-column ===== */
.split-pros {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 740px) { .split-pros { grid-template-columns: 1fr; } }

.split-card {
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
}
.split-card.good { border-color: #bbf7d0; background: linear-gradient(180deg, #f0fdf4, #ffffff 60%); }
.split-card.bad  { border-color: #fecaca; background: linear-gradient(180deg, #fef2f2, #ffffff 60%); }
.split-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.split-card ul { list-style: none; padding: 0; display: grid; gap: .65rem; }
.split-card li { padding-inline-start: 1.75rem; position: relative; color: var(--text-muted); }
.split-card.good li::before {
  content: "✓"; position: absolute; right: 0; top: 0;
  background: var(--accent-soft); color: var(--accent-2);
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}
.split-card.bad li::before {
  content: "–"; position: absolute; right: 0; top: 0;
  background: var(--danger-soft); color: var(--danger);
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}

/* ===== Callout ===== */
.callout {
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}
.callout.info   { border-color: #bfdbfe; background: var(--info-soft); }
.callout.warn   { border-color: #fde68a; background: var(--warn-soft); }
.callout.danger { border-color: #fecaca; background: var(--danger-soft); }
.callout.good   { border-color: #bbf7d0; background: var(--accent-soft); }
.callout h3 { font-size: 1.05rem; margin-bottom: .35rem; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .15rem .65rem;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  background: var(--primary-soft);
  color: var(--primary-2);
}
.tag.accent { background: var(--accent-soft); color: var(--accent-2); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.danger { background: var(--danger-soft); color: var(--danger); }

/* ===== Committee cards ===== */
.committee-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.committee-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.committee-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--accent-soft), #fff);
  border: 1px solid var(--border);
}
.committee-card h3 { font-size: 1.2rem; font-weight: 800; }
.committee-card .role { color: var(--text-soft); font-size: .9rem; font-weight: 600; }
.committee-card table { width: 100%; border-collapse: collapse; margin-top: .25rem; font-size: .92rem; }
.committee-card th, .committee-card td {
  text-align: start;
  padding: .55rem .35rem;
  border-bottom: 1px dashed var(--border);
}
.committee-card th { color: var(--text-soft); font-weight: 600; font-size: .82rem; }
.committee-card td.auto { color: var(--accent-2); font-weight: 700; }
.committee-card td.manual { color: var(--warn); font-weight: 700; }

/* ===== WhatsApp mockup ===== */
.phone {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  background: #000;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #000;
  border-radius: 14px;
  z-index: 2;
}
.phone-screen {
  background: var(--wa-bg);
  border-radius: 26px;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  flex-direction: column;
}
.wa-header {
  background: var(--wa-header);
  color: #fff;
  padding: 2.2rem 1rem .8rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.wa-header .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff2;
  display: grid; place-items: center;
  font-weight: 700;
}
.wa-header .title { display: flex; flex-direction: column; line-height: 1.2; }
.wa-header .title strong { font-weight: 700; font-size: .98rem; }
.wa-header .title small { font-size: .75rem; color: #d4d4d8; }
.wa-body {
  padding: 1rem .75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
  background:
    radial-gradient(ellipse at top right, rgba(255,255,255,.4), transparent 60%),
    var(--wa-bg);
}
.wa-day {
  align-self: center;
  background: rgba(255,255,255,.85);
  color: #5a6066;
  font-size: .72rem;
  padding: .25rem .75rem;
  border-radius: 8px;
  margin: .25rem 0;
  font-weight: 600;
}
.wa-bubble {
  max-width: 86%;
  background: var(--wa-in);
  padding: .55rem .7rem .35rem;
  border-radius: 12px;
  font-size: .88rem;
  color: var(--wa-text);
  box-shadow: 0 1px 1px rgba(0,0,0,.08);
  position: relative;
  line-height: 1.45;
  white-space: pre-wrap;
}
.wa-bubble.out { background: var(--wa-out); align-self: flex-end; }
.wa-bubble.in  { align-self: flex-start; }
.wa-bubble .sender { font-size: .72rem; font-weight: 700; color: #e91e63; display: block; margin-bottom: .15rem; }
.wa-bubble.system {
  align-self: center;
  background: #fffbe6;
  color: #6b5b00;
  font-size: .78rem;
  text-align: center;
  border: 1px dashed #fde68a;
  border-radius: 10px;
}
.wa-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .25rem;
  font-size: .65rem;
  color: var(--wa-time);
  margin-top: .15rem;
}
.wa-meta .checks { color: #34b7f1; font-size: .85rem; line-height: 1; }
.wa-input {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: .55rem .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.wa-input .placeholder {
  flex: 1;
  background: #f3f4f6;
  border-radius: 18px;
  padding: .5rem .8rem;
  color: #94a3b8;
  font-size: .82rem;
}
.wa-input .send {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
}

.phone-caption {
  text-align: center;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: .9rem;
}

/* Horizontal scroll for multiple phones on mobile */
.phone-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

/* ===== Dashboard mockup ===== */
.dash {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  color: #e2e8f0;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: #cbd5e1;
}
.dash-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; display: inline-block; margin-inline-start: .35rem;}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .75rem;
}
.dash-tile {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: .9rem 1rem;
}
.dash-tile .label { font-size: .75rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: .07em;}
.dash-tile .value { font-size: 1.6rem; font-weight: 800; color: #fff; margin-top: .25rem; line-height: 1.1; letter-spacing: -.01em;}
.dash-tile .sub { font-size: .8rem; color: #94a3b8; margin-top: .15rem;}
.dash-tile.good .value { color: #4ade80; }
.dash-tile.warn .value { color: #fbbf24; }
.dash-tile.info .value { color: #60a5fa; }

.bar-row { display: grid; gap: .55rem; }
.bar { display: grid; grid-template-columns: 80px 1fr 48px; align-items: center; gap: .55rem; font-size: .82rem;}
.bar .track { background: rgba(255,255,255,.07); height: 8px; border-radius: 6px; overflow: hidden;}
.bar .fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #16a34a, #22c55e);}
.bar .fill.warn { background: linear-gradient(90deg, #d97706, #f59e0b); }
.bar .pct { color: #fff; font-weight: 700; text-align: end; }

.ticket-list { display: grid; gap: .5rem; }
.ticket {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .65rem;
  align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: .6rem .8rem;
  font-size: .85rem;
}
.ticket .id { color: #94a3b8; font-weight: 700; font-family: ui-monospace, Menlo, monospace; }
.ticket .title { color: #fff; }
.ticket .status {
  font-size: .72rem;
  padding: .15rem .55rem;
  border-radius: 999px;
  font-weight: 700;
}
.status.open    { background: #1e3a8a40; color: #93c5fd; border: 1px solid #1e40af; }
.status.work    { background: #92400e40; color: #fbbf24; border: 1px solid #b45309; }
.status.done    { background: #14532d40; color: #4ade80; border: 1px solid #166534; }
.status.urgent  { background: #7f1d1d40; color: #fca5a5; border: 1px solid #991b1b; }

/* ===== Timeline ===== */
.timeline {
  display: grid;
  gap: 1rem;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: 16px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--border));
}
.tl-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  align-items: flex-start;
}
.tl-dot {
  position: relative;
  z-index: 1;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  color: var(--accent-2);
  display: grid; place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.tl-body { background: var(--surface); border: 1px solid var(--border); padding: 1rem 1.25rem; border-radius: var(--radius); }
.tl-body h4 { font-weight: 800; margin-bottom: .25rem; font-size: 1rem; }
.tl-body p { color: var(--text-muted); font-size: .95rem; }

/* ===== Finance compare ===== */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare .col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.compare .col.now { border-style: dashed; color: var(--text-muted); }
.compare .col.then { background: linear-gradient(160deg, var(--accent-soft), #fff 70%); border-color: #86efac; }
.compare .col h4 { font-weight: 800; font-size: 1rem; margin-bottom: 1rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: .1em;}
.compare .col.then h4 { color: var(--accent-2); }
.big-num { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.big-num .unit { font-size: .55em; font-weight: 700; color: var(--text-soft); margin-inline-start: .25rem;}
.compare .row { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed var(--border); font-size: .95rem;}
.compare .row:last-child { border: 0; }
.compare .row strong { font-weight: 700; }

/* ===== Step list (numbered) ===== */
.steps {
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: stepper;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem 1.1rem 1.25rem;
  padding-inline-start: 3.75rem;
  position: relative;
  counter-increment: stepper;
}
.steps li::before {
  content: counter(stepper);
  position: absolute;
  right: 1.1rem;
  top: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: .95rem;
}
.steps li h4 { font-weight: 800; margin-bottom: .25rem; font-size: 1.02rem; }
.steps li p { color: var(--text-muted); font-size: .95rem; }
.steps li code {
  background: var(--primary-soft);
  border: 1px solid var(--border);
  padding: .1rem .45rem;
  border-radius: 6px;
  font-size: .88em;
}

/* ===== Disclosure (details) ===== */
details.disclosure {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
details.disclosure[open] { box-shadow: var(--shadow-sm); }
details.disclosure summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  user-select: none;
}
details.disclosure summary::-webkit-details-marker { display: none; }
details.disclosure summary::after {
  content: "+";
  background: var(--primary-soft);
  color: var(--primary);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform .15s ease;
}
details.disclosure[open] summary::after { content: "−"; }
details.disclosure .content {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
}
details.disclosure .content > * + * { margin-top: .65rem; }

/* ===== TOC ===== */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.toc h3 { font-size: 1rem; font-weight: 800; margin-bottom: .75rem;}
.toc ol { padding-inline-start: 1.5rem; display: grid; gap: .15rem; }
.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .4rem .55rem;
  margin-inline-start: -.55rem;
  border-radius: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
}
.toc a:hover { background: var(--primary-soft); color: var(--text); }

/* ===== Notice strip (lakeb haveed) ===== */
.notice {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  color: #92400e;
  padding: .25rem .65rem;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 700;
}

/* ===== Summary cards (clickable cards in dark section) ===== */
.summary-card {
  display: block;
  text-decoration: none;
  background: #1e293b;
  border: 1px solid #334155;
  color: #e2e8f0;
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  min-height: 160px;
}
.summary-card:hover,
.summary-card:focus-visible {
  transform: translateY(-3px);
  background: #233246;
  border-color: #475569;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  color: #fff;
}
.summary-card h3 { color: #fff; font-weight: 800; margin-bottom: .35rem; }
.summary-card p { color: #cbd5e1; margin-bottom: 1rem; }
.summary-card .summary-cta {
  display: inline-flex;
  align-items: center;
  color: #93c5fd;
  font-weight: 700;
  font-size: .95rem;
  margin-top: auto;
}
.summary-card:hover .summary-cta { color: #bfdbfe; }

/* ===== Footer ===== */
.site-footer {
  background: var(--primary);
  color: #cbd5e1;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .75rem; font-weight: 800; }
.site-footer a {
  color: #93c5fd;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-block: .35rem;
  text-decoration: none;
}
.site-footer a:hover { color: #bfdbfe; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: #94a3b8;
}

/* ===== Misc utilities ===== */
.center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.muted { color: var(--text-muted); }
.soft { color: var(--text-soft); }
.bold { font-weight: 700; }

/* Print */
@media print {
  .site-header, .site-footer, .nav-toggle, .cta-row, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  section { padding: 1rem 0; page-break-inside: avoid; }
  .card, .committee-card, .split-card { box-shadow: none; border: 1px solid #999; }
  .dash { background: #fff; color: #000; border: 1px solid #999; }
  .dash-tile { background: #f5f5f5; color: #000; }
  .phone { background: #fff; box-shadow: none; border: 1px solid #999;}
}
