/* =============================================================
   EasyComp — Merlot/Gold design system
   Shared across landing + step1..4 + completion
   ============================================================= */

:root {
    /* Palette */
    --merlot-950: #1A0610;
    --merlot-900: #240813;
    --merlot-800: #2E0B19;
    --merlot-700: #3D0F1F;
    --merlot-600: #561527;
    --merlot-500: #6E1A33;

    --gold-600: #C89030;
    --gold-500: #E5A93D;
    --gold-400: #F4B860;
    --gold-300: #FCD68A;

    --cream: #F5F0E8;
    --cream-dim: rgba(245, 240, 232, 0.78);
    --cream-muted: rgba(245, 240, 232, 0.55);
    --cream-faint: rgba(245, 240, 232, 0.35);

    --surface: rgba(255, 255, 255, 0.035);
    --surface-strong: rgba(255, 255, 255, 0.055);
    --surface-hover: rgba(255, 255, 255, 0.075);
    --border: rgba(245, 240, 232, 0.1);
    --border-strong: rgba(245, 240, 232, 0.2);
    --border-gold: rgba(229, 169, 61, 0.35);

    --success: #4ADE80;
    --warning: #FCD34D;
    --error: #F87171;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 999px;

    --header-h: 72px;
    --header-h-mobile: 64px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--merlot-950);
    color: var(--cream);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: var(--header-h);
    font-feature-settings: 'ss01', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: var(--gold-500); }
a:hover { color: var(--gold-400); }

/* Ambient background — radial glow + deep merlot */
.ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 50% at 85% 8%, rgba(229, 169, 61, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 15% 95%, rgba(86, 21, 39, 0.45) 0%, transparent 60%),
        linear-gradient(180deg, var(--merlot-900) 0%, var(--merlot-950) 100%);
    pointer-events: none;
}

/* =============================================================
   Header
   ============================================================= */
.ec-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(26, 6, 16, 0.72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.ec-header-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ec-header-left {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.ec-logo {
    height: 26px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: opacity 0.2s ease;
    display: block;
}
.ec-logo:hover { opacity: 1; cursor: pointer; }

.ec-header-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding-left: 24px;
    border-left: 1px solid var(--border);
}

.ec-header-title h1 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ec-header-title p {
    font-size: 0.75rem;
    color: var(--cream-muted);
    font-weight: 400;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ec-header-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream-muted);
}

/* =============================================================
   Layout primitives
   ============================================================= */
.ec-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

.ec-container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 32px;
}

.ec-panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
    margin: 32px 0 64px;
}

/* Progress bar */
.ec-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.ec-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
    box-shadow: 0 0 18px rgba(229, 169, 61, 0.6);
    transition: width 0.4s ease;
}

.ec-progress-fill[data-progress="25"] { width: 25%; }
.ec-progress-fill[data-progress="50"] { width: 50%; }
.ec-progress-fill[data-progress="75"] { width: 75%; }
.ec-progress-fill[data-progress="100"] { width: 100%; }

/* Form container — padded panel body */
.ec-body {
    padding: 56px 48px;
}

/* Step header */
.ec-step-header {
    text-align: center;
    margin-bottom: 44px;
}

.ec-step-header .eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.ec-step-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ec-step-header p {
    color: var(--cream-dim);
    font-size: 1.02rem;
    max-width: 640px;
    margin: 0 auto;
}

/* Section divider */
.ec-section-divider {
    margin: 40px 0 28px;
    border-top: 1px solid var(--border);
    padding-top: 32px;
}

.ec-section-divider h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.ec-section-divider .desc {
    color: var(--cream-dim);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.ec-section-divider .desc i {
    color: var(--cream-muted);
    font-style: normal;
    font-size: 0.88rem;
}

/* =============================================================
   Forms
   ============================================================= */
.ec-form-group {
    margin-bottom: 24px;
}

.ec-form-group label {
    display: block;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 10px;
    font-size: 0.9rem;
    letter-spacing: -0.005em;
}

.ec-form-control {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.98rem;
    color: var(--cream);
    font-family: inherit;
    transition: all 0.2s ease;
}

.ec-form-control::placeholder {
    color: var(--cream-faint);
}

.ec-form-control:hover {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.06);
}

.ec-form-control:focus {
    outline: none;
    border-color: var(--gold-500);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(229, 169, 61, 0.15);
}

.ec-form-control option {
    background: var(--merlot-800);
    color: var(--cream);
}

.ec-textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.55;
}

.ec-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* =============================================================
   Selection cards (roles, objectives, features)
   ============================================================= */
.ec-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin: 16px 0;
}

.ec-selection-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 18px 18px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    color: var(--cream);
}

.ec-selection-card:hover {
    background: var(--surface-hover);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.ec-selection-card.selected {
    background: rgba(229, 169, 61, 0.08);
    border-color: var(--border-gold);
    box-shadow: 0 0 0 1px rgba(229, 169, 61, 0.25) inset;
}

.ec-selection-card.ai-recommended {
    background: rgba(229, 169, 61, 0.06);
    border-color: rgba(229, 169, 61, 0.3);
}

.ec-selection-card.ai-recommended.selected {
    background: rgba(229, 169, 61, 0.12);
    border-color: var(--gold-500);
    box-shadow: 0 0 0 1px rgba(229, 169, 61, 0.4) inset, 0 6px 20px -6px rgba(229, 169, 61, 0.3);
}

.ec-selection-card input[type="checkbox"],
.ec-selection-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ec-selection-card h5 {
    color: var(--cream);
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 28px;
}

.ec-selection-card p {
    color: var(--cream-dim);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

/* Checkbox indicator (top-right) */
.ec-selection-checkbox {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid var(--border-strong);
    background: transparent;
    transition: all 0.2s ease;
}

.ec-selection-card.selected .ec-selection-checkbox {
    background: var(--gold-500);
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(229, 169, 61, 0.15);
}

.ec-selection-card.selected .ec-selection-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 8px;
    border: solid var(--merlot-900);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

/* AI badge */
.ec-ai-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--merlot-900);
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 12px;
}

/* =============================================================
   Buttons
   ============================================================= */
.ec-btn {
    padding: 13px 24px;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    letter-spacing: -0.005em;
    line-height: 1;
}

.ec-btn-primary {
    background: var(--gold-500);
    color: var(--merlot-900);
    box-shadow:
        0 8px 24px -6px rgba(229, 169, 61, 0.5),
        0 0 0 1px rgba(252, 214, 138, 0.25) inset;
}

.ec-btn-primary:hover {
    background: var(--gold-400);
    color: var(--merlot-900);
    transform: translateY(-1px);
    box-shadow:
        0 12px 30px -6px rgba(229, 169, 61, 0.6),
        0 0 0 1px rgba(252, 214, 138, 0.35) inset;
}

.ec-btn-secondary {
    background: transparent;
    color: var(--cream-dim);
    border: 1px solid var(--border-strong);
}

.ec-btn-secondary:hover {
    background: var(--surface-hover);
    color: var(--cream);
    border-color: var(--cream-muted);
}

.ec-btn-outline {
    background: transparent;
    color: var(--gold-500);
    border: 1px solid var(--gold-500);
}

.ec-btn-outline:hover {
    background: rgba(229, 169, 61, 0.1);
    color: var(--gold-400);
}

.ec-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.ec-button-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 44px;
    gap: 16px;
}

/* =============================================================
   Alerts
   ============================================================= */
.ec-alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.92rem;
    border: 1px solid;
}

.ec-alert-error {
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.35);
    color: #FCA5A5;
}

.ec-alert-success {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.35);
    color: #86EFAC;
}

.ec-alert-warning {
    background: rgba(252, 211, 77, 0.1);
    border-color: rgba(252, 211, 77, 0.35);
    color: var(--warning);
}

/* =============================================================
   Loading
   ============================================================= */
.ec-loading-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 6, 16, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.ec-loading-overlay.show { display: flex; }

.ec-loading-inline {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-direction: column;
}
.ec-loading-inline.show { display: flex; }

.ec-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(229, 169, 61, 0.2);
    border-top: 3px solid var(--gold-500);
    border-radius: 50%;
    animation: ec-spin 0.9s linear infinite;
}

@keyframes ec-spin {
    to { transform: rotate(360deg); }
}

.ec-loading-text {
    margin-top: 20px;
    color: var(--cream);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.005em;
}

.ec-loading-sub {
    margin-top: 8px;
    color: var(--cream-muted);
    font-size: 0.88rem;
}

/* =============================================================
   Domain components — AI box, summary, role plan, components
   ============================================================= */

/* AI analysis box */
.ec-ai-box {
    background: linear-gradient(135deg, rgba(229, 169, 61, 0.08), rgba(229, 169, 61, 0.02));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 24px 0;
}

.ec-ai-box h4 {
    color: var(--cream);
    margin-bottom: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.ec-ai-box h4::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-500);
    box-shadow: 0 0 12px var(--gold-500);
}

.ec-ai-box p {
    color: var(--cream-dim);
    line-height: 1.65;
    margin-bottom: 14px;
}

.ec-ai-box p:last-child { margin-bottom: 0; }

/* Reanalyze CTA section inside AI box */
.ec-reanalyze-section {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 16px;
    text-align: center;
}

.ec-reanalyze-section p {
    margin-bottom: 12px !important;
    font-size: 0.88rem;
    color: var(--cream-muted);
}

/* Company info summary */
.ec-company-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold-500);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 28px;
}

.ec-company-summary h4 {
    color: var(--cream);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.ec-company-summary p {
    color: var(--cream-muted);
    font-size: 0.88rem;
    margin: 0;
}

/* Role selector (step4) */
.ec-role-selector {
    margin-bottom: 32px;
    text-align: center;
}

.ec-role-selector label {
    display: inline-block;
    margin-right: 12px;
    color: var(--cream-dim);
    font-size: 0.9rem;
    font-weight: 500;
}

.ec-role-selector select {
    padding: 11px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--cream);
    font-family: inherit;
    min-width: 240px;
    cursor: pointer;
}

.ec-role-selector select:focus {
    outline: none;
    border-color: var(--gold-500);
}

.ec-role-selector select option {
    background: var(--merlot-800);
    color: var(--cream);
}

/* Role plan card */
.ec-role-plan {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 20px 0;
    display: none;
    position: relative;
}

.ec-role-plan::before {
    content: '';
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.ec-role-plan.active { display: block; }

.ec-role-plan h3 {
    color: var(--cream);
    margin-bottom: 18px;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.ec-role-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 24px;
}

.ec-role-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ec-role-info-item strong {
    color: var(--cream-muted);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ec-role-info-item span {
    color: var(--cream);
    font-weight: 600;
    font-size: 0.98rem;
}

/* Components container */
.ec-components-container h4 {
    color: var(--cream);
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.ec-component-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.ec-component-item:hover {
    background: var(--surface-strong);
    border-color: var(--border-strong);
}

.ec-component-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ec-component-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.ec-component-name {
    font-weight: 600;
    color: var(--cream);
    flex: 1;
    font-size: 1rem;
    letter-spacing: -0.005em;
}

.ec-component-type {
    background: rgba(229, 169, 61, 0.15);
    color: var(--gold-400);
    border: 1px solid rgba(229, 169, 61, 0.3);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ec-component-description {
    color: var(--cream-dim);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.ec-component-details {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 0.88rem;
}

.ec-component-details p {
    margin: 6px 0;
    color: var(--cream-dim);
    line-height: 1.5;
}

.ec-component-details strong {
    color: var(--cream);
    font-weight: 600;
}

/* Email section (step4 lead capture) */
.ec-email-section {
    background: linear-gradient(135deg, rgba(229, 169, 61, 0.06), rgba(229, 169, 61, 0.015));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    margin: 36px 0;
    text-align: center;
}

.ec-email-section h4 {
    color: var(--cream);
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.ec-email-section > p {
    color: var(--cream-dim);
    margin-bottom: 24px;
    font-size: 0.98rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact info (completion + step4) */
.ec-contact-info {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 32px;
    text-align: center;
}

.ec-contact-info h5 {
    color: var(--cream);
    margin: 14px 0 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.ec-contact-info p {
    color: var(--cream-dim);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
}

.ec-contact-info .ec-logo {
    height: 24px;
    margin: 0 auto;
}

/* =============================================================
   Completion page
   ============================================================= */
.ec-success {
    text-align: center;
    padding: 56px 40px;
}

.ec-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 169, 61, 0.25), rgba(229, 169, 61, 0.04) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.ec-success-icon svg {
    width: 36px;
    height: 36px;
    color: var(--gold-500);
}

.ec-success-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--cream);
    margin-bottom: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ec-success-message {
    font-size: 1.05rem;
    color: var(--cream-dim);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.ec-next-steps {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    margin: 36px 0;
    text-align: left;
}

.ec-next-steps h4 {
    color: var(--cream);
    margin-bottom: 18px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.ec-next-steps ul {
    color: var(--cream-dim);
    line-height: 1.7;
    padding-left: 0;
    list-style: none;
}

.ec-next-steps li {
    margin-bottom: 14px;
    padding-left: 22px;
    position: relative;
    font-size: 0.95rem;
}

.ec-next-steps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-500);
    box-shadow: 0 0 8px rgba(229, 169, 61, 0.5);
}

.ec-next-steps li strong {
    color: var(--cream);
    font-weight: 600;
}

/* =============================================================
   Footer
   ============================================================= */
.ec-footer {
    border-top: 1px solid var(--border);
    padding: 32px 0 40px;
    text-align: center;
}

.ec-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.ec-footer p {
    color: var(--cream-muted);
    font-size: 0.85rem;
}

.ec-footer a {
    color: var(--gold-500);
    text-decoration: none;
}
.ec-footer a:hover { color: var(--gold-400); }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 900px) {
    .ec-header-title { padding-left: 16px; }
    .ec-header-title h1 { font-size: 0.85rem; }
    .ec-header-title p { font-size: 0.7rem; }
}

@media (max-width: 768px) {
    body { padding-top: var(--header-h-mobile); }
    .ec-header { height: var(--header-h-mobile); }
    .ec-header-inner { padding: 0 18px; gap: 12px; }
    .ec-header-left { gap: 12px; }
    .ec-logo { height: 22px; }
    .ec-header-title { padding-left: 12px; }
    .ec-header-title h1 { font-size: 0.78rem; }
    .ec-header-title p { font-size: 0.65rem; }
    .ec-header-eyebrow { display: none; }

    .ec-container, .ec-container-narrow { padding: 0 16px; }
    .ec-panel { margin: 20px 0 40px; border-radius: var(--radius-lg); }
    .ec-body { padding: 32px 22px; }
    .ec-step-header { margin-bottom: 32px; }
    .ec-form-row { grid-template-columns: 1fr; gap: 16px; }
    .ec-selection-grid { grid-template-columns: 1fr; }
    .ec-button-group { flex-direction: column-reverse; gap: 12px; }
    .ec-button-group > * { width: 100%; }
    .ec-btn { justify-content: center; }
    .ec-role-info { grid-template-columns: 1fr; }
    .ec-email-section { padding: 28px 20px; }
    .ec-success { padding: 40px 24px; }
    .ec-next-steps { padding: 22px 22px; }
}
