:root {
    --ink: #17202a;
    --muted: #65717d;
    --line: #dfe5ea;
    --paper: #f7f8fa;
    --card: #ffffff;
    --accent: #3759d7;
    --accent-dark: #2946b4;
}

* { box-sizing: border-box; }

html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}

a { color: inherit; }

.shell {
    width: min(1080px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    background: rgba(247, 248, 250, .92);
    border-bottom: 1px solid var(--line);
}

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

.brand {
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -.03em;
    font-size: 1.2rem;
}

.brand span { color: var(--accent); }

nav { display: flex; gap: 22px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--ink); }

.hero {
    padding: 110px 0 100px;
    max-width: 900px;
}

.eyebrow {
    color: var(--accent);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }

.hero h1 {
    max-width: 850px;
    margin: 12px 0 22px;
    font-size: clamp(3rem, 8vw, 6.5rem);
}

.hero p, .page-intro p {
    max-width: 700px;
    color: var(--muted);
    font-size: 1.2rem;
    margin: 0 0 30px;
}

.button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border: 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.button:hover { background: var(--accent-dark); }

.button-light { background: white; color: var(--ink); }

.section { padding: 85px 0; }

.section-heading { max-width: 700px; margin-bottom: 32px; }
.section-heading h2, .cta h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 0 0 12px; }
.section-heading p { color: var(--muted); margin: 0; }

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

.card, .form-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
}

.card-number {
    color: var(--accent);
    font-weight: 800;
    font-size: .8rem;
}

.card h3 { margin: 28px 0 8px; font-size: 1.35rem; }
.card p { color: var(--muted); margin: 0; }

.cta { background: var(--ink); color: white; padding: 65px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta p { color: #b9c1ca; margin: 0; }

.page-intro { padding: 100px 0 30px; }
.page-intro h1 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 850px; margin: 12px 0 20px; }

pre {
    overflow-x: auto;
    background: #17202a;
    color: #edf1f5;
    padding: 24px;
    border-radius: 12px;
    line-height: 1.5;
}

.form-card { max-width: 720px; }
form { display: grid; gap: 18px; }
label { display: grid; gap: 7px; font-weight: 700; }
input, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    font: inherit;
    background: white;
}

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
    min-height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: var(--muted);
    font-size: .9rem;
}

.error { padding: 150px 0; }

@media (max-width: 720px) {
    .cards, .products { grid-template-columns: 1fr; }
    .cta-inner, .nav { align-items: flex-start; flex-direction: column; }
    .nav { padding: 18px 0; }
    .hero { padding-top: 70px; }
}


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

.product {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
}

.product-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.product-badge {
    color: var(--accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-price { font-weight: 800; }

.product h3 { margin: 28px 0 8px; font-size: 1.35rem; }
.product p { color: var(--muted); margin: 0; }
