:root {
    --nsu-green: #007A53;
    --nsu-green-dark: #005E40;
    --nsu-green-deep: #003F2C;
    --nsu-gold: #F3D03E;
    --nsu-gold-soft: #FFF4B8;
    --nsu-gray: #54585A;
    --ink: #17211e;
    --muted: #66706d;
    --surface: #ffffff;
    --surface-soft: #f5f8f7;
    --line: #dce5e1;
    --shadow: 0 18px 55px rgba(20, 54, 43, 0.10);
    --shadow-hover: 0 24px 68px rgba(20, 54, 43, 0.18);
    --radius-lg: 24px;
    --radius-md: 18px;
    --shell: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 9999; transform: translateY(-160%);
    background: #fff; color: var(--nsu-green-dark); padding: 10px 14px; border-radius: 8px; font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.top-stripe { height: 5px; background: linear-gradient(90deg, var(--nsu-green) 0 68%, var(--nsu-gold) 68% 88%, var(--nsu-gray) 88%); }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(84,88,90,.12); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.18; }
.brand-kicker { color: var(--nsu-green); text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 900; }
.brand-title { font-size: 1.12rem; font-weight: 800; margin-top: 5px; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.portal-label { color: var(--nsu-gray); font-weight: 700; font-size: .92rem; padding-right: 20px; border-right: 1px solid var(--line); }
.nsu-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--nsu-green-dark); font-weight: 800; font-size: .9rem; }
.nsu-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nsu-link:hover { color: var(--nsu-green); }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--nsu-green-deep), var(--nsu-green) 72%, #0b8b63); color: #fff; }
.hero-grid { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(90deg, black, transparent 78%); }
.hero-glow { position: absolute; border-radius: 999px; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 420px; height: 420px; background: rgba(243,208,62,.17); top: -170px; right: 8%; }
.hero-glow-two { width: 280px; height: 280px; background: rgba(255,255,255,.07); bottom: -120px; left: 38%; }
.hero-content { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); gap: 68px; align-items: center; min-height: 530px; padding-block: 82px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; font-weight: 900; color: #eefbf7; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nsu-gold); box-shadow: 0 0 0 6px rgba(243,208,62,.12); }
.hero h1 { margin: 20px 0 18px; max-width: 780px; font-size: clamp(3rem, 6vw, 5.25rem); line-height: .98; letter-spacing: -.045em; font-weight: 850; }
.hero-copy > p { max-width: 760px; margin: 0; color: rgba(255,255,255,.83); font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 21px; border-radius: 12px; text-decoration: none; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--nsu-gold); color: #18231f; box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.btn-gold:hover { background: #ffdd52; }
.hero-note { color: rgba(255,255,255,.74); font-size: .95rem; }
.hero-note strong { color: #fff; font-size: 1.15rem; }
.hero-panel { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); border-radius: 24px; padding: 24px; box-shadow: 0 28px 80px rgba(0,0,0,.16); backdrop-filter: blur(14px); }
.hero-panel-label { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.13); font-size: .74rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 900; color: var(--nsu-gold); }
.metric-row { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.10); }
.metric-row:last-child { border-bottom: 0; padding-bottom: 0; }
.metric-value, .metric-icon { width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; color: var(--nsu-gold); font-weight: 900; font-size: 1.2rem; }
.metric-row strong, .metric-row span { display: block; }
.metric-row strong { font-size: .96rem; }
.metric-row span { margin-top: 3px; color: rgba(255,255,255,.66); font-size: .84rem; }

.directory-section { padding: 86px 0 100px; background: linear-gradient(180deg, #fff, #f7faf9); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 34px; }
.section-kicker { display: block; color: var(--nsu-green); font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 900; margin-bottom: 9px; }
.section-kicker.light { color: var(--nsu-gold); }
.section-heading h2, .info-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; line-height: 1.1; }
.section-heading p { margin: 10px 0 0; color: var(--muted); }
.search-wrap { width: min(360px, 100%); position: relative; flex: 0 0 auto; }
.search-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; fill: none; stroke: #7b8581; stroke-width: 1.8; pointer-events: none; }
.search-wrap input { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); padding: 0 16px 0 45px; outline: none; box-shadow: 0 8px 24px rgba(16,55,42,.04); transition: border .2s, box-shadow .2s; }
.search-wrap input:focus { border-color: var(--nsu-green); box-shadow: 0 0 0 4px rgba(0,122,83,.10); }

.systems-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.system-card { position: relative; display: flex; flex-direction: column; min-height: 390px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.97); box-shadow: var(--shadow); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.system-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--accent, var(--nsu-green)); }
.system-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: #cad7d2; }
.accent-green { --accent: var(--nsu-green); --accent-soft: rgba(0,122,83,.09); }
.accent-gold { --accent: #d6aa00; --accent-soft: rgba(243,208,62,.20); }
.accent-gray { --accent: var(--nsu-gray); --accent-soft: rgba(84,88,90,.10); }
.card-topline { display: flex; align-items: center; justify-content: space-between; }
.system-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.system-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.system-number { font-size: 2.25rem; color: #e8eeeb; font-weight: 900; letter-spacing: -.05em; }
.system-category { margin-top: 25px; color: var(--accent); font-size: .73rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.system-card h3 { margin: 8px 0 12px; font-size: 1.45rem; line-height: 1.22; letter-spacing: -.02em; }
.system-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.72; }
.card-footer { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #edf1ef; }
.availability { display: inline-flex; align-items: center; gap: 8px; color: #62706a; font-size: .83rem; font-weight: 700; }
.availability span { width: 8px; height: 8px; border-radius: 50%; background: #27a870; box-shadow: 0 0 0 4px rgba(39,168,112,.12); }
.launch-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--nsu-green-dark); font-weight: 900; font-size: .9rem; }
.launch-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.launch-link:hover { color: var(--nsu-green); }
.launch-link:hover svg { transform: translate(2px,-2px); }
.no-results { text-align: center; padding: 64px 20px; border: 1px dashed #cfd9d5; border-radius: 22px; background: #fff; }
.no-results-icon { font-size: 2.5rem; color: var(--nsu-green); }
.no-results h3 { margin: 10px 0 3px; }
.no-results p { margin: 0; color: var(--muted); }

.info-band { background: var(--nsu-green-deep); color: #fff; }
.info-band-inner { padding-block: 66px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.info-band p { max-width: 640px; color: rgba(255,255,255,.70); margin: 16px 0 0; }
.info-points { display: grid; gap: 12px; }
.info-points div { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.info-points div:last-child { border-bottom: 0; }
.info-points span { color: var(--nsu-gold); font-size: .82rem; font-weight: 900; }
.info-points strong { font-size: .96rem; }

.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-inner { min-height: 104px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; font-size: .87rem; color: #6d7773; }
.footer-inner strong, .footer-inner span { display: block; }
.footer-inner strong { color: var(--nsu-green-dark); font-size: .9rem; }
.footer-center { font-weight: 800; color: var(--nsu-gray); }
.footer-right { text-align: right; }

@media (max-width: 940px) {
    .portal-label { display: none; }
    .hero-content { grid-template-columns: 1fr; gap: 40px; min-height: auto; }
    .hero-panel { max-width: 620px; }
    .systems-grid { grid-template-columns: 1fr; }
    .info-band-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 700px) {
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .header-inner { min-height: 74px; }
    .brand-kicker { font-size: .63rem; }
    .brand-title { font-size: .98rem; }
    .nsu-link { font-size: 0; gap: 0; }
    .nsu-link svg { width: 21px; height: 21px; }
    .hero-content { padding-block: 62px; }
    .hero h1 { font-size: clamp(2.6rem, 14vw, 4.1rem); }
    .hero-panel { padding: 20px; }
    .section-heading { align-items: stretch; flex-direction: column; }
    .search-wrap { width: 100%; }
    .directory-section { padding: 64px 0 74px; }
    .system-card { min-height: 0; padding: 24px; }
    .card-footer { align-items: flex-start; flex-direction: column; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; padding: 28px 0; }
    .footer-right { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
