:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #effbff;
  background: #061725;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; margin: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 80% 8%, rgba(45, 151, 174, .2), transparent 31%), linear-gradient(145deg, #061725 0%, #071c2b 60%, #092333 100%);
}

.portal-home {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 58px) 0;
  grid-template-rows: auto 1fr;
  gap: clamp(34px, 6vh, 68px);
}

.portal-brand { display: flex; align-items: center; gap: 15px; font-size: 19px; font-weight: 900; letter-spacing: .08em; }
.portal-brand img { width: 56px; height: 56px; }
.portal-brand strong { color: #55d8df; }
.portal-content { display: grid; align-self: center; gap: clamp(34px, 4.5vh, 50px); }
.portal-intro { min-width: 0; }
.portal-intro h1 { margin: 0; font-size: clamp(48px, 6.7vw, 92px); line-height: .98; letter-spacing: -.055em; }
.portal-intro p { margin: 27px 0 0; color: #9cb7c3; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; }
.portal-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.portal-choice {
  display: grid;
  min-height: 150px;
  padding: 26px 28px;
  grid-template-columns: 62px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 21px;
  overflow: hidden;
  border: 1px solid #28536a;
  border-radius: 24px;
  color: #effbff;
  background: #0c2a3d;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.portal-choice:hover { border-color: #59dce5; background: #10364a; transform: translateY(-3px); }
.portal-choice:focus-visible { outline: 3px solid #59dce5; outline-offset: 4px; }
.choice-icon { display: grid; width: 62px; height: 62px; place-items: center; border-radius: 18px; color: #64e1e7; background: #123f55; }
.choice-icon svg { width: 35px; height: 35px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.choice-copy { display: grid; gap: 8px; }
.choice-copy strong { font-size: clamp(23px, 2vw, 31px); line-height: 1.05; }
.choice-copy small { color: #92afbc; font-size: 15px; line-height: 1.45; }
.choice-arrow { color: #61dce4; font-size: 42px; font-weight: 300; line-height: 1; }

@media (max-width: 760px) {
  .portal-home { width: min(100% - 28px, 580px); padding: 24px 0 20px; gap: 27px; }
  .portal-brand { gap: 11px; font-size: 15px; }
  .portal-brand img { width: 44px; height: 44px; }
  .portal-intro h1 { font-size: clamp(42px, 12vw, 64px); }
  .portal-intro p { margin-top: 19px; font-size: 16px; }
  .portal-choices { grid-template-columns: 1fr; gap: 12px; }
  .portal-choice { min-height: 112px; padding: 18px; grid-template-columns: 52px minmax(0, 1fr) 24px; gap: 15px; border-radius: 19px; }
  .choice-icon { width: 52px; height: 52px; border-radius: 15px; }
  .choice-icon svg { width: 29px; height: 29px; }
  .choice-copy strong { font-size: 21px; }
  .choice-copy small { font-size: 13px; }
  .choice-arrow { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) { .portal-choice { transition: none; } }

@media (prefers-color-scheme: light) {
  :root { color-scheme: light; color: #0b2631; background: #e8f0f2; }
  body { background: radial-gradient(circle at 82% 2%, rgba(34,181,193,.17), transparent 31%), #e8f0f2; }
  .portal-choice { color: #0b2631; border-color: #b8cdd2; background: #f9fbfb; }
  .portal-choice:hover { border-color: #22b5c1; background: #eef7f8; }
  .choice-icon { color: #087d89; background: #d8edef; }
  .choice-copy small, .portal-intro p { color: #526d78; }
  .choice-arrow { color: #087d89; }
}

.portal-choice.driving { grid-column: 1 / -1; }

.portal-choice.is-disabled{position:relative;cursor:default;transform:none;pointer-events:none}.portal-choice.is-disabled .choice-icon,.portal-choice.is-disabled .choice-copy{opacity:.4}.choice-coming-soon{position:absolute;right:-26px;top:16px;width:150px;transform:rotate(28deg);padding:7px 0;text-align:center;color:#fff;background:#147382;font-size:17px;font-weight:800;box-shadow:0 2px 8px #0004}

.portal-choice .choice-icon svg{width:48px;height:48px;stroke-width:2}.portal-choice.quiz .choice-icon{background:linear-gradient(135deg,#6c482d,#28394d)}.portal-choice.driving .choice-icon{background:linear-gradient(135deg,#154d76,#274e69)}.portal-choice.learning{isolation:isolate;min-height:144px;background:linear-gradient(130deg,#172e40,#32445a 50%,#122c3e)}.choice-veil{position:absolute;inset:-30px;background:repeating-linear-gradient(112deg,#ffffff05 0,#ffffff05 14px,#071b2e30 32px,#071b2e30 50px);filter:blur(5px);z-index:-1}.choice-soon-only{grid-column:1/-1;text-align:center;font-size:28px;letter-spacing:.04em;color:#dce9f1;text-shadow:0 2px 8px #0007}.portal-choice.learning:hover{background:linear-gradient(130deg,#172e40,#32445a 50%,#122c3e);border-color:#28536a;transform:none}@media(max-width:760px){.portal-choice.learning{min-height:112px}}

/* Static compressed artwork; no animation or backdrop filters. */
:root{color-scheme:dark;color:#effbff;background:#183c59}
body{background:linear-gradient(90deg,rgba(8,28,47,.77),rgba(13,44,68,.40)),url('/portal/background-tech-v2.webp') right center/cover no-repeat #183c59}
.portal-intro p{color:#d0e2ec}
.portal-choice:not(.is-disabled){color:#effbff;border-color:#b9ddec66;background:linear-gradient(120deg,#375d7cda,#244b6bd9);box-shadow:0 8px 24px #102d4814}
.portal-choice:not(.is-disabled):hover{background:linear-gradient(120deg,#416c8ee8,#305c7de6);border-color:#b8eff8}
.choice-copy small{color:#c3d9e4}
.choice-arrow{color:#61dce4}
@media(max-width:760px){body{background-image:linear-gradient(90deg,rgba(8,28,47,.77),rgba(13,44,68,.40)),url('/portal/background-tech-small-v2.webp')}}

.portal-choice.learning,.portal-choice.learning:hover{background:linear-gradient(130deg,#34546d,#4a6881 50%,#294a64);border-color:#b9ddec55}
.choice-veil{background:repeating-linear-gradient(112deg,#ffffff05 0,#ffffff05 14px,#17374d20 32px,#17374d20 50px)}
.portal-choice.quiz .choice-icon{background:linear-gradient(135deg,#8f746240,#a9c3df30)}
.portal-choice.driving .choice-icon{background:linear-gradient(135deg,#7bc4ef40,#a9c3df30)}

.portal-choice.learning,.portal-choice.learning:hover{display:flex;justify-content:center;gap:14px;background:#456176b8;border:1px solid #bfd3df30;box-shadow:none}
.choice-lock{display:flex;color:#c9d9e3;opacity:.48}
.choice-lock svg{width:30px;height:30px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.choice-soon-only{font-size:25px;color:#c2d1dd;letter-spacing:.02em;text-shadow:none}

.portal-intro h1{white-space:pre-line}
