
/* ---- Inlined shared styles ---- */
/* ============================================================
   AVAAS Shared Styles — avaas-shared.css
   Shared across all pages: variables, reset, header, footer,
   buttons, typography, layout, and responsive base.
   ============================================================ */

/* ---- Variables ---- */
:root {
  --white: #FFFFFF;
  --bg: #FAFAFA;
  --bg-warm: #E8E6E0;
  --bg-navy: #1B2A4A;
  --bg-navy-light: #243559;
  --border: #B0B8C1;
  --border-dark: #8B95A0;
  --navy: #1B2A4A;
  --navy-mid: #2C4066;
  --slate: #4A5568;
  --text: #1F2937;
  --text-light: #374151;
  --text-faint: #4B5563;
  --heading: #111827;
  --accent: #1B6B5A;
  --accent-light: #F0F7F5;
  --green: #22C55E;
  --red: #991B1B;
  --red-bg: #FDF2F2;
  --red-border: #F5D0D0;
  --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

/* ---- Layout ---- */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 32px; }

/* ---- Notice bar ---- */
.notice { background: var(--bg-warm); border-bottom: 1px solid var(--border); padding: 10px 32px; text-align: center; font-size: 13px; color: var(--slate); text-wrap: balance; }
.notice strong { color: var(--red); font-weight: 600; }

/* ---- Header ---- */
header { padding: 14px 0; border-bottom: none; background: var(--bg-navy); position: sticky; top: 0; z-index: 100; }
header .wrap { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--mono); font-size: 17px; font-weight: 500; color: var(--white); text-decoration: none; letter-spacing: 1px; }
.header-nav { display: flex; align-items: center; gap: 20px; }
.header-nav > a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; font-weight: 400; white-space: nowrap; }
.header-nav > a:hover { color: var(--white); }
.header-cta { background: var(--white); color: var(--navy) !important; padding: 7px 16px; border-radius: 4px; font-size: 12px !important; font-weight: 600 !important; transition: opacity 0.2s; white-space: nowrap; }
.header-cta:hover { opacity: 0.9 !important; }
.hamburger { display: none; }

/* ---- Dropdown menu ---- */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown > a { cursor: pointer; font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; font-weight: 400; white-space: nowrap; }
.nav-dropdown > a:hover { color: var(--white); }
.nav-dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 260px; background: var(--white); border: 1.5px solid var(--border); border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); padding: 8px 0; opacity: 0; visibility: hidden; transition: opacity 0.15s, visibility 0.15s; z-index: 200; padding-top: 16px; }
.nav-dropdown-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 20px; }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu a { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; font-size: 13px; color: var(--text); text-decoration: none; transition: background 0.1s; line-height: 1.4; white-space: nowrap; font-weight: 400; }
.nav-dropdown-menu a:hover { background: var(--bg-warm); color: var(--navy); }
.nav-dropdown-menu a .dd-name { font-weight: 500; }
.nav-dropdown-menu a .dd-status { font-family: var(--mono); font-size: 10px; letter-spacing: 0.5px; color: var(--text-faint); flex-shrink: 0; margin-left: 16px; }
.nav-dropdown-menu a .dd-status.live { color: var(--accent); }
.nav-dropdown-menu a .dd-status.soon { color: var(--red); }
.nav-dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* ---- Buttons ---- */
.btn-primary { display: inline-block; background: var(--navy); color: var(--white); padding: 12px 28px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 14px; transition: background 0.2s;  white-space: nowrap; }
.btn-primary:hover { background: var(--navy-mid); }
.btn-secondary { display: inline-block; color: var(--text-faint); padding: 12px 20px; text-decoration: none; font-weight: 500; font-size: 14px; transition: color 0.2s;  white-space: nowrap; }
.btn-secondary:hover { color: var(--heading); }

/* ---- Section base ---- */
.section { padding: 64px 0; }
.section-warm { background: var(--bg-warm); }
.section-navy { background: var(--bg-navy); }
.section-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--text-faint); text-transform: uppercase; margin-bottom: 12px; }
.section-heading { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--heading); margin-bottom: 14px; max-width: 640px; text-wrap: balance; line-height: 1.3; }
.section-intro { font-size: 15px; color: var(--text-light); margin-bottom: 36px; max-width: 640px; line-height: 1.75; text-wrap: pretty; }

/* ---- CTA section ---- */
.cta-section { padding: 64px 0; text-align: center; background: var(--bg-navy); border-bottom: none; }
.cta-section h2 { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 10px; max-width: 540px; margin-left: auto; margin-right: auto; text-wrap: balance; }
.cta-section p { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.7; text-wrap: pretty; }
.cta-section .btn-primary { background: var(--white); color: var(--navy);  white-space: nowrap; }
.cta-section .btn-primary:hover { opacity: 0.9; }
.cta-contact { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,0.45); }
.cta-contact a { color: rgba(255,255,255,0.6); text-decoration: none; }
.cta-contact a:hover { color: var(--white); }

/* ---- Footer ---- */
footer { padding: 32px 0; text-align: center; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.8; background: #141F33; }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: var(--white); }

/* ---- Responsive: shared elements ---- */
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .notice { padding: 10px 20px; font-size: 12px; line-height: 1.5; }
  header .wrap { gap: 12px; position: relative; }
  .logo svg { width: 180px; height: auto; }
  .hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 201; margin-left: auto; }
  .hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.8); border-radius: 1px; transition: transform 0.2s, opacity 0.2s; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-nav { gap: 0; display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-navy); border-top: 1px solid rgba(255,255,255,0.1); padding: 8px 0; z-index: 200; }
  .header-nav.open { display: flex; }
  .header-nav > a { display: block; padding: 12px 24px; font-size: 14px; color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 400; border-bottom: 1px solid rgba(255,255,255,0.06); text-align: center; }
  .header-nav > a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
  .header-nav > a.header-cta { margin: 8px 16px; padding: 10px 20px; text-align: center; border-radius: 4px; border-bottom: none; }
  .nav-dropdown { width: 100%; display: block; }
  .nav-dropdown > a { display: block !important; padding: 12px 24px; font-size: 14px; color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 400; border-bottom: 1px solid rgba(255,255,255,0.06); cursor: pointer; text-align: center; }
  .nav-dropdown-menu { position: static; opacity: 1 !important; visibility: visible !important; min-width: auto; background: rgba(255,255,255,0.03); border: none; border-radius: 0; box-shadow: none; padding: 0; margin: 0; display: none; transform: none; left: auto; }
  .nav-dropdown-menu.mobile-open { display: block; }
  .nav-dropdown-menu a { padding: 10px 24px 10px 40px; font-size: 13px; color: rgba(255,255,255,0.6) !important; border-bottom: 1px solid rgba(255,255,255,0.04); }
  .nav-dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: var(--white) !important; }
  .nav-dropdown-menu a .dd-status { color: rgba(255,255,255,0.4) !important; }
  .nav-dropdown-menu a .dd-status.live { color: var(--accent) !important; }
  .nav-dropdown-menu a .dd-status.soon { color: #F87171 !important; }
  .nav-dropdown-divider { background: rgba(255,255,255,0.06); margin: 4px 24px; }
  .header-cta { padding: 7px 14px; font-size: 12px !important; white-space: nowrap; }
  .section { padding: 40px 0; }
  .section-heading { font-size: 22px; }
  .section-intro { font-size: 14px; }
  .cta-section { padding: 40px 0; }
  .cta-section h2 { font-size: 22px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
}


/* Active nav state */
.header-nav a.nav-active { color: var(--white) !important; font-weight: 600 !important; }
.nav-dropdown > a.nav-active { color: var(--white) !important; font-weight: 600 !important; }



.ev-filter-label { font-family:var(--mono);font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:var(--text-faint);text-align:center;margin-bottom:10px; }
.ev-btn { font-family:var(--sans);font-size:12px;font-weight:500;padding:7px 16px;border:1.5px solid var(--border);background:transparent;color:var(--text-light);cursor:pointer;border-radius:4px;transition:all 0.2s; }
.ev-btn:hover { border-color:var(--accent);color:var(--accent); }
  .ev-share { display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:14px 28px 18px; border-top:1px solid var(--border); background:var(--white); }
  .ev-share-lbl { font-family:var(--mono); font-size:9px; letter-spacing:1.3px; text-transform:uppercase; color:var(--text-faint); margin-right:4px; }
  .ev-share a, .ev-share button { display:inline-block; font-family:var(--mono); font-size:10px; letter-spacing:0.8px; text-transform:uppercase; color:var(--text-light); background:transparent; border:1px solid var(--border); border-radius:4px; padding:6px 11px; cursor:pointer; text-decoration:none; line-height:1.2; white-space:nowrap; transition:border-color .15s, color .15s; }
  .ev-share a:hover, .ev-share button:hover { border-color:var(--accent); color:var(--accent); }
  .ev-share button.copied { border-color:#1B6B5A; color:#1B6B5A; }
  @media (max-width: 768px) {
    #ev-grid .ev-card { width: 100% !important; position: relative !important; }
  }
.ev-btn.active { background:var(--navy);color:var(--white);border-color:var(--navy); }
.ev-filter-controls { display:flex;gap:32px;justify-content:center;flex-wrap:wrap; }
.ev-filter-group { display:flex;flex-direction:column;gap:8px;min-width:240px; }
.ev-filter-group .ev-filter-label { text-align:left;margin-bottom:0; }
.ev-select { font-family:var(--sans);font-size:14px;font-weight:500;color:var(--heading);background:var(--white);border:1.5px solid var(--border);border-radius:6px;padding:11px 40px 11px 16px;cursor:pointer;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232A8E84' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;transition:border-color 0.2s; }
.ev-select:hover, .ev-select:focus { border-color:var(--accent);outline:none; }
.harm-filter { max-width:820px;margin:0 auto 28px;display:flex;flex-direction:column;gap:8px;align-items:flex-start; }
.harm-grid { max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:20px; }
.harm-card { background:var(--white);border:1.5px solid var(--border);border-radius:10px;padding:28px 30px;transition:border-color 0.2s,box-shadow 0.2s; }
.harm-card:hover { border-color:var(--accent);box-shadow:0 12px 28px -14px rgba(0,0,0,0.14); }
.harm-eyebrow { display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px; }
.harm-num { font-family:var(--mono);font-size:13px;font-weight:700;color:var(--accent);letter-spacing:1px; }
.harm-domain { font-family:var(--mono);font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:var(--heading);background:var(--bg-warm);border:1px solid var(--border);border-radius:3px;padding:4px 10px; }
.harm-alleged { font-family:var(--mono);font-size:9px;text-transform:uppercase;letter-spacing:1.5px;color:#A23D6E;border:1px solid rgba(162,61,110,0.5);border-radius:3px;padding:4px 8px; }
.harm-source { font-family:var(--mono);font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--text-faint);margin-left:auto; }
.harm-title { font-family:var(--serif);font-size:24px;font-weight:700;color:var(--heading);line-height:1.2;margin-bottom:14px; }
.harm-body { font-size:14px;line-height:1.65;color:var(--text-light);margin-bottom:20px; }
.harm-lesson { border-left:3px solid var(--accent);padding:4px 0 4px 18px;font-size:14px;line-height:1.6;color:var(--heading); }
.harm-lesson-label { display:block;font-family:var(--mono);font-size:9.5px;text-transform:uppercase;letter-spacing:1.5px;color:var(--accent);margin-bottom:6px; }
@media (max-width:768px) { .harm-title { font-size:20px; } .harm-source { margin-left:0; } .harm-section h2 { font-size:30px !important; } }
.ev-card { background:var(--white);border:1.5px solid var(--border);border-radius:8px;overflow:hidden;transition:all 0.3s;width:calc(50% - 12px);position:absolute; }
.ev-card:hover { transform:translateY(-2px);border-color:var(--accent);box-shadow:0 12px 28px -12px rgba(0,0,0,0.12); }
.ev-tag { font-family:var(--mono);font-size:9px;text-transform:uppercase;letter-spacing:1.5px;padding:4px 10px;background:transparent;border:1px solid var(--border);border-radius:3px;display:inline-block;color:var(--text-light); }
.ev-tag-academic { color:#2D7A50;border-color:rgba(45,122,80,0.55); }
.ev-tag-lab { color:#2B5CA0;border-color:rgba(43,92,160,0.55); }
.ev-tag-journalism { color:#6A3DA0;border-color:rgba(106,61,160,0.55); }
.ev-tag-regulatory { color:#9A3A1A;border-color:rgba(154,58,26,0.55); }
.ev-tag-litigation { color:#A23D6E;border-color:rgba(162,61,110,0.55); }
 .ev-industry { display:flex;flex-wrap:wrap;gap:6px; }
.ev-head { display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px; }
.ev-industry span { font-family:var(--mono);font-size:9.5px;letter-spacing:1px;text-transform:uppercase;color:#fff;border-radius:999px;padding:4px 10px;line-height:1; }

.ev-solution { background:var(--navy);color:var(--white);padding:24px 28px; }
.ev-solution .sol-label { font-family:var(--mono);font-size:9px;text-transform:uppercase;letter-spacing:2px;color:var(--accent);margin-bottom:10px; }
.ev-solution p { font-size:13px;line-height:1.6;color:rgba(255,255,255,0.85); }
.ev-solution strong { color:white; }
.ev-stat { text-align:center;padding:12px; }
.ev-stat .num { font-family:var(--serif);font-size:32px;font-weight:700;color:var(--accent);line-height:1; }
.ev-stat .lbl { font-family:var(--mono);font-size:8px;text-transform:uppercase;letter-spacing:1px;color:var(--text-faint);margin-top:4px; }
.ev-cite { font-family:var(--mono);font-size:9px;color:rgba(255,255,255,0.5);margin-top:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,0.1);line-height:1.5; }
.ev-cite a { color:var(--accent);text-decoration:none; }
.ev-cite a:hover { text-decoration:underline; }
.ev-verified { color:#7FBE9D;text-transform:uppercase;letter-spacing:1.5px;font-size:8px; }
