/* ==========================================================================
   Sunset Drive RP
   Palette: sunset orange #ff8b1f / #ffb347 -> neon cyan #35dcff / #1fdcff
            on near-black #03060a
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
#root {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #fff;
  background:
    radial-gradient(circle at 18% 24%, #ff78281f, #0000 24%),
    radial-gradient(circle at 82% 18%, #ff008c14, #0000 24%),
    radial-gradient(circle at 80% 74%, #00d7ff17, #0000 24%),
    linear-gradient(#03060a 0%, #020409 100%);
  background-attachment: fixed;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  color: inherit;
}

/* Visible keyboard focus — the original stylesheet had none at all. */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #35dcff;
  outline-offset: 3px;
  border-radius: 6px;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* The hero's blurred glow blobs are wider than the viewport and were causing
     a horizontal scrollbar. "clip" (not "hidden") stops the scroll without
     creating a scroll container, so the sticky header keeps working. */
  overflow-x: clip;
}

.site-shell > main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  z-index: 50;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #03060be6;
  border-bottom: 1px solid #ffffff0f;
  padding: 12px 24px;
  position: sticky;
  top: 0;
}

.header-inner {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
}

.header-brand {
  justify-self: start;
  align-items: center;
  gap: 12px;
  display: inline-flex;
}

.header-brand-logo {
  object-fit: cover;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  box-shadow: 0 0 20px #ff8c001f;
  transition: box-shadow 0.25s, transform 0.25s;
}

.header-brand:hover .header-brand-logo {
  box-shadow: 0 0 26px #ff8c0057;
  transform: scale(1.06);
}

.header-brand-text {
  text-align: left;
}

.header-brand-title {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 900;
}

.header-brand-subtitle {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffb25e;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
}

.header-nav {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.15vw, 18px);
  display: flex;
}

.header-nav a {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffffb8;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s, transform 0.2s;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff8b1f, #1fdcff);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.header-nav a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.header-nav a:hover::after,
.header-nav a.is-active::after {
  transform: scaleX(1);
}

.header-nav a.is-active {
  color: #fff;
}

.header-actions {
  justify-self: end;
  align-items: center;
  gap: 10px;
  display: flex;
}

/* ==========================================================================
   Live server status pill
   ========================================================================== */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid #ffffff1a;
  background: #ffffff05;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff4d;
  flex: none;
}

.status-pill.is-online {
  border-color: #35dcff4d;
  color: #9eeeff;
}

.status-pill.is-online .status-dot {
  background: #35dcff;
  box-shadow: 0 0 0 0 #35dcffb3;
  animation: statusPulse 2s ease-out infinite;
}

.status-pill.is-offline {
  color: #ffffff8a;
}

.status-pill.is-offline .status-dot {
  background: #ff6b6b99;
}

.status-pill.is-loading {
  color: #ffffff6b;
}

.status-text {
  line-height: 1;
}

@keyframes statusPulse {
  0% {
    box-shadow: 0 0 0 0 #35dcffb3;
  }
  70% {
    box-shadow: 0 0 0 7px #35dcff00;
  }
  100% {
    box-shadow: 0 0 0 0 #35dcff00;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 0;
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s, border-color 0.2s, color 0.2s;
  display: inline-flex;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-outline {
  color: #fff;
  background: #ffffff05;
  border: 1px solid #ffffff24;
}

.btn-outline:hover {
  color: #9eeeff;
  border-color: #35dcff59;
}

.btn-primary {
  color: #071118;
  background: linear-gradient(90deg, #ff8b1f 0%, #ffb347 22%, #1fdcff 100%);
  box-shadow: 0 10px 28px #ff8c0024;
}

.btn-primary:hover {
  filter: brightness(1.06);
}

/* ==========================================================================
   Mobile navigation
   ========================================================================== */

.nav-toggle {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #ffffff24;
  border-radius: 14px;
  background: #ffffff05;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s, opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav a {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffffc4;
  font-size: 15px;
  font-weight: 800;
  padding: 15px 4px;
  border-bottom: 1px solid #ffffff0d;
}

.mobile-nav a.is-active {
  color: #35dcff;
}

.mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section {
  padding: 80px 0 34px;
}

.hero-grid {
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 40px 0 20px;
  display: grid;
}

.hero-left,
.hero-copy {
  max-width: 720px;
}

.section-eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #35dcff;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 900;
  display: inline-block;
}

.section-eyebrow.left {
  text-align: left;
}

.hero-left h1,
.hero-copy h1,
.section-intro h1 {
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 30px #ffffff0d;
  margin: 0;
  /* Fluid: a fixed 76px overflowed the text column on laptops and wrapped
     the headline onto five lines. Scales with the viewport, capped at 76px. */
  font-size: clamp(38px, 3.9vw, 76px);
  font-weight: 900;
  line-height: 0.97;
  /* Even line lengths instead of a hard <br> that orphaned a word. */
  text-wrap: balance;
}

/* Centred page headings get the full container width, so they can run larger. */
.section-intro.centered h1 {
  font-size: clamp(38px, 5.4vw, 76px);
}

.hero-left p,
.hero-copy p,
.section-intro p,
.split-panel-left p {
  color: #ffffffbd;
  max-width: 640px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.75;
}

.hero-right,
.hero-logo-wrap {
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.hero-right::before,
.hero-logo-wrap::before {
  content: "";
  filter: blur(80px);
  z-index: 1;
  background: radial-gradient(circle, #ff783257, #ff00783d, #0000 70%);
  width: 650px;
  height: 620px;
  animation: 5s ease-in-out infinite glowPulse;
  position: absolute;
}

.hero-right::after,
.hero-logo-wrap::after {
  content: "";
  filter: blur(120px);
  z-index: 0;
  background: conic-gradient(#ff783233, #ff007833, #00c8ff33, #ff783233);
  width: 720px;
  height: 750px;
  animation: 12s linear infinite rotateGlow;
  position: absolute;
}

.hero-logo {
  z-index: 2;
  filter: drop-shadow(0 0 10px #ff783299) drop-shadow(0 0 25px #ff500080)
    drop-shadow(0 0 60px #ff005059);
  width: 100%;
  max-width: 560px;
  height: auto;
  transition: transform 0.4s;
  animation: 6s ease-in-out infinite logoFloat;
  position: relative;
}

.hero-logo:hover {
  transform: scale(1.05);
}

.hero-buttons {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  display: flex;
}

/* ==========================================================================
   Hero artwork — full-bleed cinematic image under the headline
   ========================================================================== */

.hero-copy.centered {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy.centered h1 {
  font-size: clamp(38px, 5.4vw, 76px);
}

.hero-copy.centered p {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy.centered .hero-buttons {
  justify-content: center;
}

.hero-art-section {
  padding: 10px 0 40px;
}

.hero-art {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid #ffffff1a;
  box-shadow: 0 24px 70px #000000a6, 0 0 90px #ff8c001a;
}

/* ==========================================================================
   Sections & cards
   ========================================================================== */

.banner-section {
  padding: 8px 0 26px;
}

.main-banner {
  border: 1px solid #ffffff14;
  border-radius: 24px;
  width: 100%;
  height: auto;
  box-shadow: 0 12px 36px #00000057;
}

.content-section,
.page-section {
  padding: 58px 0 92px;
}

.section-intro {
  max-width: 950px;
  margin: 0 auto 44px;
}

.section-intro.centered {
  text-align: center;
}

.section-intro p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.home-stack {
  gap: 30px;
  display: grid;
}

.home-top-section {
  padding-top: 10px;
}

.home-top-section .split-panel {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-section .section-intro {
  max-width: 980px;
  margin-bottom: 20px;
}

.hero-section .section-intro h1 {
  font-size: 88px;
  line-height: 0.94;
}

.hero-section .section-intro p {
  max-width: 860px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  display: grid;
}

.feature-card {
  background: linear-gradient(#ffffff0a, #ffffff05);
  border: 1px solid #ffffff14;
  border-radius: 22px;
  min-height: 220px;
  height: 100%;
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  border-color: #35dcff38;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px #00000057;
}

.feature-card h3 {
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
}

.feature-card p {
  color: #ffffffb8;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

.split-panel {
  background: linear-gradient(#ffffff08, #ffffff04);
  border: 1px solid #ffffff14;
  border-radius: 26px;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 28px;
  padding: 32px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  display: grid;
  box-shadow: 0 8px 30px #0000002e;
}

.split-panel:hover {
  border-color: #35dcff40;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px #00000047;
}

.split-panel-left {
  flex-direction: column;
  justify-content: center;
  display: flex;
}

.split-panel-left h2 {
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.08;
}

.split-panel-right {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.info-pill {
  color: #ffffffeb;
  background: #ffffff06;
  border: 1px solid #ffffff14;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.55;
  transition: border-color 0.25s, background 0.25s;
}

.info-pill:hover {
  border-color: #35dcff33;
  background: #ffffff0a;
}

/* Rules */

.rules-wrapper {
  flex-direction: column;
  gap: 52px;
  display: flex;
}

.rules-block {
  flex-direction: column;
  gap: 18px;
  display: flex;
}

.rules-section-title {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #35dcff;
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
}

.rules-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  display: grid;
}

.rule-card {
  background: linear-gradient(#ffffff09, #ffffff04);
  border: 1px solid #ffffff14;
  border-radius: 18px;
  height: 100%;
  padding: 22px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.rule-card:hover {
  border-color: #35dcff33;
  transform: translateY(-4px);
  box-shadow: 0 14px 34px #0000003d;
}

.rule-card h3 {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 900;
}

.rule-card p {
  color: #ffffffb8;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

/* Jobs */

.jobs-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  display: grid;
}

.job-card {
  background: linear-gradient(#ffffff0a, #ffffff05);
  border: 1px solid #ffffff14;
  border-radius: 22px;
  min-height: 210px;
  height: 100%;
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  box-shadow: 0 8px 24px #00000029;
}

.job-card:hover {
  border-color: #35dcff38;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px #00000057;
}

.job-card h3 {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.05;
}

.job-card p {
  color: #ffffffbd;
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
}

.jobs-footer-note {
  text-align: center;
  color: #ffffffa6;
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.7;
}

/* ==========================================================================
   Join page
   ========================================================================== */

.join-panel {
  text-align: center;
  background: linear-gradient(#ffffff08, #ffffff04);
  border: 1px solid #ffffff14;
  border-radius: 26px;
  max-width: 760px;
  margin: 0 auto;
  padding: 38px 24px;
  box-shadow: 0 10px 30px #0000002e;
}

.join-panel-logo {
  filter: drop-shadow(0 0 24px #ff782847);
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto 24px;
}

.join-panel-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  display: flex;
}

.join-console {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #ffffff12;
}

.join-console-label {
  display: block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff8a;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 12px;
}

.join-console-code {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 18px;
  border: 1px dashed #ffffff2e;
  border-radius: 14px;
  background: #00000038;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}

.join-console-code:hover {
  border-color: #35dcff66;
  background: #00000059;
}

.join-console-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  color: #ffb25e;
  letter-spacing: 0.04em;
}

.join-console-copy {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #9eeeff;
  border-left: 1px solid #ffffff1f;
  padding-left: 14px;
}

.join-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 44px auto 0;
}

.join-step {
  background: linear-gradient(#ffffff0a, #ffffff05);
  border: 1px solid #ffffff14;
  border-radius: 22px;
  height: 100%;
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s;
}

.join-step:hover {
  border-color: #35dcff38;
  transform: translateY(-6px);
}

.join-step-num {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: transparent;
  background: linear-gradient(90deg, #ff8b1f, #1fdcff);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 14px;
}

.join-step h3 {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
}

.join-step p {
  color: #ffffffb8;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid #ffffff0f;
  background: #01030699;
  margin-top: 40px;
  padding: 56px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 20px #ff8c001f;
}

.footer-title {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 10px;
}

.footer-blurb {
  color: #ffffff8a;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  max-width: 420px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #35dcff;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 4px;
}

.footer-links a {
  color: #ffffffa6;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: color 0.2s;
  width: fit-content;
}

.footer-links a:hover {
  color: #9eeeff;
}

.footer-code {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #ffffff66;
}

.footer-code span {
  display: block;
  margin-top: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #ffb25e;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid #ffffff0d;
  color: #ffffff5c;
  font-size: 12px;
}

.footer-disclaimer {
  color: #ffffff47;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

/* Scoped to .js so that if the script fails to load the content is simply
   visible, rather than a page of invisible opacity:0 blocks. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Grid children must fill their track so cards keep equal height. */
.feature-grid > .reveal,
.jobs-grid > .reveal,
.rules-grid > .reveal,
.join-steps > .reveal,
.home-stack > .reveal {
  height: 100%;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes logoFloat {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.03);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes glowPulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1360px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    gap: 14px;
  }

  .header-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Must be scoped to .is-open — a bare "display: block" here beats the
     [hidden] attribute and leaves the menu permanently open. */
  .mobile-menu.is-open {
    display: block;
    max-width: 1380px;
    margin: 0 auto;
    padding: 18px 0 6px;
  }

  .hero-grid,
  .split-panel,
  .feature-grid,
  .join-steps {
    grid-template-columns: 1fr;
  }

  .hero-left,
  .hero-copy,
  .hero-right,
  .hero-logo-wrap {
    text-align: center;
    max-width: 100%;
  }

  .section-eyebrow.left {
    text-align: center;
  }

  .hero-left p,
  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-section .section-intro h1 {
    font-size: 64px;
    line-height: 0.98;
  }
}

@media (max-width: 900px) {
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    text-align: center;
    grid-template-columns: 1fr;
  }

  .hero-right,
  .hero-logo-wrap {
    margin-top: 30px;
  }

  .hero-logo {
    max-width: 360px;
  }

  .hero-right::before,
  .hero-logo-wrap::before {
    width: 420px;
    height: 400px;
  }

  .hero-right::after,
  .hero-logo-wrap::after {
    width: 460px;
    height: 480px;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 14px 16px 12px;
  }

  .container {
    padding: 0 18px;
  }

  .header-brand-title {
    font-size: 14px;
  }

  .header-brand-subtitle {
    font-size: 9px;
  }

  .hero-section {
    padding: 40px 0 20px;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .hero-left p,
  .hero-copy p,
  .section-intro p,
  .split-panel-left p,
  .feature-card p,
  .rule-card p,
  .job-card p,
  .info-pill {
    font-size: 15px;
  }

  .split-panel-left h2 {
    font-size: 28px;
  }

  .rules-section-title {
    font-size: 24px;
  }

  .btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 12px;
  }

  .content-section,
  .page-section {
    padding: 40px 0 64px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .join-console-code {
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
  }

  .join-console-copy {
    border-left: 0;
    border-top: 1px solid #ffffff1f;
    padding-left: 0;
    padding-top: 10px;
  }
}

/* Respect the OS "reduce motion" setting. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
