
:root {
    --primary: #10243A;
    --secondary: #1C3857;
    --gold: #C9A34A;
    --light-gold: #E6CD8E;
    --ivory: #FAF8F2;
    --white: #FFFFFF;
    --orange: #F97316;
    --text: #263445;
    --muted: #6B7280;
    --border: #E5E0D5;
    --shadow: 0 12px 35px rgba(16, 36, 58, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--ivory);
    color: var(--text);
    line-height: 1.6;
}

/* HEADER */
.site-header {
    min-height: 76px;
    padding: 15px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary);
    border-bottom: 3px solid var(--gold);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--white);
    text-decoration: none;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .3px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: var(--primary);
    border-radius: 9px;
    font-size: 23px;
    font-weight: 900;
}

.brand-light {
    color: var(--light-gold);
    font-weight: 400;
}

.back-link {
    color: var(--light-gold);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.back-link:hover {
    color: var(--white);
}

/* MAIN PAGE */
.page-wrap {
    width: min(1120px, 90%);
    margin: 55px auto;
}

/* INTRODUCTION */
.intro {
    text-align: center;
    margin-bottom: 38px;
}

.eyebrow {
    color: #9A752B;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.intro h1 {
    color: var(--primary);
    font-size: clamp(32px, 5vw, 46px);
    line-height: 1.2;
    margin-bottom: 13px;
}

.intro h1 span {
    color: var(--gold);
}

.intro-text {
    max-width: 650px;
    margin: auto;
    color: var(--muted);
    font-size: 16px;
}

/* TWO-COLUMN LAYOUT */
.membership-layout {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: start;
}

/* CARDS */
.form-card,
.benefits-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.form-card {
    border-top: 4px solid var(--gold);
}

.benefits-card {
    background: var(--primary);
    color: var(--white);
    border-top: 4px solid var(--gold);
}

/* FORM HEADING */
.card-heading {
    margin-bottom: 25px;
}

.card-heading h2 {
    color: var(--primary);
    font-size: 23px;
    margin-bottom: 5px;
}

.card-heading p {
    color: var(--muted);
    font-size: 14px;
}

/* INPUT FIELDS */
.field {
    margin-bottom: 19px;
}

.field label {
    display: block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 7px;
}

.field input {
    width: 100%;
    min-height: 47px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 7px;
    outline: none;
    background: #FFFEFC;
    color: var(--text);
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}

.field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 163, 74, .16);
}

.field input::placeholder {
    color: #A0A6AE;
}

.field small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

/* TERMS */
.terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    color: var(--muted);
    font-size: 13px;
}

.terms input {
    margin-top: 4px;
    accent-color: var(--gold);
}

/* SUBMIT BUTTON */
.primary-button {
    width: 100%;
    min-height: 51px;
    border: none;
    border-radius: 7px;
    background: var(--gold);
    color: var(--primary);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.primary-button:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
}

.primary-button:focus-visible,
.back-link:focus-visible,
.login-prompt a:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

/* STATUS AND SECURITY */
.form-message {
    margin-top: 13px;
    font-size: 13px;
}

.secure-note {
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.login-prompt {
    margin-top: 23px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.login-prompt a {
    color: #9A752B;
    font-weight: 700;
    text-decoration: none;
}

/* MEMBERSHIP BENEFITS */
.price-label {
    color: var(--light-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.price {
    color: var(--white);
    font-size: 36px;
    font-weight: 800;
    margin-top: 9px;
}

.price span {
    color: var(--light-gold);
    font-size: 14px;
    font-weight: 400;
}

.accent-line {
    width: 55px;
    height: 4px;
    margin: 20px 0 25px;
    border-radius: 5px;
    background: var(--gold);
}

.benefits-card h2 {
    color: var(--white);
    font-size: 21px;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 17px;
    color: #F0F2F5;
    font-size: 14px;
}

.benefits-list li span {
    flex-shrink: 0;
    color: var(--light-gold);
    font-weight: 900;
    font-size: 17px;
}

/* NOTICE BOX */
.notice {
    margin-top: 23px;
    padding: 16px;
    background: var(--secondary);
    border-left: 3px solid var(--gold);
    border-radius: 6px;
}

.notice strong {
    display: block;
    color: var(--light-gold);
    font-size: 13px;
    margin-bottom: 5px;
}

.notice p {
    color: #E5EAF0;
    font-size: 12px;
    line-height: 1.7;
}

/* FOOTER */
.site-footer {
    padding: 22px 15px;
    margin-top: 55px;
    background: var(--primary);
    border-top: 3px solid var(--gold);
    color: #D6DCE4;
    text-align: center;
    font-size: 13px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 800px) {
    .membership-layout {
        grid-template-columns: 1fr;
    }

    .page-wrap {
        margin: 38px auto;
    }
}

@media (max-width: 500px) {
    .site-header {
        padding: 13px 5%;
    }

    .brand {
        font-size: 17px;
    }

    .back-link {
        font-size: 12px;
    }

    .form-card,
    .benefits-card {
        padding: 23px 19px;
    }

    .price {
        font-size: 31px;
    }
}

/* Compact thumbnail layout for member resources */
.member-resource-card {
    display: grid !important;
    grid-template-columns: 105px minmax(0, 1fr) !important;
    gap: 10px 25px;
    align-items: start;
}

.member-resource-card > img.member-resource-thumbnail {
    grid-column: 1 !important;
    grid-row: 1 / 4 !important;
    width: 105px !important;
    height: 145px !important;
    max-width: 105px !important;
    max-height: 145px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

.member-resource-card > h3 {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
}

.member-resource-card > p {
    grid-column: 2;
    grid-row: 2;
}

.member-resource-card > button {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
}
/* Back to Website button */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: #D4AF45;
    border: 1px solid #D4AF45;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    background-color: #D4AF45;
    color: #10243A;
    transform: translateY(-2px);
}