
:root {
  --ink: #26334d;
  --muted: #637084;
  --line: rgba(124, 157, 190, .22);
  --green: #6acbb8;
  --blue: #9bbcff;
  --lavender: #cbbcff;
  --peach: #ffc9a8;
  --rose: #ffc8d6;
  --cream: #fff7df;
  --bg: #fbfcff;
  --shadow: 0 20px 48px rgba(72, 91, 128, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 247, 223, .78), rgba(238, 250, 255, .88) 36%, rgba(248, 242, 255, .82) 72%, rgba(255, 248, 250, .92));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
.copy-protected main { user-select: none; }
.copy-protected .program-modal { user-select: none; }
footer, footer * { user-select: text; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,250,246,.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; flex-direction: column; font-weight: 950; line-height: 1.05; }
.brand span { font-size: 17px; }
.brand small { font-size: 11px; color: var(--muted); text-transform: uppercase; font-weight: 850; }
nav { display: flex; gap: 16px; align-items: center; color: var(--muted); font-size: 14px; font-weight: 780; }
nav a:hover { color: #6285e8; }
.tetris-layer { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; opacity: .18; mix-blend-mode: multiply; }
.tetromino { --tile: #9bbcff; position: absolute; width: 56px; height: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; pointer-events: auto; touch-action: none; }
.tetromino i { display: block; border: 1px solid rgba(91,107,135,.14); background: var(--tile); box-shadow: inset 4px 4px 0 rgba(255,255,255,.42), inset -4px -4px 0 rgba(91,107,135,.08); }
.shape-i { --tile: #a9e8ee; grid-template-columns: repeat(4, 1fr); height: 14px; }
.shape-t { --tile: #cbbcff; }
.shape-s { --tile: #a8eadb; }
.shape-l { --tile: #ffd8a8; }
.shape-o { --tile: #ffffff; }
.shape-z { --tile: #ffc8d6; }
.shape-j { --tile: #b9d0ff; }
main, footer { position: relative; z-index: 1; }
.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
  padding: 82px 0 58px;
  background:
    linear-gradient(90deg, rgba(255,253,248,.96) 0%, rgba(255,255,255,.78) 48%, rgba(255,247,252,.38) 100%),
    url("../assets/cyber-lab-light.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero.compact { min-height: 420px; padding: 70px 0 54px; }
.hero-inner { max-width: 930px; }
.eyebrow, .kicker { color: #4aa997; font-size: 12px; font-weight: 950; letter-spacing: .10em; text-transform: uppercase; overflow-wrap: anywhere; }
.slogan { margin: 10px 0 16px; font-size: 66px; line-height: 1.12; font-weight: 950; letter-spacing: 0; color: #28304b; overflow-wrap: anywhere; }
h1 { margin: 0; font-size: 52px; line-height: 1.08; font-weight: 950; letter-spacing: 0; overflow-wrap: anywhere; }
h2 { margin: 0; font-size: 30px; line-height: 1.16; letter-spacing: 0; }
h3 { margin: 8px 0 0; font-size: 21px; line-height: 1.2; letter-spacing: 0; }
p, li { color: var(--muted); font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.lead { max-width: 850px; color: #4b5b70; font-size: 20px; font-weight: 720; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid rgba(106,203,184,.50); background: linear-gradient(135deg, #bff1e6, #c6dcff); color: #26334d; font-weight: 850; font-size: 14px; line-height: 1.16; text-align: center; box-shadow: 0 12px 28px rgba(116, 147, 190, .14); }
.button.secondary { background: rgba(255,255,255,.86); color: #33425f; border-color: rgba(150,174,207,.28); }
.message { margin-top: 22px; padding: 14px 16px; max-width: 820px; border: 1px solid rgba(106,203,184,.28); border-left: 4px solid var(--green); border-radius: 8px; background: rgba(255,255,255,.84); box-shadow: var(--shadow); }
.message b, .message span { display: block; }
.message span { margin-top: 6px; color: var(--muted); line-height: 1.45; font-weight: 700; }
.section { padding: 70px 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.58); }
.section.white { background: rgba(249,245,255,.60); }
.section-head { max-width: 860px; margin-bottom: 22px; }
.section-head p { margin-bottom: 0; }
.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.programs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .metric, .table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(250,247,255,.92));
  box-shadow: var(--shadow);
  padding: 18px;
  min-width: 0;
}
.program-card, .program-detail { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.program-card .button { margin-top: auto; }
.program-detail {
  --card-accent: #9bdde4;
  --card-bg: rgba(248, 253, 255, .94);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), var(--card-bg)),
    linear-gradient(135deg, color-mix(in srgb, var(--card-accent), white 74%), rgba(255,255,255,.82));
  border-color: color-mix(in srgb, var(--card-accent), #7284a0 20%);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.program-detail::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--card-accent), color-mix(in srgb, var(--card-accent), white 36%));
}
.program-detail:nth-child(6n+1) { --card-accent: #9bdde4; --card-bg: rgba(244, 253, 255, .94); }
.program-detail:nth-child(6n+2) { --card-accent: #c8b9ff; --card-bg: rgba(249, 246, 255, .94); }
.program-detail:nth-child(6n+3) { --card-accent: #a8eadb; --card-bg: rgba(246, 255, 251, .94); }
.program-detail:nth-child(6n+4) { --card-accent: #ffd3ad; --card-bg: rgba(255, 250, 242, .94); }
.program-detail:nth-child(6n+5) { --card-accent: #ffc8d6; --card-bg: rgba(255, 247, 250, .94); }
.program-detail:nth-child(6n+6) { --card-accent: #b9d0ff; --card-bg: rgba(246, 250, 255, .94); }
.program-detail:hover,
.program-detail:focus-visible,
.program-detail.is-selected {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--card-accent), #435978 28%);
  box-shadow: 0 24px 58px rgba(80, 94, 130, .16);
  outline: none;
}
.field-label { display: inline-flex; max-width: 100%; padding: 6px 9px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--card-accent, var(--blue)), #7284a0 18%); background: color-mix(in srgb, var(--card-accent, var(--blue)), white 76%); color: #41516d; font-size: 13px; line-height: 1.25; font-weight: 850; overflow-wrap: anywhere; }
.program-summary { display: grid; gap: 8px; width: 100%; margin-top: 2px; }
.program-summary div {
  padding: 10px 11px;
  border: 1px solid rgba(132, 157, 190, .16);
  border-radius: 8px;
  background: rgba(255,255,255,.58);
}
.program-summary b {
  display: block;
  color: #4aa997;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.program-summary span {
  display: block;
  margin-top: 5px;
  color: #526174;
  font-size: 14px;
  line-height: 1.38;
  overflow-wrap: anywhere;
}
.program-full { display: none; }
.program-detail h4,
.program-modal-card h4 { margin: 8px 0 0; color: #4aa997; font-size: 12px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; }
.program-detail ul,
.program-modal-card ul { margin: 0; padding-left: 18px; }
.program-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(250, 252, 255, .68);
  backdrop-filter: blur(13px);
}
.program-modal[hidden] { display: none; }
.program-modal-card {
  width: min(920px, calc(100vw - 32px));
  max-height: min(86vh, 900px);
  overflow: auto;
  border: 1px solid rgba(132,157,190,.30);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,249,252,.94)),
    linear-gradient(135deg, rgba(198,220,255,.34), rgba(191,241,230,.28), rgba(255,211,173,.20));
  box-shadow: 0 36px 90px rgba(67, 82, 116, .26);
  padding: 24px;
  cursor: pointer;
  animation: modalPop .18s ease-out;
}
.program-modal-card:focus-visible { outline: 3px solid rgba(155,188,255,.52); outline-offset: 3px; }
.program-modal-card .program-summary { display: none; }
.program-modal-card .program-full { display: block; margin-top: 12px; }
.program-modal-card h3 { font-size: 28px; line-height: 1.16; }
.program-modal-card p,
.program-modal-card li { font-size: 16px; line-height: 1.56; }
@keyframes modalPop {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.metric b { display: block; color: #4aa997; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.metric strong { display: block; margin-top: 8px; font-size: 27px; line-height: 1.05; overflow-wrap: anywhere; }
.metric span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 12px; border-bottom: 1px solid rgba(132,157,190,.18); text-align: left; vertical-align: top; font-size: 14px; line-height: 1.35; }
th { color: #4aa997; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.callout { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 18px; }
footer { padding: 26px 0; background: linear-gradient(135deg, #34405e, #51627f); color: #f7fbff; font-size: 13px; }
.contact { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  nav { display: none; }
  .grid.two, .grid.programs, .metrics, .callout { grid-template-columns: 1fr; }
  .slogan { font-size: 54px; }
  h1 { font-size: 42px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 24px); }
  .hero { padding: 48px 0 42px; }
  .slogan { font-size: 38px; line-height: 1.08; }
  h1 { font-size: 34px; line-height: 1.08; }
  .lead { font-size: 17px; }
  .button { width: 100%; }
  .card, .metric, .table-wrap { padding: 14px; }
  .program-modal { padding: 12px; align-items: end; }
  .program-modal-card { width: 100%; max-height: 88vh; padding: 18px; }
  .program-modal-card h3 { font-size: 23px; }
  .metric strong { font-size: 23px; }
  .tetris-layer { opacity: .16; }
}
