:root {
    --home-black: #120d0b;
    --home-black-soft: #1c1815;
    --home-charcoal: #2a2825;
    --home-panel: #f3f3f3;
    --home-white: #ffffff;
    --home-orange: #d74c2c;
    --home-orange-hover: #ef5a34;
    --home-grey: #6d6a67;
    --home-border: #d7d5d3;
    --home-error: #b42318;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--home-charcoal);
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

/* Header */

.site-header {
    position: relative;
    z-index: 20;
    min-height: 74px;
    display: flex;
    align-items: center;
    background: var(--home-black);
    color: var(--home-white);
}

.site-header__inner {
    width: min(1280px, calc(100% - 48px));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 34px;
}

.brand {
    color: var(--home-orange);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -3px;
}

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

.primary-nav a {
    color: var(--home-white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 900;
}

.primary-nav a:hover,
.primary-nav a:focus {
    color: var(--home-orange);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 17px;
}

.donate-link {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 17px;
    background: var(--home-orange);
    color: var(--home-white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 900;
}

.donate-link:hover,
.donate-link:focus {
    background: var(--home-orange-hover);
}

.header-icon-link {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--home-white);
}

.header-icon-link:hover,
.header-icon-link:focus {
    color: var(--home-orange);
}

.header-icon-link svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

/* Main */

.page-shell {
    flex: 1;
}

.hero {
    position: relative;
    min-height: 410px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(10, 7, 6, 0.25),
            rgba(10, 7, 6, 0.08)
        ),
        url("/images/membership-hero.jpg")
        center center / cover no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.04) 30%,
            rgba(0, 0, 0, 0.72) 100%
        );
}

.hero__content {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 60px 0 52px;
    color: var(--home-white);
}

.hero__eyebrow,
.section-label {
    margin: 0 0 10px;
    color: var(--home-orange);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 14px;
    font-weight: 900;
}

.hero h1 {
    max-width: 900px;
    margin: 0;
    color: var(--home-white);
    text-transform: uppercase;
    font-size: clamp(48px, 6.2vw, 86px);
    line-height: 0.95;
    letter-spacing: -3px;
    font-weight: 900;
}

.hero__content > p:last-child {
    max-width: 700px;
    margin: 22px 0 0;
    font-size: 19px;
    font-weight: 600;
}

.membership-content {
    width: min(1180px, calc(100% - 48px));
    margin: -20px auto 70px;
    position: relative;
    z-index: 3;
}

.panel {
    padding: 38px;
    background: var(--home-panel);
    border-top: 8px solid var(--home-orange);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
}

.panel--status {
    font-size: 18px;
    font-weight: 700;
}

.panel-heading {
    margin-bottom: 28px;
}

.panel-heading h2,
.panel--message h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1;
    letter-spacing: -1.5px;
}

.page-intro {
    color: var(--home-white);
    margin-top: 42px;
}

.page-intro h2 {
    color: var(--home-white);
}

.auth-panel {
    max-width: 760px;
}

.membership-form {
    display: grid;
    gap: 22px;
}

.membership-form label {
    display: grid;
    gap: 8px;
    color: #111;
    font-weight: 800;
}

.membership-form input {
    width: 100%;
    min-height: 56px;
    padding: 12px 15px;
    border: 3px solid #b7b4b1;
    border-radius: 0;
    background: var(--home-white);
    color: #111;
}

.membership-form input:focus {
    outline: none;
    border-color: var(--home-orange);
}

button,
.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border: 2px solid var(--home-orange);
    border-radius: 0;
    background: var(--home-orange);
    color: var(--home-white);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    cursor: pointer;
}

button:hover,
button:focus,
.button:hover,
.button:focus {
    background: var(--home-orange-hover);
    border-color: var(--home-orange-hover);
}

.button.secondary {
    background: transparent;
    border-color: var(--home-white);
    color: var(--home-white);
}

.button.secondary:hover,
.button.secondary:focus {
    background: var(--home-white);
    color: var(--home-black);
}

.form-help {
    margin: 22px 0 0;
}

.form-help a,
.panel a:not(.button) {
    text-decoration-color: var(--home-orange);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.error {
    margin: 0;
    color: var(--home-error);
    font-weight: 800;
}

/* Membership card */

.membership-card {
    overflow: hidden;
    background:
        radial-gradient(
            circle at top right,
            rgba(215, 76, 44, 0.2),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #171311,
            #24201d
        );
    color: var(--home-white);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.card-top {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.card-logo {
    color: var(--home-orange);
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
}

#card-status {
   