:root {
    --navy: #0c2238;
    --navy-deep: #071827;
    --blue: #176b87;
    --blue-light: #eaf4f7;

    --white: #ffffff;
    --background: #f5f7f9;
    --surface: #ffffff;

    --text: #18232d;
    --muted: #687580;
    --border: #d9e0e5;

    --success: #237a57;
    --danger: #a93e3e;

    --radius: 14px;
    --radius-small: 8px;

    --shadow:
        0 12px 35px rgba(10, 30, 48, 0.10);
}


* {
    box-sizing: border-box;
}


html {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: var(--background);
    color: var(--text);
}


body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}


/* HEADER */

.site-header {
    background: var(--navy-deep);
    padding: 22px 28px;
}

.site-header-inner {
    width: min(1100px, 100%);
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    max-width: 270px;
    max-height: 72px;
    object-fit: contain;
}

.header-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* HERO */

.hero {
    background:
        linear-gradient(
            135deg,
            var(--navy-deep),
            var(--navy)
        );

    color: var(--white);
    padding: 58px 28px 66px;
}

.hero-inner {
    width: min(1000px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 44px;
    align-items: center;
}

.hero h1 {
    margin: 0 0 18px;

    font-size:
        clamp(2rem, 5vw, 3.5rem);

    line-height: 1.05;
    letter-spacing: -0.035em;

    color: #ffffff;
}

.hero p {
    margin: 0;
    max-width: 650px;

    font-size: 1.12rem;
    line-height: 1.7;

    color:
        rgba(255, 255, 255, 0.84);
}

.hero-headshot {
    width: 150px;
    height: 150px;

    object-fit: cover;

    border-radius: 50%;

    border:
        4px solid
        rgba(255, 255, 255, 0.85);

    box-shadow:
        0 14px 32px
        rgba(0, 0, 0, 0.28);
}


/* MAIN LAYOUT */

.page {
    width: min(860px, calc(100% - 32px));
    margin: -32px auto 60px;
    position: relative;
    z-index: 2;
}

.card {
    background: var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

    padding:
        clamp(24px, 5vw, 44px);

    box-shadow:
        var(--shadow);
}

.section {
    margin-bottom: 42px;
}

.section:last-child {
    margin-bottom: 0;
}


/* TYPOGRAPHY */

h1,
h2,
h3 {
    color: var(--navy);
    line-height: 1.2;
}

h2 {
    margin:
        0 0 18px;

    font-size:
        1.45rem;
}

h3 {
    margin:
        0 0 12px;

    font-size:
        1.05rem;
}

p {
    margin:
        0 0 16px;
}

.lead {
    color: var(--muted);
    font-size: 1.05rem;
}

.small {
    color: var(--muted);
    font-size: 0.9rem;
}


/* FORM */

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.form-group {
    min-width: 0;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    display: block;

    margin-bottom: 7px;

    font-weight: 650;
    color: var(--navy);
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;

    font: inherit;
    font-size: 1rem;

    color: var(--text);

    background: var(--white);

    border:
        1px solid
        #bdc8d0;

    border-radius:
        var(--radius-small);

    padding: 13px 14px;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

textarea {
    min-height: 170px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;

    border-color:
        var(--blue);

    box-shadow:
        0 0 0 3px
        rgba(23, 107, 135, 0.14);
}


/* CHECKBOXES & RADIOS */

.choice {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding: 12px 0;

    color: var(--text);
}

.choice input {
    margin-top: 5px;
    flex: 0 0 auto;
}


/* PRIVACY / INFORMATION BOX */

.notice {
    background:
        var(--blue-light);

    border-left:
        4px solid
        var(--blue);

    border-radius:
        0 var(--radius-small)
        var(--radius-small) 0;

    padding:
        18px 20px;

    margin:
        22px 0;
}

.notice strong {
    color: var(--navy);
}


/* BUTTONS */

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 26px;
}

button,
.button {
    appearance: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    border: 0;
    border-radius:
        var(--radius-small);

    padding:
        12px 22px;

    background:
        var(--navy);

    color:
        var(--white);

    font: inherit;
    font-weight: 700;

    cursor: pointer;

    text-decoration: none;

    transition:
        transform 0.12s ease,
        background 0.12s ease,
        opacity 0.12s ease;
}

button:hover,
.button:hover {
    background:
        var(--blue);

    transform:
        translateY(-1px);
}

button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.button-secondary {
    background:
        #e7edf1;

    color:
        var(--navy);
}

.button-secondary:hover {
    background:
        #dce6eb;
}


/* INTERVIEW */

.interview-question {
    background:
        var(--navy);

    color:
        var(--white);

    border-radius:
        var(--radius);

    padding:
        25px 28px;

    margin:
        18px 0 24px;

    font-size:
        1.2rem;

    line-height:
        1.55;
}

.interview-status {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    padding:
        8px 12px;

    border-radius:
        999px;

    background:
        var(--blue-light);

    color:
        var(--navy);

    font-weight:
        600;

    font-size:
        0.92rem;
}

.answer-panel {
    margin-top:
        28px;

    padding-top:
        24px;

    border-top:
        1px solid
        var(--border);
}


/* TESTIMONIAL PREVIEW */

.testimonial-preview {
    border-left:
        4px solid
        var(--blue);

    padding:
        18px 22px;

    margin:
        24px 0;

    background:
        #f8fafb;

    font-size:
        1.08rem;

    font-style:
        italic;
}

.testimonial-attribution {
    margin-top:
        12px;

    color:
        var(--navy);

    font-weight:
        700;

    font-style:
        normal;
}


/* ADMIN */

.admin-table-wrap {
    overflow-x:
        auto;
}

.admin-table {
    width:
        100%;

    border-collapse:
        collapse;

    background:
        var(--white);
}

.admin-table th,
.admin-table td {
    text-align:
        left;

    vertical-align:
        top;

    padding:
        14px 15px;

    border-bottom:
        1px solid
        var(--border);
}

.admin-table th {
    background:
        var(--navy);

    color:
        var(--white);

    font-size:
        0.86rem;

    letter-spacing:
        0.03em;

    text-transform:
        uppercase;
}

.admin-table tr:hover td {
    background:
        #f7fafb;
}

.admin-table a {
    color:
        var(--blue);

    font-weight:
        700;

    text-decoration:
        none;
}


/* TRANSCRIPT */

.transcript {
    display:
        grid;

    gap:
        16px;

    margin-top:
        22px;
}

.transcript-entry {
    padding:
        16px 18px;

    border-radius:
        var(--radius-small);
}

.transcript-entry.interviewer {
    background:
        var(--blue-light);
}

.transcript-entry.participant {
    background:
        #f2f3f5;
}

.transcript-role {
    display:
        block;

    margin-bottom:
        6px;

    font-size:
        0.8rem;

    font-weight:
        800;

    letter-spacing:
        0.06em;

    text-transform:
        uppercase;

    color:
        var(--navy);
}


/* ALERTS */

.message {
    margin-top:
        18px;

    padding:
        12px 14px;

    border-radius:
        var(--radius-small);

    font-weight:
        600;
}

.message-success {
    background:
        #e9f5ef;

    color:
        var(--success);
}

.message-error {
    background:
        #faeded;

    color:
        var(--danger);
}


/* FOOTER */

.site-footer {
    padding:
        28px;

    text-align:
        center;

    color:
        var(--muted);

    font-size:
        0.88rem;
}


/* MOBILE */

@media (max-width: 700px) {

    .site-header-inner {
        justify-content:
            center;
    }

    .header-label {
        display:
            none;
    }

    .hero-inner {
        grid-template-columns:
            1fr;

        text-align:
            center;
    }

    .hero p {
        margin:
            0 auto;
    }

    .hero-headshot {
        margin:
            0 auto;

        width:
            120px;

        height:
            120px;
    }

    .form-grid {
        grid-template-columns:
            1fr;
    }

    .page {
        margin-top:
            -24px;
    }

    .button-row,
    button,
    .button {
        width:
            100%;
    }
}

/* ADMIN PAGE WIDTH FIX */

body:has(.admin-table) .page {
    width: min(1180px, calc(100% - 32px));
}

.admin-table {
    min-width: 980px;
}

.admin-table th:last-child,
.admin-table td:last-child {
    min-width: 72px;
    white-space: nowrap;
}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2) {
    min-width: 120px;
}

.admin-table th:nth-child(5),
.admin-table td:nth-child(5) {
    min-width: 135px;
}

.admin-table th:nth-child(7),
.admin-table td:nth-child(7) {
    min-width: 150px;
}

/* FINAL POLISH */
.eyebrow {
    margin-bottom: 10px;
    color: #9bd0da;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-actions { margin-top: 26px; }
.hero-compact { padding-top: 44px; padding-bottom: 54px; }
.home-page { width: min(1050px, calc(100% - 32px)); }

.button-light {
    background: #ffffff;
    color: var(--navy);
}
.button-light:hover {
    background: #eef5f7;
    color: var(--navy);
}

.feature-grid,
.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature,
.detail-item {
    background: #fbfcfd;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}
.feature p { margin-bottom: 0; color: var(--muted); }
.detail-item span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.detail-item strong { color: var(--navy); }
.top-actions { margin-top: 0; margin-bottom: 30px; }

@media (max-width: 700px) {
    .feature-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }
}
