:root {
  --bg: #111522;
  --surface: #1a2030;
  --surface-2: #222a3c;
  --text: #f3f6fb;
  --muted: #aeb8c9;
  --blue: #66a6ff;
  --green: #5ed39a;
  --amber: #f5c66d;
  --red: #ff7a83;
  --violet: #a98cff;
  --line: rgba(174, 184, 201, .18);
  --shadow: 0 25px 75px rgba(0, 0, 0, .34);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 15% 0, rgba(102, 166, 255, .12), transparent 27%), radial-gradient(circle at 90% 18%, rgba(169, 140, 255, .1), transparent 24%), var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.75rem, 6.6vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.28rem; }
.shell { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.site-header { width: min(1240px, calc(100% - 28px)); min-height: 84px; margin: 14px auto 0; padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: sticky; top: 12px; z-index: 20; border: 1px solid var(--line); border-radius: 18px; background: rgba(17, 21, 34, .9); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 50px; height: 50px; object-fit: contain; border-radius: 13px; }
.brand span, .brand small { display: block; }
.brand strong { font-size: 1.08rem; }
.brand small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.main-nav { display: flex; gap: 22px; color: var(--muted); font-size: .94rem; font-weight: 780; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }
.button { min-height: 50px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--blue); border-radius: 12px; background: var(--blue); color: #0b1524; font-weight: 900; box-shadow: 0 12px 30px rgba(102, 166, 255, .2); }
.button-small { min-height: 44px; padding-inline: 18px; font-size: .9rem; }
.button-ghost { background: transparent; color: var(--blue); box-shadow: none; }
.hero { min-height: 720px; padding-block: 90px 64px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.eyebrow, .section-label { margin-bottom: 14px; color: var(--blue); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.lead { max-width: 760px; margin-top: 24px; color: #d3d9e5; font-size: clamp(1.08rem, 2vw, 1.28rem); }
.notice { margin-top: 24px; padding: 16px 18px; border-left: 4px solid var(--red); background: rgba(255, 122, 131, .08); color: #ffd9dd; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.status-strip { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.status-strip span { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.03); color: var(--muted); font-size: .83rem; }
.status-strip b { color: var(--green); margin-right: 6px; }
.hero-media { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, rgba(102,166,255,.12), rgba(169,140,255,.08)); box-shadow: var(--shadow); }
.hero-media img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 20px; }
.hero-media figcaption { padding: 12px 4px 2px; color: var(--muted); font-family: ui-monospace, monospace; font-size: .72rem; text-align: center; }
.section { margin-block: 32px; padding: clamp(28px, 5vw, 54px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(34,42,60,.9), rgba(24,30,45,.94)); box-shadow: var(--shadow); }
.section > h2 { max-width: 880px; margin-bottom: 30px; }
.issue-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.issue-grid article { min-height: 250px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8, 12, 22, .36); }
.issue-grid h3 { margin: 20px 0 10px; }
.issue-grid p { color: var(--muted); }
.issue-grid a { color: var(--blue); font-weight: 850; }
.two-column { grid-template-columns: repeat(2, 1fr); }
.two-column article { min-height: 210px; }
.status-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 20px currentColor; }
.status-blue { color: var(--blue); background: var(--blue); }
.status-green { color: var(--green); background: var(--green); }
.status-amber { color: var(--amber); background: var(--amber); }
.status-red { color: var(--red); background: var(--red); }
.console { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; }
.console-card { padding: 24px; border: 1px solid rgba(94,211,154,.32); border-radius: 14px; background: #080d16; color: #dce7df; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.console-card p { margin: 0; padding: 10px 0; border-bottom: 1px dashed rgba(174,184,201,.16); }
.console-card p:last-child { border-bottom: 0; }
.console-card span { color: var(--green); }
.console-card .blocked, .console-card .blocked span { color: var(--red); }
.breadcrumbs { display: flex; gap: 10px; padding-top: 58px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: var(--blue); }
.article-hero { padding-block: 54px 26px; }
.article-hero h1 { max-width: 980px; font-size: clamp(2.5rem, 5.8vw, 4.8rem); }
.decision-list { display: grid; gap: 12px; }
.decision-list article { display: grid; grid-template-columns: 100px 1fr; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: rgba(8,12,22,.35); }
.decision-list article > span { color: var(--violet); font-family: ui-monospace, monospace; font-size: .8rem; font-weight: 950; }
.decision-list p { margin: 7px 0; color: var(--muted); }
.decision-list a { color: var(--blue); font-weight: 850; }
.rule-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rule-list li { padding: 20px; border-left: 4px solid var(--green); background: rgba(8,12,22,.35); }
.rule-list strong, .rule-list span { display: block; }
.rule-list span { margin-top: 8px; color: var(--muted); }
.code-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.code-grid article { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: rgba(8,12,22,.35); }
.code-grid article > span { color: var(--amber); font-family: ui-monospace, monospace; font-size: 1.15rem; font-weight: 950; }
.code-grid p { margin: 8px 0 0; color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8,12,22,.35); }
.faq-list summary { cursor: pointer; font-weight: 820; }
.faq-list p { margin: 12px 0 0; color: var(--muted); }
.site-footer { margin-top: 70px; border-top: 1px solid var(--line); background: #090d16; }
.footer-inner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 18px; color: var(--text); font-weight: 760; }
@media (max-width: 1000px) {
  .site-header { position: relative; top: 0; flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; justify-content: center; padding-top: 10px; border-top: 1px solid var(--line); }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; }
  .issue-grid { grid-template-columns: repeat(2, 1fr); }
  .console { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 680px) {
  .shell { width: min(100% - 24px, 1160px); }
  .site-header { width: calc(100% - 16px); margin-top: 8px; padding: 10px; }
  .button-small { display: none; }
  .main-nav { justify-content: flex-start; gap: 16px; overflow-x: auto; white-space: nowrap; }
  .hero { padding-block: 52px 28px; gap: 34px; }
  .section { padding: 24px 18px; }
  .status-strip, .issue-grid, .two-column, .rule-list, .code-grid { grid-template-columns: 1fr; }
  .decision-list article, .code-grid article { grid-template-columns: 1fr; }
  .footer-inner { padding-block: 34px; flex-direction: column; align-items: flex-start; }
}
