/* Original Google Fonts, bundled with their OFL licenses in /fonts. */
@font-face {
  font-family: 'Creepster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/creepster-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/share-tech-mono-latin.woff2') format('woff2');
}
/* Uses the shared site's colors, horror headings, monospace copy and panels. */
.homepage {
  --home-muted: #aaa;
  --home-line: #2a2a2a;
  background: var(--bg-dark);
  color: #ddd;
  font-family: 'Share Tech Mono', monospace;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
}
.homepage a { color: var(--safe-color); }
.homepage a:hover { text-decoration: underline; }
.homepage :focus-visible {
  outline: 3px solid var(--safe-color);
  outline-offset: 5px;
  scroll-margin-block: 100px;
}
.homepage h1, .homepage h2, .homepage h3 {
  font-family: 'Creepster', cursive;
  color: var(--danger-color);
  letter-spacing: 1px;
  font-weight: 400;
  line-height: 1.1;
}
.homepage p { color: #c9c9c9; }
.homepage strong { color: #eee; }
.homepage section[id] { scroll-margin-top: 100px; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  transform: translateY(-160%);
  z-index: 100;
  background: var(--safe-color);
  padding: 12px;
  color: #111 !important;
}
.skip-link:focus { transform: none; }
.home-nav {
  padding: 14px max(24px, calc((100vw - 1040px)/2));
  background: rgba(18,18,18,.97);
}
.home-nav .nav-brand { color: var(--danger-color); }
.home-nav nav { display: flex; align-items: center; gap: 28px; }
.nav-guide { font-size: 13px; }
.home-nav .nav-play { color: var(--danger-color); }
.home-nav .nav-play:hover { color: #111; }
.home-nav .nav-brand:hover, .home-nav .nav-play:hover { text-decoration: none; }
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid var(--danger-color);
  border-radius: 4px;
  background: var(--danger-color);
  color: #111 !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .2s, box-shadow .2s;
}
.home-btn:hover {
  background: #ff6666;
  box-shadow: 0 0 24px rgba(255,51,51,.2);
  text-decoration: none !important;
}
.home-btn.compact { min-height: 44px; padding: 10px 16px; font-size: 13px; gap: 12px; }
.text-link { display: inline-block; font-size: 13px; padding-bottom: 4px; }
.home-hero {
  max-width: 1140px;
  margin: auto;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 45px;
  padding: 65px 50px 60px;
  align-items: center;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 80% 40%, rgba(255,51,51,.045), transparent 70%);
  pointer-events: none;
}
.eyebrow {
  font-size: 11px !important;
  letter-spacing: .12em;
  color: var(--safe-color) !important;
  line-height: 1.6;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.signal-dot { display: inline-block; width: 6px; height: 6px; flex: none; background: var(--danger-color); border-radius: 50%; }
.hero-copy h1 { font-size: clamp(42px,4.75vw,64px); margin-bottom: 23px; text-shadow: 0 0 20px rgba(255,51,51,.25); }
.hero-copy h1 span { color: var(--danger-color); }
.hero-description { font-size: 16px; max-width: 470px; }
.hero-description strong { font-weight: 400; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.trust-line { font-size: 12px; color: #ddd !important; margin-top: 18px; }
.gps-note { font-size: 11px; color: var(--home-muted) !important; margin-top: 7px; }
.hero-visual { position: relative; padding: 10px 0 5px; min-width: 0; }
.radar-orbit { position: absolute; inset: -20px; border: 1px solid rgba(255,51,51,.14); border-radius: 50%; z-index: -1; }
.radar-orbit:before { content: ''; position: absolute; inset: 30px; border: 1px solid rgba(255,51,51,.08); border-radius: 50%; }
.mission-label { display: flex; align-items: center; justify-content: space-between; letter-spacing: .08em; font-size: 10px; color: var(--home-muted); margin-bottom: 15px; }
.mission-label span { color: var(--danger-color); font-size: 22px; }
.game-preview { padding: 7px; background: #090909; border: 1px solid var(--home-line); border-radius: 8px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.game-preview img { display: block; width: 100%; height: auto; border-radius: 4px; }
.game-preview figcaption { display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .06em; padding: 12px 7px 5px; color: #aaa; }
.visual-caption { font-size: 10px; letter-spacing: .05em; margin-top: 22px; color: var(--home-muted); text-align: center; }
.visual-caption span { color: var(--danger-color); margin-right: 10px; }
.feature-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 38px; padding: 21px 24px; border-block: 1px solid var(--home-line); font-size: 11px; letter-spacing: .1em; color: #aaa; background: rgba(255,255,255,.02); }
.feature-strip span:before { content: '+'; color: var(--danger-color); margin-right: 14px; }
.home-section { max-width: 1040px; margin: auto; padding: 75px 24px; border-bottom: 1px solid var(--home-line); }
.featured-video-section { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 60px; align-items: center; }
.featured-video-media { aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid var(--home-line); border-radius: 8px; background: #090909; }
.youtube-preview { display: block; position: relative; width: 100%; height: 100%; }
.youtube-preview:focus-visible, .featured-video-media iframe:focus-visible { outline-offset: -4px; }
.youtube-preview img, .featured-video-media iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.youtube-preview:after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 60%,rgba(0,0,0,.9)); pointer-events: none; }
.youtube-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 64px; height: 64px; padding-left: 4px; border: 1px solid var(--danger-color); border-radius: 50%; background: rgba(0,0,0,.85); color: var(--danger-color); font-size: 27px; z-index: 1; }
.youtube-preview:hover .youtube-play-icon { color: #111; background: var(--danger-color); }
.youtube-play-label { position: absolute; bottom: 20px; inset-inline: 14px; color: #eee; font-size: 13px; text-align: center; z-index: 1; }
.featured-video figcaption { color: var(--home-muted); font-size: 11px; margin-top: 12px; }
.featured-video-copy h2 { font-size: clamp(34px,4vw,46px); border-left: 4px solid var(--danger-color); padding-left: 14px; margin-bottom: 20px; }
.featured-video-copy > p:not(.eyebrow) { font-size: 15px; }
.full-mission-link { margin-top: 24px; }
.section-heading { max-width: 620px; margin-bottom: 36px; }
.section-heading h2, .experience-copy h2, .progress-copy h2 { font-size: clamp(34px,4vw,46px); border-left: 4px solid var(--danger-color); padding-left: 14px; margin-bottom: 20px; }
.section-heading p:not(.eyebrow) { max-width: 500px; font-size: 15px; }
.steps-grid { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 0; padding: 0; }
.steps-grid li { border: 1px solid var(--home-line); border-radius: 8px; background: var(--panel-bg); padding: 24px; }
.step-number { font-size: 14px; color: var(--safe-color); display: block; margin-bottom: 18px; }
.steps-grid h3 { font-size: 25px; margin-bottom: 14px; }
.steps-grid p { font-size: 14px; }
.steps-grid a { font-size: 12px; display: inline-block; margin-top: 14px; }
.section-actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
.experience-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 45px; align-items: center; }
.experience-copy p:not(.eyebrow) { font-size: 14px; margin-bottom: 18px; }
.experience-copy .text-link { margin-top: 8px; }
.video-preview video { display: block; width: 100%; height: auto; border: 1px solid var(--home-line); border-radius: 8px; background: #090909; }
.video-preview figcaption, .extraction-preview figcaption { font-size: 12px; color: var(--home-muted); margin-top: 12px; line-height: 1.6; }
.pace-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pace-grid article { padding: 28px; border: 1px solid var(--home-line); border-radius: 8px; background: var(--panel-bg); }
.card-kicker { font-size: 11px; letter-spacing: .1em; color: var(--safe-color); }
.pace-grid h3 { font-size: 29px; margin: 20px 0 16px; }
.pace-grid p { font-size: 14px; }
.pace-grid a { margin-top: 22px; }
.progress-section { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.extraction-preview { max-width: 410px; }
.extraction-preview img { display: block; width: 100%; height: auto; border: 1px solid var(--home-line); border-radius: 8px; }
.progress-features { margin: 25px 0; }
.progress-features article { border-bottom: 1px solid var(--home-line); padding: 17px 0; }
.progress-features h3 { font-size: 24px; margin-bottom: 8px; }
.progress-features p { font-size: 14px; }
.progress-features a { text-decoration: underline; }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; }
.home-faq details { border-bottom: 1px solid var(--home-line); }
.home-faq summary { cursor: pointer; position: relative; padding: 21px 28px 21px 0; color: #ddd; font-size: 15px; list-style: none; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary:after { content: '+'; position: absolute; right: 0; color: var(--danger-color); font-size: 23px; top: 14px; }
.home-faq details[open] summary:after { content: '−'; }
.home-faq details p { font-size: 14px; margin-bottom: 23px; }
.home-faq details a { text-decoration: underline; }
.more-faq { margin-top: 24px; }
.closing-section { max-width: 1040px; margin: 55px auto; min-height: 380px; position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; border: 1px solid var(--home-line); border-radius: 8px; background: #090909; }
.closing-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; z-index: -2; }
.closing-section:before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.97),rgba(0,0,0,.88) 40%,rgba(0,0,0,.4)); z-index: -1; }
.closing-copy { padding: 45px; }
.closing-copy h2 { font-size: clamp(36px,4vw,48px); margin-bottom: 26px; text-shadow: 0 0 20px rgba(255,51,51,.25); }
.closing-copy>p:last-child { font-size: 12px; margin-top: 18px; color: #ddd; }
.homepage .site-footer { color: var(--home-muted); max-width: 1040px; padding: 28px 24px 35px; margin: 0 auto; }
.homepage .site-footer a { color: var(--home-muted); }
.homepage .site-footer a:hover { color: var(--safe-color); }
.homepage .site-footer-links { line-height: 2.4; }
.mobile-play { display: none; }
@media (max-width: 1000px) {
  .home-hero { gap: 30px; padding: 50px 24px; }
  .hero-copy h1 { font-size: 52px; }
  .hero-actions { gap: 18px; flex-wrap: wrap; }
  .radar-orbit { inset: -10px; }
  .experience-section, .progress-section, .faq-section { gap: 32px; }
  .home-section { padding-block: 65px; }
  .closing-section { margin-inline: 24px; }
}
@media (max-width: 700px) {
  .home-nav { padding: 12px 16px; gap: 12px; flex-wrap: nowrap; }
  .home-nav .nav-brand { font-size: 20px; }
  .home-nav .nav-play { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
  .nav-guide { display: none; }
  .home-nav nav { order: 2; flex: none; gap: 0; }
  .home-btn.compact { font-size: 12px; padding: 10px 14px; gap: 10px; }
  .home-hero { grid-template-columns: 1fr; gap: 35px; padding: 36px 22px 38px; }
  .hero-copy h1 { font-size: clamp(40px,11vw,58px); }
  .eyebrow { font-size: 10px !important; letter-spacing: .06em; margin-bottom: 18px; }
  .hero-description { font-size: 15px; max-width: 460px; }
  .hero-actions { margin-top: 24px; gap: 18px; }
  .home-btn { padding: 13px 18px; min-height: 50px; font-size: 14px; gap: 18px; }
  .hero-actions .text-link { font-size: 12px; }
  .hero-visual { width: min(100%,440px); margin: auto; padding-inline: 7px; }
  .mission-label { font-size: 9px; margin-bottom: 10px; }
  .feature-strip { gap: 14px 20px; font-size: 10px; letter-spacing: .03em; justify-content: space-around; }
  .feature-strip span:before { margin-right: 7px; }
  .home-section { padding: 50px 22px; }
  .featured-video-section { grid-template-columns: 1fr; gap: 28px; }
  .featured-video { width: min(100%,270px); justify-self: center; }
  .featured-video-copy { grid-row: 1; }
  .featured-video-copy h2 { font-size: 36px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2, .experience-copy h2, .progress-copy h2 { font-size: 36px; }
  .steps-grid { grid-template-columns: 1fr; gap: 18px; }
  .steps-grid li { padding: 22px; }
  .step-number { margin-bottom: 12px; }
  .steps-grid h3 { font-size: 26px; margin-bottom: 10px; }
  .section-actions { gap: 20px; flex-wrap: wrap; margin-top: 28px; }
  .experience-section, .progress-section, .faq-section { grid-template-columns: 1fr; gap: 28px; }
  .pace-grid { grid-template-columns: 1fr; gap: 18px; }
  .pace-grid article { padding: 25px; }
  .extraction-preview { max-width: 360px; margin: auto; }
  .progress-copy .eyebrow { margin-top: 10px; }
  .faq-section .section-heading { margin-bottom: 0; }
  .closing-section { margin: 32px 18px; min-height: 365px; }
  .closing-copy { padding: 30px 24px; }
  .closing-copy h2 { font-size: 37px; }
  .closing-section:before { background: linear-gradient(90deg,rgba(0,0,0,.96),rgba(0,0,0,.76)); }
  .closing-copy .eyebrow { max-width: 230px; }
  .homepage .site-footer { padding: 20px 22px 115px; }
  .mobile-play { display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 30; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px max(13px,env(safe-area-inset-bottom)); background: rgba(18,18,18,.98); border-top: 1px solid var(--home-line); }
  .mobile-play>span { font-size: 11px; line-height: 1.45; color: var(--home-muted); }
  .mobile-play strong { color: #ddd; }
  .homepage { scroll-padding-bottom: 95px; }
}
@media (prefers-reduced-motion: reduce) {
  .homepage *, .homepage *:before, .homepage *:after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
