:root {
    color-scheme: dark;
    --bg: #07100d;
    --surface: #101c17;
    --surface-2: #16251e;
    --line: #294236;
    --text: #edf7f1;
    --muted: #a8bdb2;
    --accent: #44e08b;
    --accent-2: #a8ffcf;
    --warning: #f7c56b;
    --danger: #ff8e8e;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 85% 10%, rgba(68, 224, 139, .13), transparent 30rem),
        linear-gradient(145deg, #050b09, var(--bg));
    color: var(--text);
    font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 72px 0 40px; }
.shell.compact { width: min(760px, calc(100% - 32px)); }
.hero { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; margin-bottom: 36px; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 12px; font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
h2 { margin-bottom: 8px; letter-spacing: -.025em; }
.lead { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.eyebrow { margin-bottom: 12px; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.badge { flex: none; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--warning); background: var(--surface); font-size: .85rem; }
.badge.ok { color: var(--accent-2); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card, .panel { border: 1px solid var(--line); border-radius: 20px; background: rgba(16, 28, 23, .86); box-shadow: 0 22px 70px rgba(0, 0, 0, .18); }
.card { min-height: 210px; padding: 22px; }
.card p { color: var(--muted); }
.step { display: inline-grid; width: 34px; height: 34px; margin-bottom: 28px; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--accent); font-size: .78rem; font-weight: 800; }
.status { color: var(--warning); }
.ok-text { color: var(--accent); }
.panel { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 18px; padding: 28px; }
.panel p { color: var(--muted); }
.panel code { display: inline-block; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--accent-2); background: #07100d; overflow-wrap: anywhere; }
.button { display: inline-flex; min-height: 44px; padding: 11px 18px; align-items: center; justify-content: center; border-radius: 12px; background: var(--accent); color: #03130a; font-weight: 800; text-decoration: none; white-space: nowrap; }
.button.disabled { background: var(--surface-2); color: var(--muted); }
.notice { margin-bottom: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.notice.error, .failure { border-color: rgba(255, 142, 142, .5); color: var(--danger); }
.result { margin-top: 12vh; }
footer { padding: 22px 4px; color: var(--muted); font-size: .86rem; }

@media (max-width: 860px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
    .hero, .panel { flex-direction: column; }
}
@media (max-width: 520px) {
    .shell { padding-top: 40px; }
    .grid { grid-template-columns: 1fr; }
    .card { min-height: 0; }
}

