/* ── BoardAgent Design System ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0f1e35;
  --blue:   #3b82f6;
  --blue-light: #60a5fa;
  --text:   #1a2332;
  --muted:  #64748b;
  --border: #e2e8f0;
  --bg-alt: #f8f9fa;
  --white:  #ffffff;
  --radius: 8px;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAVIGATION ── */
.nav {
  background: var(--navy);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-logo {
  font-family: Georgia, serif;
  font-size: 22px;
  color: var(--white);
  line-height: 1;
}

.nav-logo span { color: var(--blue); font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); text-decoration: none; }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 14px;
  transition: background 0.2s;
}

.nav-cta:hover { background: #2563eb; }

/* ── HERO ── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 5% 72px;
}

.hero-inner { max-width: 760px; }

.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 em { color: var(--blue-light); font-style: normal; }

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}

.btn-primary:hover { background: #2563eb; text-decoration: none; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.8);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.3);
  margin-left: 12px;
  transition: all 0.2s;
}

.btn-secondary:hover { border-color: white; color: white; text-decoration: none; }

/* ── SECTIONS ── */
.section { padding: 72px 5%; }
.section-alt { background: var(--bg-alt); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section h2 {
  font-family: Georgia, serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
  max-width: 640px;
}

.section p.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  background: var(--white);
}

.card-top {
  border-top: 3px solid var(--blue);
  padding-top: 20px;
}

.card h3 {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.card p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }

.card ul { list-style: none; padding: 0; }

.card ul li {
  font-size: 14px;
  color: var(--text);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 12px;
  top: 7px;
}

/* ── DIAGNOSTIC FEATURE ── */
.diag-feature {
  background: var(--navy);
  border-radius: 16px;
  padding: 48px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  max-width: 900px;
}

.diag-tag {
  display: inline-block;
  background: rgba(59,130,246,0.2);
  color: var(--blue-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.diag-feature h2 {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  max-width: 100%;
}

.diag-feature p { color: rgba(255,255,255,0.75); font-size: 15px; margin-bottom: 24px; }

.diag-meta { display: flex; gap: 24px; margin-bottom: 28px; }

.diag-meta-item { text-align: center; }
.diag-meta-item .num {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--blue-light);
  display: block;
}
.diag-meta-item .lbl { font-size: 12px; color: rgba(255,255,255,0.6); }

.btn-diag {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-diag:hover { background: #2563eb; text-decoration: none; }
.btn-diag-green { background: #22c55e; }
.btn-diag-green:hover { background: #16a34a; }
.btn-diag-purple { background: #a855f7; }
.btn-diag-purple:hover { background: #9333ea; }
.btn-diag-indigo { background: #4f46e5; }
.btn-diag-indigo:hover { background: #4338ca; }

/* ── NEWSLETTER BAND ── */
.newsletter-band {
  background: var(--bg-alt);
  border-left: 4px solid var(--blue);
  padding: 32px 40px;
  border-radius: var(--radius);
  max-width: 700px;
}

.newsletter-band h3 {
  font-family: Georgia, serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}

.newsletter-band p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }

.newsletter-band a {
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}

/* ── DATA SECURITY ── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin-top: 32px;
}

.security-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.security-item .icon { font-size: 24px; margin-bottom: 8px; }
.security-item h4 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.security-item p { font-size: 12px; color: var(--muted); }

/* ── CTA BAND ── */
.cta-band {
  background: var(--navy);
  padding: 72px 5%;
  text-align: center;
  color: var(--white);
}

.cta-band h2 {
  font-family: Georgia, serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  margin-bottom: 16px;
}

.cta-band p { color: rgba(255,255,255,0.7); font-size: 17px; margin-bottom: 32px; }

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 40px 5% 24px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-brand .logo {
  font-family: Georgia, serif;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-brand .logo span { color: var(--blue); font-weight: 700; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.6); max-width: 260px; }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: white; }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ── UTILITIES ── */
.max-w { max-width: 1100px; margin: 0 auto; }
.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* ── LANGUAGE TOGGLE ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-toggle {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.38);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.lang-toggle:hover { border-color: rgba(255,255,255,0.4); }
.lang-toggle .lt-sep { opacity: 0.25; font-size: 10px; }
.lang-toggle .lt-active { color: white; }

/* ── HOW-LIST (numbered differentiators) ── */
.how-list { max-width: 800px; border-top: 1px solid var(--border); }

.how-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.how-num {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.3;
  line-height: 1;
  padding-top: 3px;
}

.how-body h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.how-body p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ── ROLE CARDS (split-color horizontal) ── */
.role-list { max-width: 1100px; display: flex; flex-direction: column; gap: 16px; }

.role-card-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
}

.role-left {
  background: var(--navy);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.role-tag-sm {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.07);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.badge-demand {
  display: inline-block;
  background: rgba(59,130,246,0.2);
  color: var(--blue-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 6px;
}

.role-left h3 {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.role-usp {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.role-sessions-bottom { margin-top: 28px; }

.role-sessions-bottom .role-cap-label {
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}

.sessions-strip { display: flex; flex-wrap: wrap; gap: 5px; }

.sessions-strip span {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 11px;
  font-family: 'Courier New', monospace;
  color: var(--blue-light);
}

.role-right {
  background: var(--white);
  padding: 32px 40px;
}

.role-cap-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.role-right ul { list-style: none; padding: 0; margin: 0 0 24px 0; }

.role-right ul li {
  font-size: 14px;
  color: var(--text);
  padding: 4px 0 4px 16px;
  position: relative;
  line-height: 1.5;
}

.role-right ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 11px;
  top: 6px;
}

.role-change {
  background: rgba(59,130,246,0.05);
  border-left: 3px solid var(--blue);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  max-width: 560px;
}

.role-change-lbl {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 5px;
}

@media (max-width: 1080px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .nav-cta { padding: 7px 13px; font-size: 13px; }
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  .nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 8px 5% 20px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 99;
  }
  .nav.nav-open .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav.nav-open .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
  }
  .nav.nav-open .nav-links .nav-cta {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
  }
  .diag-feature { grid-template-columns: 1fr; }
  .hero p { font-size: 16px; }
  .btn-secondary { display: none; }
  .how-item { grid-template-columns: 36px 1fr; gap: 16px; padding: 24px 0; }
  .role-card-split { grid-template-columns: 1fr; }
  .role-left { justify-content: flex-start; }
  .role-sessions-bottom { margin-top: 20px; }
  .role-right { padding: 28px 24px; }
  .article-body h2 { font-size: 18px; }
  .article-nav { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── ARTICLE PAGES ── */
.article-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.article-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 32px;
  letter-spacing: 0.3px;
}
.article-back:hover { color: var(--blue); }

.article-issue-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.article-date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.article-title {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: normal;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 20px;
}

.article-hook {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  border-left: 3px solid var(--blue);
  padding-left: 20px;
  margin-bottom: 48px;
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #2d3748;
}

.article-body h2 {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: normal;
  color: var(--text);
  margin: 40px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.article-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 8px;
}

.article-body p { margin-bottom: 16px; }

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.article-body li { margin-bottom: 8px; }

.article-body strong { color: var(--text); font-weight: 600; }

.article-body em { font-style: italic; }

.article-callout {
  background: #f0f6ff;
  border: 1px solid rgba(59,130,246,0.2);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 40px 0;
}

.article-callout h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.article-callout ol {
  padding-left: 20px;
  color: var(--text);
}

.article-callout li { margin-bottom: 10px; font-size: 15px; line-height: 1.65; }

.article-case {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
  border: 1px solid var(--border);
}

.article-case-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.article-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.article-author {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--muted);
}

.article-author strong { color: var(--text); display: block; margin-bottom: 4px; }

.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  gap: 16px;
}

.article-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.article-nav a:hover { color: var(--blue-light); }

.article-nav-center {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* Prominent issue number in archive */
.nl-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
