:root {
    --gold: #d6a33e;
    --white: #f4f3ef;
    --muted: #b8bcbc;
    --line: rgba(255, 255, 255, .13)
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, Arial, sans-serif;
    color: var(--white);
    background: #050708
}

body {
    min-height: 100vh;
    display: grid;
    grid-template-rows: 88px 1fr auto;
    overflow-x: hidden
}

.hero-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: url("mining-hero.png") center/cover no-repeat;
    transform: scale(1.015)
}

/* Darker image, especially behind the copy. */
.shade {
    position: fixed;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(2, 5, 7, .82) 0%, rgba(2, 5, 7, .66) 34%, rgba(2, 5, 7, .28) 66%, rgba(2, 5, 7, .42) 100%),
        linear-gradient(180deg, rgba(2, 4, 6, .32) 0%, rgba(2, 4, 6, .08) 48%, rgba(2, 4, 6, .58) 100%)
}

.topbar,
.hero,
.systembar {
    position: relative;
    z-index: 2
}

.topbar {
    padding: 0 clamp(28px, 5.8vw, 90px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    background: rgba(3, 6, 8, .20)
}

.brand {
    color: #fff;
    text-decoration: none
}

.brand-copy strong,
.brand-copy small {
    display: block
}

.brand-copy strong {
    font-size: 12px;
    letter-spacing: .22em
}

.brand-copy small {
    font-size: 9px;
    letter-spacing: .22em;
    color: #a8adae;
    margin-top: 4px;
}

.topnav {
    display: flex;
    gap: 42px
}

.topnav a {
    color: #e7e7e4;
    text-decoration: none;
    font-size: 12px
}

.profile {
    justify-self: end;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 28px;
    padding: 13px 20px;
    font-size: 12px
}

.profile span {
    color: var(--gold);
    margin-left: 14px
}

.hero {
    min-height: 650px;
    padding: clamp(60px, 8vh, 95px) clamp(28px, 5.8vw, 90px) 55px;
    display: grid;
    grid-template-columns: 1fr 150px;
    align-items: center;
    gap: 40px
}

.hero-copy {
    max-width: 760px
}

.kicker {
    font-size: 9px;
    letter-spacing: .27em;
    color: var(--gold);
    font-weight: 700
}

.kicker i {
    display: inline-block;
    width: 25px;
    height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin: 0 10px
}

h1 {
    font-size: clamp(60px, 6.3vw, 100px);
    line-height: .82;
    letter-spacing: -.055em;
    margin: 26px 0 30px;
    font-weight: 750;
    text-shadow: 0 10px 35px rgba(0, 0, 0, .25);
}
h2 {
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.05;
    letter-spacing: -.035em;
    font-weight: 400;
    margin: 0 0 22px;
    color: #dededb
}

.hero-copy p {
    max-width: 580px;
    font-size: 14px;
    line-height: 1.65;
    color: #c6c9c8;
    margin: 0 0 28px
}

.cta {
    display: inline-flex;
    min-width: 200px;
    justify-content: space-between;
    align-items: center;
    padding: 15px 19px;
    border-radius: 26px;
    background: linear-gradient(90deg, #dba43a, #b98530);
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    transition: .2s
}

.cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.08)
}

.meta {
    justify-self: end;
    border-right: 1px solid rgba(214, 163, 62, .38);
    padding: 0 24px 0 0;
    display: grid;
    gap: 11px;
    font-size: 7px;
    letter-spacing: .27em;
    color: #b3b7b6
}

/* Footer is now a real footer strip, not a floating translucent panel. */
.systembar {
    min-height: 92px;
    padding: 0 clamp(28px, 5.8vw, 90px);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    background: #06090a;
    border-top: 1px solid rgba(255, 255, 255, .14)
}

.system-intro {
    display: grid;
    gap: 7px
}

.system-intro strong {
    font-size: 11px;
    letter-spacing: .28em
}

.system-intro span {
    font-size: 11px;
    color: #899193
}

.system-links {
    height: 92px;
    display: flex
}

.system-links a {
    width: 220px;
    padding: 0 22px;
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    color: #fff;
    text-decoration: none;
    border-left: 1px solid var(--line);
    transition: .2s
}

.system-links a:last-child {
    border-right: 1px solid var(--line)
}

.system-links a:hover {
    background: #0c1011
}

.system-links small,
.system-links span {
    color: var(--gold);
    font-size: 8px
}

.system-links b {
    font-size: 10px
}

@media(max-width:800px) {
    body {
        grid-template-rows: 76px 1fr auto
    }

    .topbar {
        grid-template-columns: 1fr auto
    }

    .topnav {
        display: none
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 650px
    }

    .meta {
        display: none
    }

    .systembar {
        grid-template-columns: 1fr;
        padding-top: 18px
    }

    .system-intro {
        padding-bottom: 17px
    }

    .system-links {
        width: 100%
    }

    .system-links a {
        width: 50%
    }
}

@media(max-width:520px) {

    .topbar,
    .hero,
    .systembar {
        padding-left: 20px;
        padding-right: 20px
    }

    .profile {
        padding: 10px 13px;
        font-size: 8px
    }

    .hero {
        padding-top: 60px;
        padding-bottom: 42px
    }

    h1 {
        font-size: 61px
    }

    h2 {
        font-size: 28px
    }

    .system-links {
        height: auto;
        flex-direction: column
    }

    .system-links a {
        width: 100%;
        height: 66px;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line)
    }
}