:root {
    color-scheme: dark;
    --bg: #090d16;
    --surface: #0f172a;
    --surface-raised: #151e31;
    --text: #f8fafc;
    --text-secondary: #a7b3c5;
    --muted: #718096;
    --border: rgba(255, 255, 255, 0.1);
    --brand: #6366f1;
    --brand-hover: #4f46e5;
    --sky: #38bdf8;
    --green: #34d399;
    --max-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background: rgba(9, 13, 22, 0.94);
    backdrop-filter: blur(16px);
}

.header-inner,
.footer-inner,
.related-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header-inner {
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 750;
    font-size: 1.12rem;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 8px;
    background: var(--brand);
    color: white;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 600;
}

nav a:hover,
.footer-contact a:hover {
    color: var(--text);
}

.header-cta {
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
}

.service-hero {
    min-height: 76vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(rgba(56, 189, 248, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 72% 30%, rgba(99, 102, 241, 0.2), transparent 34%);
    background-size: 56px 56px, 56px 56px, auto;
}

.hero-inner {
    padding-block: 72px 58px;
}

.breadcrumbs {
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 0.85rem;
}

.breadcrumbs a:hover {
    color: var(--sky);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--sky);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 960px;
    margin-bottom: 24px;
    font-size: clamp(2.7rem, 6vw, 4.35rem);
    line-height: 1.04;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
    line-height: 1.35;
}

.hero-summary {
    max-width: 760px;
    margin-bottom: 32px;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 700;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    border: 1px solid var(--brand);
    background: var(--brand);
    color: white;
}

.button-primary:hover {
    background: var(--brand-hover);
}

.button-secondary {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
    border-color: var(--sky);
}

.signal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--border);
    list-style: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.signal-list li::before,
.engagement-panel li::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--green);
}

.content-band {
    padding-block: 104px;
    border-bottom: 1px solid var(--border);
}

.band-muted {
    background: var(--surface);
}

.split-layout,
.engagement-layout,
.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
    gap: clamp(48px, 8vw, 110px);
    align-items: start;
}

.section-intro p:not(.eyebrow),
.engagement-layout>div>p:not(.eyebrow),
.related-inner p:not(.eyebrow) {
    color: var(--text-secondary);
}

.section-intro.narrow {
    max-width: 690px;
    margin-bottom: 48px;
}

.deliverable-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.deliverable {
    min-height: 172px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-raised);
}

.deliverable p,
.process-grid p,
.faq-list p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.94rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    background: var(--border);
    list-style: none;
}

.process-grid li {
    min-height: 238px;
    padding: 28px;
    background: var(--surface);
}

.step-number {
    display: block;
    margin-bottom: 42px;
    color: var(--sky);
    font-family: Consolas, monospace;
    font-size: 0.82rem;
}

.engagement-layout {
    align-items: center;
}

.engagement-panel {
    padding: 32px;
    border: 1px solid rgba(56, 189, 248, 0.32);
    border-radius: 8px;
    background: var(--surface-raised);
}

.price-label {
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price {
    margin-bottom: 22px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.engagement-panel ul {
    display: grid;
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    color: var(--text-secondary);
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-list details {
    border-bottom: 1px solid var(--border);
}

.faq-list summary {
    padding: 24px 42px 24px 0;
    cursor: pointer;
    font-weight: 700;
}

.faq-list details p {
    padding: 0 34px 24px 0;
}

.related-band {
    padding-block: 72px;
    background: #101827;
}

.related-inner>div {
    max-width: 720px;
}

.related-inner h2 {
    margin-bottom: 10px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.text-link {
    flex: 0 0 auto;
    color: var(--sky);
    font-weight: 700;
}

footer {
    padding-block: 44px;
    color: var(--text-secondary);
}

footer strong {
    color: var(--text);
}

footer p {
    margin: 4px 0 0;
    font-size: 0.88rem;
}

.footer-contact {
    display: flex;
    gap: 24px;
}

@media (max-width: 820px) {
    .header-inner nav a:not(.header-cta) {
        display: none;
    }

    .split-layout,
    .engagement-layout,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-inner,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 48px), var(--max-width));
    }

    .service-hero {
        min-height: auto;
    }

    .hero-inner {
        padding-block: 40px 36px;
    }

    .breadcrumbs {
        margin-bottom: 24px;
    }

    h1 {
        margin-bottom: 18px;
        font-size: 2.15rem;
    }

    .hero-summary {
        margin-bottom: 24px;
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero-actions {
        gap: 8px;
        margin-bottom: 0;
    }

    .hero-actions .button {
        min-height: 44px;
        padding: 9px 14px;
        font-size: 0.88rem;
    }

    .signal-list {
        display: none;
    }

    .content-band {
        padding-block: 72px;
    }

    .deliverable-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-grid li {
        min-height: auto;
    }

    .step-number {
        margin-bottom: 26px;
    }

    .footer-contact {
        flex-direction: column;
        gap: 8px;
    }
}