:root {
    --purple: #260B4A;
    --purple-soft: #3C1843;
    --gold: #AC8346;
    --light-gold: #E7CEA9;
    --gray: #F7F7F7;
    --white: #FFFFFF;
    --text: #231F20;
    --muted: #6B6670;
    --border: #E9E3EC;
    --shadow: 0 18px 50px rgba(38, 11, 74, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(231, 206, 169, 0.28), transparent 30%),
        var(--gray);
    color: var(--text);
}

.wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 20px;
}

.card {
    width: min(720px, 100%);
    background: var(--white);
    border: 1px solid rgba(38, 11, 74, 0.06);
    border-radius: 22px;
    padding: 44px;
    box-shadow: var(--shadow);
}

.brand {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

h1 {
    margin: 0;
    max-width: 600px;
    color: var(--purple);
    font-size: clamp(34px, 6vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.02em;
}

h2 {
    margin: 0 0 8px;
    color: var(--purple);
    font-size: 28px;
    line-height: 1.15;
}

p {
    line-height: 1.65;
}

.intro {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid var(--purple);
    border-radius: 999px;
    background: var(--purple);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition:
        transform 120ms ease,
        box-shadow 120ms ease,
        background 120ms ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(38, 11, 74, 0.18);
}

.button.secondary {
    background: transparent;
    color: var(--purple);
}

.button.secondary:hover {
    background: rgba(38, 11, 74, 0.04);
}

.linkedin-mark {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: var(--white);
    color: var(--purple);
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
}

.profile {
    display: grid;
    grid-template-columns: 124px 1fr;
    gap: 26px;
    align-items: center;
    margin-top: 28px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FCFAFD 100%);
}

.photo-wrap {
    width: 124px;
    height: 124px;
}

.profile-photo {
    width: 124px;
    height: 124px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: var(--gray);
    border: 4px solid var(--white);
    box-shadow: 0 8px 24px rgba(38, 11, 74, 0.12);
}

.profile-photo.placeholder {
    display: grid;
    place-items: center;
    background: var(--purple);
    color: var(--white);
    font-size: 42px;
    font-weight: 800;
}

.profile-email {
    margin-bottom: 10px;
    font-size: 16px;
}

.muted {
    color: var(--muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.notice {
    margin-top: 24px;
    padding: 16px 18px;
    border: 1px solid var(--light-gold);
    border-radius: 14px;
    background: #FFF9F1;
    color: #4C4235;
    line-height: 1.55;
}

.notice.error {
    border-color: #E3A6A6;
    background: #FFF3F3;
    color: #6C2525;
}

@media (max-width: 600px) {
    .wrap {
        padding: 20px 14px;
    }

    .card {
        padding: 30px 22px;
        border-radius: 18px;
    }

    .profile {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .photo-wrap {
        margin: 0 auto;
    }

    .actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}


/* Alumni form */
.connected-row {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 18px;
    align-items: center;
    margin-top: 28px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #FCFAFD;
}

.connected-photo {
    width: 76px;
    height: 76px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    background: var(--gray);
}

.connected-photo.placeholder,
.hall-photo.placeholder {
    display: grid;
    place-items: center;
    background: var(--purple);
    color: var(--white);
    font-weight: 800;
}

.connected-label {
    margin-bottom: 5px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.alumni-form {
    margin-top: 30px;
}

.field {
    margin-bottom: 22px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: var(--purple);
    font-size: 15px;
    font-weight: 700;
}

.optional {
    color: var(--muted);
    font-weight: 400;
}

.field input {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid #D9D1DE;
    border-radius: 11px;
    background: var(--white);
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.field input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(38, 11, 74, 0.08);
}

.field-help {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.consent-box {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;
    margin-top: 6px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #FCFAFD;
    line-height: 1.5;
    cursor: pointer;
}

.consent-box input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--purple);
}

.privacy-note {
    margin-top: 13px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.privacy-note a,
.notice a {
    color: var(--purple);
    font-weight: 700;
}

.success-banner {
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #F3F8F1;
    border: 1px solid #C7D9C0;
    color: #30452A;
    line-height: 1.5;
}

.hall-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 26px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(231, 206, 169, 0.18), transparent 35%),
        var(--white);
}

.hall-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 10px 28px rgba(38, 11, 74, 0.12);
}

.hall-copy h2 {
    margin-bottom: 9px;
}

.hall-position {
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
}

.hall-company {
    margin-top: 3px;
    color: var(--muted);
    font-size: 16px;
}

.hall-program {
    display: inline-block;
    margin-top: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(172, 131, 70, 0.12);
    color: #795A2E;
    font-size: 12px;
    font-weight: 700;
}

.profile-link {
    display: block;
    width: fit-content;
    margin-top: 16px;
    color: var(--purple);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.profile-link:hover {
    text-decoration: underline;
}

.prototype-note {
    margin-top: 20px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

button.button {
    cursor: pointer;
    font: inherit;
}

@media (max-width: 600px) {
    .connected-row,
    .hall-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .connected-photo,
    .hall-photo {
        margin: 0 auto;
    }

    .profile-link {
        margin-left: auto;
        margin-right: auto;
    }
}


/* Session / testing controls */
.session-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
}

.session-tools a {
    color: var(--purple);
    font-weight: 700;
    text-decoration: none;
}

.session-tools a:hover {
    text-decoration: underline;
}

.compact-card {
    width: min(650px, 100%);
}

.switch-steps {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.switch-step {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #FCFAFD;
}

.switch-step p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.step-number {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--purple);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
}

.bottom-tools {
    margin-top: 24px;
}


/* ==================================================
   DEVELOPMENT MODE
================================================== */

:root {
    --dev-green: #6fa98c;
    --dev-red: #c25b5b;
    --dev-yellow: #d2a857;
}

.dev-panel {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid rgba(210, 168, 87, 0.55);
    border-radius: 14px;
    background: rgba(210, 168, 87, 0.08);
}

.dev-panel-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: var(--purple);
}

.dev-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--dev-yellow);
    color: #2d2414;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.dev-status-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.dev-status {
    display: grid;
    grid-template-columns: 10px 1fr;
    gap: 10px;
    align-items: start;
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
}

.dev-dot {
    width: 9px;
    height: 9px;
    margin-top: 5px;
    border-radius: 50%;
}

.dev-status--green .dev-dot {
    background: var(--dev-green);
}

.dev-status--yellow .dev-dot {
    background: var(--dev-yellow);
}

.dev-status--red .dev-dot {
    background: var(--dev-red);
}

.dev-note {
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid;
    border-radius: 12px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.55;
}

.dev-note--green {
    border-color: var(--dev-green);
    background: rgba(111, 169, 140, 0.10);
}

.dev-note--red {
    border-color: var(--dev-red);
    background: rgba(194, 91, 91, 0.10);
}

.dev-note--yellow {
    border-color: var(--dev-yellow);
    background: rgba(210, 168, 87, 0.10);
}

.dev-field-tag {
    display: inline-block;
    margin-left: 7px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(210, 168, 87, 0.16);
    color: #80631f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
    vertical-align: middle;
}

.dev-help {
    color: #80631f;
}

/* ==================================================
   PUBLIC PROFILE DETAILS
================================================== */

.profile-details {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
}

.profile-detail {
    margin: 0;
}

.profile-detail dt {
    margin: 0 0 2px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.profile-detail dd {
    margin: 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}


