@font-face {
  font-display: swap;
  font-family: "Bebas Kai";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/bebaskai.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/barlowcondensed-medium.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/barlowcondensed-bold.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --back: #03070a;
  --panel: #091116;
  --panel-light: #0d1920;
  --line: #1b303b;
  --text: #eef6f8;
  --muted: #9aadb6;
  --cyan: #18bfff;
  --cyan-bright: #76ddff;
  --cyan-soft: rgba(24, 191, 255, 0.12);
  --orange: #f7941d;
  --orange-soft: rgba(247, 148, 29, 0.13);
  --display: "Bebas Kai", "Arial Narrow", sans-serif;
  --body: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 86% 4%, rgba(24, 191, 255, 0.09), transparent 27rem),
    radial-gradient(circle at 12% 46%, rgba(247, 148, 29, 0.045), transparent 35rem),
    var(--back);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.skip-link { background: var(--cyan); color: #001019; left: 1rem; padding: 0.7rem 1rem; position: fixed; top: -5rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

.topbar {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(3, 7, 10, 0.88);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 86px;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand { align-items: center; display: flex; gap: 14px; }
.brand strong, .brand small { display: block; line-height: 1; }
.brand strong { font-family: var(--display); font-size: 23px; letter-spacing: 0.13em; }
.brand small { color: var(--cyan); font-family: var(--display); font-size: 16px; letter-spacing: 0.28em; margin-top: 7px; }
.brand-mark { align-items: center; background: var(--cyan); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); display: flex; height: 42px; justify-content: center; position: relative; width: 37px; }
.brand-mark::before { background: #061016; clip-path: inherit; content: ""; inset: 3px; position: absolute; }
.brand-mark span { background: var(--cyan); clip-path: inherit; height: 8px; position: relative; width: 7px; }
.status-line { align-items: center; color: var(--muted); display: flex; font-family: var(--display); font-size: 16px; gap: 10px; letter-spacing: 0.18em; }
.status-light { background: var(--cyan); border-radius: 50%; box-shadow: 0 0 12px var(--cyan); height: 8px; width: 8px; }

.hero {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(34px, 4vw, 60px);
  grid-template-columns: minmax(0, 0.75fr) minmax(560px, 1fr);
  min-height: 780px;
  overflow: hidden;
  padding: clamp(58px, 6vw, 82px) clamp(22px, 5vw, 76px);
  position: relative;
}

.hero::before {
  background-image: linear-gradient(rgba(24, 191, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 191, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
  pointer-events: none;
  position: absolute;
}

.hero-copy, .hero-visual { min-width: 0; position: relative; z-index: 1; }
.eyebrow { color: var(--cyan); font-family: var(--display); font-size: 18px; letter-spacing: 0.24em; margin: 0 0 23px; }
h1, h2, h3, .primary-action, .text-action, .fit-strip strong, .mode-label, .join-details dt, footer strong { font-family: var(--display); font-weight: 400; }
.hero h1 { font-size: clamp(62px, 8.2vw, 126px); letter-spacing: -0.025em; line-height: 0.82; margin: 0; }
.hero h1 em { color: var(--cyan); font-style: normal; text-shadow: 0 0 38px rgba(24, 191, 255, 0.25); }
.hero-intro { color: #c1d0d6; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.6; margin: 35px 0 30px; max-width: 690px; }
.hero-actions, .join-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 18px 28px; }
.primary-action { background: var(--cyan); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); color: #001018; font-size: 17px; letter-spacing: 0.14em; padding: 16px 26px; text-transform: uppercase; transition: filter 160ms ease, transform 160ms ease; }
.primary-action:hover, .primary-action:focus-visible { filter: brightness(1.16); transform: translateY(-2px); }
.text-action { border-bottom: 1px solid #37525e; color: #d8e2e6; font-size: 17px; letter-spacing: 0.08em; padding: 10px 0 7px; text-transform: uppercase; transition: border-color 160ms ease, color 160ms ease; }
.text-action:hover, .text-action:focus-visible { border-color: var(--cyan); color: var(--cyan-bright); }
.availability { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-family: "Barlow Condensed", var(--body); font-size: 16px; letter-spacing: 0.08em; margin: 28px 0 0; text-transform: uppercase; }
.availability span { background: var(--cyan); border-radius: 50%; box-shadow: 0 0 9px var(--cyan); height: 7px; margin-right: 11px; width: 7px; }

.hero-visual { margin: 0 auto; max-width: 720px; width: 100%; }
.tablet-gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tablet-photo { background: #050b0e; border: 1px solid rgba(24, 191, 255, 0.44); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 34px rgba(24, 191, 255, 0.08); margin: 0; min-width: 0; padding: 8px; }
.screen-label { color: var(--cyan); display: flex; font-family: var(--display); font-size: 14px; justify-content: space-between; letter-spacing: 0.13em; padding: 4px 3px 9px; }
.tablet-photo img { aspect-ratio: 3 / 4; object-fit: cover; object-position: center; width: 100%; }
.tablet-photo figcaption { color: #d8e2e6; font-family: var(--display); font-size: 16px; letter-spacing: 0.12em; padding: 10px 3px 3px; text-align: center; }
.tablet-note { align-items: center; background: rgba(7, 16, 22, 0.96); border: 1px solid var(--line); display: flex; gap: 18px; justify-content: space-between; margin-top: 14px; padding: 14px 17px; }
.tablet-note span { color: var(--orange); font-family: var(--display); font-size: 15px; letter-spacing: 0.18em; }
.tablet-note strong { font-family: var(--display); font-size: 18px; font-weight: 400; letter-spacing: 0.08em; text-align: right; }

.fit-strip { background: #061015; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(22px, 7vw, 112px); }
.fit-strip > div { display: grid; gap: 2px 15px; grid-template-columns: auto 1fr; padding: 26px clamp(18px, 2.4vw, 38px); }
.fit-strip > div + div { border-left: 1px solid var(--line); }
.fit-strip span { color: var(--cyan); font-family: var(--display); font-size: 18px; grid-row: 1 / 3; }
.fit-strip strong { font-size: 20px; letter-spacing: 0.08em; }
.fit-strip small { color: var(--muted); font-size: 14px; }

.content-section { border-bottom: 1px solid var(--line); padding: clamp(78px, 9vw, 128px) clamp(22px, 7vw, 112px); }
.section-heading { margin-bottom: 48px; max-width: 820px; }
.section-heading h2, .assignment-panel h2, .join-copy h2 { font-size: clamp(46px, 5.8vw, 82px); letter-spacing: -0.025em; line-height: 0.92; margin: 0 0 22px; }
.section-heading > p:last-child { color: var(--muted); font-size: 19px; margin: 0; }

.fit-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fit-grid article { background: linear-gradient(145deg, var(--panel-light), var(--panel)); border: 1px solid var(--line); min-height: 290px; padding: 32px; position: relative; }
.fit-grid article::before { background: var(--cyan); content: ""; height: 3px; left: -1px; position: absolute; right: -1px; top: -1px; }
.card-index { color: var(--cyan); font-family: var(--display); font-size: 18px; }
.fit-grid h3 { font-size: 31px; letter-spacing: 0.02em; line-height: 1; margin: 72px 0 14px; text-transform: uppercase; }
.fit-grid p { color: var(--muted); font-size: 16px; margin: 0; }

.command-section { background: rgba(6, 14, 19, 0.62); }
.mode-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mode-card { background: var(--panel); border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, 35%); min-height: 440px; overflow: hidden; position: relative; }
.mode-card::before { content: ""; height: 3px; left: 0; position: absolute; right: 0; top: 0; z-index: 2; }
.cyan-card::before { background: var(--cyan); box-shadow: 0 0 16px rgba(24, 191, 255, 0.65); }
.orange-card::before { background: var(--orange); box-shadow: 0 0 16px rgba(247, 148, 29, 0.5); }
.mode-copy { padding: 38px 32px; }
.mode-label { color: var(--cyan); font-size: 17px; letter-spacing: 0.2em; margin: 0; }
.orange-card .mode-label { color: var(--orange); }
.mode-card h3 { font-size: 38px; line-height: 1; margin: 25px 0 18px; text-transform: uppercase; }
.mode-card p:not(.mode-label), .mode-card li { color: var(--muted); font-size: 15px; }
.mode-card ul { border-top: 1px solid var(--line); list-style: none; margin: 26px 0 0; padding: 17px 0 0; }
.mode-card li { padding: 4px 0 4px 17px; position: relative; }
.mode-card li::before { color: var(--cyan); content: "+"; left: 0; position: absolute; }
.orange-card li::before { color: var(--orange); }
.mode-card img { height: 100%; object-fit: cover; object-position: top center; width: 100%; }

.assignment-section { background-image: linear-gradient(rgba(24, 191, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 191, 255, 0.025) 1px, transparent 1px); background-size: 42px 42px; }
.assignment-panel { align-items: start; display: grid; gap: 70px; grid-template-columns: 0.72fr 1fr; }
.assignment-panel ol { list-style: none; margin: 0; padding: 0; }
.assignment-panel li { border-top: 1px solid var(--line); display: grid; gap: 22px; grid-template-columns: 48px 1fr; padding: 23px 0; }
.assignment-panel li:last-child { border-bottom: 1px solid var(--line); }
.assignment-panel li > span { color: var(--cyan); font-family: var(--display); font-size: 18px; }
.assignment-panel strong { font-family: var(--display); font-size: 24px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; }
.assignment-panel li p { color: var(--muted); font-size: 16px; margin: 4px 0 0; }
.feedback-note { align-items: flex-start; background: var(--orange-soft); border: 1px solid rgba(247, 148, 29, 0.38); display: flex; gap: 18px; margin-top: 46px; padding: 25px; }
.feedback-note > span { align-items: center; background: var(--orange); color: #190c00; display: flex; flex: 0 0 32px; font-family: var(--display); font-size: 22px; height: 32px; justify-content: center; }
.feedback-note strong { color: var(--orange); font-family: var(--display); font-size: 20px; font-weight: 400; letter-spacing: 0.09em; }
.feedback-note p { color: #cbb9a4; margin: 6px 0 0; }

.join-section { padding: clamp(70px, 9vw, 120px) clamp(22px, 7vw, 112px); }
.join-frame { background: linear-gradient(140deg, rgba(24, 191, 255, 0.12), rgba(7, 16, 22, 0.96) 46%); border: 1px solid rgba(24, 191, 255, 0.4); box-shadow: inset 0 0 70px rgba(24, 191, 255, 0.035); display: grid; gap: clamp(45px, 7vw, 105px); grid-template-columns: 1.1fr 0.7fr; overflow: hidden; padding: clamp(34px, 6vw, 78px); position: relative; }
.join-frame::after { border: 1px solid rgba(24, 191, 255, 0.16); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); content: ""; height: 330px; position: absolute; right: -140px; top: -150px; width: 285px; }
.join-copy p:not(.eyebrow) { color: #b7c6ce; font-size: 18px; margin: 0 0 30px; max-width: 700px; }
.join-details { margin: 0; position: relative; z-index: 1; }
.join-details > div { border-top: 1px solid var(--line); padding: 18px 0; }
.join-details > div:last-child { border-bottom: 1px solid var(--line); }
.join-details dt { color: var(--cyan); font-size: 16px; letter-spacing: 0.14em; }
.join-details dd { color: var(--muted); font-size: 15px; margin: 4px 0 0; }

footer { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding: 42px clamp(22px, 7vw, 112px); }
footer strong { font-size: 18px; letter-spacing: 0.12em; }
footer p { color: var(--muted); font-size: 14px; margin: 3px 0 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
footer a { color: var(--cyan); font-family: var(--display); font-size: 17px; letter-spacing: 0.1em; text-transform: uppercase; }

@media (max-width: 1050px) {
  .hero { gap: 42px; grid-template-columns: minmax(0, 1fr) 480px; }
  .mode-card { grid-template-columns: 1fr; }
  .mode-card img { aspect-ratio: 16 / 9; max-height: 310px; }
}

@media (max-width: 820px) {
  .topbar { height: 74px; }
  .status-line { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 680px; }
  .hero-visual { max-width: 560px; }
  .fit-strip { grid-template-columns: 1fr; padding-bottom: 8px; padding-top: 8px; }
  .fit-strip > div { padding-left: 0; padding-right: 0; }
  .fit-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .fit-grid, .mode-grid { grid-template-columns: 1fr; }
  .fit-grid article { min-height: 240px; }
  .assignment-panel, .join-frame { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand strong { font-size: 19px; }
  .brand small { display: none; }
  .brand-mark { height: 34px; width: 30px; }
  .hero h1 { font-size: 61px; }
  .hero-intro { font-size: 18px; }
  .hero-actions, .join-actions { align-items: stretch; flex-direction: column; }
  .primary-action, .text-action { text-align: center; }
  .tablet-gallery { gap: 8px; }
  .tablet-photo { padding: 5px; }
  .screen-label { font-size: 12px; letter-spacing: 0.08em; padding: 3px 2px 7px; }
  .tablet-photo figcaption { font-size: 14px; letter-spacing: 0.08em; padding-top: 8px; }
  .tablet-note { align-items: flex-start; flex-direction: column; gap: 2px; padding: 12px 14px; }
  .tablet-note strong { font-size: 16px; text-align: left; }
  .fit-grid article { min-height: 220px; padding: 27px; }
  .fit-grid h3 { margin-top: 45px; }
  .mode-card { display: flex; flex-direction: column; }
  .mode-copy { padding: 30px 25px; }
  .mode-card img { aspect-ratio: 3 / 4; max-height: 480px; }
  .assignment-panel { gap: 28px; }
  .feedback-note { align-items: flex-start; }
  .join-frame { padding: 30px 24px; }
  footer { align-items: flex-start; flex-direction: column; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
