:root {
    --ink: #17212b;
    --muted: #5a6b7a;
    --line: #dfeaf3;
    --paper: rgba(255, 255, 255, 0.96);
    --soft: #edf5fb;
    --blue: #1a73b7;
    --blue-dark: #123f64;
    --teal: #1ab3a5;
    --shadow: 0 22px 48px rgba(12, 41, 63, 0.18);
    --surface-strong: #0f2740;
}

* {
    box-sizing: border-box;
}

body {
    font: 15px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-shell {
    width: min(1180px, calc(100% - 28px));
    margin: 26px auto;
    background: var(--paper);
    border: 1px solid rgba(19, 63, 100, 0.1);
    border-radius: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
    color: var(--ink);
    backdrop-filter: blur(6px);
}

.hero {
    padding: 68px 8%;
    color: white;
    background: radial-gradient(circle at 90% 12%, rgba(122, 201, 255, 0.35), transparent 24%),
        linear-gradient(135deg, #0d2240 0%, #123f64 35%, #1d6ea5 100%);
}

.eyebrow {
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #8ce4d9;
}

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

h1 {
    max-width: 670px;
    margin-bottom: 14px;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: .98;
    letter-spacing: -.055em;
}

h2 {
    margin-bottom: 12px;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.1;
    letter-spacing: -.035em;
}

h3 {
    margin-bottom: 7px;
    font-size: 1rem;
}

.hero-copy {
    max-width: 680px;
    margin-bottom: 25px;
    color: #dcecf4;
    font-size: 1.08rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.library-type {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #edf9ff;
    font-size: 12px;
    font-weight: 600;
}

.section {
    padding: 58px 8%;
    border-bottom: 1px solid var(--line);
}

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

.section-heading>p {
    max-width: 450px;
    margin-bottom: 3px;
    color: var(--muted);
}

.compact-heading {
    align-items: center;
}

.workflow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.workflow-step {
    min-height: 170px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.94));
}

.step-number {
    display: inline-block;
    margin-bottom: 27px;
    color: var(--blue);
    font-weight: 800;
    font-size: 12px;
}

.workflow-step p,
.library-card p,
.area-list span {
    color: var(--muted);
    font-size: 13px;
}

.split-section {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
}

.area-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
}

.area-list div {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.area-list strong,
.area-list span {
    display: block;
}

.architecture-card {
    align-self: start;
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(180deg, #edf6ff 0%, #f7fbff 100%);
    border: 1px solid #d9ebf7;
}

.architecture-card .eyebrow {
    margin-bottom: 22px;
}

.architecture-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.architecture-row p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.architecture-row strong {
    color: var(--ink);
}

.architecture-icon {
    display: grid;
    flex: 0 0 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    font-size: 11px;
    font-weight: 800;
}

.architecture-line {
    height: 22px;
    margin: 0 0 0 22px;
    border-left: 1px dashed #9ab5c5;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

.library-card {
    min-height: 155px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    transition: transform .2s, box-shadow .2s;
}

.library-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(19, 48, 73, .08);
}

.library-type {
    display: inline-block;
    margin-bottom: 16px;
    padding: 5px 9px;
    color: var(--blue-dark);
    background: #e7f1fb;
    border: 1px solid #d1e4f7;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

code {
    padding: 2px 4px;
    border-radius: 3px;
    background: var(--soft);
    color: var(--blue-dark);
    font-size: 12px;
}

.footer-note {
    padding: 24px 8%;
    color: var(--muted);
    background: linear-gradient(180deg, #f4f9ff 0%, #edf3fb 100%);
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.footer-note strong {
    color: var(--ink);
}

@media (max-width: 850px) {

    .section-heading,
    .split-section {
        display: block;
    }

    .section-heading>p {
        margin-top: 18px;
    }

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

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

    .architecture-card {
        margin-top: 40px;
    }
}

@media (max-width: 540px) {
    .page-shell {
        margin: 0;
    }

    .hero,
    .section {
        padding: 42px 6%;
    }

    .workflow,
    .library-grid,
    .area-list {
        grid-template-columns: 1fr;
    }

    .workflow-step {
        min-height: 0;
    }

    .footer-note {
        padding: 22px 6%;
    }
}