:root {
    --bg: #08111d;
    --bg-soft: #0d1725;
    --panel: rgba(14, 27, 43, 0.86);
    --panel-border: rgba(169, 196, 255, 0.12);
    --text: #ecf2fb;
    --muted: #9db0ca;
    --accent: #7dd3fc;
    --accent-strong: #38bdf8;
    --accent-soft: rgba(56, 189, 248, 0.14);
    --white-soft: rgba(255, 255, 255, 0.08);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
    --radius: 24px;
    --radius-sm: 18px;
    --container: min(1160px, calc(100vw - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(125, 211, 252, 0.14), transparent 22%),
        linear-gradient(180deg, #07111b 0%, #09131f 48%, #0a121a 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

h1,
h2,
h3,
strong {
    color: var(--text);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.1;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.section {
    padding: 48px 0 92px;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(14px);
    background: rgba(6, 13, 22, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand strong {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.24), rgba(56, 189, 248, 0.62));
    color: #08111d;
    font-weight: 800;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #04101d;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 14px 34px rgba(56, 189, 248, 0.18);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-secondary,
.button-ghost {
    background: transparent;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.hero {
    padding-top: 42px;
}

.hero-grid,
.spotlight-grid,
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: center;
}

.hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 5vw, 5rem);
    letter-spacing: -0.05em;
}

.lead {
    margin-top: 24px;
    max-width: 64ch;
    font-size: 1.1rem;
    color: #d4dff0;
}

.supporting-text {
    margin-top: 18px;
    max-width: 64ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.eyebrow-pill,
.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow-pill {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(125, 211, 252, 0.16);
}

.chip-row,
.pill-row,
.sector-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip-row {
    margin-top: 28px;
}

.chip,
.pill-row span,
.sector-list span,
.portfolio-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #d9e8fb;
    font-size: 0.92rem;
}

.chip-row.compact {
    margin-top: 22px;
}

.hero-panel {
    display: grid;
    gap: 20px;
}

.hero-card,
.info-card,
.service-card,
.portfolio-card,
.process-card,
.stack-panel,
.spotlight-card,
.cta-banner {
    border: 1px solid var(--panel-border);
    background: var(--panel);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.hero-card {
    padding: 28px;
}

.hero-card-primary {
    position: relative;
    overflow: hidden;
}

.hero-card-primary::after {
    content: '';
    position: absolute;
    inset: auto -10% -30% 30%;
    height: 180px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.16), transparent 70%);
}

.card-label {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-card h2 {
    max-width: 14ch;
    font-size: 2rem;
    letter-spacing: -0.04em;
}

.hero-card h3 {
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.flow-grid {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.flow-grid article,
.process-card,
.info-card,
.portfolio-card,
.service-card {
    position: relative;
    overflow: hidden;
}

.flow-grid article {
    padding: 18px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.flow-grid span,
.portfolio-tag {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.flow-grid strong {
    display: block;
    max-width: 20ch;
    font-size: 1.05rem;
    line-height: 1.4;
}

.compact-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.compact-list li,
.service-card li {
    position: relative;
    padding-left: 18px;
    color: #d4dff0;
    line-height: 1.6;
}

.compact-list li::before,
.service-card li::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
}

.section-heading {
    display: grid;
    gap: 16px;
    max-width: 70ch;
    margin-bottom: 34px;
}

.section-heading.narrow {
    max-width: 60ch;
}

.section-heading.left-aligned {
    margin-bottom: 24px;
}

.section-heading h2,
.spotlight-card h2,
.cta-banner h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    letter-spacing: -0.05em;
}

.outcomes-grid,
.services-grid,
.portfolio-grid,
.process-grid {
    display: grid;
    gap: 22px;
}

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

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

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

.info-card,
.service-card,
.portfolio-card,
.process-card,
.stack-panel,
.spotlight-card {
    padding: 28px;
}

.info-card h3,
.service-card h3,
.portfolio-card h3,
.process-card h3,
.stack-panel h3 {
    margin-bottom: 12px;
    font-size: 1.22rem;
    letter-spacing: -0.03em;
}

.service-card ul {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.spotlight-card {
    min-height: 100%;
}

.spotlight-dark {
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(8, 17, 29, 0.4)),
        var(--panel);
}

.portfolio-card {
    min-height: 240px;
}

.portfolio-tag {
    margin-bottom: 16px;
}

.stack-panel {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(255, 255, 255, 0.03));
}

.process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(125, 211, 252, 0.14);
    color: var(--accent);
    font-weight: 800;
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 36px;
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(8, 17, 29, 0.28)),
        var(--panel);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 28px;
    align-items: start;
}

.contact-panel {
    padding: 32px;
    border: 1px solid var(--panel-border);
    background: var(--panel);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.contact-panel-copy {
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(8, 17, 29, 0.32)),
        var(--panel);
}

.contact-panel h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    letter-spacing: -0.05em;
}

.contact-panel-copy > p {
    margin-top: 18px;
    max-width: 60ch;
}

.contact-points {
    display: grid;
    gap: 16px;
    margin: 26px 0;
}

.contact-points article {
    padding: 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.contact-points h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}

.contact-note,
.form-note {
    margin-top: 18px;
    font-size: 0.94rem;
}

.form-alert {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-alert p {
    color: inherit;
}

.form-alert-success {
    background: rgba(16, 185, 129, 0.14);
    color: #d4fff0;
    border-color: rgba(16, 185, 129, 0.28);
}

.form-alert-error {
    background: rgba(248, 113, 113, 0.14);
    color: #ffd6d6;
    border-color: rgba(248, 113, 113, 0.28);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-row,
.form-row-two {
    display: grid;
    gap: 16px;
}

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

.form-field label {
    display: block;
    margin-bottom: 10px;
    color: #dbe7f7;
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(4, 10, 18, 0.66);
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #8ea3bf;
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(125, 211, 252, 0.55);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
    background: rgba(7, 15, 26, 0.84);
}

.field-errors {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.field-errors span {
    color: #ffb7b7;
    font-size: 0.92rem;
}

.form-field-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-submit {
    width: 100%;
}

.recaptcha-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-top: 4px;
    overflow-x: auto;
}

@media (max-width: 1080px) {
    .outcomes-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 920px) {
    .site-nav {
        display: none;
    }

    .hero-grid,
    .spotlight-grid,
    .sectors-grid,
    .cta-banner,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        display: grid;
    }

    .header-shell {
        min-height: 74px;
    }

    .section {
        padding: 34px 0 72px;
    }

    .hero-copy h1 {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .header-shell {
        flex-wrap: wrap;
        justify-content: center;
        padding: 16px 0;
    }

    .button-secondary {
        width: 100%;
    }

    .outcomes-grid,
    .services-grid,
    .portfolio-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .info-card,
    .service-card,
    .portfolio-card,
    .process-card,
    .stack-panel,
    .spotlight-card,
    .cta-banner,
    .contact-panel {
        padding: 22px;
        border-radius: 20px;
    }

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

    .hero-copy h1,
    .section-heading h2,
    .spotlight-card h2,
    .cta-banner h2,
    .contact-panel h2 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }
}
