:root {
  color-scheme: dark;
  --bg: #08100f;
  --panel: #101b19;
  --panel2: #142420;
  --line: #28483f;
  --text: #eef8f5;
  --muted: #a8bdb7;
  --teal: #70ead4;
  --brass: #e0b86c;
  --copper: #d98b66;
  --patina: #76c6b2;
  --rust: #db755e;
  --shadow: 0 18px 50px #0007;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background:
  radial-gradient(circle at 8% 0%, #183a32 0, transparent 31rem),
  radial-gradient(circle at 100% 20%, #3b251b55 0, transparent 28rem), var(--bg); min-height: 100vh; }
a { color: var(--teal); }
button, input { font: inherit; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 20; background: var(--teal); color: #06100e; padding: .8rem 1rem; border-radius: .6rem; }
.skip:focus { top: 1rem; }
.topbar { max-width: 1180px; margin: auto; padding: 28px 24px 18px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.topbar h1 { margin: 2px 0 4px; font-size: clamp(1.75rem, 4vw, 3.2rem); letter-spacing: -.04em; }
.eyebrow { margin: 0; color: var(--brass); letter-spacing: .16em; font-size: .72rem; font-weight: 800; }
.muted { color: var(--muted); }
.status-pill, .tag { border: 1px solid var(--line); background: #10211d; color: var(--patina); border-radius: 999px; padding: 8px 12px; white-space: nowrap; font-size: .78rem; font-weight: 700; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); margin-right: 6px; }
.platform-tabs { position: sticky; top: 0; z-index: 10; display: flex; gap: 8px; overflow-x: auto; padding: 12px max(24px, calc((100vw - 1180px)/2 + 24px)); background: #08100fe8; border-block: 1px solid #1d342e; backdrop-filter: blur(18px); }
.platform-tabs button, .button { border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 9px; padding: 10px 13px; text-decoration: none; white-space: nowrap; cursor: pointer; }
.platform-tabs button:hover, .platform-tabs button.active, .button:hover { background: var(--teal); color: #07110f; border-color: var(--teal); }
main { max-width: 1180px; margin: auto; padding: 24px; }
.card, .notice, .metric, .section-card, .guide { background: linear-gradient(145deg, #14231fdd, #0d1715ed); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.hero { padding: 24px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 24px; align-items: end; }
.hero h2 { margin: 5px 0 10px; font-size: clamp(1.35rem, 3vw, 2.25rem); }
.hero p { margin-bottom: 0; color: var(--muted); max-width: 70ch; }
.hero-actions { display: grid; gap: 10px; }
.search { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); background: #08110f; border-radius: 9px; padding: 10px 12px; }
.search input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; }
.button { text-align: center; font-weight: 750; }
.button.secondary { color: var(--brass); }
.notice { margin: 14px 0; padding: 14px 16px; color: var(--muted); box-shadow: none; }
.notice strong { color: var(--brass); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.metric { padding: 15px; box-shadow: none; }
.metric b { display: block; color: var(--teal); font-size: 1.65rem; }
.metric span { color: var(--muted); font-size: .78rem; }
.guide { margin: 14px 0; padding: 18px; box-shadow: none; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.guide h3, .guide h4 { margin: 0 0 8px; }
.guide article { background: #091311; border: 1px solid #233d36; border-radius: 10px; padding: 13px; }
.guide p, .guide li { color: var(--muted); font-size: .9rem; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.section-card { padding: 17px; box-shadow: none; cursor: pointer; transition: transform .15s ease, border-color .15s ease; min-height: 150px; }
.section-card:hover, .section-card:focus-within { transform: translateY(-2px); border-color: var(--teal); }
.section-card header { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.section-card h3 { margin: 0; font-size: 1.08rem; }
.section-card p { color: var(--muted); margin: 10px 0; }
.section-card footer { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: .75rem; }
.section-card button { width: 100%; height: 100%; text-align: left; border: 0; color: inherit; background: transparent; padding: 0; cursor: pointer; }
.icon { color: var(--brass); font-size: 1.4rem; }
.tag { padding: 4px 8px; font-size: .69rem; }
.resource-list, .step-list { padding: 0; list-style: none; display: grid; gap: 8px; }
.resource-list a { display: block; padding: 11px; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; background: #091310; }
.resource-list a:hover { border-color: var(--teal); }
.resource-list small { display: block; color: var(--muted); margin-top: 4px; }
.step-list li { padding: 10px 12px; background: #0b1513; border-left: 3px solid var(--teal); border-radius: 5px; }
.template pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #07100e; padding: 13px; border-radius: 9px; border: 1px solid var(--line); color: #dcebe7; }
.copy { border: 1px solid var(--line); color: var(--teal); background: #0b1714; padding: 7px 10px; border-radius: 7px; cursor: pointer; }
dialog { width: min(760px, calc(100vw - 28px)); max-height: 86vh; overflow: auto; color: var(--text); background: #0d1715; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 90px #000c; padding: 23px; }
dialog::backdrop { background: #020605cc; backdrop-filter: blur(5px); }
.close { float: right; border: 0; background: transparent; color: var(--muted); font-size: 2rem; cursor: pointer; }
dialog h2 { color: var(--brass); margin-right: 2rem; }
body > footer { max-width: 1180px; margin: 28px auto 0; padding: 20px 24px 38px; border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; gap: 14px; font-size: .8rem; }
.empty { grid-column: 1/-1; padding: 32px; text-align: center; color: var(--muted); }
@media (max-width: 760px) {
  .topbar { align-items: start; flex-direction: column; }
  .hero { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .guide-grid, .cards { grid-template-columns: 1fr 1fr; }
  main { padding: 15px; }
  .section-card { min-height: 138px; padding: 14px; }
  body > footer { flex-direction: column; }
}
@media (max-width: 480px) {
  .guide-grid { grid-template-columns: 1fr; }
  .section-card h3 { font-size: .96rem; }
  .section-card p { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
