:root {
    --navy: #123b5d;
    --navy-dark: #082a45;
    --blue: #1b6f9f;
    --blue-soft: #e9f4fa;
    --gold: #d5a02c;
    --green: #2c7a59;
    --red: #a43d45;
    --ink: #1c2933;
    --muted: #667784;
    --line: #d9e1e6;
    --surface: #ffffff;
    --background: #f3f6f8;
    --shadow: 0 14px 40px rgba(18, 59, 93, 0.09);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--background);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.poc-banner {
    padding: 8px 20px;
    color: #fff;
    background: var(--navy-dark);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    padding: 12px max(24px, calc((100% - 1180px) / 2));
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 800;
}

.brand img {
    width: 108px;
    height: 52px;
    object-fit: contain;
}

.site-header nav {
    display: flex;
    gap: 12px;
}

.site-header nav a {
    padding: 10px 14px;
    color: var(--navy);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
}

.site-header nav a:hover {
    background: var(--blue-soft);
}

.page-shell {
    max-width: 1180px;
    min-height: calc(100vh - 190px);
    margin: 0 auto;
    padding: 48px 24px 72px;
}

.hero {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 44px;
    align-items: center;
    padding: 56px;
    color: #fff;
    background:
        linear-gradient(135deg, var(--navy-dark), var(--blue));
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero h1,
.persona-heading h1 {
    margin: 6px 0 16px;
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    line-height: 1.04;
}

.persona-heading h1 {
    color: var(--navy-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #b7e5ff;
}

.lead {
    max-width: 720px;
    font-size: 1.15rem;
    line-height: 1.65;
}

.demo-note {
    padding: 28px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 18px;
}

.demo-note li {
    margin: 10px 0;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.centered {
    justify-content: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 9px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    color: #fff;
    background: var(--blue);
}

.button.secondary {
    color: var(--navy);
    background: #fff;
    border-color: var(--line);
}

.button.danger {
    color: var(--red);
    background: #fff;
    border-color: #e2b8bc;
}

.text-button {
    color: var(--blue);
    background: transparent;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.feature-grid article,
.panel,
.metrics article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.feature-grid article {
    padding: 28px;
}

.feature-number {
    color: var(--gold);
    font-weight: 900;
}

.persona-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.persona-heading p {
    color: var(--muted);
}

.panel {
    padding: 28px;
}

.two-column,
.staff-layout {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr;
    gap: 24px;
}

.staff-layout {
    grid-template-columns: 1.7fr 0.7fr;
}

.form-panel label,
.form-panel fieldset {
    display: block;
    margin-bottom: 20px;
    font-weight: 700;
}

input,
textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid #bcc9d1;
    border-radius: 8px;
    font: inherit;
}

input:focus,
textarea:focus {
    border-color: var(--blue);
    outline: 3px solid rgba(27, 111, 159, 0.15);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

fieldset {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.check-row {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.check-row input {
    width: auto;
    margin: 0;
}

small {
    color: var(--muted);
    line-height: 1.5;
}

.privacy-callout {
    margin-bottom: 24px;
    padding: 16px;
    background: #fff6df;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
}

.request-summary dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.request-summary dt {
    color: var(--muted);
}

.request-summary dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.metrics article {
    padding: 22px;
}

.metrics span {
    display: block;
    color: var(--muted);
}

.metrics strong {
    display: block;
    margin-top: 8px;
    color: var(--navy);
    font-size: 2rem;
}

.panel-heading,
.request-row,
.document-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.filter-pills {
    display: flex;
    gap: 8px;
}

.filter-pills span {
    padding: 7px 10px;
    color: var(--muted);
    background: var(--background);
    border-radius: 999px;
    font-size: 0.78rem;
}

.filter-pills .active {
    color: var(--navy);
    background: var(--blue-soft);
    font-weight: 800;
}

.request-row {
    padding: 18px 0;
    color: var(--ink);
    border-top: 1px solid var(--line);
    text-decoration: none;
}

.request-row div {
    display: grid;
    gap: 4px;
}

.request-row span {
    color: var(--muted);
    font-size: 0.88rem;
}

.status {
    display: inline-block;
    padding: 7px 11px;
    color: var(--navy) !important;
    background: var(--blue-soft);
    border-radius: 999px;
    font-size: 0.78rem !important;
    font-weight: 800;
}

.status.submitted {
    color: #195f44 !important;
    background: #e2f5eb;
}

.status.reviewed {
    color: #5c477c !important;
    background: #efe9f8;
}

.notification {
    padding: 17px 0;
    border-top: 1px solid var(--line);
}

.notification p {
    margin: 7px 0;
    color: var(--muted);
}

.audit-panel {
    margin-top: 24px;
}

.timeline article {
    position: relative;
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 14px;
    padding: 15px 0;
}

.timeline-dot {
    width: 11px;
    height: 11px;
    margin-top: 5px;
    background: var(--blue);
    border: 3px solid #cde8f6;
    border-radius: 50%;
}

.timeline p,
.timeline small {
    margin: 4px 0;
    color: var(--muted);
}

.document-row {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.document-row > div:nth-child(2) {
    display: grid;
    flex: 1;
    gap: 4px;
}

.document-row span {
    color: var(--muted);
    font-size: 0.88rem;
}

.file-icon {
    display: grid;
    width: 45px;
    height: 45px;
    color: #fff;
    background: var(--navy);
    place-items: center;
    border-radius: 9px;
    font-size: 0.7rem;
    font-weight: 900;
}

.confirmation {
    max-width: 760px;
    margin: 50px auto;
    text-align: center;
}

.success-mark {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    color: #fff;
    background: var(--green);
    place-items: center;
    border-radius: 50%;
    font-size: 2.3rem;
}

.back-link {
    color: var(--blue);
    text-decoration: none;
    font-weight: 800;
}

.empty-state {
    padding: 30px;
    color: var(--muted);
    background: var(--background);
    border-radius: 12px;
    text-align: center;
}

footer {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 25px;
    color: var(--muted);
    background: #fff;
    border-top: 1px solid var(--line);
}

footer span {
    color: var(--navy);
    font-weight: 800;
}

@media (max-width: 850px) {
    .site-header,
    .persona-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero,
    .two-column,
    .staff-layout,
    .feature-grid,
    .metrics {
        grid-template-columns: 1fr;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 34px 24px;
    }

    .site-header nav {
        flex-wrap: wrap;
    }

    .request-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

select {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid #bcc9d1;
    border-radius: 8px;
    background: #fff;
    font: inherit;
}

.demo-link-box {
    display: grid;
    gap: 8px;
    margin-top: 24px;
    padding: 16px;
    overflow-wrap: anywhere;
    background: var(--blue-soft);
    border-radius: 10px;
}

.demo-link-box a {
    color: var(--blue);
    font-weight: 700;
}

.button-row form {
    margin: 0;
}

.action-message {
    margin: 0 0 24px;
    padding: 15px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.success-message {
    color: #195f44;
    background: #e2f5eb;
    border: 1px solid #add8bf;
}

.revoked-message {
    color: #8a3038;
    background: #fbeaed;
    border: 1px solid #e2b8bc;
}

.revoked-link {
    color: var(--red);
    font-weight: 800;
}

.browser-only-file {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}
