:root {
    --text: #242529;
    --muted: #8a96a3;
    --blue: #00aff0;
    --blue-ink: #0091c7;
    --line: #e7e8ec;
    --chip: #f1f2f4;
    --soft: #f6f7f8;
    --bg: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
    color: var(--text);
    background: var(--bg);
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
}
a { color: var(--blue); text-decoration: none; }
button, input { font-family: inherit; }
button { cursor: pointer; }

.app { display: flex; min-height: 100vh; background: #fff; }
.rail {
    width: 268px;
    flex: 0 0 268px;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 18px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); padding: 4px 8px 14px; }
.mark { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; }
.brand b { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.menu { display: flex; flex-direction: column; gap: 2px; }
.item {
    display: flex; align-items: center; gap: 14px;
    color: var(--muted); font-weight: 500; font-size: 16px;
    padding: 10px 12px; border-radius: 12px;
}
.item svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: 0 0 auto; }
.item.on, .item:hover { color: var(--text); background: transparent; }
.item.on { font-weight: 500; }
.rail-spacer { flex: 1; }
.lang { display: flex; gap: 6px; padding: 8px 12px 12px; }
.lang a { color: var(--muted); font-size: 13px; font-weight: 500; }
.lang a.on { color: var(--blue); }
.rail-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; border-radius: 1000px; background: var(--blue); color: #fefefe;
    font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em;
}
.rail-cta:hover { background: var(--blue-ink); }
.rail-cta svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }

.stage { flex: 1; display: flex; justify-content: flex-start; min-width: 0; border-left: 1px solid var(--line); }
.col { width: min(680px, 100%); border-right: 1px solid var(--line); min-height: 100vh; }

.bar {
    position: sticky; top: 0; z-index: 5; background: #fff;
    display: flex; align-items: center; justify-content: space-between;
    height: 56px; padding: 0 16px; border-bottom: 1px solid var(--line);
}
.bar h1 { margin: 0; font-size: 19px; font-weight: 500; text-transform: uppercase; letter-spacing: 0; }
.hero { padding: 0; display: block; }
.kicker { display: none; }
.lead { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0; }
.composer { padding: 16px; border-bottom: 1px solid var(--line); }
.hero-actions { display: flex; gap: 8px; margin-top: 12px; }
.hero-card { display: none; }

h2.section-title {
    margin: 0; padding: 16px 16px 8px;
    font-size: 16px; font-weight: 500;
}
.cards { display: flex; flex-direction: column; gap: 0; }
.card {
    background: #fff; border: 0; border-bottom: 1px solid var(--line);
    border-radius: 0; padding: 16px; position: relative;
    display: flex; flex-direction: column; gap: 6px;
}
.card.popular { box-shadow: none; }
.badge {
    position: static; align-self: flex-start;
    background: #e7f6fd; color: var(--blue);
    border-radius: 1000px; font-size: 12px; font-weight: 500;
    padding: 4px 10px; text-transform: uppercase;
}
.price { font-size: 22px; font-weight: 500; letter-spacing: 0; }
.card ul { margin: 4px 0 8px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.card li { padding: 3px 0 3px 16px; position: relative; }
.card li:before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.pay-row { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
a.btn, button.btn, button.crypto {
    display: inline-flex; align-items: center; justify-content: center;
    height: 44px; padding: 0 16px; border-radius: 1000px;
    font-size: 14px; font-weight: 500; text-transform: uppercase; border: 0;
}
a.btn, button.btn { background: var(--blue); color: #fefefe; }
a.btn:hover, button.btn:hover { background: var(--blue-ink); }
button.crypto { background: #fff; color: var(--text); border: 1px solid var(--line); }
button:disabled { opacity: .45; cursor: default; }
.note {
    font-size: 13px; color: var(--text); background: var(--soft);
    border: 0; border-radius: 8px; padding: 10px 12px;
}
.banner {
    margin: 12px 16px; padding: 12px 14px; border-radius: 8px;
    background: #fff4f4; color: #c0392b; font-size: 14px;
}
.steps { margin: 0; padding: 8px 16px 20px; }
.step-row { display: flex; flex-direction: column; gap: 0; }
.step { background: transparent; border: 0; border-radius: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.step b { display: block; font-weight: 500; margin-bottom: 2px; }
.num { color: var(--blue); font-size: 12px; font-weight: 500; }
.muted { color: var(--muted); }
.faq { padding: 8px 16px 28px; }
.faq details { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 500; }
.faq p { color: var(--muted); margin: 8px 0 0; font-size: 14px; }
footer.fine {
    padding: 18px 16px 32px; color: var(--muted); font-size: 13px;
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
footer.fine a { color: var(--muted); }

.auth-wrap { padding: 28px 16px 48px; }
.auth-card { width: min(440px, 100%); background: transparent; border: 0; padding: 0; }
.auth-card h1 { font-size: 28px; font-weight: 400; letter-spacing: -.02em; margin: 6px 0 8px; text-transform: none; }
.auth-card .kicker { display: block; color: var(--text); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
input[type="text"], input[type="password"] {
    width: 100%; background: #fff; color: var(--text);
    border: 1px solid #d6d8dc; border-radius: 8px; padding: 13px 14px; outline: none; font-size: 16px;
}
input:focus { border-color: var(--blue); }
.err { color: #e04b4b; min-height: 1.2em; font-size: 14px; }
.auth-card .btn { width: 100%; margin-top: 8px; height: 48px; }

.panel {
    background: #fff; border: 0; border-bottom: 1px solid var(--line);
    border-radius: 0; padding: 16px; margin: 0;
}
.order { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.pill { border-radius: 1000px; padding: 6px 10px; font-size: 12px; font-weight: 500; }
.pill.wait { background: #fff6e8; color: #b7791f; }
.pill.run { background: #e7f6fd; color: var(--blue); }
.pill.ok { background: #e8f8ef; color: #1e9e57; }
.creds { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; flex-basis: 100%; }
.cred { background: var(--soft); border-radius: 8px; padding: 10px 12px; }
.cred span { display: block; color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.cred code { font-size: 14px; word-break: break-all; color: var(--text); }

.modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: none; place-items: center; padding: 18px; z-index: 50; }
.modal.show { display: grid; }
.modal .box { width: min(420px, 100%); background: #fff; border-radius: 12px; padding: 22px; color: var(--text); }
.toast {
    position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
    background: #242529; color: #fff; padding: 12px 16px; border-radius: 8px; display: none; z-index: 60;
}

@media (max-width: 860px) {
    .app { flex-direction: column; }
    .rail {
        width: 100%; flex: none; height: auto; position: sticky; z-index: 8;
        flex-direction: row; align-items: center; gap: 8px;
        padding: 8px 10px; border-bottom: 1px solid var(--line); background: #fff;
        overflow: auto;
    }
    .brand { padding: 0; }
    .brand b { display: none; }
    .menu { flex-direction: row; }
    .item span { display: none; }
    .item { padding: 8px; }
    .rail-spacer, .lang { display: none; }
    .rail-cta { height: 36px; padding: 0 12px; white-space: nowrap; font-size: 12px; }
    .stage, .col { border: 0; width: 100%; }
    .creds { grid-template-columns: 1fr; }
}
