:root {
  color-scheme: dark;
  --background: #0b1115;
  --surface: #101a20;
  --text: #e7eeec;
  --muted: #a2b0b7;
  --accent: #b9cfbd;
  --line: #2a363d;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--background);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
::selection { color: var(--background); background: var(--accent); }
.container { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 12px 24px; background: var(--text); color: var(--background); }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: #0b1115; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.wordmark { font-size: 23px; font-weight: 800; letter-spacing: .07em; white-space: nowrap; }
.wordmark-divider { color: #62737c; margin: 0 9px; font-weight: 300; }
.accent { color: var(--accent); }
nav { display: flex; gap: 32px; font-size: 13px; }
nav a { color: var(--muted); padding-block: 12px; }
nav a:hover, .back-top:hover { color: var(--accent); }
.hero { position: relative; isolation: isolate; min-height: 620px; display: flex; flex-direction: column; justify-content: space-between; background: #172635 url("assets/alan-wake-banner.jpg") center center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--background) 0%, transparent 38%), linear-gradient(90deg, rgb(7 15 22 / 94%) 0%, rgb(7 15 22 / 79%) 28%, rgb(7 15 22 / 24%) 62%, rgb(7 15 22 / 8%) 100%); }
.hero-content { padding-top: 78px; padding-bottom: 48px; }
.eyebrow { margin: 0 0 20px; color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.signal { display: inline-block; width: 6px; height: 6px; margin-right: 9px; background: var(--accent); box-shadow: 0 0 12px #b9cfbd66; vertical-align: middle; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-family: Impact, "Arial Narrow", "Segoe UI", sans-serif; font-stretch: condensed; font-weight: 900; font-size: clamp(52px, 6.8vw, 88px); line-height: 1; letter-spacing: -.035em; }
.hero-subtitle { display: block; margin-top: 14px; color: var(--accent); font-family: "Segoe UI", Arial, sans-serif; font-size: 14px; font-weight: 500; letter-spacing: .48em; line-height: 1.5; }
.hero-tagline { font-size: 25px; line-height: 1.35; font-weight: 300; margin-bottom: 16px; }
.hero-description { color: #b4c1ca; font-size: 14px; margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; font-size: 12px; font-weight: 650; transition: background .15s, border-color .15s; }
.button-primary { background: var(--accent); color: #14201b; }
a.button-primary:hover { background: #d1e4d5; }
.button-secondary { background: #101a2080; border-color: #6c7f8c; }
.button-secondary:hover { background: #23323b; border-color: var(--accent); }
.button:disabled { background: #25382f; color: #b6c8bb; border-color: #3d5546; cursor: not-allowed; }
.hero-caption { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 26px; font-family: Consolas, monospace; color: #93a5ad; font-size: 9px; letter-spacing: .18em; }
.section { padding-block: 72px; border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 400; line-height: 1.22; letter-spacing: -.035em; margin-bottom: 0; }
h3 { font-size: 17px; line-height: 1.4; font-weight: 500; margin-bottom: 12px; }
.overview { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; }
.lead { font-size: 19px; line-height: 1.6; margin-bottom: 16px; }
.placeholder { color: var(--muted); font-size: 14px; }
.feature-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.feature-notes h3 { font-size: 13px; margin-bottom: 8px; }
.feature-notes p { font-size: 13px; margin-bottom: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.label { border: 1px solid #3a4b40; padding: 5px 10px; color: var(--accent); font-size: 10px; letter-spacing: .04em; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.download-card { background: var(--surface); border: 1px solid var(--line); padding: 32px; }
.download-card.featured { border-top: 2px solid var(--accent); background: linear-gradient(130deg, #172720, var(--surface) 80%); }
.download-card h3 { font-size: 25px; margin-bottom: 12px; }
.download-card .eyebrow { margin-bottom: 14px; }
.download-card .button { margin-top: 10px; }
.small { font-size: 11px; color: var(--muted); }
p.small { margin: 16px 0 0; }
.resource-placeholder { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 13px; border-top: 1px solid var(--line); font-size: 13px; }
.section-aside { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.editor-note { color: var(--muted); font-size: 12px; border-left: 2px solid #688371; padding-left: 14px; margin-bottom: 30px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step-number { display: block; font-family: Consolas, monospace; font-size: 13px; color: var(--accent); border-top: 1px solid #4a5e52; padding-top: 18px; margin-bottom: 20px; }
.steps h3 { font-size: 15px; }
.steps p { font-size: 13px; margin: 0; }
.faq-section { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; border-bottom: 0; padding-bottom: 92px; }
.faq-section .section-aside { margin-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 28px 20px 0; position: relative; font-size: 14px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 16px; color: var(--accent); font-size: 22px; font-weight: 300; }
details[open] summary::after { content: "−"; }
summary:hover { color: var(--accent); }
details p { padding-right: 28px; margin-bottom: 22px; }
.site-footer { border-top: 1px solid var(--line); background: #080e12; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 35px; }
.site-footer p { color: #87979f; font-size: 11px; margin: 12px 0 0; }
.back-top { white-space: nowrap; font-size: 12px; }
.back-top span { margin-left: 16px; color: var(--accent); }

@media (min-width: 1600px) {
  .hero { background-size: cover; min-height: 680px; }
  .hero-content { padding-top: 105px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .overview, .faq-section { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .download-card { padding: 24px; }
  .hero { background-position: 55% center; }
  .hero::before { background: linear-gradient(0deg, var(--background), transparent 70%), linear-gradient(90deg, #071016e6, #07101655); }
  .section { padding-block: 52px; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 36px); }
  .header-inner { flex-direction: column; gap: 4px; padding-block: 16px 8px; }
  nav { gap: 26px; font-size: 12px; }
  .hero { min-height: 600px; background-position: 48% center; }
  .hero-content { padding-top: 55px; }
  .hero .eyebrow { font-size: 8px; }
  .hero-subtitle { font-size: 11px; letter-spacing: .4em; }
  .hero-tagline { font-size: 23px; }
  .hero-caption { font-size: 8px; letter-spacing: .08em; }
  .button { padding-inline: 16px; gap: 14px; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .download-grid, .feature-notes { grid-template-columns: 1fr; }
  .feature-notes { gap: 20px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps li { display: flex; gap: 22px; }
  .step-number { flex: 0 0 34px; padding-top: 8px; }
  .steps h3 { margin-bottom: 8px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
