/* Static presentation. Content, package links, profile code and a future public
   game address are edited in index.html. No external fonts or assets required. */
:root {
  color-scheme: dark;
  --bg: #10151d;
  --surface: #171e28;
  --surface-raised: #1b2430;
  --border: #303b49;
  --text: #edf0f3;
  --muted: #b0bbc9;
  --gold: #dfbd82;
  --gold-dark: #251f16;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65; }
::selection { background: var(--gold); color: var(--bg); }
[hidden] { display: none !important; }
a { color: var(--gold); text-underline-offset: 4px; }
a:hover { color: #f6dcae; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; border-radius: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; font-weight: 650; }
h1 { font-size: clamp(2.8rem, 5.2vw, 4.65rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.35rem); letter-spacing: -.035em; }
h3 { font-size: 1.13rem; letter-spacing: -.018em; }
strong { color: var(--text); font-weight: 600; }
code { font-family: var(--mono); }
.page-width, .header-inner { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: var(--gold); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.header-inner { min-height: 94px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-size: 1.05rem; font-weight: 650; line-height: 1.35; }
.brand-mark { color: var(--gold); flex-shrink: 0; }
.brand small { display: block; color: var(--muted); font-size: .62rem; font-weight: 500; letter-spacing: .2em; margin-top: 5px; }
nav { display: flex; gap: 28px; }
nav a { font-size: .85rem; text-decoration: none; color: var(--muted); padding-block: 12px; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: center; padding: 78px 0 76px; }
.eyebrow { color: var(--gold); font-size: .66rem; letter-spacing: .16em; font-weight: 650; margin-bottom: 18px; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; }
.small-rule { width: 24px; height: 1px; background: var(--gold); }
h1 span { color: var(--gold); }
.hero-description { color: var(--muted); font-size: 1.06rem; max-width: 540px; margin-top: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; gap: 22px; justify-content: center; align-items: center; min-height: 48px; padding: 10px 20px; font-size: .9rem; font-weight: 600; text-decoration: none; border: 1px solid var(--border); border-radius: 6px; }
.button-primary { background: var(--gold); color: var(--gold-dark); border-color: var(--gold); }
.button-primary:hover { color: var(--gold-dark); background: #f0ce93; }
.button-secondary { color: var(--text); background: var(--surface); }
.badges { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 26px 0 0; padding: 0; }
.badges li { color: var(--muted); font-size: .71rem; border: 1px solid var(--border); border-radius: 4px; padding: 3px 9px; }
.before-you-start { background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--gold); border-radius: 8px; padding: 28px; }
.before-you-start h2 { font-size: 1.4rem; letter-spacing: -.025em; }
.before-you-start .eyebrow { margin-bottom: 10px; }
.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li { position: relative; padding-left: 29px; margin-bottom: 20px; font-size: .87rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); }
.check-list span, .check-list strong { display: block; }
.check-list span { color: var(--muted); margin-top: 3px; }
.text-link { font-size: .85rem; font-weight: 550; text-decoration: none; }
.text-link span { margin-left: 8px; }
.section { padding: 52px 0 58px; border-top: 1px solid var(--border); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-label { color: var(--muted); font-size: .74rem; white-space: nowrap; margin-bottom: 5px; }
.section-intro { color: var(--muted); max-width: 740px; margin-top: 18px; font-size: .95rem; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface); }
.step { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 24px; padding: 26px 32px; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: 0; }
.step-number { width: 36px; height: 36px; display: grid; place-items: center; background: var(--surface-raised); border: 1px solid #48515b; border-radius: 50%; color: var(--gold); font-family: var(--mono); font-size: .85rem; }
.step h3 { margin-top: 6px; }
.step p { color: var(--muted); font-size: .9rem; margin-top: 10px; max-width: 860px; }
.step .text-link { display: inline-block; margin-top: 12px; }
.step .small { font-size: .79rem; }
.step-profile { background: #1b232d; }
.profile-panel { margin-top: 18px; padding: 20px; border: 1px solid #63563f; background: #10161e; border-radius: 6px; }
.profile-label { color: var(--gold); font-size: .62rem; letter-spacing: .14em; font-weight: 600; }
.profile-value { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-top: 8px; }
.profile-value code { overflow-wrap: anywhere; min-width: 0; font-size: 1.02rem; color: var(--text); }
.profile-value code[data-pending] { font-family: inherit; font-size: .98rem; }
.copy-button { flex-shrink: 0; min-height: 44px; padding: 9px 15px; border: 1px solid var(--gold); border-radius: 5px; color: var(--gold); background: transparent; cursor: pointer; font-family: inherit; font-size: .8rem; font-weight: 600; }
.copy-button:hover { background: #28251f; }
.copy-status:empty { display: none; }
.inline-command { display: inline-block; color: var(--gold); background: #10161e; border: 1px solid #48515b; border-radius: 4px; font: 500 .94rem/1.6 var(--mono); padding: 0 7px; }
.step .step-note { color: #dfbd82; }
.connection-info { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 0; padding: 18px 20px; border: 1px solid var(--border); border-radius: 6px; background: #131a23; }
.connection-info dt { font-size: .7rem; color: var(--muted); }
.connection-info dd { margin: 3px 0 0; font-size: .88rem; overflow-wrap: anywhere; }
.connection-info .address-row { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 12px; }
.remember { display: flex; gap: 16px; align-items: start; padding: 18px 6px 0; color: var(--muted); font-size: .82rem; }
.remember > span { color: var(--gold); font-size: 1.2rem; }
.mod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.mod-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); padding: 23px; min-width: 0; }
.mod-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .63rem; margin-bottom: 20px; flex-wrap: wrap; }
.tag { border: 1px solid #786544; border-radius: 4px; background: #28251f; color: var(--gold); padding: 2px 7px; font-size: .63rem; }
.tag-qol { border-color: #486557; color: #b1d4be; background: #1b2b25; }
.mod-card h3 { font-size: 1.08rem; overflow-wrap: anywhere; }
.mod-card p { font-size: .84rem; color: var(--muted); margin-top: 11px; margin-bottom: 20px; }
.mod-card > a { margin-top: auto; text-decoration: none; font-size: .77rem; font-weight: 550; }
.mod-card a span { margin-left: 4px; }
.mod-card .package-note { font-size: .72rem; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border); color: #dfbd82; }
.profile-tip { background: transparent; border-style: dashed; }
.tip-symbol { color: var(--gold); font-size: 2rem; line-height: 1; margin-bottom: 24px; }
.manual-panel { margin-top: 24px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 24px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary .small { display: block; margin-top: 3px; }
.small { font-size: .77rem; color: var(--muted); }
.details-plus { font-size: 1.5rem; color: var(--gold); }
details[open] .details-plus { transform: rotate(45deg); }
.manual-content { padding: 0 24px 24px; max-width: 920px; font-size: .9rem; color: var(--muted); }
.manual-content ol { padding-left: 22px; }
.manual-content li { margin: 10px 0; padding-left: 5px; }
.difference-layout { display: grid; grid-template-columns: .9fr 1.6fr; gap: 56px; margin-top: 32px; }
.vanilla-note { padding: 28px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface); align-self: start; }
.outlined-symbol { display: grid; place-items: center; border: 1px solid #786544; color: var(--gold); width: 42px; height: 42px; border-radius: 6px; font-size: 1.6rem; margin-bottom: 24px; }
.vanilla-note p { color: var(--muted); font-size: .89rem; margin-top: 14px; }
.vanilla-note .small { font-size: .77rem; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 15px 0; border-bottom: 1px solid var(--border); }
.feature-list li:first-child { padding-top: 0; }
.feature-list li:last-child { border-bottom: 0; }
.feature-list strong { display: block; font-size: .94rem; }
.feature-list span { display: block; color: var(--muted); font-size: .86rem; margin-top: 4px; }
.feature-list .feature-label { font-size: .65rem; color: var(--gold); margin-top: 7px; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.help-grid article { background: var(--surface); border: 1px solid var(--border); padding: 25px; border-radius: 7px; }
.help-grid h3 { font-size: 1rem; }
.help-grid p { margin-top: 12px; font-size: .87rem; color: var(--muted); }
.still-stuck { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-top: 18px; padding: 22px 25px; border-left: 2px solid var(--gold); background: var(--surface-raised); border-radius: 0 6px 6px 0; }
.still-stuck h3 { font-size: .95rem; }
.still-stuck p { font-size: .84rem; color: var(--muted); margin-top: 6px; }
.still-stuck > span { color: var(--gold); font-size: 1.5rem; }
.site-footer { border-top: 1px solid var(--border); padding-block: 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .73rem; color: var(--muted); }
.site-footer a { text-decoration: none; }
.footer-divider { color: #657180; padding-inline: 10px; }
@media (max-width: 1000px) {
  .hero { gap: 32px; grid-template-columns: 1.2fr 1fr; }
  nav { gap: 18px; }
  .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .difference-layout { gap: 28px; grid-template-columns: 1fr 1.4fr; }
}
@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-top: 20px; padding-bottom: 10px; }
  nav { flex-basis: 100%; justify-content: space-between; margin-top: 12px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 46px; }
  .hero-description { max-width: 610px; }
  .before-you-start { padding: 24px; }
  .check-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
  .check-list li { margin: 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .difference-layout { grid-template-columns: 1fr; }
  .vanilla-note { max-width: none; }
}
@media (max-width: 520px) {
  .page-width, .header-inner { width: calc(100% - 36px); }
  html { scroll-padding-top: 24px; }
  nav { gap: 8px; flex-wrap: wrap; }
  nav a { font-size: .73rem; min-height: 44px; display: flex; align-items: center; }
  h1 { font-size: clamp(2.25rem, 10.4vw, 3.25rem); }
  .hero { padding-top: 34px; }
  .hero .eyebrow { font-size: .58rem; letter-spacing: .1em; }
  .hero-description { font-size: .97rem; }
  .button { padding-inline: 16px; gap: 14px; }
  .check-list { grid-template-columns: 1fr; gap: 18px; }
  .section { padding-block: 36px; }
  .section .eyebrow { font-size: .59rem; letter-spacing: .11em; }
  .step { grid-template-columns: 30px minmax(0, 1fr); gap: 13px; padding: 23px 16px; }
  .step-number { width: 29px; height: 29px; font-size: .75rem; }
  .step h3 { margin-top: 4px; font-size: 1rem; }
  .step p { font-size: .85rem; }
  .profile-panel { padding: 14px; }
  .profile-value { flex-direction: column; align-items: stretch; gap: 14px; }
  .profile-value code { font-size: .91rem; }
  .copy-button { align-self: start; min-width: 110px; }
  .connection-info { padding: 14px; gap: 14px; grid-template-columns: 1fr; }
  .mod-grid, .help-grid { grid-template-columns: 1fr; }
  .mod-card { padding: 23px; }
  .mod-meta { margin-bottom: 16px; }
  summary { padding: 18px; }
  .manual-content { padding: 0 18px 20px; }
  .vanilla-note { padding: 24px; }
  .help-grid article { padding: 22px; }
  .still-stuck { padding: 20px; }
  .site-footer { align-items: start; flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
