:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #fff;
  background: #0b1118;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
}
[hidden] { display: none !important; }
a { color: inherit; }
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #0b1118; }
.backdrop picture, .poster, .hero-video, .shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster, .hero-video { object-fit: cover; object-position: center; }
.hero-video { opacity: 0; transition: opacity 240ms ease; }
body[data-video-visible] .hero-video { opacity: 1; }
.shade {
  background: linear-gradient(180deg, rgb(3 9 16 / 42%) 0%, rgb(3 9 16 / 12%) 30%, rgb(3 9 16 / 19%) 65%, rgb(3 9 16 / 55%) 100%);
}
.header {
  position: relative;
  padding: max(36px, env(safe-area-inset-top)) max(48px, env(safe-area-inset-right)) 24px max(48px, env(safe-area-inset-left));
}
.brand { display: inline-flex; width: 290px; max-width: 100%; text-decoration: none; }
.brand img { display: block; width: 100%; height: auto; }
.main {
  display: grid;
  place-items: center;
  padding: 40px 24px;
  min-height: 280px;
}
.choices { display: flex; justify-content: center; gap: 16px; transform: translateY(-12px); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 60px;
  min-width: 244px;
  padding: 17px 23px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 0 6px 28px rgb(0 0 0 / 16%);
  transition: background-color 160ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1);
}
.button svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.button-site { background: #fff; color: #131e2c; }
.button-portal { background: #d90917; color: #fff; }
.button:active { transform: scale(.98); }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.button-site:focus-visible { outline-color: #ff3340; }
.footer {
  min-height: 100px;
  padding: 24px max(48px, env(safe-area-inset-right)) max(30px, env(safe-area-inset-bottom)) max(48px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.signature { margin: 0; font-size: 10px; line-height: 1.8; letter-spacing: .24em; text-transform: uppercase; color: #d4d8dc; }
.motion-control {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 50%;
  background: rgb(5 11 19 / 55%);
  color: #fff;
  cursor: pointer;
}
.motion-control svg { grid-area: 1 / 1; width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; }
.pause-icon, body[data-video-playing] .play-icon { display: none; }
body[data-video-playing] .pause-icon { display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.placeholder { text-align: center; max-width: 600px; }
.eyebrow { margin: 0 0 18px; color: #ff4652; font-size: 11px; font-weight: 650; letter-spacing: .22em; }
.placeholder h1 { margin: 0; font-size: clamp(32px, 5vw, 56px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; }
.placeholder-copy { margin: 18px 0 32px; font-size: 16px; line-height: 1.6; color: #d4d8dc; }
.back-link { display: block; width: fit-content; margin: 18px auto 0; padding: 12px; font-size: 14px; color: #d4d8dc; text-underline-offset: 4px; }
.site-page .shade { background: rgb(3 9 16 / 66%); }
@media (hover: hover) and (pointer: fine) {
  .button-site:hover { background: #e9edf1; transform: translateY(-2px); }
  .button-portal:hover { background: #bc0713; transform: translateY(-2px); }
  .motion-control:hover { background: rgb(5 11 19 / 85%); }
  .back-link:hover { color: #fff; }
}
@media (max-width: 700px) {
  .header { padding: max(28px, env(safe-area-inset-top)) 24px 20px max(24px, env(safe-area-inset-left)); }
  .brand { width: 250px; }
  .main { padding: 32px 24px; }
  .choices { flex-direction: column; gap: 14px; width: min(100%, 300px); transform: none; }
  .button { min-width: 0; width: 100%; min-height: 60px; }
  .footer { padding: 20px max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); min-height: 88px; gap: 12px; }
  .signature { max-width: 235px; font-size: 9px; letter-spacing: .17em; }
  .placeholder .button { max-width: 300px; }
}
@media (max-height: 500px) and (min-width: 600px) {
  .header { padding-top: max(18px, env(safe-area-inset-top)); padding-bottom: 12px; }
  .brand { width: 230px; }
  .main { min-height: 150px; padding: 20px 24px; }
  .choices { flex-direction: row; width: auto; transform: none; }
  .button { width: auto; min-width: 244px; }
  .footer { min-height: 64px; padding-top: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video, .button { transition: none; }
  .button:hover, .button:active { transform: none; }
}
