@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #121411;
  --panel: #1a1d17;
  --panel-raised: #22261d;
  --ink: #f0eee4;
  --muted: #bdc0b1;
  --subtle: #979d8d;
  --line: #343b2d;
  --gold: #dec28a;
  --gold-deep: #b69454;
  --gold-ink: #211c11;
  --radius: 5px;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { font-size: 16px; scroll-padding-top: 90px; }
.footer-links button,.text-button { border:0; background:none; color:inherit; padding:0; font:inherit; font-size:14px; line-height:1.6; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.footer-links button:focus-visible,.text-button:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 80% 0%, #52633719, transparent 58%); }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: var(--gold); text-decoration-color: #dec28a70; text-underline-offset: 4px; }
a:hover { text-decoration-color: currentColor; }
a, button { touch-action: manipulation; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
img { max-width: 100%; display: block; height: auto; }
figure { margin: 0; }
figcaption { color: var(--muted); margin-top: 10px; font-size: 14px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; }
h1 { font-size: clamp(42px, 4.6vw, 67px); }
h2 { font-size: clamp(30px, 3vw, 41px); margin-bottom: 15px; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; margin-bottom: 10px; }
p { margin-bottom: 18px; }
small { font-size: 14px; }
strong { font-weight: 650; color: var(--ink); }
ul, ol { padding-left: 22px; }
li + li { margin-top: 7px; }
code { font-family: Consolas, "Courier New", monospace; font-size: 14px; overflow-wrap: anywhere; color: var(--gold); }
kbd { display: inline-block; min-width: 30px; padding: 2px 7px; text-align: center; border: 1px solid #59624b; border-bottom-width: 2px; border-radius: 3px; background: #2a3023; color: var(--ink); font: 14px var(--sans); white-space: normal; }
.container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 30; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: #121411ed; position: relative; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand-monogram { display: grid; place-items: center; width: 39px; height: 43px; border: 1px solid var(--gold-deep); color: var(--gold); font: 19px var(--display); letter-spacing: -2px; padding-right: 2px; border-radius: 4px 4px 12px 12px; }
.brand-name { font-family: var(--display); font-size: 20px; line-height: 1.15; letter-spacing: -.4px; }
.brand-name small { display: block; color: var(--subtle); font-family: var(--sans); letter-spacing: 0; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: 23px; }
.main-nav a { font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; padding-block: 10px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); }
.menu-button { display: none; color: var(--ink); background: var(--panel); border: 1px solid var(--line); padding: 8px 12px; border-radius: var(--radius); font-size: 14px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 12px 21px; min-height: 48px; border: 1px solid var(--gold); background: var(--gold); color: var(--gold-ink); border-radius: var(--radius); font-size: 16px; font-weight: 650; line-height: 1.3; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.button:hover { background: #ead4a8; border-color: #ead4a8; transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button.secondary { color: var(--ink); border-color: #626b55; background: transparent; }
.button.secondary:hover { background: var(--panel-raised); border-color: var(--muted); }
.button.small { min-height: 40px; padding: 9px 15px; font-size: 14px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.eyebrow { color: var(--gold); font-size: 14px; font-weight: 600; margin-bottom: 15px; }
.hero { display: grid; grid-template-columns: .78fr 1.22fr; gap: 42px; align-items: center; padding-block: 44px 32px; }
.hero h1 { margin-bottom: 21px; max-width: 7.5em; }
.hero h1 span { display: block; color: var(--gold); }
.hero p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 36ch; margin-bottom: 27px; }
.hero p.play-note { font-size: 14px; line-height: 1.55; margin-top: 14px; margin-bottom: 0; max-width: 48ch; }
.hero-art { border: 1px solid #4b523f; border-radius: var(--radius); overflow: hidden; background: var(--panel); box-shadow: 0 15px 45px #090c0870; }
.hero-art img { width: 100%; aspect-ratio: 1600 / 1004; object-fit: cover; }
.feature-rail { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); margin-bottom: 32px; }
.feature-rail div { padding: 17px 25px; border-right: 1px solid var(--line); }
.feature-rail div:first-child { padding-left: 0; }
.feature-rail div:last-child { border-right: none; }
.feature-rail strong { display: block; font-size: 18px; font-weight: 600; }
.feature-rail span { color: var(--muted); font-size: 14px; }
.setup-notice { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 26px; border: 1px solid #4c543d; background: #23291e; border-radius: var(--radius); }
.setup-notice h2 { font: 600 20px var(--sans); letter-spacing: -.3px; margin-bottom: 6px; }
.setup-notice p { color: var(--muted); font-size: 16px; margin: 0; max-width: 80ch; }
.section { margin-block: 54px; }
.section-intro { max-width: 680px; margin-bottom: 24px; }
.section-intro p { color: var(--muted); margin-bottom: 0; }
.showcase { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.showcase figure { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.showcase img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.showcase figcaption { margin: 0; padding: 16px 20px 19px; }
.showcase h3 { color: var(--ink); margin-bottom: 6px; }
.showcase p { font-size: 16px; margin: 0; }
.class-preview { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; padding: 29px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); align-items: center; }
.class-preview p { color: var(--muted); }
.class-preview h2 { margin-bottom: 14px; }
.class-names { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; }
.class-names a { display: block; color: var(--ink); text-decoration: none; font-size: 17px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.class-names a:hover { color: var(--gold); }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.guide-link { display: block; text-decoration: none; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color .15s, background .15s; }
.guide-link:hover { border-color: #6c765b; background: #20251b; }
.guide-index { font: 23px var(--display); color: var(--gold); min-width: 25px; }
.guide-link h3 { font-size: 18px; margin-bottom: 6px; }
.guide-link p { color: var(--muted); margin: 0; font-size: 16px; }
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-weight: 600; padding: 17px 32px 17px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 6px; top: 15px; color: var(--gold); font-size: 23px; font-weight: 400; }
details[open] summary::after { content: '-'; }
details p { color: var(--muted); max-width: 90ch; padding-right: 20px; }
.origin-note { color: var(--muted); font-size: 16px; margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 29px; margin-top: 56px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 26px; }
.footer-top p { margin: 0; font-size: 14px; color: var(--muted); max-width: 65ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; flex-shrink: 0; }
.footer-links a { font-size: 14px; }
.footer-legal { margin: 18px 0 0; font-size: 14px; color: var(--subtle); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; color: var(--subtle); font-size: 14px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb span[aria-hidden] { padding-inline: 3px; }
.page-heading { margin-block: 28px 32px; max-width: 850px; }
.page-heading h1 { font-size: clamp(37px, 4vw, 54px); margin-bottom: 16px; }
.page-heading p { color: var(--muted); font-size: 18px; max-width: 70ch; margin-bottom: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: 42px; align-items: start; }
.article { min-width: 0; }
.article > section { margin-block: 0 36px; }
.article h2 { font-size: 30px; }
.article h3 { margin-top: 24px; }
.article p, .article li { color: var(--muted); }
.article figure { margin-block: 24px; }
.article figure img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
.article .notice { padding: 18px 21px; border-left: 3px solid var(--gold-deep); background: var(--panel); margin-block: 21px; }
.article .notice p:last-child { margin-bottom: 0; }
.sidebar { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 23px; position: sticky; top: 24px; }
.sidebar h2 { font: 600 17px var(--sans); margin-bottom: 13px; letter-spacing: 0; }
.sidebar nav { display: grid; gap: 11px; }
.sidebar a { color: var(--muted); font-size: 14px; text-decoration: none; }
.sidebar a:hover, .sidebar a[aria-current="page"] { color: var(--gold); }
.sidebar .button { margin-top: 22px; color: var(--gold-ink); width: 100%; }
.key-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 23px; }
.key-item { display: grid; grid-template-columns: minmax(95px, .8fr) 1.2fr; gap: 15px; align-items: center; padding: 12px 14px; background: var(--panel); border-radius: var(--radius); }
.key-item span { color: var(--muted); font-size: 14px; }
.step-list { list-style: none; padding: 0; display: grid; gap: 18px; counter-reset: setup; }
.step-list > li { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 16px; margin: 0; }
.step-list > li::before { counter-increment: setup; content: counter(setup); font-family: var(--display); color: var(--gold); border: 1px solid var(--line); width: 35px; height: 35px; display: grid; place-items: center; border-radius: var(--radius); }
.step-list h3 { margin: 1px 0 8px; }
.step-list p { margin-bottom: 12px; }
.code-block { background: #0e100d; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-block: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.code-block code { line-height: 1.7; word-break: break-word; }
.download-list { display: grid; gap: 12px; margin-block: 19px; }
.download-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; background: var(--panel); border: 1px solid var(--line); padding: 18px; border-radius: var(--radius); }
.download-item strong { display: block; }
.download-item span { font-size: 14px; color: var(--muted); }
.class-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-block: 27px 21px; }
.search-field { display: flex; flex-direction: column; gap: 8px; width: min(360px, 100%); font-size: 14px; color: var(--muted); }
.search-field input { width: 100%; color: var(--ink); background: var(--panel); border: 1px solid #626b55; border-radius: var(--radius); padding: 11px 14px; font-size: 16px; }
.search-field input::placeholder { color: var(--subtle); opacity: 1; }
.result-count { font-size: 14px; color: var(--muted); }
.class-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.class-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; scroll-margin-top: 20px; }
.class-card h2 { font-size: 29px; margin-bottom: 6px; }
.class-role { color: var(--gold); font-size: 14px; margin-bottom: 12px; }
.class-detail { color: var(--muted); font-size: 16px; margin-bottom: 21px; }
.class-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 20px; }
.class-stats dt { color: var(--subtle); font-size: 14px; margin-bottom: 5px; }
.class-stats dd { margin: 0; color: var(--ink); font-size: 16px; }
.class-card details { border: 0; border-top: 1px solid var(--line); }
.class-card summary { font-size: 14px; padding-block: 13px; font-weight: 500; }
.class-card summary::after { top: 10px; }
.class-card details p { font-size: 14px; margin-bottom: 15px; padding-right: 0; }
.skill-list { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0 0 17px; list-style: none; }
.skill-list li { margin: 0; font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 3px 8px; }
.empty-message { border: 1px solid var(--line); padding: 26px; background: var(--panel); color: var(--muted); border-radius: var(--radius); }
.empty-message h2 { color: var(--ink); font-size: 25px; }
.article-width { max-width: 850px; }
[hidden] { display: none !important; }
@media (min-width: 1440px) { .hero { padding-top: 52px; } }
@media (max-width: 1100px) {
  .main-nav { gap: 15px; }
  .brand-name { font-size: 18px; }
  .brand-name small { font-size: 14px; }
  .hero { gap: 26px; grid-template-columns: .85fr 1.15fr; }
  .article-layout { gap: 28px; grid-template-columns: minmax(0, 1fr) 235px; }
  .class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .container { width: min(1240px, calc(100% - 40px)); }
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: 0; }
  .menu-button { display: block; }
  .main-nav { width: 100%; padding-bottom: 13px; flex-wrap: wrap; gap: 4px 19px; }
  .main-nav a { padding-block: 8px; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; }
  .hero h1 { font-size: clamp(42px, 6vw, 58px); }
  .hero p:not(.eyebrow) { font-size: 16px; }
  .button { font-size: 14px; padding-inline: 17px; }
  .feature-rail div { padding: 16px; }
  .setup-notice { padding: 21px; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .sidebar nav { grid-template-columns: 1fr 1fr; }
  .sidebar .button { width: auto; }
  .footer-top { display: grid; gap: 18px; }
}
@media (max-width: 767px) {
  .hero { grid-template-columns: 1fr; padding-block: 30px 25px; gap: 27px; }
  .hero h1 { max-width: 11em; font-size: clamp(44px, 9.5vw, 64px); margin-bottom: 17px; }
  .hero p:not(.eyebrow) { font-size: 17px; max-width: 48ch; margin-bottom: 23px; }
  .eyebrow { margin-bottom: 12px; }
  .hero-art img { aspect-ratio: 1600 / 1004; }
  .feature-rail { grid-template-columns: repeat(2, 1fr); margin-bottom: 24px; }
  .feature-rail div { padding: 14px 0 14px 19px; }
  .feature-rail div:nth-child(2) { border-right: 0; }
  .feature-rail div:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .feature-rail div:nth-child(4) { border-top: 1px solid var(--line); }
  .feature-rail strong { font-size: 17px; }
  .setup-notice { grid-template-columns: 1fr; gap: 16px; }
  .setup-notice .button { justify-self: start; }
  .section { margin-block: 39px; }
  .showcase, .class-preview, .guide-grid, .class-grid { grid-template-columns: 1fr; }
  .class-preview { gap: 20px; padding: 23px; }
  .class-names { column-gap: 12px; }
  .class-names a { font-size: 16px; }
  .class-card { padding: 22px; }
  .showcase { gap: 18px; }
  .guide-link { padding: 19px; gap: 15px; }
  .page-heading { margin-block: 23px 28px; }
  .page-heading h1 { font-size: clamp(35px, 7.5vw, 48px); }
  .page-heading p { font-size: 17px; }
  .key-grid { grid-template-columns: 1fr; }
  .article h2 { font-size: 28px; }
  .class-tools { display: grid; }
  .search-field { width: 100%; }
  .download-item { display: grid; }
  .download-item .button { justify-self: start; }
  .site-footer { margin-top: 39px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .brand-name { font-size: 17px; }
  .brand { gap: 9px; }
  .brand-monogram { width: 33px; height: 39px; }
  .menu-button { padding-inline: 10px; }
  .hero h1 { font-size: 43px; }
  .button-row { gap: 10px; }
  .button { padding-inline: 14px; }
  .class-names { grid-template-columns: 1fr 1fr; }
  .class-stats { grid-template-columns: 1fr; }
  .step-list > li { grid-template-columns: 29px minmax(0, 1fr); gap: 11px; }
  .step-list > li::before { width: 29px; height: 32px; }
  .sidebar nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
