@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap");

/* This file belongs to this page; it carries its own layout and responsive rules. */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: #0A0A2E; color: #f5f2ff; font-family: "Orbitron", "Avenir Next", "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
body.p-answer-cards { --accent: #ff91c7; --shade: #1B1464; }
a { color: #00FFFF; text-underline-offset: .28em; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
a:focus-visible, summary:focus-visible { outline: 3px solid #FF6B35; outline-offset: 5px; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2 { font-weight: 700; line-height: 1.22; text-wrap: balance; }
h1 { font-size: 2.25rem; letter-spacing: -.025em; max-width: 23ch; }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); max-width: 30ch; }
h3 { font-size: 1rem; font-weight: 700; line-height: 1.5; margin-bottom: .45rem; }
p { max-width: 72ch; }
p + p { margin-top: 1rem; }
.wr { width: min(1184px, calc(100% - 64px)); margin-inline: auto; }
.sk { position: absolute; left: 1rem; top: -200px; z-index: 100; background: #1B1464; padding: .75rem 1rem; min-height: 48px; }
.sk:focus { top: 1rem; }
.hd { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 104px; border-bottom: 1px solid #463774; }
.mk { display: flex; flex-direction: column; justify-content: center; min-height: 60px; text-decoration: none; color: #f5f2ff; line-height: 1.3; letter-spacing: .12em; font-weight: 700; }
.mk > span:first-child { font-size: 1.1rem; }
.mk .ml { font-size: 16px; color: #C0C0C0; letter-spacing: .025em; font-weight: 400; }
.badge { font-size: .875rem; line-height: 1.6; font-weight: 500; padding: .55rem .8rem; border: 1px solid #a973dc; border-radius: 3px; color: #f5f2ff; background: #2D1B69; }
.hz { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #463774; }
.hz::before { content: ""; position: absolute; width: 420px; height: 420px; right: -55px; top: -50px; z-index: -2; border-radius: 50%; background: repeating-linear-gradient(0deg, transparent 0 18px, #0A0A2E 18px 23px), linear-gradient(#FF6B35, #FF1493 53%, #2D1B69 89%); opacity: .25; }
.hz::after { content: ""; position: absolute; z-index: -1; bottom: -172px; right: -8%; width: 85%; height: 290px; transform: perspective(300px) rotateX(52deg); transform-origin: top; background: repeating-linear-gradient(90deg, transparent 0 59px, #00ffff3d 59px 60px), repeating-linear-gradient(0deg, transparent 0 39px, #ff00ff3d 39px 40px); pointer-events: none; }
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; padding-block: 55px 66px; align-items: start; }
.ht { min-width: 0; }
.lb { font-size: .875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #d9cded; line-height: 1.65; }
.ht > .lb { color: var(--accent); font-size: 16px; margin-bottom: 18px; }
.ht h1 { color: #f3f1fc; text-shadow: 0 1px 0 #C0C0C0; }
.home h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); max-width: 17ch; }
.lede { margin-top: 22px; max-width: 54ch; color: #eee9fb; }
.ky { border: 1px solid var(--accent); border-left: 4px solid var(--accent); padding: 25px 27px; background: #11113b; box-shadow: 7px 7px 0 #1B1464, 0 0 22px #ff149319; }
.ky h2 { font-size: 1.3rem; margin-bottom: 18px; }
.ky .lb { margin-bottom: 12px; }
.home .ky { margin-top: 40px; }
.ky p:not(.lb) { font-size: 16px; }
.ky .sn { margin-top: 20px; }
.main { padding-top: 26px; }
.rt { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0 0 20px; border-bottom: 1px solid #463774; }
.rt a { display: inline-flex; align-items: center; min-height: 48px; padding: 6px 2px; font-size: 16px; color: #d6cef0; text-decoration: none; border-bottom: 2px solid transparent; }
.rt a:hover, .rt a[aria-current] { color: #00FFFF; border-color: #00FFFF; }
.jm { margin: 24px 0 32px; max-width: 72ch; }
.jm summary { cursor: pointer; min-height: 48px; padding: 10px 16px; border: 1px solid #7560a2; background: #15153e; font-size: 16px; }
.jm[open] summary { border-color: var(--accent); }
.jm nav { padding: 12px 16px; background: #15153e; border: 1px solid #7560a2; border-top: 0; display: flex; flex-direction: column; }
.jm a { display: flex; align-items: center; min-height: 48px; padding: 8px 0; font-size: 16px; }
.jm a[aria-current] { color: #fff; }
.g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 26px; }
.s5 { grid-column: span 5; } .s7 { grid-column: span 7; } .s6 { grid-column: span 6; } .s12 { grid-column: span 12; }
.bx { min-width: 0; padding: 28px 30px; border: 1px solid #56417c; border-top: 2px solid var(--accent); background: #111136; border-radius: 3px; }
.bx > .lb { margin-bottom: 14px; color: var(--accent); }
.bx h2 { margin-bottom: 24px; }
.bx > p:not(.lb) { max-width: 72ch; }
.bx.s5 { background: #18103e; border-top-color: #FF6B35; }
.bx.s5 > .lb { color: #ffab8d; }
.cl { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 25px; }
.cl > li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 14px; max-width: 72ch; }
.cl > li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border: 1px solid #00FFFF; box-shadow: 0 0 9px #00ffff22; }
.cl p { font-size: 16px; }
.s12 .cl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sn { margin-top: 25px; padding-top: 15px; border-top: 1px solid #463774; }
.sn .lb { font-size: .875rem; color: #C0C0C0; }
.ref { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 9px; min-height: 48px; font-size: 16px; max-width: 72ch; }
.ref span { flex-shrink: 0; font-family: ui-monospace, monospace; }
.lk { margin-top: 25px; display: flex; flex-direction: column; gap: 10px; }
.lk a { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 52px; border: 1px solid #6c559a; background: #1B1464; padding: 12px 16px; text-decoration: none; font-size: 16px; }
.lk a:hover { border-color: #00FFFF; background: #21166e; }
.s12 .lk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tk { margin-top: 35px; padding: 30px; background: #1B1464; border-left: 4px solid #FF6B35; }
.tk h2 { font-size: 1.35rem; margin-bottom: 12px; }
.tk p { max-width: 72ch; }
.turn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.turn a { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 18px 22px; min-height: 95px; background: #15153e; border: 1px solid #6c559a; text-decoration: none; font-size: 16px; }
.turn .nx { background: #2D1B69; border-color: #00FFFF; }
.turn a:hover { border-color: #FF6B35; }
.turn .lb { color: #d6cef0; }
.turn .lb, .cg .lb { font-size: 16px; }
.ft { margin-top: 45px; padding-top: 28px; padding-bottom: 140px; border-top: 1px solid #463774; color: #C0C0C0; }
.ft p { font-size: 16px; max-width: 72ch; }
.fl { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 14px; }
.fl a { display: inline-flex; align-items: center; min-height: 48px; padding-block: 8px; font-size: 16px; }
.dk { position: fixed; z-index: 20; bottom: max(14px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(650px, calc(100% - 24px)); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid #00FFFF; border-radius: 5px; background: #0A0A2E; box-shadow: 0 0 20px #00ffff18, 0 12px 36px #0009; padding: 5px; }
.dk a { min-height: 60px; min-width: 0; display: flex; flex-direction: column; gap: 5px; justify-content: center; align-items: center; padding: 7px 3px; text-decoration: none; color: #e4dff5; font-size: 16px; line-height: 1.3; }
.dk a:hover, .dk a.on { color: #00FFFF; background: #1B1464; }
.dot { display: block; height: 5px; width: 24px; border: 1px solid #a28ebd; }
.on .dot { background: #00FFFF; border-color: #00FFFF; box-shadow: 0 0 7px #00ffff66; }
.all { margin-top: 42px; }
.all h2 { margin-bottom: 22px; }
.cg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cg a { min-height: 118px; padding: 22px; border: 1px solid #56417c; border-left: 3px solid #ff1493; background: #15153e; text-decoration: none; display: flex; flex-direction: column; justify-content: center; gap: 8px; font-size: 16px; }
.cg a:nth-child(3n) { border-left-color: #FF6B35; }
.cg a:hover { background: #1B1464; border-color: #00FFFF; }
.cg .lb { color: #d6cef0; }
.err .hero { min-height: 370px; }
@media (min-width: 1050px) { .p-answer-cards .hero { gap: 48px; } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .dk a, .lk a, .cg a { transition: background-color .16s, border-color .16s; }
  .on .dot { animation: glow 6s ease-in-out infinite; }
  @keyframes glow { 0%, 100% { box-shadow: 0 0 5px #00ffff44; } 50% { box-shadow: 0 0 12px #00ffff99; } }
}
@media (max-width: 850px) {
  .hero { gap: 30px; }
  .g { gap: 20px; }
  .bx { padding: 25px; }
  .s12 .cl { grid-template-columns: 1fr; }
  .cg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wr { width: calc(100% - 36px); }
  .hd { min-height: 94px; gap: 12px; }
  .badge { padding: .4rem .6rem; max-width: 120px; text-align: center; }
  .mk { letter-spacing: .08em; }
  .mk .ml { letter-spacing: 0; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 34px 42px; }
  .home .ky { margin-top: 0; }
  h1 { font-size: 2.25rem; }
  .home h1 { font-size: 2.5rem; }
  .hz::before { width: 330px; height: 330px; right: -180px; opacity: .18; }
  .hz::after { width: 160%; right: -40%; }
  .ky { padding: 22px; box-shadow: 5px 5px 0 #1B1464; }
  .main { padding-top: 18px; }
  .rt { gap: 0 14px; padding-bottom: 16px; }
  .jm { margin-block: 22px; }
  .g { display: flex; flex-direction: column; gap: 20px; }
  .bx { padding: 23px 21px; }
  .cl > li { gap: 11px; grid-template-columns: 15px minmax(0, 1fr); }
  .s12 .lk, .cg { grid-template-columns: 1fr; }
  .turn { grid-template-columns: 1fr; gap: 12px; }
  .turn a { min-height: 86px; }
  .tk { padding: 24px 22px; }
  .ft { padding-bottom: 130px; }
  .fl { flex-direction: column; align-items: flex-start; gap: 4px; }
  .dk { bottom: max(10px, env(safe-area-inset-bottom)); }
  .dk a { min-height: 60px; font-size: 16px; letter-spacing: -.045em; }
}
