/* Conference interface: shared by the landing page and all detail pages. */
:root {
  color-scheme: dark;
  --bg: #010409;
  --panel: #080f1e;
  --line: #162234;
  --ink: #e8f4ff;
  --muted: #7d95b0;
  --cyan: #00f5ff;
  --lime: #39ff8a;
}
body { font-family: "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.75; }
h1, h2, h3 { font-family: "Segoe UI", Arial, sans-serif; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); font-weight: 750; letter-spacing: -.045em; }
h3 { font-weight: 700; letter-spacing: -.025em; }
a, button { -webkit-tap-highlight-color: transparent; }
a, button, .card { transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s; }
.wrap { width: min(1180px, calc(100% - 64px)); }
header { background: rgba(1, 4, 9, 0.95); border-bottom: 1px solid rgba(0, 245, 255, 0.2); backdrop-filter: blur(18px); }
.nav { min-height: 84px; }
.brand { font-size: .9rem; letter-spacing: -.015em; color: #17213b; }
.brand small { font-size: .57rem; letter-spacing: .17em; color: #636d87; }
.nav-links { gap: 27px; font-size: .81rem; font-weight: 600; }
.nav-links > a { padding-top: 10px; padding-bottom: 10px; }
.nav-links .nav-cta { background: #182340; color: #fff; border: 1px solid #182340; border-radius: 7px; padding: 11px 17px; }
.nav-cta:hover { background: #26365e; }
.menu-toggle { display: none; }
.hero {
  color-scheme: dark;
  --ink: #f7f8fa;
  --muted: #b1b9ce;
  --line: #36405b;
  --cyan: #ffffff;
  --lime: #ffffff;
  color: var(--ink);
  position: relative;
  padding: 82px 0 0;
  background: radial-gradient(ellipse at 93% 8%, #1b2b55 0%, transparent 52%), #0f1830;
  border-bottom: 0;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 49.8%, #bbc9ee05 50%, transparent 50.2%); background-size: 110px 100%; }
.hero > .wrap { position: relative; }
.hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; padding-bottom: 64px; }
.tag { color: #ffffff; border: 1px solid #4a5573; border-radius: 30px; background: #c7d2ed08; padding: 8px 16px; font-size: .8rem; font-weight: 650; letter-spacing: .1em; margin-bottom: 29px; }
.tag::before { content: ""; display: inline-block; height: 6px; width: 6px; background: #ffffff; border-radius: 50%; margin-right: 9px; vertical-align: 1px; }
.hero h1 { font-size: clamp(3.8rem, 6.3vw, 5.8rem); line-height: .99; letter-spacing: -.055em; font-weight: 800; margin-bottom: 22px; }
.hero h1 span { color: #ffffff; }
.theme { font-size: .94rem; color: #dfe3ec; letter-spacing: .22em; font-weight: 500; margin: 24px 0; }
.hero .lead { font-size: 1rem; line-height: 1.85; max-width: 495px; }
.hero-organizers { font-size: .84rem; line-height: 1.9; padding-left: 14px; border-left: 2px solid #475882; margin-top: 27px; }
.hero-organizers strong { font-weight: 600; }
.actions { gap: 12px; }
.button { font-size: .81rem; font-weight: 650; border-radius: 7px; padding: 12px 22px; min-height: 48px; background: #1a284b; color: #fff; border-color: #1a284b; }
.button:hover { background: #2d3e68; color: #fff; border-color: #2d3e68; }
.button.secondary { color: #202e52; border-color: #cdd2e0; }
.button.secondary:hover { border-color: #223e87; background: #eaecf2; color: #142d6c; }
.hero .button { background: #ffffff; border-color: #ffffff; color: #0f1a38; }
.hero .button:hover { background: #ffffff; border-color: #ffffff; }
.hero .button.secondary { background: #ffffff04; border-color: #4c5772; color: #e7eaf0; }
.hero .button.secondary:hover { background: #ffffff0d; border-color: #96a5cc; }
.stats { border: 0; border-top: 1px solid #ffffff20; border-radius: 0; background: transparent; gap: 0; margin-top: 0; }
.stat { background: transparent; padding: 26px 25px; border-right: 1px solid #ffffff16; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { font-size: 1.06rem; font-weight: 600; }
.stat span { font-size: .74rem; color: #9ca7c2; }
section.section { padding: 80px 0; border-bottom: 1px solid #e4e7ef; }
#about, #rules, #contact, #scope { background: transparent; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .67rem; letter-spacing: .16em; font-weight: 700; margin-bottom: 18px; }
.section-heading > .eyebrow::before { content: ""; height: 2px; width: 24px; background: #2c4891; }
.section-heading { max-width: 860px; margin-bottom: 34px; }
.section-heading p { font-size: .96rem; }
.grid { gap: 22px; }
.card { padding: 30px; border: 1px solid rgba(0, 245, 255, 0.2); background: rgba(8, 15, 30, 0.85); border-radius: 8px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.card:hover { border-color: rgba(0, 245, 255, 0.7); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0, 245, 255, 0.2); }
.card .number { color: #2b427c; font-family: inherit; font-size: .65rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 22px; }
.card h3 { font-size: 1.25rem; margin-bottom: 15px; }
.card p, .card li { font-size: .89rem; line-height: 1.85; }
.card ul { padding-left: 18px; }
.card li::marker { color: #3a5393; }
.text-link { color: #173276; font-size: .9rem; }
#challenges .card { position: relative; overflow: hidden; padding-top: 35px; }
#challenges .card::before { content: ""; position: absolute; top: 0; left: 30px; height: 3px; width: 44px; background: #2a4894; }
#challenges .card:nth-child(2)::before { background: #596fa7; }
.note { border: 1px solid rgba(0, 245, 255, 0.3); border-left: 3px solid var(--neon-cyan); background: rgba(8, 15, 30, 0.7); color: #7d95b0; border-radius: 0 8px 8px 0; font-size: .82rem; line-height: 1.8; padding: 17px 20px; font-family: var(--font-mono); }
.note .text-link { margin: 0 0 0 5px; }
.menu-toggle:focus-visible { outline: 3px solid #4766b5; outline-offset: 4px; }
.score { border-color: #e4e7ee; padding: 16px 0; font-size: .9rem; }
.score b { color: #213c83; font-size: 1.45rem; font-weight: 600; }
.score + p { margin-top: 17px; font-size: .8rem; }
.registration { background: #142040; border: 0; color: #fff; padding: 40px; border-radius: 14px; }
.registration p { color: #b4bdd5; max-width: 800px; }
.registration strong { color: #f3f4f8; }
.registration .status { display: inline-block; background: #ffffff0a; padding: 7px 12px; border: 1px solid #546287; border-radius: 5px; color: #a1b2dd; font-size: .74rem; font-weight: 500; }
.registration .button { background: #ffffff; color: #142144; border-color: #ffffff; }
.registration .button.secondary { background: transparent; color: #e2e5ed; border-color: #5a6582; }
.registration .button:hover { background: #ffffff; color: #142144; }
.registration-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; max-width: 760px; margin: 26px 0 12px; }
.registration-form label { display: grid; gap: 7px; color: #e9edf6; font-size: .82rem; font-weight: 600; }
.registration-form input, .registration-form select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #5a6683; border-radius: 5px; background: #0c1731; color: #fff; font: inherit; font-weight: 400; }
.registration-form input::placeholder { color: #929db5; }
.registration-form input:focus, .registration-form select:focus { outline: 2px solid #7dd9ef; outline-offset: 2px; }
.registration-form button { justify-self: start; cursor: pointer; }
.registration-note { font-size: .76rem; }
.registration-members { display: grid; grid-column: 1 / -1; gap: 12px; }
.registration-member { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; margin: 0; padding: 14px; border: 1px solid #465574; border-radius: 5px; }
.registration-member legend { padding: 0 7px; color: #c7d3ec; font-size: .76rem; font-weight: 650; }
.subhero { padding-top: 65px; padding-bottom: 20px; }
.subhero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 750; }
.subhero .lead { font-size: 1rem; }
footer { background: #0e172d; color: #f1f3f7; padding: 48px 0 25px; }
footer strong { color: #f1f3f7; font-size: .92rem; letter-spacing: .04em; }
.footer-grid p { color: #9da7c0; margin-top: 12px; font-size: .78rem; }
.footer-links { color: #bdc5d8; font-size: .79rem; }
.copyright { border-color: #2e3852; color: #8893af; font-size: .7rem; margin-top: 20px; }
[hidden] { display: none !important; }
@media (max-width: 1000px) {
  .nav-links { gap: 16px; }
  .hero-grid { gap: 35px; }
  .hero h1 { font-size: 4.4rem; }
}
@media (max-width: 850px) {
  html { scroll-padding-top: 95px; }
  .wrap { width: calc(100% - 40px); }
  .nav { min-height: 76px; padding: 14px 0; }
  .nav-links { flex-wrap: wrap; overflow: visible; white-space: normal; padding-bottom: 8px; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #d9dde8; border-radius: 6px; background: #fff; padding: 9px 12px; font: 600 .78rem "Segoe UI", sans-serif; color: #1c2848; cursor: pointer; min-height: 40px; }
  .menu-toggle svg { width: 16px; height: 16px; }
  .js .nav-links { display: none; }
  .js .nav-links.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 3px; border-top: 1px solid #e2e5ee; padding-top: 12px; }
  .js .nav-links > a { padding: 11px 13px; }
  .hero { padding-top: 50px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 36px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(3.8rem, 10vw, 5.5rem); }
  .hero .lead { max-width: 600px; }
  .stat { border-bottom: 1px solid #ffffff16; padding: 20px; }
  .stat:first-child { padding-left: 20px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-bottom: 0; }
  section.section { padding: 58px 0; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .brand { font-size: .77rem; gap: 9px; }
  .brand small { font-size: .49rem; letter-spacing: .12em; }
  .nav { gap: 8px; }
  .hero { padding-top: 38px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.5rem); }
  .tag { font-size: .7rem; padding: 7px 12px; letter-spacing: .07em; margin-bottom: 25px; }
  .theme { font-size: .7rem; letter-spacing: .15em; }
  .hero .lead { font-size: .91rem; }
  .hero .actions { display: grid; grid-template-columns: 1fr; }
  .hero .button { width: 100%; }
  .stat, .stat:first-child { padding: 18px 12px; }
  .stat strong { font-size: .88rem; }
  .stat span { font-size: .66rem; }
  .section-heading { margin-bottom: 27px; }
  .card { padding: 25px; }
  .card h3 { font-size: 1.15rem; }
  .registration { padding: 26px; }
  .registration .status { font-size: .68rem; }
  .registration .actions { display: grid; }
  .registration-form { grid-template-columns: 1fr; gap: 14px; }
  .registration-member { grid-template-columns: 1fr; }
  .registration-form button { width: 100%; }
  .footer-grid { gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
/* Boot loader: terminal-style splash on the landing page. Lines are hidden
   with visibility (space reserved) and revealed in sequence by frontier-ui.js. */
body.boot-loading { overflow: hidden; }
#boot-loader {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 24px; overflow-y: auto;
  background: radial-gradient(ellipse at 85% 0%, #0c1a3a 0%, transparent 55%), #02040c;
  transition: opacity .45s ease, visibility .45s;
}
#boot-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-window {
  width: min(920px, 100%);
  background: #070d1d;
  border: 1px solid #22345c;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  overflow: hidden;
}
.boot-titlebar {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 12px 8px 16px;
  background: #0d1528;
  border-bottom: 1px solid #1a2745;
  color: #8fa3c7; font-size: .78rem;
}
.boot-tab {
  display: inline-flex; align-items: center; gap: 8px;
  background: #16224a; color: #c9d6f2;
  border: 1px solid #27386a; border-bottom: 0; border-radius: 6px 6px 0 0;
  padding: 5px 14px; margin-bottom: -9px; padding-bottom: 12px;
}
.boot-tab svg { width: 14px; height: 14px; }
.boot-tab-actions { display: inline-flex; align-items: center; gap: 10px; color: #5b6b8c; }
.boot-tab-actions span { font-size: .65rem; }
.boot-controls { margin-left: auto; display: inline-flex; gap: 22px; color: #8fa3c7; }
.boot-screen {
  position: relative;
  padding: 24px 30px 28px;
  font-family: var(--font-mono, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace);
  font-size: clamp(.78rem, 1.7vw, .95rem);
  line-height: 2;
  color: #2bff7a;
  text-shadow: 0 0 6px rgba(43, 255, 122, .35);
}
.boot-screen p { margin: 0; color: inherit; }
#boot-loader [data-boot] { visibility: hidden; }
#boot-loader [data-boot].is-shown { visibility: visible; }
.boot-logo {
  font-weight: 900;
  font-size: clamp(1.9rem, 7vw, 4rem);
  line-height: 1.2; letter-spacing: .03em;
  color: #2bff6e;
  text-shadow: 0 0 8px rgba(43, 255, 110, .8), 0 0 30px rgba(43, 255, 110, .35);
  margin: 4px 0;
  animation: boot-flicker 3.4s infinite;
}
.boot-indent { padding-left: 4ch; }
.boot-warn { color: #ffb02e; text-shadow: 0 0 6px rgba(255, 176, 46, .4); }
.boot-cursor {
  display: inline-block; width: .62em; height: 1.05em;
  background: #2bff7a; vertical-align: -.15em;
  box-shadow: 0 0 8px rgba(43, 255, 122, .8);
  animation: boot-blink 1s steps(1) infinite;
}
.boot-skip { margin: 0; color: #5b6b8c; font-size: .78rem; }
@keyframes boot-blink { 50% { opacity: 0; } }
@keyframes boot-flicker {
  0%, 91%, 94%, 96%, 100% { opacity: 1; }
  92% { opacity: .55; }
  95% { opacity: .75; }
}
@media (max-width: 560px) {
  #boot-loader { padding: 16px; }
  .boot-screen { padding: 18px 16px 22px; }
  .boot-controls { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .boot-logo, .boot-cursor { animation: none; }
}

