/* ══════════════════════════════════════════════════════════════════════
   EEP — Shared marketing/subpage styles
   Loaded on every public-facing subpage (about, commercial, healthcare,
   industrial, education, etc.) alongside css/app.css.
   Locked to the landing-page design system. Change here, change everywhere.
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --font-ui: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --page-bg: #f7f9fc; --white: #ffffff;
  --navy-950: #061836; --blue-700: #0b5ed7; --blue-650: #1268e8; --blue-600: #176ff2; --blue-500: #2d86ff; --blue-75: #f2f7ff;
  --text-950: #0c1f3f; --text-850: #162b52; --text-700: #3d4c66; --text-600: #526176; --text-500: #718097;
  --line: #dfe7f2; --line-soft: #edf2f8; --green: #17a56b;
  --shadow-soft: 0 10px 28px rgba(15, 38, 77, 0.07);
  --shadow-blue: 0 14px 28px rgba(18, 104, 232, 0.22);
  --container: 1320px;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-ui); font-size: 14px; font-weight: 400; line-height: 1.45; letter-spacing: -0.01em; background: var(--page-bg); color: var(--text-950); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 48px, var(--container)); margin: 0 auto; }

/* ── HEADER + DROPDOWN NAV ───────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; height: 66px; background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--line-soft); backdrop-filter: blur(18px); }
.nav { height: 66px; display: grid; grid-template-columns: 240px 1fr 240px; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.brand-logo { color: var(--blue-700); font-size: 31px; line-height: 1; font-weight: 900; letter-spacing: -0.09em; }
.brand-divider { width: 1px; height: 28px; background: #b8c9e5; }
.brand-subtitle { color: var(--blue-700); font-size: 10px; line-height: 1.15; font-weight: 700; }

.nav-links { display: flex; justify-content: center; align-items: stretch; gap: 34px; height: 100%; }
.nav-item { position: relative; display: inline-flex; align-items: center; height: 100%; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-700); font-size: 13px; font-weight: 600; line-height: 1; transition: color 160ms ease; cursor: pointer; height: 100%; }
.nav-link:hover { color: var(--blue-700); }
.chevron { font-size: 10px; color: #8aa0bf; margin-top: 1px; transition: transform 200ms ease; }
.nav-item:hover .chevron { transform: rotate(180deg); color: var(--blue-700); }

.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: white; border: 1px solid var(--line-soft); border-radius: 12px; box-shadow: 0 14px 32px rgba(15, 38, 77, 0.08); padding: 8px; min-width: 200px; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1); z-index: 100; }
.dropdown-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-item { display: block; padding: 10px 14px; color: var(--text-700); font-size: 13px; font-weight: 500; border-radius: 8px; transition: background 150ms ease, color 150ms ease; text-align: left; }
.dropdown-item:hover { background: var(--blue-75); color: var(--blue-700); }

.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.login-link { color: var(--text-700); font-size: 13px; font-weight: 600; line-height: 1; }
.login-link:hover { color: var(--blue-700); }

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 17px; border-radius: 8px; border: 1px solid transparent; font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer; white-space: nowrap; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease; text-decoration: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); box-shadow: var(--shadow-blue); }
.btn-secondary { color: var(--blue-700); background: white; border-color: #bcd2f3; box-shadow: 0 8px 20px rgba(15, 38, 77, 0.05); }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.footer { position: relative; background: linear-gradient(180deg, #062a63 0%, #041c46 100%); color: #c8d8f3; padding: 40px 0 24px; overflow: hidden; margin-top: 0; }
.footer::before { content: ""; position: absolute; right: -12%; top: -35%; width: 46%; height: 110%; border-radius: 50%; background: radial-gradient(circle, rgba(45, 134, 255, 0.16), transparent 58%); pointer-events: none; }
.footer::after { content: ""; position: absolute; left: -14%; bottom: -60%; width: 40%; height: 100%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 58%); pointer-events: none; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr repeat(4, 1fr) 1.28fr; gap: 28px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.footer-brand .brand-logo { color: white; }
.footer-brand .brand-divider { background: rgba(255, 255, 255, 0.28); }
.footer-brand .brand-subtitle { color: white; }
.footer-brand p { margin: 16px 0 16px; max-width: 285px; color: #c8d8f3; font-size: 11px; font-weight: 400; line-height: 1.55; }
.footer-cert-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 15px; }
.footer-cert { display: inline-flex; align-items: center; height: 23px; padding: 0 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.055); color: #dceaff; font-size: 9px; font-weight: 650; }
.socials { display: flex; gap: 10px; }
.social { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.22); color: white; background: rgba(255, 255, 255, 0.055); font-size: 11px; font-weight: 800; transition: transform 160ms ease, background 160ms ease; }
.social:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.12); }
.footer-col h4 { margin: 0 0 13px; color: white; font-size: 12px; font-weight: 700; line-height: 1.2; }
.footer-col a { display: block; margin-bottom: 8px; color: #c8d8f3; font-size: 11px; font-weight: 400; line-height: 1.5; transition: color 160ms ease, transform 160ms ease; }
.footer-col a:hover { color: white; transform: translateX(2px); }
.newsletter-card { border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; background: rgba(255, 255, 255, 0.055); padding: 14px; box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12); }
.newsletter p { margin: 0 0 12px; color: #c8d8f3; font-size: 11px; font-weight: 400; line-height: 1.5; }
.newsletter-form { display: flex; align-items: center; height: 40px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 9px; overflow: hidden; background: rgba(255, 255, 255, 0.07); }
.newsletter-form input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; padding: 0 12px; color: white; font-size: 11px; font-weight: 400; line-height: 1; }
.newsletter-form input::placeholder { color: #9fb3d6; }
.newsletter-form button { width: 44px; height: 100%; border: 0; border-left: 1px solid rgba(255, 255, 255, 0.18); background: rgba(45, 134, 255, 0.92); color: white; cursor: pointer; font-size: 13px; font-weight: 700; line-height: 1; transition: background 160ms ease; }
.newsletter-form button:hover { background: var(--blue-500); }
.footer-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 19px; color: #9fb3d6; font-size: 11px; font-weight: 400; line-height: 1; }
.footer-bottom-links { display: flex; align-items: center; gap: 26px; }
.footer-bottom-links a:hover { color: white; }

/* ── SUBPAGE HERO ───────────────────────────────────────────────── */
.subpage-hero { background: linear-gradient(160deg, #061836 0%, #0a2a5c 100%); color: #fff; padding: 70px 20px 60px; text-align: center; border-bottom: 1px solid var(--line); }
.subpage-hero .eyebrow { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; margin-bottom: 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); color: #9fc3f5; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.subpage-hero h1 { font-size: clamp(32px, 4vw, 42px); font-weight: 800; margin: 0 0 16px; letter-spacing: -0.04em; }
.subpage-hero p { font-size: 16px; color: #9fc3f5; max-width: 720px; margin: 0 auto; line-height: 1.6; }

/* ── PROSE / SUBPAGE CONTENT ────────────────────────────────────── */
.prose-container { max-width: 880px; margin: 60px auto 80px; padding: 0 24px; font-size: 15px; line-height: 1.7; color: var(--text-700); }
.prose-container h2 { font-size: 24px; font-weight: 800; color: var(--text-950); margin: 48px 0 16px; border-bottom: 1px solid var(--line-soft); padding-bottom: 10px; letter-spacing: -0.02em; }
.prose-container h3 { font-size: 18px; font-weight: 700; color: var(--text-850); margin: 28px 0 12px; }
.prose-container p { margin: 0 0 14px; }
.prose-container ul, .prose-container ol { padding-left: 22px; margin: 0 0 22px; }
.prose-container li { margin-bottom: 10px; }
.prose-container li strong { color: var(--text-950); }
.prose-container a { color: var(--blue-700); font-weight: 600; text-decoration: none; }
.prose-container a:hover { text-decoration: underline; }
.prose-container code { background: var(--blue-75); color: var(--blue-700); padding: 2px 6px; border-radius: 4px; font-size: 13px; font-weight: 600; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }

.prose-callout { border: 1px solid #d8e6fb; background: var(--blue-75); border-radius: 10px; padding: 14px 16px; margin: 18px 0 26px; color: var(--text-850); font-size: 13.5px; line-height: 1.55; }
.prose-callout strong { color: var(--blue-700); }
.prose-callout.warn { border-color: #f5c98a; background: #fff7ea; }
.prose-callout.warn strong { color: #b6680b; }
.prose-callout.success { border-color: #b4e1c9; background: #ecf9f1; }
.prose-callout.success strong { color: var(--green); }

.prose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0 28px; }
.prose-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow-soft); }
.prose-card h4 { margin: 0 0 6px; color: var(--text-950); font-size: 14px; font-weight: 700; }
.prose-card p { margin: 0; color: var(--text-600); font-size: 13px; line-height: 1.55; }

.cta-row { display: flex; gap: 12px; justify-content: center; margin: 36px 0 10px; flex-wrap: wrap; }
.cta-row .btn { height: 44px; padding: 0 22px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1180px) { .nav { grid-template-columns: 200px 1fr 190px; } .nav-links { gap: 20px; } .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .nav { grid-template-columns: 1fr auto; } .nav-links { display: none; } .brand-subtitle, .brand-divider { display: none; } .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } .footer-bottom-links { gap: 14px; flex-wrap: wrap; } }
