:root {
    --ink: #151714;
    --muted: #687064;
    --green: #b6d47d;
    --green-dark: #8fb34f;
    --green-soft: #f0f6e6;
    --paper: #fff;
    --wash: #f5f4ee;
    --line: #d9ddd2;
    --radius: 24px;
    --shell: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--wash);
    overflow-x: clip;
    font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

.eyebrow {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 660px;
    background: var(--green);
}

.hero::before,
.hero::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(21, 23, 20, .2);
    border-radius: 50%;
}

.hero::before {
    width: 500px;
    height: 500px;
    right: -180px;
    top: -180px;
}

.hero::after {
    width: 180px;
    height: 180px;
    right: 160px;
    bottom: -90px;
    background: rgba(255, 255, 255, .18);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 180px;
    align-items: start;
    gap: 60px;
    padding-block: 38px 72px;
}

.brand {
    display: inline-block;
    width: 180px;
    padding: 14px 18px;
    background: var(--paper);
    border-radius: 0 0 18px 18px;
}

.custom-logo-link {
    display: block;
}

.hero-copy {
    padding-top: 142px;
}

.hero-copy h1 {
    max-width: 740px;
    margin: 0;
    font-size: clamp(58px, 8vw, 104px);
    line-height: .88;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.hero-lead {
    max-width: 610px;
    margin: 30px 0 0;
    font-family: Arial, sans-serif;
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 22px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible,
.category-nav a:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}

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

.button-light {
    background: transparent;
}

.button-light:hover {
    background: rgba(255, 255, 255, .35);
}

.hero-note {
    align-self: end;
    margin-bottom: 60px;
    padding-top: 16px;
    border-top: 2px solid var(--ink);
}

.note-number,
.note-label {
    display: block;
}

.note-number {
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
}

.note-label {
    margin-top: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.price-main {
    padding: 96px 0 110px;
}

.price-heading {
    display: grid;
    grid-template-columns: 1fr 380px;
    align-items: end;
    gap: 40px;
}

.price-heading h2,
.download-panel h2 {
    margin: 0;
    font-size: clamp(42px, 6vw, 74px);
    line-height: .95;
    letter-spacing: -.04em;
    text-transform: uppercase;
}

.price-heading > p {
    margin: 0;
    color: var(--muted);
    font-family: Arial, sans-serif;
}

.category-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    gap: 8px;
    margin: 42px 0 30px;
    padding: 12px 0;
    overflow-x: auto;
    background: rgba(245, 244, 238, .94);
    backdrop-filter: blur(12px);
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-nav a {
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.category-nav a:hover,
.category-nav a.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
}

.price-card {
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    scroll-margin-top: 100px;
}

.card-heading {
    min-height: 94px;
    padding: 22px 24px 18px;
    background: var(--green);
    border-bottom: 1px solid var(--ink);
}

.card-heading h3 {
    margin: 0;
    font-size: 27px;
    line-height: 1.04;
    text-transform: uppercase;
}

.card-heading p {
    margin: 7px 0 0;
    font-size: 13px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px 92px;
    align-items: center;
    min-height: 68px;
    border-bottom: 1px solid var(--line);
}

.price-row:last-child {
    border-bottom: 0;
}

.product {
    min-width: 0;
    padding: 13px 18px 13px 24px;
}

.product h4 {
    margin: 0;
    font-size: 19px;
    line-height: 1.14;
}

.product p {
    margin: 5px 0 0;
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.measure,
.price {
    display: flex;
    align-items: center;
    align-self: stretch;
    padding: 10px 12px;
    border-left: 1px solid var(--line);
}

.measure {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.price {
    justify-content: flex-end;
    font-size: 20px;
    white-space: nowrap;
}

.price span {
    margin-left: 3px;
    font-size: 14px;
}

.download-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 40px;
    margin-top: 80px;
    padding: 48px;
    background: var(--green);
    border: 1px solid var(--ink);
    border-radius: var(--radius);
}

.download-panel h2 {
    font-size: clamp(38px, 5vw, 62px);
}

.download-panel p:last-child {
    max-width: 600px;
    margin: 18px 0 0;
    font-family: Arial, sans-serif;
}

.site-footer {
    padding: 30px 0;
    background: var(--ink);
    color: #fff;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-inner p {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 0;
}

.footer-inner strong {
    font-size: 28px;
    text-transform: uppercase;
}

.footer-inner span,
.footer-inner a {
    color: #bfc5bb;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.default-page {
    min-height: 70vh;
    padding-block: 80px;
}

@media (max-width: 920px) {
    .hero {
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 32px;
    }

    .brand {
        width: 150px;
    }

    .hero-copy {
        padding-top: 110px;
    }

    .hero-note {
        display: none;
    }

    .price-heading {
        grid-template-columns: 1fr;
    }

    .price-heading > p {
        max-width: 520px;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }

    .download-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(calc(100% - 24px), var(--shell));
    }

    .hero-inner {
        display: block;
        padding-top: 0;
    }

    .brand {
        width: 132px;
        margin-left: 8px;
        border-radius: 0 0 14px 14px;
    }

    .hero-copy {
        padding-top: 72px;
    }

    .hero-copy h1 {
        font-size: clamp(48px, 17vw, 70px);
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .price-main {
        padding: 68px 0 72px;
    }

    .price-heading h2 {
        font-size: 46px;
    }

    .category-nav {
        margin-top: 30px;
    }

    .price-grid {
        gap: 16px;
    }

    .price-card {
        border-radius: 18px;
    }

    .card-heading {
        min-height: 0;
        padding: 18px;
    }

    .card-heading h3 {
        font-size: 23px;
    }

    .price-row {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 82px;
        padding: 14px 16px 12px;
    }

    .product {
        align-self: start;
        padding: 0 14px 0 0;
    }

    .product h4 {
        font-size: 17px;
    }

    .measure {
        grid-column: 1;
        align-self: end;
        padding: 5px 0 0;
        border: 0;
    }

    .price {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: stretch;
        padding: 0 0 0 14px;
        border-left: 1px solid var(--line);
        font-size: 19px;
    }

    .download-panel {
        margin-top: 56px;
        padding: 28px 22px;
        border-radius: 18px;
    }

    .footer-inner,
    .footer-inner p {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

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

    .button {
        transition: none;
    }
}
