/* LAYOUT */
.page-wrap { max-width: 860px; margin: 0 auto; padding: 0 5%; }

/* HERO */
.hero { padding: 60px 0 48px; }
.hero-eyebrow {
  font-family: var(--mono); font-size: 12px;
  color: var(--accent); letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 20px; height: 1px; background: var(--accent);
}
h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(28px,4.5vw,50px);
  line-height: 1.1; letter-spacing: -.02em;
  color: #fff; margin-bottom: 16px;
}
h1 .hl { color: var(--accent); }
.hero-sub { font-size: 18px; color: var(--text2); max-width: 640px; line-height: 1.65; }

/* SECTIONS */
.section { padding: 48px 0; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(20px,2.8vw,28px); color: #fff; margin-bottom: 14px; }
h3 { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--text); margin-bottom: 10px; }
p { color: var(--text2); line-height: 1.7; margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

/* CARDS */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px 28px; margin-bottom: 16px; }
.card.ok { border-left: 3px solid var(--accent); }
.card.bad { border-left: 3px solid var(--red); }
.card.warn { border-left: 3px solid var(--yellow); }
.card-label { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.card-label.ok { color: var(--accent); }
.card-label.bad { color: var(--red); }
.card-label.warn { color: var(--yellow); }

/* CODE */
pre, code { font-family: var(--mono); font-size: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 7px; color: var(--text2); word-break: break-all; white-space: pre-wrap; }
pre { padding: 16px 18px; margin: 10px 0 16px; overflow-x: auto; }
code { padding: 2px 7px; }

/* STEPS */
.steps { list-style: none; counter-reset: steps; display: flex; flex-direction: column; gap: 16px; }
.steps li { counter-increment: steps; display: flex; gap: 14px; align-items: flex-start; color: var(--text2); font-size: 16px; line-height: 1.6; }
.steps li::before { content: counter(steps); font-family: var(--mono); font-size: 12px; font-weight: 600; background: var(--accent-glow); color: var(--accent); border: 1px solid rgba(34,232,122,.25); border-radius: 50%; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

/* PLATFORM TABS */
.platform-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--text3); background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 5px 12px; }

/* BACK LINK */
.back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px; color: var(--text3); text-decoration: none; border: 1px solid var(--border2); padding: 8px 16px; border-radius: 7px; transition: color .15s, border-color .15s; }
.back-link:hover { color: var(--accent); border-color: var(--accent-dim); }

/* EXPLANATION PAGE FOOTER */
footer { padding: 36px 0; border-top: 1px solid var(--border); max-width: 100%; }
