:root {
    --bg: #080a0f;
    --bg-2: #0b0e14;
    --panel: #0f131b;
    --panel-2: #141924;
    --line: rgba(255, 255, 255, 0.07);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #e8ebf1;
    --muted: #8b93a3;
    --accent: #22c55e;
    --accent-ink: #04130a;
    --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
    --accent-line: color-mix(in srgb, var(--accent) 40%, transparent);
    --ok: #22c55e;
    --warn: #f59e0b;
    --danger: #ef4444;
    --discord: #5865f2;
    --radius: 12px;
    --radius-sm: 8px;
    --font-display: "Rajdhani", system-ui, sans-serif;
    --font-body: "Outfit", system-ui, sans-serif;
    --header-h: 68px;
    --max: 1200px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body > main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: .01em; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.accent { color: var(--accent); }
.display { font-family: var(--font-display); font-weight: 700; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.meta { margin-bottom: 10px; color: var(--muted); font-size: .82rem; }

.ban-banner {
    background: linear-gradient(90deg, rgba(239,68,68,.22), rgba(239,68,68,.08));
    border-bottom: 1px solid rgba(239,68,68,.35);
}
.ban-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    padding: 12px 0;
    font-size: .95rem;
}
.ban-banner-inner strong { color: #fecaca; display: inline-flex; align-items: center; gap: 8px; }
.ban-banner-inner span { color: var(--muted); flex: 1; min-width: 180px; }
.ban-banner .btn { min-height: 36px; padding: 0 14px; font-size: .9rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: var(--accent-ink);
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: .03em;
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px var(--accent); }
.btn i, .btn svg { width: 1em; font-size: .95em; flex: none; }
.btn-ghost {
    background: rgba(255, 255, 255, .03);
    border-color: var(--line-strong);
    color: var(--text);
}
.btn-ghost:hover { border-color: var(--text); box-shadow: none; }
.btn-outline {
    background: transparent;
    border-color: var(--accent-line);
    color: var(--accent);
}
.btn-outline:hover { background: var(--accent-soft); border-color: var(--accent); box-shadow: none; }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { box-shadow: 0 8px 24px -8px var(--discord); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-small { min-height: 34px; padding: 0 14px; font-size: .9rem; border-radius: 7px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: .03em;
}
.text-link::after { content: "→"; transition: transform .2s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    height: var(--header-h);
    background: rgba(8, 10, 15, .82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}
.nav { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; flex: none; }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.brand-name b { color: var(--accent); font-weight: 700; }
.brand-sub {
    color: var(--muted);
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
}
.menu { display: flex; gap: 4px; margin-inline: auto; }
.menu a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    color: #c3c9d4;
    font-family: var(--font-display);
    font-size: .98rem;
    font-weight: 600;
    transition: color .2s, background .2s;
}
.menu a i { font-size: .82rem; opacity: .8; }
.menu a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.menu a.is-active { color: var(--accent); background: var(--accent-soft); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--muted);
    font-size: .88rem;
}
.user-chip i { color: var(--accent); }
.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: none;
    color: var(--text);
    cursor: pointer;
}
.nav-toggle { display: none; }

.mobile-menu {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 55;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px;
    background: var(--bg);
    overflow-y: auto;
}
.mobile-menu a:not(.btn) {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
}
.mobile-menu a:not(.btn) i { width: 20px; color: var(--accent); font-size: 1rem; }
.mobile-menu .btn { margin-top: 18px; }

/* ---------- Backdrop ---------- */
.glow-bg { position: relative; isolation: isolate; overflow: hidden; }
.glow-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(600px 380px at 12% 30%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
        radial-gradient(500px 340px at 88% 70%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%);
}
.glow-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

/* ---------- Hero ---------- */
.hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    padding: 64px 0 80px;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(.4); }
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bg) 10%, rgba(8,10,15,.6) 60%, rgba(8,10,15,.85)), linear-gradient(180deg, transparent 60%, var(--bg));
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 6px 8px 6px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255,255,255,.03);
    font-size: .85rem;
    font-weight: 600;
}
.status-pill button {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: var(--muted);
    cursor: pointer;
}
.status-pill button:hover { color: var(--text); }
.status-pill button.is-spinning i { animation: spin .8s linear infinite; }
.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent);
    animation: pulse 2s infinite;
}
.dot.is-off { background: var(--warn); animation: none; }
.hero-title {
    margin-bottom: 18px;
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    line-height: 1.02;
}
.hero-text { max-width: 50ch; margin-bottom: 28px; color: #b4bbc8; font-size: 1.08rem; }
.launch-countdown {
    max-width: 34rem;
    margin: 0 0 26px;
    padding: 16px 18px;
    border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
    border-radius: 14px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), rgba(0,0,0,.25));
}
.launch-countdown-label {
    margin: 0 0 12px;
    color: #d7dde8;
    font-size: .95rem;
}
.launch-countdown-label strong { color: var(--accent); font-weight: 700; }
.launch-countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.launch-unit {
    text-align: center;
    padding: 10px 6px;
    border-radius: 10px;
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.06);
}
.launch-unit strong {
    display: block;
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    letter-spacing: .02em;
}
.launch-unit span {
    display: block;
    margin-top: 4px;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
}
.launch-countdown.is-done .launch-countdown-label { color: var(--accent); }
.connect-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 8px 10px 8px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.025);
    color: #c3c9d4;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: .85rem;
}
.connect-chip i.fa-server { color: var(--accent); }
.copy-btn {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 6px;
    background: rgba(255,255,255,.05);
    color: var(--muted);
    cursor: pointer;
}
.copy-btn:hover, .copy-btn.is-done { color: var(--accent); }

.server-card {
    padding: 26px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(20,25,36,.85), rgba(12,15,22,.85));
    box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(10px);
}
.server-stats-btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 18px;
}
.stats-range { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.stats-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.stat-kpi {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.02);
}
.stat-kpi span {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: 6px;
}
.stat-kpi strong {
    display: block;
    font-family: "Rajdhani", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
}
.stat-kpi small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .8rem;
}
.stats-panel {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.02);
}
.stats-panel h2 {
    margin: 0 0 14px;
    font-size: 1.15rem;
}
@media (max-width: 800px) {
    .stats-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .stats-kpis { grid-template-columns: 1fr; }
}
.server-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.server-card-head strong { font-family: var(--font-display); font-size: 1.2rem; }
.server-card-head span { color: var(--muted); font-size: .82rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 4px 8px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong {
    display: block;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
}
.stat span { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.capacity { margin-top: 24px; }
.capacity-row { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--muted); font-size: .82rem; }
.capacity-row b { color: var(--text); font-weight: 600; }
.bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.server-perks { display: grid; gap: 10px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.server-perks li { display: flex; align-items: center; gap: 10px; color: #c3c9d4; font-size: .92rem; }
.server-perks i { width: 18px; color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 44px; text-align: center; }
.section-title { font-size: clamp(2rem, 3.6vw, 2.7rem); }
.section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 3px;
    background: var(--accent);
}
.section-head p { margin: 14px auto 0; color: var(--muted); }
.section-foot { margin-top: 32px; text-align: center; }

/* ---------- Job cards ---------- */
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.job-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    transition: border-color .25s, transform .25s var(--ease);
}
.job-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.job-media { position: relative; height: 170px; overflow: hidden; }
.job-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.job-card:hover .job-media img { transform: scale(1.05); }
.job-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--panel)); }
.job-politi .job-media img { object-position: 78% center; }
.job-icon {
    position: absolute;
    left: 20px;
    bottom: 12px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--accent-line);
    border-radius: 11px;
    background: rgba(15, 19, 27, .85);
    backdrop-filter: blur(6px);
    color: var(--accent);
    font-size: 1.1rem;
}
.job-body { display: flex; flex: 1; flex-direction: column; padding: 14px 20px 20px; }
.job-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.job-top h3 { font-size: 1.4rem; }
.job-body p { flex: 1; color: var(--muted); font-size: .93rem; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border: 1px solid var(--accent-line);
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: .74rem;
    font-weight: 600;
    white-space: nowrap;
}
.badge-muted { border-color: var(--line-strong); background: rgba(255,255,255,.04); color: var(--muted); }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.feature {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    transition: border-color .25s, transform .25s var(--ease);
}
.feature:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.15rem;
}
.feature h3 { margin-bottom: 8px; font-size: 1.35rem; }
.feature p { color: var(--muted); font-size: .93rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
    position: relative;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}
.step-num {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    font-family: var(--font-display);
    font-weight: 700;
}
.step h3 { margin-bottom: 8px; font-size: 1.3rem; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- CTA band ---------- */
.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px;
    border: 1px solid var(--accent-line);
    border-radius: 16px;
    background: linear-gradient(120deg, var(--accent-soft), rgba(255,255,255,.02) 60%);
}
.cta-band h2 { margin-bottom: 6px; font-size: 1.8rem; }
.cta-band p { margin: 0; color: var(--muted); }

/* ---------- Page header ---------- */
.page-head {
    padding: 52px 0 44px;
    border-bottom: 1px solid var(--line);
}
.page-head::before {
    background: radial-gradient(700px 260px at 0% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
}
.page-head::after { display: none; }
.page-head h1 { display: flex; align-items: center; gap: 14px; font-size: clamp(2rem, 4vw, 2.8rem); overflow-wrap: anywhere; }
.page-head h1 i { color: var(--accent); font-size: .85em; }
.page-head .lead { margin: 10px 0 0; }
.page-head .meta { margin: 0 0 8px; }

.main { padding: 44px 0 90px; }
.main-flush { padding: 0; }

/* ---------- Content blocks ---------- */
.card, .surface {
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
a.card { transition: border-color .2s; }
a.card:hover { border-color: var(--accent-line); }
.card h2 { margin-bottom: 8px; font-size: 1.4rem; }
.card p { color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.block-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.news-list { display: grid; gap: 16px; }
.news-card h2 { font-size: 1.5rem; overflow-wrap: anywhere; }
.news-card h2 a:hover { color: var(--accent); }
.news-body, .news-excerpt {
    max-width: 100%;
    color: var(--muted);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.news-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article { max-width: 780px; }
.article .news-body { color: #c3c9d4; font-size: 1.05rem; line-height: 1.8; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.team-card {
    padding: 28px 18px 24px;
    text-align: center;
    background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.team-card:hover {
    border-color: var(--accent-line);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}
.team-logo-link { display: inline-block; border-radius: 50%; }
.team-logo {
    width: 88px;
    height: 88px;
    margin: 0 auto 14px;
    object-fit: cover;
    border: 2px solid var(--accent);
    border-radius: 50%;
    padding: 3px;
    background: var(--panel-2);
}
.team-card h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    line-height: 1.25;
}
.team-roles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
.team-role {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.2;
}
.team-role:first-child {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 22%, transparent);
}

.accordion { display: grid; gap: 10px; }
.accordion details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    overflow: hidden;
}
.accordion details[open] { border-color: var(--line-strong); }
.accordion summary {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 16px 20px;
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--accent); margin-right: 8px; }
.accordion summary::after {
    content: "";
    flex: none;
    margin-left: auto;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translateY(-3px);
    transition: transform .25s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.accordion .acc-body { padding: 0 20px 20px; color: #b4bbc8; border-top: 1px solid var(--line); }
.accordion .acc-body p:first-child { margin-top: 16px; }
.accordion .acc-body p:last-child { margin-bottom: 0; }
.accordion .acc-body ul { margin: 0; padding-left: 18px; }

/* ---------- Forms & notices ---------- */
.form { display: grid; gap: 18px; max-width: 720px; }
label { display: grid; gap: 8px; color: #c3c9d4; font-size: .9rem; font-weight: 500; }
input, textarea, select {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    font: inherit;
    transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 140px; resize: vertical; }
input[type="checkbox"] { width: auto; }
.notice {
    margin-bottom: 20px;
    padding: 16px 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
}
.notice p:last-child { margin-bottom: 0; }
.notice .btn { margin-top: 12px; }
.notice.warn { border-left-color: var(--warn); }
.notice.ok { border-left-color: var(--ok); }

/* ---------- Panel ---------- */
.panel-layout { display: grid; grid-template-columns: 230px 1fr; gap: 36px; }
.panel-layout h1 { margin-bottom: 22px; font-size: 2.2rem; }
.side { display: flex; flex-direction: column; gap: 2px; }
.side a { padding: 10px 14px; border-radius: var(--radius-sm); color: var(--muted); font-size: .92rem; font-weight: 500; }
.side a:hover { background: var(--panel); color: var(--text); }
.side a.active { background: var(--accent-soft); color: var(--accent); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.role-menu { position: relative; }
.role-menu-list {
    position: absolute;
    right: 0;
    z-index: 30;
    display: none;
    min-width: 230px;
    max-height: 240px;
    padding: 6px;
    overflow-y: auto;
    background: var(--panel-2);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.role-menu.open .role-menu-list { display: block; }
.role-menu-list form, .role-menu-list button { display: block; width: 100%; }
.role-menu-list button {
    padding: 9px 12px;
    background: none;
    border: 0;
    border-radius: 6px;
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.role-menu-list button:hover { background: rgba(255,255,255,.06); }
.color-row { display: flex; align-items: center; gap: 12px; }
input[type="color"] { width: 56px; height: 46px; padding: 4px; }

/* ---------- Footer ---------- */
.site-footer { padding: 36px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand p { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: #c3c9d4; font-size: .92rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-end { display: grid; justify-items: end; gap: 8px; color: var(--muted); font-size: .82rem; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero-grid > * { animation: rise .8s var(--ease) both; }
.hero-grid > :nth-child(2) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); }
    70% { box-shadow: 0 0 0 9px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .menu a i { display: none; }
    .menu a { padding: 7px 9px; }
}
@media (max-width: 960px) {
    .menu, .nav-end .hide-sm { display: none; }
    .nav-end { margin-left: auto; }
    .nav-toggle { display: inline-grid; }
    body.menu-open .mobile-menu { display: flex; }
    body.menu-open { overflow: hidden; }
    .hero { min-height: 0; padding: 48px 0 64px; }
    .hero-grid, .panel-layout { grid-template-columns: 1fr; }
    .job-grid, .feature-grid, .steps { grid-template-columns: 1fr 1fr; }
    .footer-row { flex-direction: column; align-items: flex-start; }
    .footer-end { justify-items: start; }
}
@media (max-width: 640px) {
    .wrap { width: calc(100% - 32px); }
    .job-grid, .feature-grid, .steps { grid-template-columns: 1fr; }
    .btn-row .btn { flex: 1 1 100%; }
    .stat strong { font-size: 1.8rem; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 24px; }
    .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
