:root {
    --paper: #f7f5ef;
    --ink: #172b4d;
    --muted: #596579;
    --line: #d9dee6;
    --accent: #174ca0;
    --accent-soft: #dce8fc;
    --lime: var(--accent-soft);
    --white: #fff;
    --radius: 8px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

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

a {
    color: inherit;
    text-underline-offset: 5px
}

button,
input,
select,
textarea {
    font: inherit
}

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #174ca0;
    outline-offset: 5px
}

.wrap {
    width: min(1180px, calc(100% - 96px));
    margin-inline: auto
}

.header {
    border-bottom: 1px solid var(--line)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 104px;
    gap: 24px
}

.brand {
    text-decoration: none;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.05;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -1px
}

.brand-sub {
    display: block;
    letter-spacing: 4px;
    font-size: 10px;
    margin-top: 6px
}

.brand-logo {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto
}

.footer-top .brand-logo {
    width: 240px
}

.nav nav {
    display: flex;
    gap: 30px;
    align-items: center
}

.nav nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600
}

.nav nav a[aria-current] {
    text-decoration: underline
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: var(--ink);
    color: white;
    padding: 15px 23px;
    border: 1px solid var(--ink);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer
}

.button:hover {
    background: #234c82
}

.button.small {
    padding: 11px 18px
}

.button.lime {
    background: var(--lime);
    color: var(--ink);
    border-color: var(--lime)
}

.button.outline {
    background: transparent;
    color: var(--ink)
}

.button.outline:hover {
    background: var(--accent-soft)
}

.button.lime:hover {
    background: #c8daf8;
    border-color: #c8daf8
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 700;
    margin: 0 0 24px;
    display: flex;
    gap: 10px;
    align-items: center
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 100%;
    display: inline-block;
    background: #174ca0
}

.hero {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 85px;
    padding-block: 88px 84px;
    align-items: center
}

h1,
h2,
h3 {
    line-height: 1.08;
    letter-spacing: -2px;
    font-weight: 500;
    margin: 0 0 24px
}

h1 {
    font-size: clamp(42px, 5.2vw, 68px)
}

h1 em {
    font-family: Georgia, serif;
    font-weight: 400
}

h2 {
    font-size: clamp(32px, 3.5vw, 45px)
}

h3 {
    font-size: 25px;
    letter-spacing: -.6px
}

.lead {
    font-size: 19px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 680px
}

.actions {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px
}

.text-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 14px
}

.text-link:hover {
    text-decoration: underline
}

.hero-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 24px
}

.system-panel {
    background: var(--ink);
    color: var(--paper);
    padding: 28px 30px;
    border-radius: var(--radius);
    box-shadow: 14px 14px 0 #dde3ec;
    transform: rotate(-1deg)
}

.panel-top,
.panel-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 9px;
    letter-spacing: 1.3px
}

.panel-top {
    padding-bottom: 24px;
    border-bottom: 1px solid #ffffff26
}

.panel-label {
    font: 27px Georgia;
    margin: 28px 0;
    color: var(--lime)
}

.system-row {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0 12px;
    border-bottom: 1px solid #ffffff26;
    padding: 20px 0
}

.system-row>span {
    font-size: 10px;
    color: var(--lime);
    grid-row: span 2
}

.system-row strong {
    font-size: 28px;
    font-weight: 400
}

.system-row small {
    color: #c2cede;
    font-size: 12px
}

.panel-bottom {
    padding-top: 28px;
    color: #c2cede
}

.stack-strip {
    border-block: 1px solid var(--line);
    background: #eeefef
}

.stack-strip .wrap {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-block: 22px;
    font-size: 13px
}

.stack-strip span {
    color: var(--muted);
    font-size: 11px
}

.section {
    padding-block: 90px
}

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

.section-heading p:last-child {
    max-width: 320px;
    color: var(--muted)
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.card {
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    background: #fffdf9;
    display: flex;
    flex-direction: column;
    transition: background .15s, transform .15s
}

.card:hover {
    background: #edf2fa;
    transform: translateY(-3px)
}

.index {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--muted);
    margin-bottom: 36px
}

.card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 24px
}

.card-link {
    font-size: 12px;
    font-weight: 600;
    margin-top: auto;
    display: flex;
    justify-content: space-between
}

.work-section {
    background: #e8edf5;
    padding-block: 80px
}

.work-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center
}

.work-grid p {
    max-width: 580px
}

.product-panel {
    background: #fffdf9;
    border: 1px solid #cbd5e3;
    border-radius: var(--radius);
    padding: 30px
}

.product-panel .panel-top {
    border-color: var(--line)
}

.product-panel .panel-top strong {
    font-size: 23px;
    letter-spacing: -1px
}

.product-panel .panel-top span {
    font-size: 8px
}

.product-list {
    display: grid;
    margin-top: 20px
}

.product-list span {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px
}

.product-panel>p {
    font-size: 11px;
    color: var(--muted)
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px
}

.cta {
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius);
    padding: 45px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    margin-bottom: 85px
}

.cta h2 {
    font-size: 38px;
    margin-bottom: 12px
}

.cta p:last-child {
    max-width: 560px;
    color: #c2cede;
    font-size: 14px
}

.cta .eyebrow {
    color: var(--lime);
    margin-bottom: 15px
}

.cta .button {
    white-space: nowrap
}

footer {
    border-top: 1px solid var(--line);
    padding-top: 55px
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 45px
}

.footer-top p {
    color: var(--muted);
    font-size: 13px
}

.footer-top>div>a:not(.brand) {
    display: block;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 8px
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-block: 20px;
    font-size: 11px;
    color: var(--muted);
    gap: 20px
}

.page-intro {
    padding-block: 80px 40px
}

.page-intro h1 {
    max-width: 880px
}

.compact {
    padding-top: 10px
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 90px;
    padding-block: 20px 90px
}

.aside {
    background: #edf0f5;
    padding: 32px;
    border-radius: var(--radius);
    align-self: start
}

.aside p {
    color: var(--muted);
    font-size: 15px
}

.deliverables {
    list-style: none;
    padding: 0;
    margin: 0 0 25px
}

.deliverables li {
    border-bottom: 1px solid var(--line);
    padding: 17px 0
}

.deliverables li:before {
    content: '↗';
    margin-right: 12px
}

.prose {
    max-width: 800px;
    padding-bottom: 70px;
    overflow-wrap: anywhere
}

.prose h2 {
    font-size: 32px;
    margin-top: 36px
}

.prose p,
.prose li {
    color: var(--muted)
}

.prose pre {
    overflow: auto;
    background: #e9edf3;
    padding: 20px;
    font-size: 13px
}

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

.prose table {
    display: block;
    overflow: auto
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 80px
}

.steps span {
    font-size: 12px;
    color: var(--muted)
}

.steps h3 {
    margin-top: 18px
}

.steps p {
    font-size: 14px;
    color: var(--muted)
}

.archive {
    padding-bottom: 80px
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px
}

input,
textarea,
select {
    width: 100%;
    padding: 13px;
    border: 1px solid #bdc7d5;
    border-radius: 4px;
    background: #fffdf9;
    color: var(--ink);
    margin-bottom: 20px
}

textarea {
    resize: vertical
}

.form-note {
    font-size: 12px;
    color: var(--muted);
    max-width: 470px
}

.email {
    overflow-wrap: anywhere
}

.copy-button {
    display: block;
    background: transparent;
    border: 0;
    padding: 10px 0;
    color: var(--ink);
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 25px 0
}

.skip {
    position: absolute;
    left: 20px;
    top: -100px;
    background: var(--lime);
    padding: 10px;
    z-index: 10
}

.skip:focus {
    top: 10px
}

.menu-toggle {
    display: none
}

[hidden] {
    display: none !important
}

@media(max-width:1000px) {
    .wrap {
        width: calc(100% - 48px)
    }

    .hero {
        gap: 35px
    }

    .nav nav {
        gap: 18px
    }

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

    .work-grid,
    .detail-grid {
        gap: 40px
    }

    .cta {
        padding: 32px
    }

    .footer-top {
        grid-template-columns: 1.2fr .7fr 1fr
    }
}

@media(max-width:700px) {
    .wrap {
        width: calc(100% - 36px)
    }

    .nav {
        min-height: 84px;
        flex-wrap: wrap;
        padding-block: 18px
    }

    .brand {
        font-size: 22px
    }

    .menu-toggle {
        display: block;
        border: 1px solid var(--line);
        padding: 8px 14px;
        background: transparent;
        border-radius: 4px;
        color: var(--ink)
    }

    .nav nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 18px;
        padding-block: 12px
    }

    .nav:has(.menu-toggle:not([hidden])) nav:not(.open) {
        display: none
    }

    .hero {
        grid-template-columns: 1fr;
        padding-block: 54px;
        gap: 45px
    }

    .system-panel {
        transform: none;
        box-shadow: 7px 7px 0 #dde3ec
    }

    .hero h1 {
        font-size: 46px
    }

    .lead {
        font-size: 17px
    }

    .section {
        padding-block: 55px
    }

    .section-heading,
    .cta {
        display: block
    }

    .section-heading p:last-child {
        max-width: none
    }

    .cards,
    .steps,
    .work-grid,
    .about-grid,
    .detail-grid,
    .footer-top {
        grid-template-columns: 1fr
    }

    .card {
        padding: 24px
    }

    .index {
        margin-bottom: 22px
    }

    .work-section {
        padding-block: 50px
    }

    .work-grid {
        gap: 30px
    }

    .about-grid {
        gap: 5px
    }

    .cta {
        padding: 28px;
        margin-bottom: 55px
    }

    .cta .button {
        margin-top: 18px
    }

    .cta h2 {
        font-size: 32px
    }

    .page-intro {
        padding-block: 50px 25px
    }

    .detail-grid {
        gap: 30px;
        padding-bottom: 55px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px
    }

    .footer-top {
        gap: 25px
    }

    .stack-strip .wrap {
        justify-content: start;
        gap: 14px 24px
    }

    .stack-strip span {
        width: 100%
    }

    .steps {
        gap: 20px
    }

    .prose {
        padding-bottom: 35px
    }

    .archive {
        padding-bottom: 50px
    }
}

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

    .card {
        transition: none
    }

    .card:hover {
        transform: none
    }
}

@media(max-width:700px) {
    .nav .brand-logo {
        width: 190px
    }

    .footer-top .brand-logo {
        width: 220px
    }
}