:root {
  --bg:            #f9f8f5;
  --bg-card:       #ffffff;
  --bg-raised:     #f3f1ec;
  --border:        #e8e4dc;
  --text:          #1a1a2e;
  --muted:         #64748b;
  --shadow:        0 4px 24px rgba(0,0,0,.07);
  --shadow-sm:     0 2px 8px rgba(0,0,0,.06);
  --radius:        14px;

  --guide-color:    #1d4ed8;
  --guide-bg:       #eff6ff;
  --guide-border:   #bfdbfe;

  --miss-color:     #b91c1c;
  --miss-bg:        #fef2f2;
  --miss-border:    #fca5a5;

  --bokio-color:    #065f46;
  --bokio-bg:       #f0fdf4;
  --bokio-border:   #bbf7d0;

  --ord-color:      #6d28d9;
  --ord-bg:         #faf5ff;
  --ord-border:     #c4b5fd;

  --green:          #15803d;
  --red:            #b91c1c;
  --res-color:      #b45309;
  --res-bg:         #fffbeb;
  --res-border:     #fde68a;

  --nav-bg:         #1e293b;
  --nav-text:       #f8fafc;
  --nav-muted:      #94a3b8;
  --accent:         #f59e0b;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  background: var(--nav-bg);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
  height: 58px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.nav-logo {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
  margin-right: 32px;
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  color: var(--nav-muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all .15s;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-link.active { color: #fff; background: rgba(255,255,255,.12); }
.nav-link.active.guide  { background: rgba(29,78,216,.35); color: #93c5fd; }
.nav-link.active.misstag { background: rgba(185,28,28,.35); color: #fca5a5; }
.nav-link.active.bokio  { background: rgba(6,95,70,.35); color: #6ee7b7; }
.nav-link.active.ord    { background: rgba(109,40,217,.35); color: #c4b5fd; }
.nav-link.active.res    { background: rgba(180,83,9,.35);  color: #fcd34d; }

.nav-views {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: 12px;
  font-size: 12px;
  color: var(--nav-muted);
  white-space: nowrap;
}
.nav-views-label { font-size: 11px; opacity: .75; }

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: text;
  min-width: 200px;
  transition: all .15s;
}
.nav-search:hover, .nav-search:focus-within {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}
.nav-search input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  width: 100%;
}
.nav-search input::placeholder { color: var(--nav-muted); }
.nav-search-icon { color: var(--nav-muted); font-size: 14px; }

/* ── SEARCH OVERLAY ───────────────────────────────────── */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 999;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
}
.search-overlay.open { display: flex; }
.search-box {
  background: var(--bg-card);
  border-radius: var(--radius);
  width: 100%;
  max-width: 620px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.search-input-wrap input {
  flex: 1;
  font-size: 17px;
  border: none;
  outline: none;
  background: none;
  color: var(--text);
}
.search-results { max-height: 480px; overflow-y: auto; }
.search-result-item {
  display: block;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .1s;
}
.search-result-item:hover { background: var(--bg-raised); }
.search-result-item:last-child { border-bottom: none; }
.sr-category { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 3px; }
.sr-title { font-size: 14px; font-weight: 700; color: var(--text); }
.sr-snippet { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.search-empty { padding: 32px 20px; text-align: center; color: var(--muted); font-size: 14px; }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  padding: 72px 24px 80px;
  text-align: center;
}
.hero-tag {
  display: inline-block;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 20px;
  letter-spacing: -.5px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub {
  font-size: 17px;
  color: #94a3b8;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #d97706; transform: translateY(-1px); }
.btn-outline { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.2); }
.btn-outline:hover { background: rgba(255,255,255,.14); }

/* ── MAIN CONTENT ─────────────────────────────────────── */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

.section-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.3px;
  margin-bottom: 8px;
}
.section-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ── SECTION CARDS (homepage) ─────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.section-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all .18s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.section-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.section-card.guide::before  { background: var(--guide-color); }
.section-card.misstag::before { background: var(--miss-color); }
.section-card.bokio::before  { background: var(--bokio-color); }
.section-card.ord::before    { background: var(--ord-color); }

.section-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-icon { font-size: 32px; }
.card-title { font-size: 17px; font-weight: 800; letter-spacing: -.2px; }
.card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; flex: 1; }
.card-link {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}
.section-card.guide .card-link  { color: var(--guide-color); }
.section-card.misstag .card-link { color: var(--miss-color); }
.section-card.bokio .card-link  { color: var(--bokio-color); }
.section-card.ord .card-link    { color: var(--ord-color); }

/* ── GUIDE PAGE ────────────────────────────────────────── */
.page-header {
  padding: 48px 0 32px;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 40px;
}
.page-header-inner { display: flex; align-items: flex-start; gap: 20px; }
.page-icon { font-size: 48px; flex-shrink: 0; }
.page-header h1 { font-size: clamp(24px, 4vw, 36px); font-weight: 900; letter-spacing: -.4px; }
.page-header p { font-size: 15px; color: var(--muted); margin-top: 8px; max-width: 560px; line-height: 1.7; }

.phase {
  margin-bottom: 40px;
}
.phase-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 16px 20px;
  background: var(--guide-bg);
  border: 1.5px solid var(--guide-border);
  border-radius: var(--radius);
}
.phase-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--guide-color);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phase-title { font-size: 16px; font-weight: 800; color: var(--guide-color); }
.phase-sub { font-size: 12px; color: var(--guide-color); opacity: .7; margin-top: 2px; }

.tldr {
  background: var(--bg-raised);
  border-left: 3px solid var(--guide-color);
  border-radius: 0 8px 8px 0;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.tldr strong { color: var(--guide-color); font-weight: 800; }

.steps { display: flex; flex-direction: column; gap: 12px; }
.step {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--guide-bg);
  border: 2px solid var(--guide-border);
  color: var(--guide-color);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.step-content { flex: 1; }
.step-title { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 5px; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }
.step-tip {
  margin-top: 10px;
  padding: 8px 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 7px;
  font-size: 12px;
  color: #78350f;
  line-height: 1.6;
}
.step-warn {
  margin-top: 10px;
  padding: 8px 12px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 7px;
  font-size: 12px;
  color: #7f1d1d;
  line-height: 1.6;
}

/* Kollapsibla steg — alla .phase-sektioner */
.step-body { display: none; margin-top: 6px; }
.step.open .step-body { display: block; }
.phase .step { cursor: pointer; }
.phase .step .step-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.phase .step .step-title::after {
  content: '▸';
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform .15s;
}
.phase .step.open .step-title::after { content: '▾'; }

.collapse-hint {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin: -4px 0 20px;
  letter-spacing: .01em;
}

.nav-path {
  font-family: monospace;
  font-size: 12px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 5px;
  color: var(--guide-color);
}

/* ── MISTAKES PAGE ────────────────────────────────────── */
.miss-grid { display: flex; flex-direction: column; gap: 20px; }
.miss-card {
  background: var(--bg-card);
  border: 1.5px solid var(--miss-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.miss-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--miss-bg);
  border-bottom: 1px solid var(--miss-border);
  cursor: pointer;
}
.miss-num {
  font-size: 11px;
  font-weight: 900;
  color: var(--miss-color);
  background: #fff;
  border: 1.5px solid var(--miss-border);
  border-radius: 6px;
  padding: 3px 9px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.miss-title { font-size: 15px; font-weight: 800; color: var(--text); flex: 1; line-height: 1.4; }
.miss-arr { color: var(--miss-color); font-size: 18px; flex-shrink: 0; transition: transform .2s; }
.miss-arr.open { transform: rotate(90deg); }
.miss-body {
  display: none;
  padding: 20px 24px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.75;
}
.miss-body.open { display: block; }
.miss-body strong { color: var(--text); }
.miss-consequence {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--miss-bg);
  border-left: 3px solid var(--miss-color);
  border-radius: 0 6px 6px 0;
  font-size: 12.5px;
  color: #7f1d1d;
  line-height: 1.6;
}
.miss-fix {
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--bokio-bg);
  border-left: 3px solid var(--bokio-color);
  border-radius: 0 6px 6px 0;
  font-size: 12.5px;
  color: #064e3b;
  line-height: 1.6;
}

/* ── BOKIO PAGE ────────────────────────────────────────── */
.bk-sec {
  background: var(--bg-card);
  border: 1.5px solid var(--bokio-border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.bk-hd {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 800;
  color: var(--bokio-color);
  background: var(--bokio-bg);
  border-bottom: 1px solid var(--bokio-border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.bk-body { padding: 18px 20px; }
.bk-step {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
  align-items: flex-start;
  padding: 18px 4px;
  border-bottom: 1px solid var(--bokio-border);
}
.bk-step:last-child { border-bottom: none; }
.bk-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bokio-color);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.bk-q {
  padding: 16px 20px;
  border-bottom: 1px solid var(--bokio-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .1s;
}
.bk-q:hover { background: var(--bokio-bg); }
.bk-q:nth-child(odd) { background: var(--bg-card); }
.bk-q:nth-child(even) { background: var(--bokio-bg); }
.bk-q:nth-child(even):hover { background: #fef3c7; }
.bk-q:last-of-type { border-bottom: none; }
.bk-q-title { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.5; }
.bk-a {
  display: none;
  padding: 18px 24px;
  background: #fffbeb;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.8;
  border-top: 2px solid var(--bokio-border);
}
.bk-nav {
  font-family: monospace;
  font-size: 11px;
  background: #fff;
  border: 1px solid var(--bokio-border);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--bokio-color);
}

/* ── ZEBRA STRIPING ────────────────────────────────────── */
/* Misstag-kort: jämna kort får rosa bakgrund på HEADER + BODY */
.miss-card:nth-child(even) .miss-header {
  background: #fce4e4 !important;
  border-color: #f5b8b8;
}
.miss-card:nth-child(even) {
  background: #fef6f6;
  border-color: #f5b8b8;
}

/* Bokio setup-steg: jämna steg med tydlig gul bakgrund */
.bk-step:nth-child(even) {
  background: #fef9ec;
}

/* Ordlista-termer: jämna termer med synlig bakgrund */
.ord-item:nth-child(even) {
  background: #edf4ff;
  border-color: #b5d0f5;
}
.ord-item:nth-child(even) .ord-header { background: #edf4ff; }
.ord-item:nth-child(even) .ord-header:hover { background: #dce9fb !important; }
.ord-item:nth-child(even) .ord-body { background: #e3eefb; }

/* Zebra på steg-kort — jämna rader får tydlig ljusblå ton */
.steps .step:nth-child(even) {
  background: #ddeaf8;
  border-color: #9bbfdf;
}

/* Bokio FAQ-frågor — zebra redan satt via nth-child(even) på .bk-q */
/* Resurser-lista — zebra redan satt via nth-child(even) på .res-item */

/* ── ORDLISTA PAGE ─────────────────────────────────────── */
.ord-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
  transition: border-color .15s;
}
.ord-item.open { border-color: var(--ord-border); }
.ord-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background .1s;
}
.ord-header:hover { background: var(--ord-bg); }
.ord-title { font-size: 15px; font-weight: 800; color: var(--ord-color); white-space: nowrap; flex-shrink: 0; }
.ord-short { font-size: 13px; color: var(--muted); line-height: 1.4; }
.ord-arr { color: var(--ord-color); font-size: 18px; transition: transform .2s; }
.ord-item.open .ord-arr { transform: rotate(90deg); }
.ord-body {
  display: none;
  padding: 16px 20px 18px;
  background: var(--ord-bg);
  border-top: 1px solid var(--ord-border);
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.75;
}
.ord-body p { margin: 0; }
.ord-aka {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted);
  font-style: italic;
}
.ord-cat-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--ord-bg);
  color: var(--ord-color);
  border: 1px solid var(--ord-border);
  white-space: nowrap;
}
.cat-btn { transition: all .15s; }

/* ── RESURSER PAGE ─────────────────────────────────────── */
.res-sec {
  background: var(--bg-card);
  border: 1.5px solid var(--res-border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.res-hd {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 800;
  color: var(--res-color);
  background: var(--res-bg);
  border-bottom: 1px solid var(--res-border);
}
.res-body { padding: 0; }
.res-item {
  padding: 20px 24px;
  border-bottom: 2px solid var(--border);
  background: var(--bg-card);
  transition: background .12s;
}
.res-item:last-child { border-bottom: none; }
.res-item:nth-child(even) { background: var(--bg-raised); }
.res-item:hover { background: var(--res-bg) !important; }
.res-item-main { flex: 1; }
.res-link {
  font-size: 15px;
  font-weight: 800;
  color: var(--res-color);
  text-decoration: underline;
  display: inline-block;
  margin-bottom: 6px;
}
.res-link:hover { color: var(--accent); }
.res-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.res-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2px;
}
.res-tip {
  margin-top: 10px;
  font-size: 12px;
  color: #78350f;
  background: #fffbeb;
  border: 1px solid var(--res-border);
  padding: 7px 12px;
  border-radius: 6px;
  line-height: 1.65;
}

/* ── FACT BOX ──────────────────────────────────────────── */
.fact-box {
  background: linear-gradient(135deg, #1e3a5f, #1e293b);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 40px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.fact-box-icon { font-size: 36px; flex-shrink: 0; }
.fact-box h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.fact-box p { font-size: 13.5px; color: #94a3b8; line-height: 1.7; }
.fact-box a { color: var(--accent); text-decoration: underline; }

/* ── BANNER ────────────────────────────────────────────── */
.banner {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1.5px solid #fde68a;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.banner-icon { font-size: 24px; flex-shrink: 0; }
.banner-text { font-size: 13.5px; color: #78350f; line-height: 1.7; }
.banner-text strong { color: #92400e; }

/* ── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--nav-bg);
  color: var(--nav-muted);
  padding: 48px 24px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-brand span { color: var(--accent); }
.footer-tagline { font-size: 13px; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .6px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link { font-size: 13px; color: var(--nav-muted); transition: color .15s; }
.footer-link:hover { color: #fff; }
.footer-bottom {
  max-width: 960px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: var(--accent); }

/* ── ENSKILD FIRMA BANNER ──────────────────────────────── */
.ef-banner {
  background: var(--ord-bg);
  border: 1.5px solid var(--ord-border);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.ef-banner-text { font-size: 13.5px; color: var(--ord-color); font-weight: 600; }
.ef-btn {
  background: var(--ord-color);
  color: #fff;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity .15s;
}
.ef-btn:hover { opacity: .85; }

/* ── TOOLTIPS ──────────────────────────────────────────── */
[data-tip]{position:relative;cursor:help}
[data-tip]::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:var(--bg-raised);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:9px 13px;font-size:12px;white-space:normal;width:240px;z-index:600;opacity:0;pointer-events:none;transition:opacity .15s;line-height:1.6;text-align:left;box-shadow:var(--shadow)}
[data-tip]:hover::after{opacity:1}
thead [data-tip]::after{bottom:auto;top:calc(100% + 8px)}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 680px) {
  .nav { padding: 0 16px; }
  .nav-search { display: none; }
  .nav-views  { display: none; }
  .nav-links { gap: 2px; }
  .nav-link { font-size: 12px; padding: 5px 9px; }
  .hero { padding: 48px 20px 56px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .fact-box { flex-direction: column; }
  .ef-banner { flex-direction: column; gap: 12px; }
}
