:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #142b2b;
  background: #f4f8f7;
  --ink: #142b2b;
  --muted: #496461;
  --teal: #00635d;
  --line: #d8e5e1;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid #087f76; outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 2; padding: 12px; background: white; }

.top { background: white; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; }
.logo { display: block; position: relative; width: 106px; height: 45px; overflow: hidden; }
.logo img { position: absolute; width: 204px; height: auto; left: -49px; top: -7px; }
.wordmark { border-left: 1px solid var(--line); padding-left: 16px; font-size: 1.25rem; font-weight: 750; letter-spacing: -.05em; }
nav { display: flex; flex-wrap: wrap; gap: 5px; }
nav a { padding: 9px 15px; border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 650; font-size: .9375rem; }
nav a:hover, nav a[aria-current] { background: #e6f4f0; color: var(--teal); }

#directory { margin-top: 38px; scroll-margin-top: 20px; }
.directory-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
h2 { margin: 0; font-size: 2rem; letter-spacing: -.045em; }
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 15px;
  width: min(100%, 300px);
  background: white;
  border: 1px solid #c5d8d4;
  border-radius: 9px;
}
.search-icon { position: relative; width: 13px; height: 13px; border: 1.7px solid var(--muted); border-radius: 50%; flex: none; }
.search-icon::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 6px; height: 1.7px; background: var(--muted); transform: rotate(46deg); }
.search input { min-width: 0; width: 100%; padding: 11px 0; background: transparent; border: 0; font: inherit; color: var(--ink); }
.search:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.search input:focus-visible { outline: none; }
.search input::placeholder { color: var(--muted); }
.group { margin-top: 26px; scroll-margin-top: 20px; }
.group + .group { margin-top: 29px; }
h3 { margin: 0 0 12px; font-size: 1.2rem; letter-spacing: -.02em; }
.group-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 7px 18px; margin-bottom: 12px; }
.group-header h3 { margin: 0; }
.group-header a { color: var(--teal); font-size: .9375rem; font-weight: 650; text-underline-offset: 3px; }
.resources-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.resource-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--teal);
  text-decoration: none;
}
.resource-card:hover { border-color: #7faaa1; background: #eff9f6; }
.resource-card strong, .resource-card span { display: block; }
.resource-card span { margin-top: 5px; color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.card { max-width: 540px; background: white; border: 1px solid var(--line); border-radius: 15px; padding: 22px; box-shadow: 0 8px 24px #16322e09; }
.card-top, .card-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.category { padding: 5px 10px; border-radius: 6px; background: #edf6f4; color: var(--teal); font-size: .875rem; font-weight: 675; }
.app-icon { display: grid; place-items: center; width: 46px; height: 46px; background: #daf3eb; border-radius: 10px; color: var(--teal); }
.app-icon i { position: relative; display: block; width: 17px; height: 22px; border: 2px solid currentColor; border-radius: 3px; }
.app-icon i::after { content: ""; position: absolute; top: 5px; left: 3px; width: 7px; height: 2px; background: currentColor; box-shadow: 0 5px currentColor; }
h4 { margin: 13px 0 5px; font-size: 1.45rem; letter-spacing: -.035em; }
.card p { line-height: 1.55; color: var(--muted); margin: 0 0 18px; max-width: 36ch; }
.card-bottom { padding-top: 16px; border-top: 1px solid var(--line); }
.card-bottom span { color: var(--muted); font-size: .875rem; }
.open { display: inline-block; background: var(--teal); color: white; border-radius: 8px; padding: 10px 15px; font-weight: 650; text-decoration: none; }
.open:hover { background: #004b46; }
.empty { color: var(--muted); background: #ecf3f1; border: 1px dashed #bfd4cf; border-radius: 12px; padding: 19px 21px; margin: 0; }
footer.shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-block: 19px 24px; margin-top: 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

@media (max-width: 700px) {
  #directory { margin-top: 26px; }
  .directory-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .search { width: 100%; }
}

.film { position:relative; isolation:isolate; background:#112d2b; color:white; overflow:hidden; }
.film video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 45%; z-index:-2; }
.film::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#071e1dec 0%,#09221fa6 37%,transparent 80%),linear-gradient(0deg,#071e1d87,transparent 40%); }
.film-inner { min-height:clamp(340px,43vw,550px); display:flex; align-items:flex-end; justify-content:space-between; gap:12px; padding-block:clamp(32px,4.5vw,66px); }
.film h1 { font-size:clamp(6rem,13vw,11rem); letter-spacing:-.07em; line-height:.87; margin:0; font-weight:750; }
.film h1 span { color:#8bf0c4; }
.film p { font-size:clamp(1.2rem,2.1vw,1.75rem); margin:14px 0 25px; letter-spacing:-.03em; }
.film-link,.film-control { display:inline-flex; align-items:center; justify-content:center; border-radius:40px; padding:11px 19px; font:inherit; font-weight:650; }
.film-link { text-decoration:none; color:#092a24; background:#aaf4ce; }
.film-link:hover { background:white; }
.film-control { cursor:pointer; white-space:nowrap; font-size:.875rem; background:#092824d9; color:white; border:1px solid #ffffff73; }
.film-control::before { content:"▶"; margin-right:8px; font-size:.75em; }
.film-control.playing::before { content:"Ⅱ"; }
.film a:focus-visible,.film button:focus-visible { outline-color:white; }
.launchpad .directory-header { border-bottom:1px solid var(--line); padding-bottom:18px; }
.launchpad h2 { font-size:clamp(2rem,4vw,3rem); font-weight:680; }
.launchpad .card { max-width:none; background:#e0f4eb; border-color:#c1dfd1; box-shadow:none; }
.launchpad .resource-card { display:grid; align-content:center; min-height:82px; border-radius:10px; }
.launchpad .resource-card:hover { background:#def4e9; }
@media(min-width:860px) {
  .launchpad { display:grid; grid-template-columns:minmax(0,4fr) minmax(0,5fr); column-gap:30px; }
  .directory-header,.launchpad #reports { grid-column:1/-1; }
  .launchpad #apps,.launchpad #resources { grid-row:2; }
  .launchpad #resources { grid-column:2; }
  .launchpad .group + .group { margin-top:26px; }
  .launchpad .resources-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .launchpad:has(#apps[hidden]) #resources,.launchpad:has(#resources[hidden]) #apps { grid-column:1/-1; }
}
@media(prefers-reduced-motion:no-preference) {
  .film-copy { animation:arrive .8s cubic-bezier(.2,.75,.2,1) both; }
  @keyframes arrive { from {opacity:0;transform:translateY(18px)} to {opacity:1;transform:translateY(0)} }
  .resource-card,.film-link { transition:background .2s,transform .2s; }
  .resource-card:hover,.film-link:hover { transform:translateY(-2px); }
}
@media(max-width:540px) {
  .film-inner { min-height:370px; align-items:flex-end; }
  .film-control { padding:9px 11px; }
  .film::after { background:linear-gradient(0deg,#071e1df5, #071e1d44 80%); }
}
