:root {
  --cmit-navy: #0f2d4f;
  --cmit-navy-2: #09213d;
  --cmit-red: #f3343f;
  --cmit-red-dark: #c91f2a;
  --white: #ffffff;
  --text-soft: #d9ebff;
  --text-muted: #9fbad4;
  --green: #22c55e;
  --card: rgba(255, 255, 255, 0.075);
  --card-border: rgba(255, 255, 255, 0.14);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(243, 52, 63, 0.12), transparent 32rem), linear-gradient(180deg, var(--cmit-navy) 0%, var(--cmit-navy-2) 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.28;
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 1rem; background: var(--white); color: var(--cmit-navy); padding: 0.75rem 1rem; border-radius: 999px; z-index: 1000; }
.skip-link:focus { left: 1rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 45, 79, 0.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; min-width: 180px; }
.brand img { display: block; width: 215px; max-width: 100%; height: auto; }
.top-nav { display: flex; align-items: center; justify-content: center; gap: 1.5rem; color: rgba(255, 255, 255, 0.82); font-weight: 700; font-size: 0.96rem; }
.top-nav a { padding: 0.55rem 0.15rem; border-bottom: 2px solid transparent; }
.top-nav a:hover, .top-nav a:focus { color: var(--white); border-bottom-color: var(--cmit-red); }
.status-pill { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.78rem 1rem; border-radius: 999px; color: #9df2bd; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.38); font-weight: 800; white-space: nowrap; }
.status-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14); }
.hero { position: relative; overflow: hidden; border-bottom: 4px solid var(--cmit-red); }
.dot-grid { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px); background-size: 34px 34px; opacity: 0.22; }
.hero-inner { position: relative; padding: 3.6rem 0 3rem; text-align: center; }
.eyebrow { margin: 0 0 1.2rem; color: #ff5a63; letter-spacing: 0.36em; text-transform: uppercase; font-weight: 900; font-size: 0.84rem; }
h1 { margin: 0 auto; max-width: 980px; font-size: clamp(3.2rem, 7vw, 5.8rem); line-height: 0.96; letter-spacing: -0.06em; font-weight: 950; }
h1 span { color: var(--cmit-red); }
.hero-copy { max-width: 820px; margin: 1.8rem auto 0; color: var(--text-soft); font-size: clamp(1.12rem, 2.2vw, 1.55rem); line-height: 1.52; }
.hero-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 1.25rem; margin-top: 2rem; color: var(--text-soft); font-size: 1rem; font-weight: 700; }
.hero-badges span { display: inline-flex; align-items: center; gap: 0.6rem; }
.hero-badges i { width: 0.72rem; height: 0.72rem; display: inline-block; border-radius: 50%; background: var(--cmit-red); }
.portal-content { padding: 2.4rem 0 4rem; }
.portal-section { margin-bottom: 2.4rem; scroll-margin-top: 110px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.4rem, 2vw, 2rem); letter-spacing: -0.03em; }
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.tile { min-height: 170px; display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--shadow); transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }
.tile:hover, .tile:focus { transform: translateY(-4px); border-color: rgba(243, 52, 63, 0.78); background: rgba(255, 255, 255, 0.105); outline: none; }
.tile.disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }
.tile.disabled:hover { transform: none; border-color: var(--card-border); background: var(--card); }
.icon-box { flex: 0 0 auto; width: 3.1rem; height: 3.1rem; display: grid; place-items: center; border-radius: 1rem; color: var(--white); background: linear-gradient(135deg, var(--cmit-red), var(--cmit-red-dark)); box-shadow: 0 12px 26px rgba(243, 52, 63, 0.25); }
.icon-box svg { width: 1.45rem; height: 1.45rem; }
.tile-copy { min-width: 0; }
.tile-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.tile h3 { margin: 0; font-size: 1.03rem; line-height: 1.2; }
.tile p { margin: 0.55rem 0 0; color: var(--text-muted); line-height: 1.45; font-size: 0.94rem; }
.badge { flex: 0 0 auto; display: inline-flex; align-items: center; border-radius: 999px; padding: 0.28rem 0.52rem; background: rgba(243, 52, 63, 0.16); border: 1px solid rgba(243, 52, 63, 0.35); color: #ffd1d5; font-size: 0.72rem; font-weight: 900; }
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.13); background: rgba(6, 24, 44, 0.92); }
.footer-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-inner strong { display: block; font-size: 1.05rem; }
.footer-inner p { margin: 0.3rem 0 0; color: var(--text-muted); font-weight: 700; }
.footer-inner a { font-weight: 900; color: var(--white); }
@media (max-width: 1020px) {
  .header-inner { flex-wrap: wrap; justify-content: center; padding: 1rem 0; }
  .brand { justify-content: center; width: 100%; }
  .top-nav { order: 3; width: 100%; flex-wrap: wrap; }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .status-pill { font-size: 0.88rem; }
  .hero-inner { padding: 2.8rem 0 2.4rem; }
  .hero-copy { font-size: 1.02rem; }
  .hero-badges { align-items: center; flex-direction: column; }
  .tile-grid { grid-template-columns: 1fr; }
  .tile { min-height: auto; }
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; padding: 1.5rem 0; }
}
