@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

:root {
    --espresso: #2b1b16;
    --coffee: #5b3a2e;
    --latte: #b88a68;
    --cream: #f7f0e7;
    --paper: #fffaf4;
    --line: #e4d5c6;
    --text: #34251f;
    --muted: #78675e;
    --white: #fff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.6
}

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

.container {
    width: min(1160px, calc(100% - 40px));
    margin: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 250, 244, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 28px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    line-height: 1.05;
    min-width: 190px
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--espresso);
    color: #ead3bc;
    font-family: Georgia, serif;
    font-size: 22px
}

.nav nav {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex: 1
}

.nav nav a {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.25
}

.nav nav a:hover, .nav nav a.active {
    color: var(--espresso)
}

.nav-cta {
    border: 1px solid var(--coffee);
    padding: 10px 17px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600
}

.hero {
    padding: 92px 0 105px;
    background: radial-gradient(circle at 85% 20%, #ead5c0 0, transparent 33%), linear-gradient(120deg, #f7f0e7 0, #fffaf4 60%)
}

.hero-grid {
    display: grid;
    grid-template-columns:1.1fr .9fr;
    gap: 70px;
    align-items: center
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 11px;
    font-weight: 700;
    color: var(--latte);
    margin: 0 0 15px
}

.eyebrow.light {
    color: #c7a88f
}

h1, h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.025em
}

h1 {
    font-size: clamp(46px, 6vw, 76px);
    margin: 0 0 24px
}

h1 em {
    font-style: normal;
    color: var(--coffee)
}

h2 {
    font-size: clamp(34px, 4vw, 52px);
    margin: 0 0 18px
}

.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 680px
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 30px
}

.button {
    display: inline-block;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 700;
    font-size: 13px
}

.primary {
    background: var(--espresso);
    color: white
}

.ghost {
    border: 1px solid var(--line);
    background: #fff
}

.hero-card {
    background: var(--espresso);
    color: #f7eee4;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 28px 60px rgba(64, 40, 28, .18);
    transform: rotate(1.5deg)
}

.card-top {
    display: flex;
    justify-content: space-between;
    color: #cbb3a0;
    font-size: 12px
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c49a78
}

.score {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 55px;
    margin: 70px 0 30px
}

.score strong {
    font-weight: 500;
    color: #dfc0a5
}

.bars {
    display: grid;
    gap: 9px
}

.bars i {
    height: 7px;
    background: #9a6d52;
    border-radius: 9px;
    display: block
}

.mini-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 1px;
    background: #5b4035;
    margin: 30px -10px -10px
}

.mini-grid div {
    background: var(--espresso);
    padding: 17px 10px
}

.mini-grid b, .mini-grid span {
    display: block
}

.mini-grid b {
    font-size: 12px
}

.mini-grid span {
    font-size: 10px;
    color: #a88f80;
    margin-top: 4px
}

.section {
    padding: 100px 0
}

.warm {
    background: var(--cream)
}

.section-head {
    max-width: 760px
}

.section-head p:last-child {
    color: var(--muted);
    font-size: 17px
}

.industry-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 10px;
    margin-top: 48px
}

.industry-grid span {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    background: #fffdf9;
    font-size: 13px
}

.two-col {
    display: grid;
    grid-template-columns:.85fr 1.15fr;
    gap: 90px
}

.feature-list {
    border-top: 1px solid #d8c6b4
}

.feature-list div {
    display: grid;
    grid-template-columns:45px 1fr;
    column-gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid #d8c6b4
}

.feature-list span {
    font-size: 11px;
    color: var(--latte)
}

.feature-list b {
    font-size: 17px
}

.feature-list p {
    grid-column: 2;
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 14px
}

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

.integration-copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 17px
}

.text-link {
    font-weight: 700;
    font-size: 13px;
    color: var(--coffee)
}

.diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.node {
    border: 1px solid var(--line);
    padding: 18px 20px;
    border-radius: 16px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    background: white
}

.node.api {
    border-color: #c5a58d;
    background: #f2e5d7
}

.node.pp {
    background: var(--espresso);
    color: #fff
}

.line {
    width: 28px;
    height: 1px;
    background: var(--latte)
}

.dark {
    background: var(--espresso);
    color: #fff
}

.contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}

.contact h2 {
    margin-bottom: 8px
}

.contact p:not(.eyebrow) {
    color: #c9b6a9
}

.light-button {
    background: #f5e8db;
    color: var(--espresso)
}

.page-hero {
    padding: 85px 0 70px;
    background: linear-gradient(135deg, #f3e5d7, #fffaf4)
}

.page-hero h1 {
    max-width: 900px
}

.doc-wrap {
    max-width: 900px
}

.doc-section {
    padding: 0 0 45px;
    margin-bottom: 45px;
    border-bottom: 1px solid var(--line)
}

.doc-section h2 {
    font-size: 34px
}

.doc-section p, .doc-section li {
    color: var(--muted);
    font-size: 16px
}

.doc-section li {
    margin: 8px 0
}

footer {
    background: #211511;
    color: #bca99e
}

.footer {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    font-size: 11px
}

.footer div {
    display: flex;
    gap: 18px
}

.footer a:hover {
    color: white
}

@media (max-width: 900px) {
    .nav {
        flex-wrap: wrap;
        padding: 14px 0
    }

    .nav nav {
        order: 3;
        overflow: auto;
        justify-content: flex-start;
        width: 100%;
        padding-bottom: 4px
    }

    .nav-cta {
        margin-left: auto
    }

    .hero-grid, .two-col, .integration {
        grid-template-columns:1fr;
        gap: 45px
    }

    .industry-grid {
        grid-template-columns:1fr 1fr
    }

    .hero {
        padding-top: 55px
    }

    .hero-card {
        max-width: 620px
    }

    .footer {
        padding: 25px 0;
        align-items: flex-start;
        flex-direction: column
    }

    .footer div {
        flex-wrap: wrap
    }

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

@media (max-width: 560px) {
    .container {
        width: min(100% - 28px, 1160px)
    }

    .brand {
        min-width: 150px
    }

    .nav-cta {
        padding: 8px 12px
    }

    .industry-grid {
        grid-template-columns:1fr
    }

    .section {
        padding: 70px 0
    }

    .diagram {
        flex-wrap: wrap
    }

    .line {
        width: 18px
    }

    .hero h1 {
        font-size: 45px
    }

    .score {
        margin-top: 45px
    }
}
