:root {
  color-scheme: dark;
  --ink: #f4f1e9;
  --muted: #c8c0b4;
  --panel: #191919;
  --panel-soft: #242321;
  --line: rgba(255, 255, 255, 0.14);
  --gold: #f5be38;
  --rust: #c65f32;
  --green: #62b86f;
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #111;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  filter: saturate(1.06) contrast(1.05);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.64) 42%, rgba(8, 8, 8, 0.18) 100%),
    linear-gradient(0deg, #111 0%, rgba(17, 17, 17, 0) 34%);
}

.topbar {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img,
footer img {
  width: 24px;
  height: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  padding: 124px 0 clamp(72px, 12vh, 128px);
  margin-left: clamp(18px, 5vw, 72px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.hero-copy p:not(.eyebrow),
.section p,
.steps,
.checklist {
  color: var(--muted);
}

.hero-copy p:not(.eyebrow) {
  max-width: 590px;
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--gold);
  color: #16120a;
  border-color: var(--gold);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 9vw, 100px) 0;
}

.page-header {
  min-height: 54vh;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.74)),
    url("assets/JYMBBanner.png") center / cover;
  border-bottom: 1px solid var(--line);
}

.page-topbar {
  position: relative;
}

.page-title {
  padding-top: clamp(70px, 10vw, 120px);
}

.page-title p:not(.section-kicker) {
  max-width: 680px;
  font-size: 1.12rem;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.page-links a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 800;
}

.intro-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.gif-panel {
  background: #0b0b0b;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px var(--shadow);
  overflow: hidden;
}

.gif-panel img {
  display: block;
  width: 100%;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}

.feature-list article {
  min-height: 260px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-list img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 18px;
}

.feature-list article:first-child img {
  width: 72px;
  height: 72px;
}

.split {
  border-top: 1px solid var(--line);
}

.split.alt {
  align-items: stretch;
}

.steps,
.checklist,
.compact-list {
  padding-left: 22px;
}

.steps li,
.checklist li,
.compact-list li {
  margin: 0 0 12px;
}

.note-box,
.command-window {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.note-box {
  border-left: 4px solid var(--gold);
}

.command-window {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 24px 60px var(--shadow);
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 13px 15px;
  background: #2f2e2b;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--rust);
}

.window-bar span:nth-child(2) {
  background: var(--gold);
}

.window-bar span:nth-child(3) {
  background: var(--green);
}

pre {
  margin: 0;
  padding: 22px;
  white-space: pre-wrap;
  color: #e6e0d5;
  font: 0.95rem/1.55 Consolas, "Courier New", monospace;
}

.commands-section {
  border-top: 1px solid var(--line);
}

.commands-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.commands-grid div {
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

code {
  color: #ffe09a;
  font-family: Consolas, "Courier New", monospace;
  overflow-wrap: anywhere;
}

.commands-grid span {
  color: var(--muted);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}

.support-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.faq-section {
  border-top: 1px solid var(--line);
}

.legal-page {
  max-width: 900px;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.legal-page p {
  color: var(--muted);
}

.notice {
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 86px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-copy {
    padding-top: 156px;
  }

  .intro-grid,
  .split,
  .feature-list,
  .commands-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .commands-grid div {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
