:root {
    color-scheme: light;
    --ink: #05070a;
    --navy: #071b3a;
    --navy-2: #0e2b56;
    --navy-3: #123b73;
    --paper: #f7f8fb;
    --white: #ffffff;
    --muted: #657082;
    --line: #d7dce5;
    --green: #13a05f;
    --green-dark: #087042;
    --steel: #e9edf4;
    --shadow: 0 18px 50px rgba(5, 7, 10, 0.13);
    --shadow-soft: 0 16px 34px rgba(7, 27, 58, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--navy-2);
}

a:hover,
a:focus {
    color: var(--green-dark);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 100;
    padding: 10px 14px;
    background: var(--white);
    color: var(--ink);
}

.skip-link:focus {
    top: 16px;
}

.site-shell {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
}

.mcdc-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(5, 7, 10, 0.92);
    backdrop-filter: blur(16px);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: 12px 0;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--white);
    text-decoration: none;
}

.brand-lockup img {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    object-fit: cover;
}

.brand-lockup strong,
.brand-lockup span {
    display: block;
}

.brand-lockup strong {
    font-size: 15px;
    line-height: 1.1;
    letter-spacing: 0;
}

.brand-lockup span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
}

.mcdc-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.mcdc-nav a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    text-decoration: none;
}

.mcdc-nav a:hover,
.mcdc-nav a:focus {
    border-color: rgba(19, 160, 95, 0.72);
    background: rgba(19, 160, 95, 0.18);
    outline: none;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(5, 7, 10, 0.94), rgba(7, 27, 58, 0.98)),
        var(--navy);
    color: var(--white);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.55;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
    gap: 42px;
    align-items: center;
    min-height: min(760px, calc(100vh - 68px));
    padding: 76px 0 60px;
}

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 850px;
    margin-bottom: 18px;
    font-size: clamp(48px, 8vw, 98px);
    line-height: 0.95;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.18;
}

.lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(18px, 2.1vw, 24px);
}

.hero-actions,
.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 12px 17px;
    border: 1px solid var(--green);
    border-radius: 8px;
    background: var(--green);
    color: var(--ink);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.button:hover,
.button:focus {
    border-color: #56d895;
    background: #56d895;
    color: var(--ink);
    outline: none;
}

.button.secondary {
    border-color: rgba(255, 255, 255, 0.32);
    background: transparent;
    color: var(--white);
}

.button.secondary:hover,
.button.secondary:focus {
    border-color: var(--green);
    background: rgba(19, 160, 95, 0.16);
    color: var(--white);
}

.button.dark {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
}

.button.dark:hover,
.button.dark:focus {
    border-color: var(--green-dark);
    background: var(--green-dark);
    color: var(--white);
}

.button.ghost {
    border-color: var(--line);
    background: var(--white);
    color: var(--navy);
}

.button.ghost:hover,
.button.ghost:focus {
    border-color: var(--green);
    background: rgba(19, 160, 95, 0.1);
    color: var(--navy);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.hero-badges li {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.hero-media {
    display: grid;
    gap: 14px;
}

.hero-stack {
    display: grid;
    gap: 14px;
}

.logo-panel,
.kit-panel,
.portal-preview {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: #000000;
    box-shadow: var(--shadow);
}

.logo-panel img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.compact-logo {
    max-width: 360px;
    justify-self: end;
}

.hero-media figcaption,
.kit-panel figcaption,
.portal-preview figcaption {
    padding: 11px 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.signal-board {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        rgba(5, 7, 10, 0.72);
    box-shadow: var(--shadow);
}

.signal-board span {
    display: block;
    margin-bottom: 7px;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.signal-board strong {
    display: block;
    color: var(--white);
    font-size: 19px;
    line-height: 1.3;
}

.signal-board p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.proof-strip div {
    min-height: 128px;
    padding: 22px;
    background: var(--white);
}

.proof-strip strong {
    display: block;
    color: var(--navy);
    font-size: 30px;
    line-height: 1;
}

.proof-strip span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

.section {
    padding: 78px 0;
}

.section.tight {
    padding-top: 56px;
}

.section.alt {
    background: var(--white);
}

.section-header {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.58fr);
    gap: 34px;
    align-items: end;
    margin-bottom: 28px;
}

.section-header p {
    color: var(--muted);
}

.grid-3,
.grid-4,
.bio-grid,
.client-grid,
.package-grid,
.capability-grid {
    display: grid;
    gap: 16px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-grid {
    grid-template-columns: 1.1fr 0.95fr 0.95fr;
}

.service-card,
.bio-card,
.client-card,
.process-step,
.package-card,
.capability-panel,
.about-panel,
.portal-card,
.contact-panel,
.note-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(7, 27, 58, 0.07);
}

.service-card,
.bio-card,
.client-card,
.process-step,
.package-card,
.capability-panel,
.about-panel,
.portal-card,
.contact-panel,
.note-panel {
    padding: 22px;
}

.service-card {
    min-height: 248px;
}

.package-card {
    display: flex;
    flex-direction: column;
    min-height: 340px;
    box-shadow: var(--shadow-soft);
}

.package-card.featured {
    border-color: rgba(19, 160, 95, 0.45);
    background:
        linear-gradient(180deg, rgba(19, 160, 95, 0.08), transparent 35%),
        var(--white);
}

.service-card span,
.bio-card span,
.client-card span,
.process-step span,
.package-card span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 12px;
    padding: 5px 8px;
    border-radius: 8px;
    background: rgba(19, 160, 95, 0.11);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
}

.service-card p,
.bio-card p,
.client-card p,
.process-step p,
.package-card p,
.capability-panel p,
.about-panel p,
.portal-card p {
    color: var(--muted);
}

.capability-panel.dark-panel {
    background:
        linear-gradient(135deg, rgba(7, 27, 58, 0.98), rgba(5, 7, 10, 0.98)),
        var(--navy);
    color: var(--white);
}

.capability-panel.dark-panel .clean-list li {
    color: rgba(255, 255, 255, 0.84);
}

.capability-panel.dark-panel .clean-list li::before {
    background: var(--green);
}

.feature-list,
.clean-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li,
.clean-list li {
    position: relative;
    padding-left: 18px;
}

.feature-list li::before,
.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
}

.split-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
    gap: 24px;
    align-items: center;
}

.kit-panel {
    background: var(--steel);
}

.kit-panel img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.kit-panel figcaption {
    background: var(--ink);
}

.cta-band {
    position: relative;
    overflow: hidden;
    padding: 46px;
    border-radius: 8px;
    background:
        linear-gradient(100deg, rgba(7, 27, 58, 0.95), rgba(5, 7, 10, 0.95)),
        var(--navy);
    color: var(--white);
}

.cta-band h2 {
    max-width: 780px;
}

.cta-band p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.76);
}

.request-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.6fr);
    gap: 24px;
    align-items: start;
}

.request-form {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.field-row {
    display: grid;
    gap: 6px;
}

.field-row label {
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.field-row input,
.field-row textarea,
.field-row select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcff;
    color: var(--ink);
    font: inherit;
}

.field-row textarea {
    min-height: 118px;
    resize: vertical;
}

.field-row input:focus,
.field-row textarea:focus,
.field-row select:focus {
    border-color: var(--green);
    outline: 3px solid rgba(19, 160, 95, 0.18);
}

.small-note {
    color: var(--muted);
    font-size: 13px;
}

.portal-hero {
    min-height: auto;
}

.portal-box {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.portal-box h2 {
    margin-bottom: 0;
    color: var(--white);
    font-size: 28px;
}

.portal-form {
    display: grid;
    gap: 13px;
}

.portal-form label {
    display: grid;
    gap: 6px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 700;
}

.portal-form input {
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font: inherit;
}

.portal-form input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.portal-status {
    min-height: 24px;
    color: #9df0bd;
    font-size: 14px;
}

.portal-preview {
    background: var(--white);
    color: var(--ink);
}

.portal-preview .preview-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
}

.portal-preview .preview-body {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.fake-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.fake-bar {
    height: 10px;
    border-radius: 999px;
    background: var(--steel);
}

.fake-bar.green {
    background: rgba(19, 160, 95, 0.72);
}

.fake-bar.half {
    width: 64%;
}

.fake-bar.short {
    width: 42%;
}

.request-hero .hero-inner {
    min-height: 560px;
}

.intake-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
    gap: 24px;
    align-items: start;
}

.enhanced-form {
    box-shadow: var(--shadow-soft);
}

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

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.summary-panel {
    position: sticky;
    top: 88px;
    padding: 22px;
    border: 1px solid rgba(7, 27, 58, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(7, 27, 58, 0.04), transparent 30%),
        var(--white);
    box-shadow: var(--shadow-soft);
}

.summary-panel pre {
    max-height: 520px;
    overflow: auto;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f1f4f8;
    color: var(--ink);
    white-space: pre-wrap;
    font: 14px/1.5 Consolas, "Courier New", monospace;
}

.scope-cards {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.scope-cards div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcff;
}

.scope-cards strong,
.scope-cards span {
    display: block;
}

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

.scope-cards span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.footer {
    border-top: 1px solid var(--line);
    background: var(--white);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: 28px 0;
    color: var(--muted);
    font-size: 14px;
}

.footer a {
    font-weight: 700;
}

@media (max-width: 940px) {
    .hero-inner,
    .section-header,
    .split-showcase,
    .request-layout,
    .intake-layout {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        min-height: auto;
        padding-top: 56px;
    }

    .proof-strip,
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3,
    .bio-grid,
    .client-grid,
    .capability-grid {
        grid-template-columns: 1fr;
    }

    .package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .summary-panel {
        position: static;
    }

    .compact-logo {
        justify-self: stretch;
        max-width: none;
    }
}

@media (max-width: 680px) {
    .package-grid {
        grid-template-columns: 1fr;
    }

    .topbar-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .mcdc-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .mcdc-nav a {
        flex: 1 1 auto;
    }

    .site-shell,
    .topbar-inner,
    .footer-inner {
        width: min(100% - 28px, 1160px);
    }

    h1 {
        font-size: 46px;
    }

    .proof-strip {
        grid-template-columns: 1fr;
    }

    .cta-band {
        padding: 28px;
    }

    .button {
        width: 100%;
    }

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

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

    .form-actions {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
