/* ============================================================
   Application Wizard — Futuristic & Religious
   Single centered column · No side panel · No animations
   ============================================================ */

:root {
    --ap-bg-0:       #030712;
    --ap-bg-1:       #06101f;
    --ap-panel-bg:   #0b1730;
    --ap-input-bg:   #08152a;
    --ap-border:     rgba(148, 163, 184, 0.16);
    --ap-border-hi:  rgba(201, 162, 39, 0.4);
    --ap-text:       #e8eef9;
    --ap-text-dim:   #94a3bf;
    --ap-text-faint: #5b6c88;
    --ap-gold:       #c9a227;
    --ap-gold-2:     #e6c34f;
    --ap-gold-soft:  rgba(201, 162, 39, 0.14);
    --ap-cyan:       #4fc3f7;
    --ap-ok:         #34d399;
    --ap-err:        #f87171;
    --ap-radius:     14px;
    --ap-radius-sm:  11px;
}

* { box-sizing: border-box; }

html, body.ap-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: var(--ap-bg-0);
    color: var(--ap-text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.ap-body a { color: var(--ap-gold); text-decoration: none; }
.ap-body a:hover { color: var(--ap-gold-2); }

/* ============================================================
   BACKGROUND — cathedral of light
   ============================================================ */
.ap-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(1200px 800px at 50% -10%, #0f2449 0%, transparent 60%),
        radial-gradient(900px 900px at 110% 110%, #0b1d3a 0%, transparent 55%),
        linear-gradient(180deg, #030712 0%, #06101f 100%);
}

/* Halo — soft gold light from above */
.ap-halo {
    position: absolute;
    top: -30%;
    left: 50%;
    width: 900px;
    height: 900px;
    margin-left: -450px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.18) 0%, transparent 55%);
    pointer-events: none;
}

/* Light rays — subtle diagonal beams */
.ap-rays {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        linear-gradient(115deg, transparent 40%, rgba(201, 162, 39, 0.05) 50%, transparent 60%),
        linear-gradient(115deg, transparent 30%, rgba(79, 195, 247, 0.04) 40%, transparent 55%);
    pointer-events: none;
}

/* Concentric rings — sacred geometry */
.ap-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1400px;
    height: 1400px;
    margin-top: -700px;
    margin-left: -700px;
    background-image:
        radial-gradient(circle, transparent 0, transparent 199px, rgba(201, 162, 39, 0.05) 200px, rgba(201, 162, 39, 0.05) 201px, transparent 202px),
        radial-gradient(circle, transparent 0, transparent 299px, rgba(201, 162, 39, 0.04) 300px, rgba(201, 162, 39, 0.04) 301px, transparent 302px),
        radial-gradient(circle, transparent 0, transparent 449px, rgba(79, 195, 247, 0.035) 450px, rgba(79, 195, 247, 0.035) 451px, transparent 452px),
        radial-gradient(circle, transparent 0, transparent 599px, rgba(201, 162, 39, 0.03) 600px, rgba(201, 162, 39, 0.03) 601px, transparent 602px);
    pointer-events: none;
    opacity: 0.9;
}

.ap-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    -webkit-filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}
.ap-orb-a {
    width: 420px; height: 420px;
    top: -120px; right: -100px;
    background: radial-gradient(circle, #c9a227 0%, transparent 65%);
}
.ap-orb-b {
    width: 460px; height: 460px;
    bottom: -180px; left: -140px;
    background: radial-gradient(circle, #2563eb 0%, transparent 65%);
}

/* ============================================================
   Back link
   ============================================================ */
.ap-back {
    position: fixed;
    top: 18px; left: 16px;
    z-index: 10;
    display: inline-block;
    padding: 7px 13px;
    background: rgba(13, 26, 48, 0.85);
    border: 1px solid var(--ap-border);
    border-radius: 999px;
    color: var(--ap-text-dim);
    font-size: 12.5px;
    font-weight: 500;
}
.ap-back:hover {
    color: #fff;
    background: #142241;
    border-color: var(--ap-border-hi);
    text-decoration: none;
}
.ap-back-arrow { font-size: 14px; }

/* ============================================================
   Shell — single centered column
   ============================================================ */
.ap-shell {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    padding: 70px 20px 60px;
}

/* ============================================================
   Top brand + motto
   ============================================================ */
.ap-topbar {
    text-align: center;
    margin-bottom: 32px;
}
.ap-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px 10px 14px;
    background: rgba(13, 26, 48, 0.7);
    border: 1px solid var(--ap-border);
    border-radius: 999px;
    margin-bottom: 16px;
    text-align: left;
    max-width: 100%;
}
.ap-logo {
    max-height: 38px;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
}
.ap-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a227 0%, #e6c34f 100%);
    color: #0b1a2e;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}
.ap-brand-text {
    min-width: 0;
}
.ap-brand-text strong {
    display: block;
    font-size: 13.5px;
    color: #fff;
    letter-spacing: .3px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}
.ap-brand-text small {
    display: block;
    font-size: 11px;
    color: var(--ap-text-faint);
    letter-spacing: .5px;
    text-transform: uppercase;
    line-height: 1.3;
    margin-top: 2px;
}

.ap-motto {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 14.5px;
    color: var(--ap-gold);
    letter-spacing: 1.2px;
    opacity: 0.9;
}
.ap-motto::before,
.ap-motto::after {
    content: "✦";
    margin: 0 12px;
    color: rgba(201, 162, 39, 0.6);
    font-size: 11px;
    font-style: normal;
    vertical-align: middle;
}

/* ============================================================
   Horizontal stepper
   ============================================================ */
.ap-stepper {
    position: relative;
    margin-bottom: 24px;
    padding: 0 4px;
}

.ap-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.ap-steps li {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    color: var(--ap-text-faint);
    padding: 4px 2px;
    transition: color .18s;
}
.ap-steps li:hover { color: var(--ap-text-dim); }
.ap-steps li.active { color: #fff; }

.ap-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0a1527;
    border: 1px solid var(--ap-border);
    color: var(--ap-text-dim);
    font-size: 12.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: .5px;
    transition: all .2s;
    position: relative;
    z-index: 2;
}
.ap-steps li.active .ap-num {
    background: linear-gradient(135deg, #c9a227 0%, #e6c34f 100%);
    color: #0b1a2e;
    border-color: transparent;
    box-shadow:
        0 0 0 4px rgba(201, 162, 39, 0.15),
        0 0 20px rgba(201, 162, 39, 0.35);
}
.ap-steps li.done .ap-num {
    background: #10b981;
    color: #04150e;
    border-color: transparent;
}
.ap-steps li.done .ap-num::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid var(--ap-panel-bg);
    box-shadow: 0 0 0 1px #10b981;
}
.ap-steps li.done .ap-num::before {
    content: "✓";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 14px;
    height: 14px;
    line-height: 12px;
    text-align: center;
    font-size: 9px;
    color: #04150e;
    font-weight: 900;
    z-index: 3;
}

.ap-steps li strong {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    margin-top: 10px;
    letter-spacing: .2px;
    color: inherit;
    line-height: 1.25;
}
.ap-steps li em {
    display: block;
    font-size: 10px;
    font-style: normal;
    margin-top: 1px;
    color: var(--ap-text-faint);
    letter-spacing: .2px;
    line-height: 1.25;
}

/* Connecting track line */
.ap-stepper-track {
    position: absolute;
    top: 22px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: rgba(148, 163, 184, 0.12);
    z-index: 1;
    overflow: hidden;
    border-radius: 1px;
}
.ap-stepper-track span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #c9a227 0%, #4fc3f7 100%);
    border-radius: inherit;
    transition: width .35s ease-out;
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.5);
}

/* ============================================================
   Panel — main card
   ============================================================ */
.ap-panel {
    position: relative;
    background: var(--ap-panel-bg);
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius);
    padding: 32px 28px 26px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overflow: hidden;
}
@media (min-width: 640px) {
    .ap-panel { padding: 40px 44px 32px; }
}

/* Ornate corner brackets — like a church frame */
.ap-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--ap-gold);
    opacity: 0.55;
    pointer-events: none;
}
.ap-corner.tl { top: 10px;    left: 10px;    border-right: none; border-bottom: none; }
.ap-corner.tr { top: 10px;    right: 10px;   border-left: none;  border-bottom: none; }
.ap-corner.bl { bottom: 10px; left: 10px;    border-right: none; border-top: none; }
.ap-corner.br { bottom: 10px; right: 10px;   border-left: none;  border-top: none; }

/* ============================================================
   Step head
   ============================================================ */
.ap-head { margin-bottom: 26px; }
.ap-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    background: var(--ap-gold-soft);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 999px;
    color: var(--ap-gold-2);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.ap-head h2 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.2px;
    line-height: 1.2;
}
@media (min-width: 640px) {
    .ap-head h2 { font-size: 30px; }
}
.ap-head p {
    margin: 0;
    font-size: 14px;
    color: var(--ap-text-dim);
    line-height: 1.6;
    max-width: 560px;
}

.ap-subhead {
    margin: 28px 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--ap-gold-2);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ap-border);
    letter-spacing: .3px;
}

/* ============================================================
   Fields
   ============================================================ */
.ap-step { display: block; }
.ap-step[hidden] { display: none !important; }

.ap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0;
    padding: 0;
}
@media (min-width: 560px) {
    .ap-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .ap-field.ap-full { grid-column: 1 / -1; }
}

.ap-field {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;
}
.ap-field > span {
    display: block;
    margin: 0 0 6px 0;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ap-text-dim);
    letter-spacing: .6px;
    text-transform: uppercase;
    line-height: 1.3;
}
.ap-field > span em {
    font-style: normal;
    color: var(--ap-text-faint);
    text-transform: none;
    font-weight: 400;
    font-size: 11px;
    margin-left: 2px;
}

.ap-input {
    display: block;
    position: relative;
    width: 100%;
}
.ap-input input,
.ap-input select,
.ap-input textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    background: var(--ap-input-bg);
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius-sm);
    color: var(--ap-text);
    font-family: inherit;
    font-size: 14.5px;
    line-height: 1.4;
    transition: border-color .15s, box-shadow .15s, background .15s;
    -webkit-appearance: none;
    appearance: none;
}
.ap-input input::placeholder,
.ap-input textarea::placeholder { color: var(--ap-text-faint); }
.ap-input input:focus,
.ap-input select:focus,
.ap-input textarea:focus {
    outline: none;
    border-color: var(--ap-gold);
    background: #0a1a34;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.14);
}
.ap-input select {
    background-image:
        linear-gradient(45deg, transparent 50%, #93a4be 50%),
        linear-gradient(135deg, #93a4be 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(1em + 2px),
        calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 40px;
    cursor: pointer;
}
.ap-input select option {
    background: #0c1c36;
    color: var(--ap-text);
}
.ap-input input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7);
    -webkit-filter: invert(0.7);
    cursor: pointer;
}

/* Validation states */
.ap-input.ap-error input,
.ap-input.ap-error select,
.ap-input.ap-error textarea {
    border-color: var(--ap-err);
    background: rgba(248, 113, 113, 0.05);
}
.ap-input.ap-error::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    margin-top: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ap-err);
    pointer-events: none;
}
.ap-input.ap-ok input,
.ap-input.ap-ok select,
.ap-input.ap-ok textarea {
    border-color: rgba(52, 211, 153, 0.55);
}
.ap-input.ap-ok::after {
    content: "✓";
    position: absolute;
    right: 14px;
    top: 50%;
    margin-top: -10px;
    color: var(--ap-ok);
    font-weight: 700;
    font-size: 14px;
    pointer-events: none;
}

.ap-hint {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: var(--ap-text-faint);
    line-height: 1.5;
}

/* ============================================================
   Intake preview
   ============================================================ */
.ap-preview {
    position: relative;
    padding: 16px 18px 16px 66px;
    margin-top: 16px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.08) 0%, rgba(79, 195, 247, 0.04) 100%);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--ap-radius-sm);
    min-height: 64px;
}
.ap-preview-icon {
    position: absolute;
    top: 13px;
    left: 14px;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.15);
    font-size: 18px;
    color: var(--ap-gold-2);
}
.ap-preview strong {
    display: block;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 3px;
    font-family: Georgia, serif;
}
.ap-preview small {
    display: block;
    font-size: 12px;
    color: var(--ap-text-faint);
}

/* ============================================================
   Referee blocks
   ============================================================ */
.ap-referee {
    padding: 22px 20px 4px;
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius-sm);
    background: rgba(6, 12, 24, 0.5);
    margin-bottom: 16px;
    position: relative;
}
.ap-referee::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.4), transparent);
}
.ap-referee-head {
    margin-bottom: 16px;
    overflow: hidden;
}
.ap-referee-badge {
    float: left;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a227 0%, #e6c34f 100%);
    color: #08131f;
    font-weight: 700;
    font-size: 13px;
    margin-right: 12px;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}
.ap-referee-head h3 {
    margin: 4px 0 0;
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}
.ap-referee-head h3 em {
    font-style: normal;
    color: var(--ap-text-faint);
    font-weight: 400;
    font-size: 11.5px;
}

/* ============================================================
   Review
   ============================================================ */
.ap-review {
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius-sm);
    overflow: hidden;
    background: rgba(6, 12, 24, 0.5);
}
.ap-review-row {
    display: block;
    border-bottom: 1px solid var(--ap-border);
    overflow: hidden;
}
.ap-review-row:last-child { border-bottom: none; }
.ap-review-row > span {
    display: block;
    float: left;
    width: 42%;
    padding: 12px 16px;
    color: var(--ap-text-faint);
    font-weight: 500;
    background: rgba(13, 26, 48, 0.6);
    font-size: 12.5px;
    border-right: 1px solid var(--ap-border);
    word-wrap: break-word;
}
.ap-review-row > strong {
    display: block;
    margin-left: 42%;
    padding: 12px 16px;
    color: var(--ap-text);
    font-weight: 500;
    font-size: 13px;
    word-wrap: break-word;
    word-break: break-word;
}

.ap-consent {
    margin-top: 20px;
    padding: 14px 16px;
    background: rgba(79, 195, 247, 0.06);
    border: 1px solid rgba(79, 195, 247, 0.2);
    border-radius: var(--ap-radius-sm);
}
.ap-check {
    display: block;
    cursor: pointer;
    font-size: 13.5px;
    color: var(--ap-text);
    line-height: 1.5;
    padding-left: 30px;
    position: relative;
    min-height: 22px;
}
.ap-check input {
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--ap-gold);
    cursor: pointer;
}

/* ============================================================
   Navigation
   ============================================================ */
.ap-nav {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--ap-border);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.ap-nav > button,
.ap-nav > a { flex: 1 1 auto; min-width: 130px; }
.ap-nav > span:empty { display: none; }
.ap-nav > button[data-back] { order: 1; }
.ap-nav > button[data-next],
.ap-nav > button[type="submit"] { order: 2; }

@media (min-width: 640px) {
    .ap-nav { flex-wrap: nowrap; }
    .ap-nav > button,
    .ap-nav > a { flex: 0 0 auto; min-width: 0; }
    .ap-nav > button[data-back] { order: 0; }
    .ap-nav > button[data-next],
    .ap-nav > button[type="submit"] { order: 0; margin-left: auto; }
}

.ap-btn {
    display: block;
    width: 100%;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background .15s, border-color .15s, box-shadow .15s;
    text-decoration: none;
    line-height: 1.3;
    letter-spacing: .2px;
}
@media (min-width: 640px) {
    .ap-btn {
        display: inline-block;
        width: auto;
        padding: 13px 26px;
        font-size: 14.5px;
    }
}

.ap-btn .ap-arr {
    font-size: 15px;
    opacity: .8;
    margin-left: 4px;
}
.ap-btn-ghost .ap-arr { margin: 0 4px 0 0; }

.ap-btn-primary {
    background: linear-gradient(135deg, #c9a227 0%, #e6c34f 100%);
    color: #08131f;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.2);
}
.ap-btn-primary:hover {
    box-shadow: 0 6px 22px rgba(201, 162, 39, 0.35);
}

.ap-btn-ghost {
    background: transparent;
    border-color: var(--ap-border);
    color: var(--ap-text-dim);
}
.ap-btn-ghost:hover {
    background: rgba(148, 163, 184, 0.08);
    color: #fff;
    border-color: var(--ap-border-hi);
}

.ap-btn-submit {
    background: linear-gradient(135deg, #4fc3f7 0%, #2563eb 100%);
    color: #fff;
    font-size: 14.5px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}
.ap-btn-submit:hover {
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
}
.ap-btn-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* ============================================================
   Alerts
   ============================================================ */
.ap-alert {
    padding: 14px 18px;
    border-radius: var(--ap-radius-sm);
    margin-bottom: 22px;
    font-size: 13.5px;
    line-height: 1.55;
}
.ap-alert-err {
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #fecaca;
}
.ap-alert-err strong { color: #fecaca; }
.ap-alert-err ul { margin: 8px 0 0 18px; padding: 0; }

/* ============================================================
   Empty state
   ============================================================ */
.ap-empty {
    text-align: center;
    padding: 40px 16px 30px;
}
.ap-empty-icon {
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--ap-gold);
    opacity: .7;
}
.ap-empty h2 {
    margin: 0 0 10px;
    font-family: Georgia, serif;
    font-size: 22px;
    color: #fff;
}
.ap-empty p {
    margin: 0 auto 22px;
    max-width: 420px;
    color: var(--ap-text-dim);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================================
   Blessing / footer verse
   ============================================================ */
.ap-blessing {
    margin: 26px 0 0;
    padding: 22px 12px 0;
    border-top: 1px solid var(--ap-border);
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 13.5px;
    color: var(--ap-text-faint);
    line-height: 1.7;
    letter-spacing: .2px;
}
.ap-blessing em {
    display: block;
    margin-top: 6px;
    font-style: normal;
    font-size: 11.5px;
    color: var(--ap-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================================
   Honeypot
   ============================================================ */
.ap-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ============================================================
   Responsive
   ============================================================ */

/* Tablets */
@media (max-width: 720px) {
    .ap-shell { padding: 66px 16px 40px; }

    .ap-brand-text strong { max-width: 200px; font-size: 12.5px; }
    .ap-motto { font-size: 13px; letter-spacing: 1px; }

    .ap-steps li strong,
    .ap-steps li em { display: none; }
    .ap-steps li { padding: 0; }
    .ap-num { width: 36px; height: 36px; font-size: 11.5px; }
    .ap-stepper-track { top: 18px; left: 12%; right: 12%; }

    .ap-panel { padding: 28px 20px 24px; }
    .ap-head h2 { font-size: 22px; }
    .ap-corner { width: 16px; height: 16px; }
    .ap-corner.tl { top: 8px;    left: 8px; }
    .ap-corner.tr { top: 8px;    right: 8px; }
    .ap-corner.bl { bottom: 8px; left: 8px; }
    .ap-corner.br { bottom: 8px; right: 8px; }

    .ap-blessing { font-size: 12.5px; padding-top: 18px; }
}

/* Phones */
@media (max-width: 480px) {
    .ap-shell { padding: 62px 12px 30px; }
    .ap-back { top: 12px; left: 12px; padding: 6px 11px; font-size: 11.5px; }

    .ap-topbar { margin-bottom: 22px; }
    .ap-brand {
        padding: 8px 14px 8px 10px;
        gap: 10px;
    }
    .ap-logo { max-height: 30px; max-width: 90px; }
    .ap-brand-mark { width: 32px; height: 32px; font-size: 15px; }
    .ap-brand-text strong { max-width: 160px; font-size: 12px; }
    .ap-brand-text small { font-size: 10px; }

    .ap-motto { font-size: 12px; }
    .ap-motto::before,
    .ap-motto::after { margin: 0 8px; font-size: 10px; }

    .ap-stepper { margin-bottom: 18px; }
    .ap-num { width: 32px; height: 32px; font-size: 11px; }
    .ap-stepper-track { top: 16px; left: 10%; right: 10%; }

    .ap-panel { padding: 24px 16px 20px; }
    .ap-head { margin-bottom: 20px; }
    .ap-eyebrow { font-size: 10px; padding: 3px 10px; margin-bottom: 10px; letter-spacing: 1.2px; }
    .ap-head h2 { font-size: 20px; }
    .ap-head p { font-size: 13px; }

    .ap-input input,
    .ap-input select,
    .ap-input textarea {
        padding: 11px 12px;
        font-size: 14px;
    }
    .ap-field > span { font-size: 11px; }

    .ap-review-row > span {
        float: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--ap-border);
        padding: 8px 14px 4px;
        font-size: 11.5px;
    }
    .ap-review-row > strong {
        margin-left: 0;
        padding: 4px 14px 10px;
        font-size: 13px;
    }

    .ap-nav > button,
    .ap-nav > a { width: 100%; }
    .ap-nav > button[data-next],
    .ap-nav > button[type="submit"] { order: -1; }

    .ap-blessing { font-size: 12px; }
}

/* Very small phones */
@media (max-width: 360px) {
    .ap-num { width: 28px; height: 28px; font-size: 10.5px; }
    .ap-stepper-track { top: 14px; }
    .ap-panel { padding: 20px 14px 18px; }
}