:root {
  color-scheme: light;
  --navy:#102451; --ink:#172c50; --muted:#50637f; --line:#d5e0ef; --paper:#f4f7fc;
  --brand-blue:#133bb5; --brand-cyan:#28b5ee; --blue-dark:#112f8b; --blue-tint:#e9f4fe;
  --focus-blue:#2164c9; --hero-text:#e0ebfc; --hero-accent:#91e1ff;
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); }
button,input,select { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:default; }
a { color:inherit; }
:focus-visible { outline:3px solid var(--focus-blue); outline-offset:3px; }
[hidden] { display:none !important; }
.shell { width:min(1240px, calc(100% - 72px)); margin-inline:auto; }
.sr-only,.skip:not(:focus) { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip:focus { position:absolute; z-index:10; background:white; padding:10px; }
.site-header { background:#fff; }
.header-inner { min-height:66px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.brand { display:inline-flex; align-items:center; }
.brand img { display:block; width:135px; height:auto; }
.header-right,.private,.language { display:flex; align-items:center; gap:10px; }
.private { font-size:.81rem; color:var(--muted); margin-right:10px; }
.private i { width:7px; height:7px; background:var(--brand-blue); border-radius:50%; }
.language { gap:2px; border:1px solid var(--line); border-radius:8px; padding:3px; }
.language button { color:var(--muted); background:transparent; border:0; border-radius:5px; padding:4px 8px; font-weight:750; font-size:.76rem; min-height:30px; }
.language button[aria-pressed="true"] { background:var(--brand-blue); color:white; }
.hero { background:linear-gradient(103deg,var(--navy),#123583 73%,var(--brand-blue)); color:white; overflow:hidden; }
.hero-inner { display:grid; grid-template-columns:1.02fr 1fr; align-items:center; min-height:302px; position:relative; }
.hero-copy { padding:39px 0; z-index:1; }
.eyebrow,.section-label { font-size:.72rem; font-weight:800; letter-spacing:.13em; margin:0 0 10px; }
.eyebrow { color:var(--hero-accent); display:flex; align-items:center; gap:9px; }
.eyebrow > span:first-child { width:19px; border-top:1px solid var(--brand-cyan); }
h1,h2,h3,p { margin-top:0; }
h1 { font-size:clamp(2rem,4.4vw,3.65rem); letter-spacing:-.045em; line-height:1.05; margin-bottom:13px; max-width:620px; }
.hero-description { color:var(--hero-text); margin-bottom:22px; max-width:530px; font-size:1rem; }
.hero-stats { display:flex; gap:0; flex-wrap:wrap; }
.hero-stats div { padding:0 18px; display:grid; gap:0; border-left:1px solid #6080b5; }
.hero-stats div:first-child { border:0; padding-left:0; }
.hero-stats strong { font-size:1.05rem; color:#f7ffff; }
.hero-stats span { font-size:.75rem; color:#bfd2f3; }
.hero-art { display:block; width:100%; height:auto; opacity:.94; }
.catalogue { padding-block:32px 50px; scroll-margin-top:12px; }
.catalogue-heading { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:21px; }
.section-label { color:var(--brand-blue); margin-bottom:5px; }
h2 { font-size:clamp(1.55rem,3vw,2.15rem); line-height:1.15; letter-spacing:-.035em; margin-bottom:0; }
.search { display:flex; align-items:center; width:min(340px,42%); gap:8px; padding:0 12px; background:white; border:1px solid #bdcde5; border-radius:8px; }
.search:focus-within { outline:2px solid var(--focus-blue); outline-offset:2px; }
.search svg { flex:0 0 19px; width:19px; stroke:var(--muted); fill:none; stroke-width:1.7; stroke-linecap:round; }
.search input { min-width:0; width:100%; border:0; outline:none; background:transparent; color:var(--ink); height:44px; }
.search input:focus-visible { outline:none; }
.search input::placeholder { color:var(--muted); opacity:1; }
.catalogue-layout { display:grid; grid-template-columns:222px minmax(0,1fr); gap:20px; align-items:start; }
.filters { background:white; border:1px solid var(--line); border-radius:11px; padding:15px; }
.filter-title { display:flex; justify-content:space-between; align-items:center; margin-bottom:13px; }
.filter-title h3 { margin:0; font-size:1.03rem; }
.link-button { color:var(--brand-blue); padding:5px 3px; border:0; background:none; font-size:.84rem; font-weight:750; text-decoration:underline; text-underline-offset:3px; }
fieldset { min-width:0; padding:0; margin:0 0 13px; border:0; }
legend,.topic-control label { font-weight:750; font-size:.86rem; margin-bottom:6px; padding:0; }
.audience-options { display:grid; gap:4px; }
.radio-option { cursor:pointer; position:relative; display:flex; align-items:center; gap:7px; padding:6px 7px; border-radius:6px; color:var(--muted); font-size:.86rem; min-height:34px; }
.radio-option:has(input:checked) { background:var(--blue-tint); color:var(--blue-dark); font-weight:750; }
.radio-option input,.pilot-filter input { accent-color:var(--brand-blue); margin:0; width:15px; height:15px; flex:0 0 15px; }
.topic-control { display:grid; }
select { width:100%; min-width:0; min-height:39px; padding:6px 6px; border:1px solid #bdcde5; background:white; border-radius:6px; color:var(--ink); font-size:.82rem; }
.pilot-filter { border-top:1px solid var(--line); margin-top:14px; padding-top:13px; display:flex; align-items:center; gap:8px; font-size:.84rem; cursor:pointer; }
.results-head { display:flex; justify-content:space-between; gap:10px; margin-bottom:9px; color:var(--muted); font-size:.83rem; }
#result-count { color:var(--ink); font-weight:760; }
.cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.card { display:flex; flex-direction:column; background:white; border:1px solid var(--line); border-top:3px solid var(--brand-blue); border-radius:10px; padding:13px; min-width:0; }
.card[data-audience="port"] { border-top-color:var(--brand-cyan); }
.card[data-audience="both"] { border-top-color:#4d75cf; }
.card-meta,.card-facts,.card-actions { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.card-meta { justify-content:space-between; min-height:25px; margin-bottom:6px; }
.course-id { color:var(--muted); font-size:.73rem; font-weight:800; letter-spacing:.1em; }
.badge { border-radius:4px; background:var(--blue-tint); color:var(--blue-dark); font-weight:760; font-size:.68rem; padding:2px 6px; }
.card h3 { margin:0 0 5px; line-height:1.24; font-size:1.04rem; letter-spacing:-.015em; overflow-wrap:anywhere; }
.translation { color:var(--muted); font-size:.82rem; margin:0 0 10px; }
.card-scope { font-size:.83rem; color:var(--muted); margin:0 0 12px; }
.card-facts { margin-top:auto; }
.pill { font-size:.72rem; font-weight:700; padding:2px 7px; color:#385766; background:#edf3f5; border-radius:5px; }
.card-actions { border-top:1px solid #e6eef0; margin-top:10px; padding-top:9px; justify-content:space-between; }
.detail-button { padding:6px 0; text-decoration:none; }
.detail-button::after { content:" →"; }
.outline-button,.primary-button { font-size:.8rem; font-weight:760; min-height:36px; border-radius:6px; padding:6px 9px; }
.outline-button { color:var(--blue-dark); background:white; border:1px solid #a8bde5; }
.outline-button:hover,.outline-button[aria-pressed="true"] { background:var(--blue-tint); border-color:var(--focus-blue); }
.outline-button:disabled { color:var(--muted); opacity:.6; }
.primary-button { border:1px solid transparent; background:var(--brand-blue); color:white; padding:8px 13px; }
.primary-button:hover { background:var(--blue-dark); }
.primary-button:disabled { opacity:.48; }
.empty { grid-column:1/-1; padding:30px; background:white; border:1px dashed #b4c6cb; border-radius:10px; text-align:center; }
.empty h3 { margin-bottom:4px; }
.empty p { margin-bottom:8px; color:var(--muted); }
.site-footer { border-top:1px solid var(--line); background:white; }
.footer-inner { display:flex; gap:15px; justify-content:space-between; align-items:center; padding-block:19px; }
.footer-inner p { margin:3px 0 0; color:var(--muted); font-size:.8rem; }
dialog { color:var(--ink); background:white; padding:0; border:1px solid var(--line); border-radius:14px; width:min(610px,calc(100% - 24px)); max-height:calc(100dvh - 26px); box-shadow:0 22px 72px #0005; }
dialog::backdrop { background:#091a3dad; }
.dialog-shell { position:relative; padding:26px; }
.close-button { position:absolute; top:10px; right:11px; width:36px; height:36px; border:1px solid var(--line); border-radius:7px; background:white; color:var(--ink); font-size:1.38rem; line-height:1; }
.dialog-shell h2 { padding-right:25px; margin-bottom:7px; }
.dialog-shell .translation { font-size:.95rem; }
.dialog-facts { display:flex; flex-wrap:wrap; gap:6px; margin:14px 0; }
.dialog-section { margin:13px 0; }
.dialog-section h3 { font-size:.86rem; margin-bottom:3px; }
.dialog-section p { margin-bottom:0; font-size:.92rem; }
.dialog-footer { margin-top:15px; padding-top:14px; border-top:1px solid var(--line); }
.portal-entry { display:inline-flex; align-items:center; text-decoration:none; }
.hero .portal-entry { margin-top:21px; background:var(--brand-cyan); color:var(--navy); }
.hero .portal-entry:hover { background:var(--hero-accent); }
.hero .portal-entry:focus-visible,.portal-hero select:focus-visible { outline-color:var(--hero-accent); }
@media (max-width:1080px) { .cards { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) {
  .shell { width:calc(100% - 36px); }
  .hero-inner { grid-template-columns:1fr; min-height:0; }
  .hero-art { position:absolute; width:70%; right:-16%; opacity:.32; bottom:0; pointer-events:none; }
  .hero-copy { padding:30px 0; }
  .hero-description { max-width:380px; }
  .catalogue-layout { grid-template-columns:1fr; gap:15px; }
  .filters { display:grid; grid-template-columns:1fr 1fr; gap:0 12px; }
  .filter-title,.filters fieldset,.pilot-filter { grid-column:1/-1; }
  .audience-options { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .topic-control { grid-column:1/-1; }
  .catalogue { padding-top:23px; }
  .results-head { margin-bottom:7px; }
}
@media (max-width:480px) {
  .shell { width:calc(100% - 28px); }
  .header-inner { min-height:57px; }
  .brand img { width:116px; }
  .private { display:none; }
  .hero-copy { padding:26px 0; }
  .hero-description { font-size:.91rem; }
  .hero-stats div { padding-inline:12px; }
  .catalogue-heading { display:grid; gap:10px; margin-bottom:13px; }
  .search { width:100%; }
  .audience-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cards { grid-template-columns:1fr; gap:10px; }
  .card { padding:12px; }
  .results-head { font-size:.75rem; }
  .footer-inner { align-items:start; }
  .dialog-shell { padding:17px; }
  .primary-button { padding-inline:8px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
