@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070706;
  --bg-2: #191918;
  --bg-3: #10100f;
  --text: #f6f6f6;
  --muted: #a0a7a4;
  --accent: #f0b429;
  --accent-2: #ffc857;
  --line: rgba(246, 246, 246, 0.12);
  --display: "Syne", "Arial Narrow", Impact, sans-serif;
  --body: "Manrope", "Segoe UI", sans-serif;
  --pad: clamp(1.1rem, 3vw, 2rem);
  --max: 1180px;
  --header: 4.6rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: var(--accent);
  color: #1a0904;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header);
  padding: 0.75rem var(--pad);
  background: rgba(7, 7, 6, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  margin-right: auto;
  min-width: 0;
}

.logo strong {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}

.logo span {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.28rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: 12rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.desktop-nav > a,
.drop > summary,
.mobile-nav summary.menu-open {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

.desktop-nav > a:hover,
.drop > summary:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }

.drop { position: relative; }

.drop > summary { list-style: none; }

.drop > summary::-webkit-details-marker,
.mobile-nav > summary::-webkit-details-marker { display: none; }

.desktop-nav .drop-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 16.5rem;
  padding: 0.45rem;
  background: #121211;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
}

.mobile-nav .drop-menu {
  position: static;
  display: grid;
  padding: 0 0 0.4rem 0.6rem;
  background: transparent;
  border: 0;
}

.drop-menu a {
  text-decoration: none;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
}

.drop-menu a:hover { background: rgba(243, 52, 4, 0.12); color: var(--text); }

.header-cta { flex: none; }

.mobile-nav { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
}

.btn-accent { background: var(--accent); color: #1a0904; }
.btn-accent:hover { background: var(--accent-2); color: #1a0904; }
.btn-ghost { background: transparent; border-color: rgba(246, 246, 246, 0.28); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: clamp(1.4rem, 3vw, 2.6rem) auto clamp(2rem, 4vw, 3.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3, .hero-support {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 6.6vw, 6.5rem);
}

.hero-support {
  margin: 1.15rem 0 0;
  max-width: 28rem;
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: #f3f3f2;
}

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42rem;
}

.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

.hero h1 { font-size: clamp(2.5rem, 4.4vw, 4.4rem); }
.hero.hero-solo { grid-template-columns: minmax(0, 46rem); }

.hero-media,
.hero-frame,
.frame {
  position: relative;
  margin: 0;
  min-width: 0;
}

.hero-media img,
.frame img,
.class-media img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 24px;
  object-fit: cover;
  object-position: center center;
}

.hero-copy { min-width: 0; }

.hero .lede { max-width: 36rem; }

.hero figcaption,
.frame figcaption {
  position: static;
  max-width: none;
  margin: 0.7rem 0 0;
  text-align: left;
  text-shadow: none;
  color: var(--muted);
}

.hero h1 em {
  display: block;
  font-style: normal;
}

.section { padding: clamp(3.2rem, 7vw, 6.2rem) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-plain { background: var(--bg-2); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head h2,
.page-hero h1,
.split h2,
.prose h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4.15rem);
}

.section-head p:last-child { margin: 0; }

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0.5rem 0 1rem;
}

.class-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  text-decoration: none;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.class-card.feature { grid-row: auto; }

.class-media { background: #111; }
.class-media img { border-radius: 0; transition: transform 0.5s ease; }
.class-card:hover .class-media img { transform: scale(1.03); }
.class-card:hover { border-color: rgba(240, 180, 41, 0.7); }

.class-copy { padding: 1.1rem 1.15rem 1.25rem; }
.class-copy .num { color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; }
.class-copy h3 { margin: 0.35rem 0 0.4rem; font-size: clamp(1.5rem, 2vw, 2rem); }
.class-copy p { margin: 0; color: var(--muted); }
.class-copy .go { display: inline-block; margin-top: 0.8rem; color: var(--text); font-weight: 700; }

.levels, .steps, .choose { display: grid; gap: 1rem; }
.levels { grid-template-columns: 1fr 1fr; }
.level, .step, .choice {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
}
.level h3, .step h3, .choice h3 { margin: 0.4rem 0 0.6rem; font-size: 1.7rem; }
.level p, .step p, .choice p { margin: 0; color: var(--muted); }
.level .num, .step .num { font-family: var(--display); font-size: 2.4rem; color: var(--accent); line-height: 1; }

.steps { grid-template-columns: repeat(3, 1fr); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: center;
}
.frame figcaption, .note {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 0.7rem;
}

.faq { display: grid; gap: 0.55rem; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-family: var(--display); font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0.7rem 0 0.2rem; }

.cta-band {
  margin: 0 var(--pad) clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 32px;
  background:
    linear-gradient(120deg, rgba(240, 180, 41, 0.18), transparent 42%),
    var(--bg-2);
  border: 1px solid var(--line);
}

.cta-band h2 { margin: 0 0 0.7rem; font-size: clamp(2.3rem, 5vw, 4.4rem); max-width: 12ch; }

.page-hero {
  padding: clamp(1.6rem, 4vw, 3rem) 0 clamp(1rem, 3vw, 2rem);
}

.page-hero:has(.frame) {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.9fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: center;
}

.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem 0.55rem; color: var(--muted); font-size: 0.88rem; margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }

.prose { display: grid; gap: 1.5rem; padding-bottom: clamp(2rem, 5vw, 4rem); }
.prose section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 1rem 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.prose section:has(.frame) .frame { margin: 0 0 0.4rem; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--text); text-underline-offset: 0.18em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.1rem; }
.stack { display: grid; gap: 0.8rem; }

.related { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.related a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  font-weight: 700;
}
.related a:hover { border-color: var(--accent); }

.choose { grid-template-columns: 1fr 1fr; }

.form {
  display: grid;
  gap: 0.9rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.2rem;
}

.field { display: grid; gap: 0.35rem; }
.field span { font-weight: 700; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  min-height: 3rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--muted); }
.check input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.status { min-height: 1.4rem; margin: 0; font-weight: 700; }
.status.ok { color: #d7f5c8; }
.status.err { color: #ffb4a2; }
.form button[disabled] { opacity: 0.6; cursor: wait; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 4rem;
}

.contact-grid .frame { max-width: 22rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  background: #050505;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer h2 { margin: 0 0 0.7rem; font-size: 1.5rem; }
.site-footer p, .site-footer li { color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.fine { margin-top: 1.6rem; color: var(--muted); font-size: 0.86rem; }

.result-page, .missing {
  min-height: 70vh;
  display: grid;
  align-content: center;
  padding: 4rem 0;
}

@media (max-width: 1439px) {
  h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
}

@media (max-width: 1199px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav > summary {
    list-style: none;
    min-height: 2.8rem;
    min-width: 2.8rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 0.95rem;
    font-weight: 700;
    cursor: pointer;
  }
  .mobile-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0c0c0b;
    border-bottom: 1px solid var(--line);
    padding: 0.6rem var(--pad) 1.2rem;
    display: grid;
    gap: 0.2rem;
    max-height: calc(100vh - var(--header));
    overflow: auto;
  }
  .mobile-panel a, .mobile-panel summary {
    text-decoration: none;
    padding: 0.85rem 0.2rem;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
  }
  .mobile-panel .btn { margin-top: 0.8rem; }
}

@media (max-width: 1023px) {
  .hero, .section-head, .levels, .steps, .split, .page-hero, .prose section, .choose, .contact-grid, .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .class-card.feature { grid-row: auto; }
  .class-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 767px) {
  :root { --pad: 1rem; }
  .hero { margin-top: 1rem; }
  .hero-support { max-width: 100%; font-size: 1.15rem; }
  .section-head, .prose section, .contact-grid, .foot-grid, .levels, .steps, .choose, .class-grid, .page-hero:has(.frame), .split {
    grid-template-columns: minmax(0, 1fr);
  }
  h1 { font-size: 2.15rem; }
  .hero h1 { font-size: 2.35rem; }
  h2 { font-size: 1.85rem; }
  .lede, .note, h1, h2, h3, p { overflow-wrap: break-word; }
  .hero .lede, .page-hero .lede, .split .lede { max-width: 100%; }
  .cta-band { margin-inline: 0.7rem; border-radius: 22px; }
  .site-header { padding-inline: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
