/* =====================================================================
   Loma Linda POA — Member Information Center
   Design tokens
     Palette : pine green + golden-hour amber on warm sage paper
     Type    : Fraunces (display, warm serif) / Inter (body + forms)
   Built for legibility: large targets, strong contrast, clear focus.
   ===================================================================== */

:root {
    --ink:        #1c2620;   /* primary text, deep green-black        */
    --ink-soft:   #4a5750;   /* secondary text                        */
    --paper:      #eef0e8;   /* page background, sage-tinted paper     */
    --surface:    #ffffff;   /* cards                                  */
    --pine:       #234d38;   /* primary brand green                    */
    --pine-deep:  #16342569; /* (unused var kept short)                */
    --pine-dark:  #163425;   /* header bar, hovers                     */
    --sage:       #6f8f79;   /* muted green                            */
    --amber:      #bd7f22;   /* golden-hour accent, used sparingly     */
    --amber-soft: #f4e9d4;   /* accent wash                            */
    --line:       #d5dace;   /* hairlines                              */
    --error:      #9a2f28;   /* brick red                              */
    --error-bg:   #f7e7e5;
    --ok:         #2f6b45;

    --radius:     14px;
    --radius-sm:  9px;
    --shadow:     0 1px 2px rgba(22,52,37,.06),
                  0 10px 30px rgba(22,52,37,.08);
    --maxw:       620px;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                    Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(120% 60% at 50% -10%, rgba(35,77,56,.10), transparent 60%),
        var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--pine); }
a:hover { color: var(--pine-dark); }

/* ---- Site header --------------------------------------------------- */
.site-header {
    background: var(--pine-dark);
    color: #eef0e8;
    border-bottom: 3px solid var(--amber);
}
.site-header__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.site-header__mark { color: var(--amber); display: flex; }
.site-header__text { display: flex; flex-direction: column; line-height: 1.2; }
.site-header__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: .2px;
}
.site-header__tag {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #b9c7bd;
    margin-top: 2px;
}

/* ---- Page shell ---------------------------------------------------- */
.page {
    flex: 1;
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 40px 22px 56px;
}

/* ---- Progress steps ------------------------------------------------ */
.steps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    font-size: .82rem;
}
.steps li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
}
.steps li::after {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps .num {
    display: grid;
    place-items: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--surface);
    border: 1.5px solid var(--line);
    font-weight: 600;
    font-size: .8rem;
    color: var(--ink-soft);
}
.steps .is-current .num { background: var(--pine); border-color: var(--pine); color: #fff; }
.steps .is-current { color: var(--ink); font-weight: 600; }
.steps .is-done .num { background: var(--sage); border-color: var(--sage); color: #fff; }

/* ---- Card ---------------------------------------------------------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px 34px 30px;
}

.eyebrow {
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--amber);
    font-weight: 600;
    margin: 0 0 10px;
}

h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.7rem, 1.2rem + 2vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -.01em;
    margin: 0 0 12px;
}
h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 0 6px;
}
.lede {
    color: var(--ink-soft);
    font-size: 1.05rem;
    margin: 0 0 26px;
    max-width: 46ch;
}

/* ---- Welcome hero action ------------------------------------------ */
.hero-mark {
    margin: 0 0 20px;
    color: var(--pine);
}
.menu { display: grid; gap: 14px; margin-top: 8px; }
.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-decoration: none;
    color: var(--ink);
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.menu-item:hover {
    border-color: var(--pine);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
    color: var(--ink);
}
.menu-item__title { font-weight: 600; font-size: 1.08rem; }
.menu-item__sub { color: var(--ink-soft); font-size: .92rem; margin-top: 2px; }
.menu-item__arrow { color: var(--amber); font-size: 1.4rem; line-height: 1; }

/* ---- Forms --------------------------------------------------------- */
form { margin: 0; }
.field { margin-bottom: 20px; }
.field:last-of-type { margin-bottom: 0; }

label {
    display: block;
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: 7px;
    color: var(--ink);
}
.hint { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: #fbfcfa;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
input:hover, select:hover { border-color: var(--sage); }
input:focus, select:focus {
    outline: none;
    background: #fff;
    border-color: var(--pine);
    box-shadow: 0 0 0 3px rgba(35,77,56,.16);
}
input::placeholder { color: #9aa79d; }

select {
    appearance: none;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23234d38' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* Two-up rows on wider screens */
.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.row-3 { grid-template-columns: 2fr 1fr 1fr; }

/* ---- Buttons ------------------------------------------------------- */
.actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 13px 24px;
    cursor: pointer;
    border: 1.5px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
    background: var(--pine);
    color: #fff;
    box-shadow: 0 6px 16px rgba(35,77,56,.22);
}
.btn-primary:hover { background: var(--pine-dark); color: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--pine);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--pine); color: var(--pine-dark); }
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(189,127,34,.45);
}
.btn-block { width: 100%; }

/* ---- Alerts -------------------------------------------------------- */
.alert {
    display: flex;
    gap: 12px;
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    margin-bottom: 24px;
    font-size: .97rem;
    line-height: 1.5;
}
.alert-error {
    background: var(--error-bg);
    border: 1px solid #e3b6b1;
    color: #6e211c;
}
.alert-error strong { color: var(--error); }
.alert__icon { flex: none; margin-top: 1px; }

/* ---- Confirmation screen ------------------------------------------- */
.confirm { text-align: center; padding: 12px 6px 4px; }
.confirm__badge {
    width: 76px; height: 76px;
    margin: 6px auto 22px;
    border-radius: 50%;
    background: var(--amber-soft);
    color: var(--ok);
    display: grid;
    place-items: center;
}
.confirm .lede { margin-left: auto; margin-right: auto; }

/* ---- Footer -------------------------------------------------------- */
.site-footer {
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: .88rem;
    text-align: center;
    padding: 22px;
}
.site-footer p { margin: 0; }

/* ---- Small screens ------------------------------------------------- */
@media (max-width: 560px) {
    .card { padding: 24px 20px; }
    .row, .row-3 { grid-template-columns: 1fr; }
    .actions .btn { width: 100%; }
    .steps { font-size: .72rem; }
    .steps li::after { width: 12px; }
}

/* ---- Respect reduced motion --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
