/* ==========================================================================
   enpropeL public website — design system (preview)
   Brand reference: studenthub-ui HomePage (HomeLanding.css, Navbar.css, Footer.css)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand */
  --enp-navy: #263256;
  --enp-navy-2: #1f3a6e;
  --enp-navy-3: #1b4a86;
  --enp-purple: #667eea;
  --enp-purple-2: #764ba2;
  --enp-blue: #2563eb;
  --enp-blue-hover: #3b82f6;
  --enp-blue-active: #1d4ed8;
  --enp-sky: #1890ff;
  --enp-gold: #ffd700;

  /* gradients */
  --g-hero: linear-gradient(135deg, var(--enp-purple) 0%, var(--enp-purple-2) 100%);
  --g-navy: linear-gradient(135deg, var(--enp-navy) 0%, var(--enp-navy-2) 50%, var(--enp-navy-3) 100%);
  --g-violet: linear-gradient(135deg, #2b1d5e 0%, #4b3a9a 50%, #764ba2 100%);
  --g-rule: linear-gradient(90deg, var(--enp-purple), var(--enp-purple-2), var(--enp-gold));

  /* neutrals */
  --ink: #1a1a2e;
  --ink-2: #2d3148;
  --text: #4b5563;
  --muted: #6b7280;
  --line: #e6e8f5;
  --tint: #f5f6ff;
  --tint-2: #eef1ff;
  --surface: #ffffff;

  /* semantic */
  --ok: #2f8a2f;
  --ok-bg: #e3f5e3;
  --warn: #c2620a;
  --warn-bg: #ffefdc;
  --danger: #d4380d;
  --danger-bg: #fff2e8;

  /* tones (icon tiles / cards) */
  --tone-purple-bg: #ece3f5; --tone-purple-fg: #764ba2;
  --tone-blue-bg: #e6f4ff;   --tone-blue-fg: #1677d6;
  --tone-green-bg: #e3f5e3;  --tone-green-fg: #2f8a2f;
  --tone-orange-bg: #ffefdc; --tone-orange-fg: #c2620a;
  --tone-cyan-bg: #ddf5f5;   --tone-cyan-fg: #0a8a8f;
  --tone-gold-bg: #fff7cc;   --tone-gold-fg: #8a6d00;

  /* shape & elevation */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(26, 26, 46, 0.06);
  --sh-2: 0 4px 14px rgba(26, 26, 46, 0.06);
  --sh-3: 0 14px 28px rgba(102, 126, 234, 0.2);
  --sh-4: 0 24px 56px rgba(30, 42, 82, 0.22);

  /* type */
  --f-head: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* layout */
  --wrap: 1240px;
  --wrap-wide: 1560px;
  --gutter: 32px;
  --header-h: 84px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
a { color: var(--enp-blue); text-decoration: none; }
a:hover { color: var(--enp-blue-active); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.35); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 8px; top: -48px; z-index: 2000; padding: 8px 14px; background: var(--enp-blue); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 8px; }
svg.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; flex-shrink: 0; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--wide { max-width: var(--wrap-wide); }
.wrap--narrow { max-width: 880px; }
.section { padding-top: 56px; padding-bottom: 56px; }
.section--sm { padding-top: 36px; padding-bottom: 36px; }
.section--lg { padding-top: 76px; padding-bottom: 72px; }
.band { position: relative; border-top: 1px solid var(--line); }
.band--white { background: #fff; }
.band--tint { background: var(--tint); }
.band--dark { border-top-color: rgba(255,255,255,0.08); background: var(--g-navy); color: #fff; }
.band--dark h1, .band--dark h2, .band--dark h3, .band--dark h4 { color: #fff; }
.band--dark p, .band--dark .section-head p { color: rgba(255,255,255,0.82); }
/* white cards keep dark ink even on dark bands */
.band--dark .card:not(.card--glass) h3, .band--dark .card:not(.card--glass) h4, .band--dark .step h4, .band--dark .plan:not(.plan--hot) h3 { color: var(--ink); }
.band--dark .card:not(.card--glass) p, .band--dark .step p { color: var(--text); }
.band--dark .list-check li, .band--dark .list-dot li { color: rgba(255,255,255,.85); }
.band--violet { background: var(--g-violet); color: #fff; }

.section-head { margin-bottom: 28px; text-align: center; }
.section-head h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.9rem); }
.section-head h2::after { content: ''; display: block; width: 56px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: var(--g-rule); }
.section-head p { max-width: 720px; margin: 12px auto 0; color: var(--text); font-size: 1rem; }
.section-head--left { text-align: left; }
.section-head--left h2::after { margin-left: 0; }
.section-head--left p { margin-left: 0; }
.eyebrow { display: inline-block; margin-bottom: 10px; color: var(--enp-purple-2); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.band--dark .eyebrow, .page-hero .eyebrow, .home-hero .eyebrow, .cta .eyebrow { color: var(--enp-gold); }
.center { display: flex; justify-content: center; margin-top: 28px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.grid { display: grid; gap: 20px; }
.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)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 1.5px solid transparent; border-radius: var(--r-sm);
  background: transparent; color: inherit; font: inherit; font-size: 0.95rem; font-weight: 600; line-height: 1.3;
  text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--lg { padding: 14px 28px; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary { border-color: var(--enp-blue); background: var(--enp-blue); color: #fff; box-shadow: 0 1px 2px rgba(37,99,235,.22); }
.btn--primary:hover { border-color: var(--enp-blue-hover); background: var(--enp-blue-hover); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.35); }
.btn--primary:active { background: var(--enp-blue-active); border-color: var(--enp-blue-active); }
.btn--outline { border-color: var(--enp-blue); background: #fff; color: var(--enp-blue); }
.btn--outline:hover { background: var(--enp-blue); color: #fff; }
.btn--gold { border-color: var(--enp-gold); background: var(--enp-gold); color: var(--enp-navy); }
.btn--gold:hover { background: #ffe34d; border-color: #ffe34d; color: var(--enp-navy); box-shadow: 0 6px 18px rgba(255,215,0,.35); }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--white { border-color: rgba(255,255,255,.85); background: #fff; color: var(--enp-blue); }
.btn--white:hover { background: #f3f6ff; color: var(--enp-blue-active); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn--link { padding: 0; border: 0; color: var(--enp-blue); font-weight: 600; }
.btn--link:hover { transform: none; text-decoration: underline; color: var(--enp-blue-active); }
.btn--success { border-color: var(--ok); background: var(--ok); color: #fff; }
.btn .ico { width: 18px; height: 18px; flex-shrink: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 5. Badges / chips / tags ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--tint-2); color: var(--ink-2); font-size: .74rem; font-weight: 600; line-height: 1.6; white-space: nowrap;
}
.badge--purple { background: var(--tone-purple-bg); color: var(--tone-purple-fg); }
.badge--blue { background: var(--tone-blue-bg); color: var(--tone-blue-fg); }
.badge--green { background: var(--tone-green-bg); color: var(--tone-green-fg); }
.badge--orange { background: var(--tone-orange-bg); color: var(--tone-orange-fg); }
.badge--cyan { background: var(--tone-cyan-bg); color: var(--tone-cyan-fg); }
.badge--gold { background: var(--tone-gold-bg); color: var(--tone-gold-fg); }
.badge--magenta { background: #fde7f3; color: #b0217a; }
.badge--red { background: var(--danger-bg); color: var(--danger); }
.badge--dark { background: var(--enp-navy); color: #fff; }
.badge--outline { background: transparent; border: 1px solid var(--line); color: var(--text); }
.tag { display: inline-flex; align-items: center; padding: 2px 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--text); font-size: .75rem; font-weight: 500; }

/* ---------- 6. Cards & icon tiles ---------- */
.card {
  display: flex; flex-direction: column; gap: 8px; padding: 22px 20px;
  border: 1px solid rgba(26,26,46,.08); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-2);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.card h3, .card h4 { font-size: 1rem; }
.card p { color: var(--text); font-size: .88rem; }
.card--accent { border-left: 4px solid var(--accent, var(--enp-purple)); }
.card--flat { box-shadow: none; }
.card--tint { background: var(--tint); border-color: transparent; }
.card--glass { background: rgba(255,255,255,.95); border-color: rgba(255,255,255,.2); color: var(--ink); box-shadow: var(--sh-2); backdrop-filter: blur(4px); }
.card--glass:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--sh-3); }
.card--glass h3, .card--glass h4 { color: var(--ink); }
.card--glass p { color: var(--text); }
.glass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .glass-grid { grid-template-columns: 1fr; } }

.icon-tile { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 11px; background: var(--tone-blue-bg); color: var(--tone-blue-fg); }
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile--sm { width: 36px; height: 36px; border-radius: 9px; }
.icon-tile--sm svg { width: 18px; height: 18px; }
.icon-tile--lg { width: 56px; height: 56px; border-radius: 14px; }
.icon-tile--lg svg { width: 28px; height: 28px; }
.tone-purple { background: var(--tone-purple-bg); color: var(--tone-purple-fg); --accent: var(--tone-purple-fg); }
.tone-blue { background: var(--tone-blue-bg); color: var(--tone-blue-fg); --accent: var(--tone-blue-fg); }
.tone-green { background: var(--tone-green-bg); color: var(--tone-green-fg); --accent: var(--tone-green-fg); }
.tone-orange { background: var(--tone-orange-bg); color: var(--tone-orange-fg); --accent: var(--tone-orange-fg); }
.tone-cyan { background: var(--tone-cyan-bg); color: var(--tone-cyan-fg); --accent: var(--tone-cyan-fg); }
.tone-gold { background: var(--tone-gold-bg); color: var(--tone-gold-fg); --accent: var(--tone-gold-fg); }
.icon-tile--white { background: #fff; }

.avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--g-hero); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: .9rem; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 64px; height: 64px; border-radius: 16px; font-size: 1.2rem; }

/* ---------- 7. Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--g-navy); color: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.site-header::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 20% 50%, rgba(24,144,255,.1), transparent 50%), radial-gradient(circle at 80% 50%, rgba(102,126,234,.1), transparent 50%); }
.header-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: var(--wrap-wide); margin: 0 auto; padding: 18px 16px; }
.brand { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; text-decoration: none; }
.brand__logo { display: block; width: 180px; height: 42px; }
.brand__tag { max-width: 230px; color: rgba(255,255,255,.72); font-size: .74rem; font-weight: 600; line-height: 1.25; }

.nav { display: flex; flex: 1; flex-wrap: wrap; justify-content: center; gap: 4px 10px; min-width: 0; }
.nav__item { position: relative; }
.nav__link {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 0; border-radius: 6px;
  background: transparent; color: #fff; font: inherit; font-size: .94rem; font-weight: 600; line-height: 1.4; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.nav__link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--enp-sky); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav__link:hover, .nav__link:focus-visible, .nav__item.open > .nav__link { color: #7cc0ff; background: rgba(255,255,255,.1); outline: none; }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: #7cc0ff; }
.caret { display: inline-block; width: 7px; height: 7px; margin-top: -4px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; opacity: .6; transform: rotate(45deg); transition: transform .15s ease; }
.nav__item:hover .caret, .nav__item.open .caret { margin-top: 3px; opacity: .95; transform: rotate(225deg); }

.nav__panel {
  display: none; position: absolute; top: 100%; left: 50%; z-index: 70; min-width: 260px; margin-top: 10px; padding: 8px;
  border: 1px solid var(--line); border-top: 3px solid var(--enp-sky); border-radius: var(--r-md); background: #fff; box-shadow: 0 18px 44px rgba(30,42,82,.18); transform: translateX(-50%);
}
.nav__panel::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__panel a, .nav__panel button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 16px; border: 0; border-left: 3px solid transparent; border-radius: 10px;
  background: none; color: var(--ink-2); font-size: .9rem; font-weight: 500; text-align: left; white-space: nowrap; text-decoration: none; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.nav__panel a:hover, .nav__panel a:focus-visible, .nav__panel button:hover { border-left-color: var(--enp-sky); background: #eaf3ff; color: #0958d9; outline: none; }
.nav__panel a .hint { margin-left: auto; color: var(--muted); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.nav__item.open > .nav__panel { display: block; }
.nav__item--more { position: static; }
/* Sized to its content, not a fixed 4-column width — the number of sections (Sponsorship,
   Social, …) varies as items move in/out of "More", so a hardcoded repeat(4, 1fr) grid left
   huge empty space whenever there were fewer than 4 sections. */
.nav__panel--mega { top: 100%; left: auto; right: 0; min-width: 0; width: max-content; max-width: calc(100vw - 32px); margin-top: 0; transform: none; padding: 30px 28px 28px; border-radius: 0 0 var(--r-xl) var(--r-xl); box-shadow: var(--sh-4); }
.nav__panel--mega::before { top: -44px; height: 44px; }
.nav__item.open > .nav__panel--mega { display: flex; align-items: flex-start; gap: 0; }
.nav__section { display: flex; flex-direction: column; flex: 0 0 auto; width: 240px; gap: 4px; }
.nav__section + .nav__section { padding-left: 28px; border-left: 1px solid var(--line); margin-left: 28px; }
.nav__heading { margin-bottom: 8px; padding: 0 16px 10px; border-bottom: 1px solid var(--line); color: #7a8299; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
@media (min-width: 1101px) and (hover: hover) {
  .nav__item:hover > .nav__panel, .nav__item:focus-within > .nav__panel { display: block; }
  .nav__item:hover > .nav__panel--mega, .nav__item:focus-within > .nav__panel--mega { display: flex; align-items: flex-start; gap: 0; }
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-actions .btn { padding: 8px 16px; font-size: .85rem; }
.header-actions .btn--ghost-light { border-color: rgba(255,255,255,.55); }
.header-actions .btn--ghost-light:hover { border-color: #fff; }
.header-actions .btn--sky { border-color: var(--enp-sky); background: var(--enp-sky); color: #fff; }
.header-actions .btn--sky:hover { border-color: #40a9ff; background: #40a9ff; box-shadow: 0 4px 12px rgba(24,144,255,.3); }

.nav-toggle { display: none; flex-direction: column; justify-content: center; flex-shrink: 0; gap: 5px; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 8px; background: transparent; }
.nav-toggle span { width: 22px; height: 2px; margin: 0 auto; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 8. Announcement ribbon ---------- */
/* Same markup/style as the "site" layout's ribbon (assets/css/site/Navbar.css) — kept as a
   duplicate rule set here (rather than a shared stylesheet) because the two layouts load
   entirely separate CSS bundles by design (see build.js buildProdPage()). */
.home-ribbon { background: #0f2d4a; color: #ffffff; overflow: hidden; border-bottom: 2px solid #ffd700; padding: 8px 0; }
.home-ribbon-track { display: inline-flex; gap: 48px; white-space: nowrap; animation: ribbon-scroll 86s linear infinite; will-change: transform; }
.home-ribbon-item { display: inline-flex; align-items: center; gap: 10px; padding-right: 24px; }
.home-ribbon-label { font-weight: 700; color: #ffd700; text-transform: uppercase; letter-spacing: 0.4px; }
.home-ribbon-message { font-weight: 500; letter-spacing: 0.2px; }
@keyframes ribbon-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .home-ribbon-track { animation: none; width: auto; white-space: normal; } .home-ribbon-item + .home-ribbon-item { display: none; } }

/* ---------- 9. Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 56px; background: var(--g-hero); color: #fff; }
.page-hero::before { content: ''; position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(rgba(255,255,255,.8) 1.5px, transparent 1.5px); background-size: 26px 26px; pointer-events: none; }
.page-hero::after { content: ''; position: absolute; right: -140px; bottom: -180px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255,215,0,.26), transparent 65%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); font-weight: 700; text-shadow: 2px 2px 4px rgba(0,0,0,.2); }
.page-hero h1 .accent { color: var(--enp-gold); }
.page-hero p.lead { max-width: 760px; margin-top: 14px; color: rgba(255,255,255,.92); font-size: 1.05rem; }
.page-hero--center { text-align: center; }
.page-hero--center p.lead { margin-left: auto; margin-right: auto; }
.page-hero--compact { padding: 44px 0 40px; }
.page-hero--compact h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.page-hero--center .page-hero__ctas { justify-content: center; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.page-hero__art img { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--r-xl); border: 4px solid rgba(255,255,255,.6); box-shadow: 0 24px 50px rgba(15,20,60,.35); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; color: rgba(255,255,255,.75); font-size: .8rem; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-stat { padding: 10px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-md); background: rgba(255,255,255,.12); backdrop-filter: blur(4px); }
.hero-stat strong { display: block; font-family: var(--f-head); font-size: 1.2rem; color: var(--enp-gold); line-height: 1.1; }
.hero-stat span { font-size: .76rem; color: rgba(255,255,255,.85); }

/* ---------- 10. CTA band ---------- */
.cta { position: relative; overflow: hidden; padding: 34px 0; background: var(--g-navy); color: #fff; }
.cta::before { content: ''; position: absolute; top: -60%; right: -5%; width: 40%; height: 220%; background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.06) 50%, transparent 100%); transform: rotate(12deg); pointer-events: none; }
.cta__row { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { color: #fff; font-size: 1.4rem; }
.cta p { margin-top: 4px; color: rgba(255,255,255,.78); font-size: .92rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta--light { background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
.cta--light h2 { color: var(--enp-navy); }
.cta--light p { color: var(--text); }
.cta--purple { background: var(--g-hero); }

/* ---------- 11. Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(6, 1fr); gap: 24px; padding: 48px 0 28px; }
.footer-brand img { width: 160px; height: 40px; }
.footer-brand p { margin-top: 10px; color: var(--text); font-size: .85rem; line-height: 1.5; }
.socials { display: flex; gap: 14px; margin-top: 16px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--tint); color: var(--enp-blue); transition: background .15s ease, color .15s ease, transform .15s ease; }
.socials a:hover { background: var(--enp-blue); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-col h5 { margin: 0 0 14px; color: var(--ink); font-size: .9rem; font-weight: 700; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--text); font-size: .82rem; }
.footer-col a:hover { color: var(--enp-blue); }
.footer-col a .hint { margin-left: 6px; color: var(--muted); font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 0 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.footer-bottom a { color: var(--muted); }

/* ---------- 12. Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { color: var(--ink-2); font-size: .86rem; font-weight: 600; }
.field label .req { color: var(--danger); margin-left: 2px; }
.field .hint { color: var(--muted); font-size: .76rem; }
.input, .select, .textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  font: inherit; font-size: .95rem; line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder, .textarea::placeholder { color: #9aa1b5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--enp-blue); box-shadow: 0 0 0 4px rgba(37,99,235,.14); }
.textarea { min-height: 150px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: #9aa1b5; pointer-events: none; }
.input-icon .input { padding-left: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--tint); color: var(--text); font-size: .82rem; }
.form-note svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--enp-blue); margin-top: 2px; }
.count { color: var(--muted); font-size: .74rem; text-align: right; }

/* ---------- 13. Sample / API data indicators ---------- */
.sample-banner { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px dashed #c9a400; border-radius: var(--r-md); background: #fffbe6; color: #5b4a00; font-size: .84rem; }
.sample-banner svg { flex-shrink: 0; width: 18px; height: 18px; color: #a14d00; }
.sample-banner code { padding: 1px 6px; border-radius: 4px; background: #fff; border: 1px solid #f3e4a8; font-size: .78rem; }
.sample-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border: 1px dashed #c9a400; border-radius: var(--r-pill); background: #fffbe6; color: #7a5a00; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.api-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border: 1px solid #b7d4ff; border-radius: var(--r-pill); background: #eaf3ff; color: #0958d9; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.static-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border: 1px solid #cfe8cf; border-radius: var(--r-pill); background: #effaef; color: #2f6f2f; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.preview-bar { position: fixed; left: 12px; bottom: 12px; z-index: 1500; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(26,26,46,.92); color: #fff; font-size: .74rem; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.preview-bar strong { color: var(--enp-gold); }
.preview-bar button { border: 0; background: transparent; color: rgba(255,255,255,.7); font-size: 1rem; line-height: 1; padding: 0 2px; }
.preview-bar button:hover { color: #fff; }

/* ---------- 14. Misc components ---------- */
.stat-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--tint); }
.stat-card svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--enp-purple-2); margin-top: 2px; }
.stat-card span { display: block; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stat-card strong { display: block; color: var(--ink); font-size: .92rem; font-weight: 600; line-height: 1.35; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }

.kpi { text-align: center; padding: 22px 16px; }
.kpi strong { display: block; font-family: var(--f-head); font-size: 2rem; font-weight: 700; line-height: 1.1; background: var(--g-hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi span { display: block; margin-top: 6px; color: var(--text); font-size: .85rem; }

.list-check li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--text); font-size: .92rem; }
.list-check li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--tone-green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f8a2f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; }
.list-dot li { position: relative; padding-left: 14px; margin-bottom: 6px; color: var(--text); font-size: .86rem; }
.list-dot li::before { content: ''; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--enp-purple-2); }

.faq { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq + .faq { margin-top: 12px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; color: var(--ink); font-family: var(--f-head); font-weight: 600; font-size: .98rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--tint-2); color: var(--enp-purple-2); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.faq[open] summary::after { content: '−'; }
.faq p { padding: 0 18px 18px; color: var(--text); font-size: .9rem; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 24px 20px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 12px; border-radius: 10px; background: var(--g-hero); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: .9rem; }
.step h4 { font-size: .98rem; margin-bottom: 6px; }
.step p { color: var(--text); font-size: .86rem; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); font-size: .9rem; }
.alert svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; }
.alert--info { background: #eaf3ff; color: #0b3d91; }
.alert--warn { background: #fff7e6; color: #7a4a00; }
.alert--ok { background: var(--ok-bg); color: #1f5c1f; }
.alert--danger { background: var(--danger-bg); color: #8a2a0a; }

[hidden] { display: none !important; }
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 56px 20px; color: var(--muted); text-align: center; }
.empty svg { width: 56px; height: 56px; color: #c7cbe0; }
.empty strong { color: var(--ink-2); font-size: 1.05rem; }
.skeleton { border-radius: var(--r-md); background: linear-gradient(100deg, #e4e7f8 30%, #f2f4ff 50%, #e4e7f8 70%) 0 0 / 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.divider { height: 1px; background: var(--line); margin: 24px 0; }
.text-muted { color: var(--muted); }
.text-small { font-size: .85rem; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }

/* ---------- 15. Modal (lightweight, preview only) ---------- */
.modal { position: fixed; inset: 0; z-index: 1600; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15,23,42,.6); }
.modal.is-open { display: flex; }
.modal__box { width: 100%; max-width: 520px; padding: 28px 26px 22px; border-radius: 16px; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.35); animation: pop .18s ease; }
.modal__box h3 { font-size: 1.15rem; margin-bottom: 8px; }
.modal__box p { color: var(--text); font-size: .92rem; }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1500px) { .brand__tag { display: none; } }
@media (max-width: 1399px) { .brand__logo { width: 150px; height: 36px; } .nav__link { padding: 12px 10px; font-size: .9rem; } }
@media (max-width: 1239px) { .nav__link { padding: 10px 8px; font-size: .86rem; } .header-actions .btn { padding: 7px 12px; font-size: .8rem; } }
@media (max-width: 1100px) {
  .header-row { flex-wrap: wrap; padding: 14px 16px; }
  .brand { order: 1; } .header-actions { order: 2; margin-left: auto; } .nav-toggle { display: flex; order: 3; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 60; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0; max-height: 72vh; padding: 10px 22px 16px; overflow-y: auto; border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; background: #fff; box-shadow: 0 12px 24px rgba(30,42,82,.15); }
  .nav.is-open { display: flex; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 0; color: var(--ink-2); font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link:hover, .nav__link.active, .nav__item.open > .nav__link { background: transparent; color: #0958d9; }
  .nav__link::after { display: none; }
  .nav__panel { display: block; position: static; min-width: 0; max-height: 0; margin: 0; padding: 0 0 0 14px; overflow: hidden; border: 0; border-left: 2px solid transparent; border-radius: 0; background: transparent; box-shadow: none; transform: none; transition: max-height .2s ease; }
  .nav__panel::before { display: none; }
  .nav__panel--mega, .nav__item.open > .nav__panel--mega { display: block; width: auto; padding: 0 0 0 14px; border-radius: 0; box-shadow: none; }
  .nav__section + .nav__section { padding-left: 0; margin-left: 0; border-left: 0; }
  .nav__heading { margin-bottom: 0; padding: 10px 6px 4px; border-bottom: 0; font-size: .7rem; }
  .nav__item.open > .nav__panel { max-height: 900px; margin-bottom: 4px; padding-top: 2px; padding-bottom: 2px; border-left-color: var(--line); }
  .nav__panel a, .nav__panel button { padding: 8px 6px; border-left: 0; font-size: .86rem; white-space: normal; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__art { display: none; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section { padding-top: 44px; padding-bottom: 44px; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .section { padding-top: 36px; padding-bottom: 36px; }
  .section--lg { padding-top: 48px; padding-bottom: 44px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .steps, .form-grid, .stat-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 44px 0 40px; }
  .page-hero__ctas .btn, .cta__actions .btn { flex: 1 1 100%; }
  .cta__row { flex-direction: column; align-items: flex-start; }
  .cta__actions { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .brand__logo { width: 118px; height: 30px; }
  .header-actions .btn { padding: 7px 10px; font-size: .78rem; }
  .preview-bar { left: 8px; right: 8px; bottom: 8px; }
}
@media (max-width: 420px) {
  .brand__logo { width: 96px; height: 24px; }
  .header-actions { gap: 5px; }
  .header-actions .btn { padding: 6px 9px; font-size: .74rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media print { .site-header, .site-footer, .preview-bar, .home-ribbon { display: none !important; } }
