
.gp-form-shell,
.gp-form-shell * { box-sizing: border-box; }

.gp-form-shell {
    --gp-primary: #0B443C;
    --gp-primary-dark: #063A34;
    --gp-ink: #103D37;
    --gp-muted: #66726F;
    --gp-gold: #E8CF6A;
    --gp-line: rgba(11, 68, 60, 0.24);
    --gp-line-strong: rgba(11, 68, 60, 0.62);
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    overflow: visible;
    color: var(--gp-ink);
    font-family: inherit;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.gp-bg-orb { display: none !important; }

.gp-form-panel {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(18px, 3vw, 42px);
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.gp-form-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.gp-eyebrow,
.gp-kicker {
    margin: 0 0 10px;
    color: var(--gp-primary-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gp-main-title {
    margin: 0;
    color: var(--gp-ink);
    font-size: clamp(32px, 4.5vw, 58px);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -.035em;
}

.gp-step-pill {
    flex: 0 0 auto;
    padding: 11px 18px;
    border: 1px solid var(--gp-line);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: var(--gp-primary-dark);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.gp-progress-track {
    width: 100%;
    height: 10px;
    margin-bottom: clamp(30px, 4vw, 48px);
    overflow: hidden;
    border-radius: 999px;
    background: rgba(11,68,60,.12);
}
.gp-progress-fill {
    display: block;
    height: 100%;
    width: 16.666%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gp-primary), var(--gp-gold));
    transition: width .26s ease;
}

.gp-form { width: 100%; max-width: 100%; }
.gp-step { display: none; width: 100%; }
.gp-step.is-active { display: block; }

.gp-step-header { max-width: 900px; margin-bottom: 28px; }
.gp-step-header h3,
.gp-success-card h3 {
    margin: 0 0 10px;
    color: var(--gp-ink);
    font-size: clamp(28px, 3.5vw, 46px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.025em;
}
.gp-step-header p,
.gp-success-card p {
    margin: 0;
    color: var(--gp-muted);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.65;
}

.gp-persona-grid,
.gp-card-grid,
.gp-field-grid {
    display: grid;
    width: 100%;
    max-width: 100%;
    gap: 18px;
}
.gp-persona-grid,
.gp-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.gp-field-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

/* IMPORTANT: all selectable boxes use the same visible outlined card style */
.gp-persona-card,
.gp-option-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 118px;
    padding: 22px 52px 22px 22px;
    text-align: left;
    appearance: none;
    cursor: pointer;
    color: var(--gp-ink) !important;
    background: rgba(255,255,255,.32) !important;
    border: 1.5px solid var(--gp-line) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    overflow: visible;
    white-space: normal;
    transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.gp-option-card { min-height: 92px; }

.gp-persona-card:hover,
.gp-option-card:hover {
    transform: translateY(-1px);
    border-color: var(--gp-line-strong) !important;
    background: rgba(255,255,255,.58) !important;
    box-shadow: 0 10px 28px rgba(11,68,60,.07) !important;
}
.gp-persona-card.is-selected,
.gp-option-card.is-selected {
    border-color: var(--gp-primary) !important;
    background: rgba(232,207,106,.10) !important;
    box-shadow: 0 0 0 2px rgba(11,68,60,.08) !important;
}
.gp-persona-card::before,
.gp-option-card::before { display: none !important; }
.gp-persona-card::after,
.gp-option-card::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 18px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(11,68,60,.18);
    box-shadow: 0 0 0 6px rgba(232,207,106,.16);
}
.gp-persona-card.is-selected::after,
.gp-option-card.is-selected::after { background: var(--gp-primary); }

.gp-persona-card span,
.gp-option-card span,
.gp-persona-card small {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}
.gp-persona-card span,
.gp-option-card span {
    display: block;
    color: var(--gp-ink) !important;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}
.gp-persona-card small {
    display: block;
    margin-top: 10px;
    color: var(--gp-muted);
    font-size: 14px;
    line-height: 1.55;
}
.gp-option-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gp-choice-label {
    margin: 0 0 14px;
    color: var(--gp-primary-dark);
    font-size: 16px;
    font-weight: 800;
}

.gp-field { width: 100%; min-width: 0; }
.gp-field label {
    display: block;
    margin: 0 0 9px;
    color: var(--gp-ink);
    font-size: 14px;
    font-weight: 700;
}
.gp-field input,
.gp-field select,
.gp-field textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid var(--gp-line);
    border-radius: 12px;
    background: rgba(255,255,255,.52);
    color: var(--gp-ink);
    font: inherit;
    outline: none;
    box-shadow: none;
}
.gp-field textarea { min-height: 132px; resize: vertical; }
.gp-field input:focus,
.gp-field select:focus,
.gp-field textarea:focus {
    border-color: var(--gp-primary);
    background: rgba(255,255,255,.8);
    box-shadow: 0 0 0 3px rgba(11,68,60,.08);
}
.gp-field:has(textarea) { grid-column: 1 / -1; }

.gp-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: clamp(28px, 4vw, 42px);
}
.gp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 26px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: .18s ease;
}
.gp-btn-primary {
    color: #111 !important;
    background: var(--gp-gold);
    border: 1px solid var(--gp-gold);
    box-shadow: 0 12px 28px rgba(11,68,60,.12);
}
.gp-btn-primary:hover,
.gp-btn-primary:focus {
    color: #fff !important;
    background: var(--gp-primary-dark);
    border-color: var(--gp-primary-dark);
}
.gp-btn-secondary {
    color: var(--gp-primary-dark) !important;
    background: transparent;
    border: 1px solid var(--gp-line);
}
.gp-btn-secondary:hover,
.gp-btn-secondary:focus { border-color: var(--gp-primary); background: rgba(255,255,255,.4); }
.gp-btn:disabled { cursor: not-allowed; opacity: .6; }

.gp-form-error {
    display: none;
    margin-top: 20px;
    padding: 13px 15px;
    border: 1px solid rgba(190,72,72,.22);
    border-radius: 12px;
    color: #9f3030;
    background: rgba(255,246,246,.75);
}
.gp-form-error.is-visible { display: block; }

.gp-success-card {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(30px,5vw,56px);
    text-align: center;
    border: 1px solid var(--gp-line);
    border-radius: 18px;
    background: rgba(255,255,255,.4);
}
.gp-success-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--gp-primary),var(--gp-gold));
}
.gp-success-mark::before {
    content: '';
    width: 25px;
    height: 13px;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: rotate(-45deg) translateY(-2px);
}

@media (max-width: 900px) {
    .gp-form-topbar { flex-direction: column; }
    .gp-step-pill { align-self: flex-start; }
}
@media (max-width: 720px) {
    .gp-form-panel { padding: 14px 0; }
    .gp-persona-grid,
    .gp-card-grid,
    .gp-field-grid { grid-template-columns: 1fr; }
    .gp-persona-card,
    .gp-option-card { min-height: auto; padding: 18px 48px 18px 18px; }
    .gp-main-title { font-size: clamp(30px,10vw,44px); }
    .gp-actions { justify-content: stretch; }
    .gp-btn { flex: 1; }
}
