:root {
    --ink: #1e2a24;
    --muted: #637268;
    --line: #d7e2d8;
    --paper: #fbfbf5;
    --surface: #ffffff;
    --field: #edf5ec;
    --green: #256b46;
    --green-dark: #17452d;
    --amber: #c98d2a;
    --blue: #416d86;
    --shadow: 0 18px 50px rgba(27, 58, 42, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(180deg, #f5f7ee 0%, #fbfbf5 45%, #eef5ed 100%);
    font-family: "Aptos", "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-header,
.site-footer {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
}

.brand,
.site-nav,
.hero-actions,
.inline-actions,
.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand {
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    color: #fff;
    background: var(--green);
}

.site-nav a,
.footer-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 650;
}

.site-nav .nav-cta {
    color: #fff;
    background: var(--green);
    padding: 10px 14px;
    border-radius: 8px;
}

main {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.hero,
.page-hero,
.section,
.form-page {
    margin: 28px 0;
}

.hero-grid,
.split,
.form-page {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 32px;
    align-items: center;
}

.hero-copy h1,
.page-hero h1,
.section h2,
.form-page h1 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.section h2,
.form-page h1 {
    font-size: clamp(2rem, 3.5vw, 3.6rem);
}

.hero-text,
.page-hero p,
.section p,
.form-page p {
    color: var(--muted);
    font-size: 1.05rem;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
}

.button.primary {
    border-color: var(--green);
    color: #fff;
    background: var(--green);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.68);
}

.button.full {
    width: 100%;
}

.product-panel,
.offering-card,
.product-card,
.form-card,
.value-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.product-panel {
    padding: 22px;
}

.panel-topline,
.metrics-row,
.price-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.panel-stack {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.panel-stack div,
.metrics-row div {
    padding: 16px;
    border-radius: 8px;
    background: var(--field);
}

.panel-stack span,
.metrics-row span,
.price-row span {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
}

.panel-stack strong,
.metrics-row strong,
.product-price {
    display: block;
    margin-top: 4px;
    font-size: 1.35rem;
}

.section.compact,
.band {
    padding: 40px;
    border-radius: 8px;
    background: rgba(237, 245, 236, 0.78);
}

.value-grid,
.card-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.value-grid article,
.offering-card,
.product-body,
.form-card {
    padding: 22px;
}

.card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offering-card ul,
.product-card ul {
    padding-left: 18px;
    color: var(--muted);
}

.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
    overflow: hidden;
}

.product-card img,
.product-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: linear-gradient(135deg, var(--green), var(--blue));
}

.product-placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
}

.module-list-preview,
.contact-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.module-list-preview a,
.contact-summary span {
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--surface);
    text-decoration: none;
    font-weight: 750;
}

.form-card p {
    margin: 0 0 16px;
}

.form-input,
.form-textarea {
    width: 100%;
    margin-top: 6px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.messages {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.message {
    padding: 12px 14px;
    border-radius: 8px;
    background: #e7f4ea;
    color: var(--green-dark);
    font-weight: 700;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 38px 0 48px;
    color: var(--muted);
}

@media (max-width: 900px) {
    .site-header,
    .site-footer,
    .site-nav,
    .hero-actions,
    .inline-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-grid,
    .split,
    .form-page,
    .value-grid,
    .card-grid,
    .card-grid.two-col,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .section.compact,
    .band {
        padding: 24px;
    }
}