:root {
    --bg: #f6f0e1;
    --bg-soft: #fffaf1;
    --panel: rgba(255, 250, 241, 0.82);
    --ink: #112019;
    --muted: #43554a;
    --line: rgba(17, 32, 25, 0.14);
    --green: #174c38;
    --green-bright: #25654d;
    --sand: #d9b86f;
    --sand-deep: #b88b39;
    --shadow: 0 20px 60px rgba(23, 50, 39, 0.14);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(217, 184, 111, 0.38), transparent 34%),
        linear-gradient(180deg, #f8f2e4 0%, #f1ead9 52%, #ece4d2 100%);
    font-family: "Avenir Next", "Segoe UI", sans-serif;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 47px,
            rgba(17, 32, 25, 0.018) 47px,
            rgba(17, 32, 25, 0.018) 48px
        );
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
}

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

.site-shell {
    width: min(var(--max), calc(100vw - 32px));
    margin: 0 auto;
}

.topbar {
    padding: 18px 0 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 22px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.76);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--green) 0%, #0d2c21 100%);
    color: #f7f0e0;
    display: grid;
    place-items: center;
    font-family: "Iowan Old Style", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-copy strong,
.eyebrow,
.section-label,
.mini-kicker,
.eyebrow-link {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
}

.brand-copy strong {
    display: block;
}

.brand-copy span {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
}

.topnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.topnav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.topnav a:hover,
.eyebrow-link:hover {
    color: var(--green);
}

.hero {
    padding: 34px 0 36px;
}

.hero-panel,
.content-card,
.feature-card,
.stat-card,
.faq-item,
.article-card,
.strip,
.quote-card,
.fact-grid,
.pricing-card,
.screenshot-card,
.breadcrumb,
.article-hero,
.fact-card,
.cta-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.hero-panel {
    border-radius: 36px;
    overflow: hidden;
    position: relative;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(125deg, rgba(23, 76, 56, 0.96) 0%, rgba(23, 76, 56, 0.74) 38%, rgba(217, 184, 111, 0.12) 100%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 26px;
    padding: 44px;
}

.hero-copy {
    color: #f9f5ea;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(249, 245, 234, 0.82);
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Iowan Old Style", Georgia, serif;
    line-height: 1.04;
}

h1 {
    margin-top: 18px;
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    max-width: 10ch;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    max-width: 14ch;
}

h3 {
    font-size: 1.45rem;
}

.lede,
.hero-copy p,
.content-card p,
.article-copy p,
.faq-answer,
.fact-card p,
.pricing-card p {
    color: var(--muted);
    font-size: 1.02rem;
}

.hero-copy p {
    color: rgba(249, 245, 234, 0.82);
    max-width: 54ch;
    margin: 20px 0 0;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    font-weight: 600;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

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

.button-secondary {
    border-color: rgba(248, 241, 226, 0.28);
    color: #f8f1e2;
}

.button-dark {
    background: var(--green);
    color: #f7f0e0;
}

.button-ghost {
    border-color: var(--line);
    color: var(--green);
}

.hero-aside {
    display: grid;
    gap: 16px;
    align-content: end;
}

.stat-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    color: #f8f2e4;
    background: linear-gradient(180deg, rgba(17, 44, 33, 0.78), rgba(17, 44, 33, 0.56));
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    font-family: "Iowan Old Style", Georgia, serif;
}

.stat-card span {
    color: rgba(248, 242, 228, 0.78);
}

.hero-shot {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(248, 241, 226, 0.18);
}

.hero-shot img,
.screenshot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main section,
.page-main {
    padding: 36px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 22px;
}

.section-head p {
    max-width: 54ch;
    margin: 0;
    color: var(--muted);
}

.section-label,
.mini-kicker {
    display: inline-block;
    color: var(--green);
    margin-bottom: 12px;
}

.stats-grid,
.features-grid,
.article-grid,
.faq-grid,
.fact-grid,
.screenshot-grid,
.pricing-grid {
    display: grid;
    gap: 18px;
}

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

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

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

.faq-grid,
.pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.content-card,
.feature-card,
.faq-item,
.article-card,
.quote-card,
.fact-card,
.pricing-card,
.screenshot-card,
.cta-panel {
    border-radius: var(--radius-xl);
    padding: 24px;
}

.feature-card ul,
.pricing-card ul,
.article-copy ul {
    padding-left: 18px;
    margin: 14px 0 0;
    color: var(--muted);
}

.strip {
    border-radius: 32px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
}

.price-callout {
    text-align: right;
}

.price-callout strong {
    display: block;
    font-family: "Iowan Old Style", Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--green);
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.pill {
    border-radius: 999px;
    border: 1px solid var(--line);
    padding: 9px 12px;
    font-size: 0.92rem;
    background: rgba(255, 255, 255, 0.36);
}

.quote-card {
    background: linear-gradient(180deg, rgba(23, 76, 56, 0.96), rgba(12, 44, 32, 0.96));
    color: #f8f2e4;
}

.quote-card p,
.quote-card small {
    color: rgba(248, 242, 228, 0.82);
}

.quote-card a {
    color: #f8f2e4;
}

.faq-answer {
    margin-top: 10px;
}

.article-card a,
.eyebrow-link {
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
}

.article-card h3 {
    margin-top: 10px;
}

.article-meta,
.breadcrumb,
.page-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.breadcrumb {
    padding: 14px 18px;
    border-radius: 999px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.page-main {
    width: min(900px, calc(100vw - 32px));
    margin: 0 auto;
}

.article-hero,
.cta-panel {
    border-radius: 34px;
    padding: 28px;
}

.article-hero h1 {
    margin-top: 12px;
    max-width: 12ch;
    color: var(--ink);
}

.article-copy h2 {
    margin: 32px 0 14px;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.article-copy h3 {
    margin-top: 24px;
}

.article-copy p,
.article-copy li {
    color: var(--muted);
    font-size: 1.02rem;
}

.article-copy a {
    color: var(--green);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

.article-copy strong {
    color: var(--ink);
}

.article-copy ul {
    margin-bottom: 0;
}

.fact-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.fact-list li + li,
.article-copy li + li {
    margin-top: 8px;
}

.footer {
    padding: 34px 0 42px;
}

.footer-panel {
    display: grid;
    gap: 16px;
    padding: 26px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255, 250, 241, 0.74);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

@media (max-width: 980px) {
    .hero-grid,
    .strip,
    .stats-grid,
    .features-grid,
    .article-grid,
    .faq-grid,
    .fact-grid,
    .screenshot-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .topbar-inner,
    .section-head {
        align-items: start;
    }

    .topbar-inner {
        border-radius: 28px;
        flex-direction: column;
    }

    .topnav {
        justify-content: start;
    }

    .hero-grid,
    .hero-panel,
    .content-card,
    .feature-card,
    .faq-item,
    .article-card,
    .quote-card,
    .fact-card,
    .pricing-card,
    .cta-panel,
    .article-hero {
        padding: 22px;
    }

    .price-callout {
        text-align: left;
    }
}
