:root {
    color-scheme: dark;
    --bg: #07090e;
    --surface: #0e1420;
    --surface-soft: #151d2c;
    --border: rgba(255, 184, 45, 0.22);
    --gold: #ffb52d;
    --gold-soft: #ffd678;
    --text: #f8fafc;
    --muted: #aeb8c8;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: 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;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 10px max(24px, calc((100% - var(--max-width)) / 2));
    background: rgba(7, 9, 14, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.brand span {
    display: grid;
    line-height: 1.1;
}

.brand small {
    margin-top: 5px;
    color: var(--gold);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
}

nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

nav a {
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.panel-button,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.panel-button,
.primary-button {
    color: #17110a;
    background: linear-gradient(135deg, #ffd264, #f49b08);
    box-shadow: 0 10px 30px rgba(244, 155, 8, 0.2);
}

.panel-button {
    min-height: 40px;
    padding: 0 17px;
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(7, 9, 14, 0.52);
}

.hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 610px;
    padding: 90px 24px;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(7, 9, 14, 0.98) 0%, rgba(7, 9, 14, 0.88) 48%, rgba(7, 9, 14, 0.7) 100%),
        linear-gradient(0deg, var(--bg) 0%, transparent 32%),
        url("immortal-rok-banner.png?v=20260812-2");
    background-position: center;
    background-size: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.hero-content {
    width: min(100%, var(--max-width));
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.17em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 920px;
    margin-bottom: 24px;
    font-size: clamp(2.6rem, 6.2vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

h1 span {
    color: var(--gold);
}

.hero-copy {
    max-width: 720px;
    margin-bottom: 32px;
    color: #d8dee9;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.guide-section {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
    padding: 100px 0;
}

.guide-section.alternate {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading h2,
.panel-card h2 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
}

.section-heading > p:last-child,
.panel-card > div > p:last-child {
    color: var(--muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 54px;
    padding: 0;
    list-style: none;
}

.steps li {
    position: relative;
    min-height: 260px;
    padding: 30px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(23, 32, 49, 0.98), rgba(12, 17, 27, 0.98));
    border: 1px solid var(--border);
    border-radius: 20px;
}

.step-number {
    display: block;
    margin-bottom: 42px;
    color: var(--gold);
    font-size: 2rem;
    font-weight: 900;
}

.steps h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.steps p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.96rem;
}

.panel-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    padding: clamp(28px, 5vw, 56px);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 181, 45, 0.16), transparent 42%),
        var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
}

.control-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.control-grid article {
    display: grid;
    gap: 8px;
    padding: 22px;
    background: var(--surface-soft);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
}

.control-grid strong {
    color: var(--gold-soft);
}

.control-grid span {
    color: var(--muted);
    font-size: 0.9rem;
}

.panel-card > .primary-button {
    justify-self: start;
}

.security-note {
    margin-top: 24px;
    padding: 22px 26px;
    color: #dce3ed;
    background: rgba(255, 181, 45, 0.08);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.security-note strong {
    color: var(--gold-soft);
}

.security-note p {
    margin: 6px 0 0;
}

.centered {
    margin: 0 auto;
}

footer {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 140px;
    padding: 28px max(24px, calc((100% - var(--max-width)) / 2));
    color: var(--muted);
    background: #05070b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

footer p {
    margin: 0 auto 0 0;
}

footer div {
    display: flex;
    gap: 18px;
}

footer a {
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 860px) {
    .hero {
        min-height: 560px;
        background-position: 64% center;
    }

    .steps,
    .panel-card {
        grid-template-columns: 1fr;
    }

    .steps li {
        min-height: 0;
    }

    .step-number {
        margin-bottom: 28px;
    }
}

@media (max-width: 620px) {
    .site-header {
        min-height: 64px;
    }

    nav > a:first-child,
    .brand small {
        display: none;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .panel-button {
        padding: 0 13px;
        font-size: 0.75rem;
    }

    .hero {
        min-height: 590px;
        padding: 80px 20px;
    }

    h1 {
        font-size: clamp(2.35rem, 12.5vw, 3.4rem);
    }

    .hero-actions,
    .hero-actions a {
        width: 100%;
    }

    .guide-section {
        width: min(calc(100% - 32px), var(--max-width));
        padding: 74px 0;
    }

    .control-grid {
        grid-template-columns: 1fr;
    }

    footer {
        flex-wrap: wrap;
    }

    footer p {
        margin-right: 0;
    }

    footer div {
        width: 100%;
        padding-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* IMMORTAL ROK visual identity. The favicon remains the original ROK icon. */
:root {
    --bg: #070406;
    --surface: #120b10;
    --surface-soft: #1a0d13;
    --border: rgba(255, 67, 75, .22);
    --gold: #ff424c;
    --gold-soft: #ff9ba0;
    --text: #fffafa;
    --muted: #b7aab0;
}

body {
    background:
        radial-gradient(circle at 10% 18%, rgba(143, 6, 20, .14), transparent 28%),
        radial-gradient(circle at 90% 62%, rgba(255, 33, 44, .06), transparent 26%),
        var(--bg);
}

.site-header {
    background: rgba(7, 3, 6, .9);
    box-shadow: 0 12px 42px rgba(0,0,0,.38);
}
.brand img { border: 1px solid rgba(255, 73, 81, .52); object-fit: cover; box-shadow: 0 0 14px rgba(255, 29, 42, .28); }
.brand span { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,.08); }
.brand small { color: #ff626a; }
.panel-button,
.primary-button { color: #fff; background: linear-gradient(135deg, #ff3d46, #b90817); box-shadow: 0 10px 30px rgba(218, 10, 28, .25), inset 0 1px rgba(255,255,255,.16); }
.secondary-button { border-color: rgba(255, 81, 89, .46); background: rgba(10, 5, 8, .64); }

.hero {
    background-image:
        linear-gradient(90deg, rgba(7, 3, 6, .98) 0%, rgba(7, 3, 6, .88) 50%, rgba(7, 3, 6, .62) 100%),
        linear-gradient(0deg, var(--bg) 0%, transparent 34%),
        url("immortal-rok-banner.png?v=20260812-2");
    background-position: center;
    background-size: cover;
}
.hero::after { background: linear-gradient(90deg, transparent, #ff3d47, transparent); }
h1 span { color: #ff4b54; text-shadow: 0 0 20px rgba(255, 40, 51, .34); }
.steps li { background: linear-gradient(145deg, rgba(26, 13, 20, .98), rgba(10, 6, 9, .99)); }
.panel-card { background: radial-gradient(circle at 100% 0%, rgba(255, 45, 55, .14), transparent 42%), var(--surface); }
.control-grid article { background: #170c12; border-color: rgba(255, 73, 81, .09); }
.security-note { background: rgba(255, 39, 50, .07); }
footer { background: #050204; border-top-color: rgba(255, 61, 70, .12); }
footer img { border: 1px solid rgba(255, 69, 77, .42); object-fit: cover; box-shadow: 0 0 14px rgba(255, 27, 39, .2); }

@media (max-width: 860px) {
    .hero {
        background-image:
            linear-gradient(180deg, rgba(7, 3, 6, .7), rgba(7, 3, 6, .94) 76%),
            url("immortal-rok-banner.png?v=20260812-2");
        background-position: center;
        background-size: cover;
    }
}

/* Brighter, heavier type shared with the marketing home page. */
body { font-weight: 500; }
.brand,
nav a,
.panel-button,
.primary-button,
.secondary-button { font-weight: 850; }
.brand span {
    text-shadow: 0 1px 0 rgba(255,255,255,.34), 0 0 10px rgba(255,255,255,.16), 0 0 18px rgba(255,35,47,.2);
}
h1,
.section-heading h2,
.panel-card h2,
.steps h3,
.control-grid strong {
    color: #fff;
    font-weight: 900;
    text-shadow: 0 1px 0 rgba(255,255,255,.38), 0 0 10px rgba(255,255,255,.13), 0 0 22px rgba(255,35,46,.18);
}
h1 span {
    color: #ff5961;
    text-shadow: 0 1px 0 rgba(255,255,255,.3), 0 0 12px rgba(255,55,65,.48);
}
.hero-copy,
.steps p,
.panel-card > div > p:last-child,
.control-grid span { color: #ddd2d7; font-weight: 550; }
.eyebrow { color: #ff626a; font-weight: 900; text-shadow: 0 0 10px rgba(255,43,54,.3); }
.panel-button,
.primary-button { text-shadow: 0 1px 0 rgba(0,0,0,.35), 0 0 8px rgba(255,255,255,.14); }
