:root {
    --bg: #f4efe3;
    --bg-strong: #eadfc6;
    --surface: rgba(255, 252, 246, 0.82);
    --surface-strong: #fffaf0;
    --text: #1f2a24;
    --muted: #59655f;
    --line: rgba(31, 42, 36, 0.12);
    --leaf: #2c6a54;
    --leaf-deep: #183e33;
    --clay: #b45e3a;
    --gold: #be8b2d;
    --ink: #21313b;
    --shadow: 0 30px 80px rgba(31, 42, 36, 0.14);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(190, 139, 45, 0.18), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(44, 106, 84, 0.22), transparent 24%),
        linear-gradient(180deg, #f7f2e8 0%, #f1ebdf 54%, #ede5d8 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 80%);
    opacity: 0.35;
}

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

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

.site-shell {
    position: relative;
    width: min(calc(100% - 2rem), var(--content-width));
    margin: 0 auto;
    padding-bottom: 3rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand img {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.7);
    box-shadow: 0 12px 40px rgba(31, 42, 36, 0.08);
}

.site-nav a,
.site-nav button {
    font-size: 0.95rem;
    color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav button:hover,
.site-nav button:focus-visible {
    color: var(--leaf-deep);
}

.site-nav .nav-cta {
    border: 0;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--leaf);
    color: #fff;
    cursor: pointer;
    font: inherit;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    min-height: calc(100vh - 6rem);
    padding: 3.5rem 0 2rem;
}

.eyebrow {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--leaf);
}

.hero h1,
.section-heading h2,
.cta-panel h2 {
    margin: 0;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(3rem, 7vw, 5.8rem);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.hero-lead,
.section-heading p,
.cta-panel p,
.feature-card p,
.workflow-list p,
.audience-grid p,
.faq-list p,
.proof-item span,
.metric-grid p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.02rem;
}

.hero-copy {
    max-width: 40rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 2rem 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.4rem;
    padding: 0.95rem 1.3rem;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    border: 0;
    cursor: pointer;
    font: inherit;
}

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

.button-primary {
    background: var(--leaf-deep);
    color: #fff;
    box-shadow: 0 18px 40px rgba(24, 62, 51, 0.24);
}

.button-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.58);
    color: var(--text);
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    padding: 0;
    margin: 2rem 0 0;
    list-style: none;
}

.hero-points li,
.proof-item,
.feature-card,
.workflow-panel,
.audience-grid article,
.faq-list details,
.cta-panel {
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.hero-points li {
    padding: 1rem 1.05rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.5;
}

.hero-card {
    position: relative;
}

.hero-card::before,
.cta-panel::before {
    content: "";
    position: absolute;
    inset: auto auto 8% -8%;
    width: 13rem;
    height: 13rem;
    border-radius: 50%;
    background: rgba(180, 94, 58, 0.16);
    filter: blur(10px);
    z-index: -1;
}

.glass {
    border-radius: var(--radius-xl);
    padding: 1.4rem;
}

.hero-panel {
    background:
        linear-gradient(145deg, rgba(255, 250, 241, 0.88), rgba(244, 239, 227, 0.78)),
        rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 30px 80px rgba(31, 42, 36, 0.14);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.panel-pill,
.panel-meta {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.panel-pill {
    background: rgba(44, 106, 84, 0.12);
    color: var(--leaf-deep);
}

.panel-meta {
    background: rgba(255, 255, 255, 0.7);
    color: var(--muted);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.metric-grid article {
    padding: 1.15rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(31, 42, 36, 0.08);
}

.metric-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--clay);
    font-weight: 800;
}

.metric-grid strong,
.feature-card h3,
.audience-grid h3,
.workflow-list strong,
.proof-item strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1.08rem;
    letter-spacing: -0.03em;
}

.proof-strip,
.feature-section,
.workflow-section,
.audience-section,
.faq-section,
.cta-section {
    padding: 2.6rem 0;
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.proof-item {
    padding: 1.35rem;
    border-radius: var(--radius-lg);
}

.section-heading {
    max-width: 48rem;
    margin-bottom: 1.6rem;
}

.section-heading h2 {
    font-size: clamp(2.4rem, 5.4vw, 4.4rem);
    margin-bottom: 0.75rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card {
    position: relative;
    overflow: hidden;
    min-height: 15rem;
    padding: 1.35rem;
    border-radius: var(--radius-lg);
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: auto -2rem -2rem auto;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.accent-sand { background: linear-gradient(180deg, rgba(255, 250, 241, 0.92), rgba(237, 229, 216, 0.92)); }
.accent-leaf { background: linear-gradient(180deg, rgba(233, 246, 239, 0.94), rgba(211, 235, 223, 0.94)); }
.accent-clay { background: linear-gradient(180deg, rgba(251, 237, 230, 0.94), rgba(244, 221, 209, 0.94)); }
.accent-ink { background: linear-gradient(180deg, rgba(235, 241, 244, 0.94), rgba(219, 227, 232, 0.94)); }
.accent-gold { background: linear-gradient(180deg, rgba(252, 244, 222, 0.94), rgba(245, 232, 192, 0.94)); }
.accent-paper { background: linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(244, 240, 233, 0.94)); }

.workflow-panel {
    padding: 1.4rem;
    border-radius: var(--radius-xl);
}

.workflow-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.workflow-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(31, 42, 36, 0.08);
}

.workflow-list li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--leaf-deep);
    color: #fff;
    font-weight: 800;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.audience-grid article {
    padding: 1.35rem;
    border-radius: var(--radius-lg);
}

.faq-list {
    display: grid;
    gap: 0.9rem;
}

.faq-list details {
    padding: 1.1rem 1.2rem;
    border-radius: var(--radius-lg);
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list details[open] summary {
    margin-bottom: 0.75rem;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    padding: 1.6rem;
    border-radius: var(--radius-xl);
    text-align: center;
    background:
        radial-gradient(circle at top right, rgba(190, 139, 45, 0.18), transparent 22%),
        linear-gradient(180deg, rgba(255, 252, 246, 0.92), rgba(237, 229, 216, 0.92));
}

.interest-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
}

.interest-modal.is-open {
    display: block;
}

.interest-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 28, 23, 0.45);
    backdrop-filter: blur(10px);
}

.interest-modal-dialog {
    position: relative;
    width: min(calc(100% - 1.5rem), 42rem);
    margin: min(8vh, 4rem) auto;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.97), rgba(241, 235, 223, 0.97));
    box-shadow: 0 36px 90px rgba(19, 33, 27, 0.28);
}

.interest-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.interest-modal-header h2 {
    margin: 0;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
}

.modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.interest-form {
    display: grid;
    gap: 0.9rem;
}

.interest-label,
.interest-help {
    color: var(--muted);
}

.interest-label {
    font-weight: 700;
}

.interest-form textarea {
    width: 100%;
    min-height: 11rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(31, 42, 36, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    font: inherit;
    line-height: 1.65;
    resize: vertical;
    outline: none;
}

.interest-form input {
    width: 100%;
    min-height: 3.6rem;
    padding: 0.9rem 1.05rem;
    border: 1px solid rgba(31, 42, 36, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    font: inherit;
    outline: none;
}

.interest-form input:focus,
.interest-form textarea:focus {
    border-color: rgba(44, 106, 84, 0.58);
    box-shadow: 0 0 0 4px rgba(44, 106, 84, 0.12);
}

.interest-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.turnstile-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0 0.35rem;
}

.turnstile-label {
    margin: 0 0 0.5rem;
}

.turnstile-container {
    min-height: 65px;
}

.interest-help {
    margin: 0;
    font-size: 0.95rem;
}

.interest-status {
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.interest-status[data-tone="info"] {
    background: rgba(33, 49, 59, 0.08);
    color: var(--ink);
}

.interest-status[data-tone="success"] {
    background: rgba(44, 106, 84, 0.12);
    color: var(--leaf-deep);
}

.interest-status[data-tone="error"] {
    background: rgba(180, 94, 58, 0.12);
    color: #7d2f16;
}

.interest-success {
    padding: 1.35rem;
    border: 1px solid rgba(44, 106, 84, 0.14);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(190, 139, 45, 0.14), transparent 35%),
        rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.interest-success-copy {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.02rem;
}

.interest-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.interest-actions .button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

body.modal-open {
    overflow: hidden;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.js-enhanced [data-reveal] {
    animation: fade-up 700ms ease both;
    animation-delay: var(--reveal-delay, 0ms);
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1040px) {
    .site-header,
    .hero,
    .proof-strip,
    .feature-grid,
    .audience-grid,
    .workflow-list,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .site-header {
        position: static;
        display: grid;
        justify-content: stretch;
    }

    .site-nav {
        justify-content: space-between;
        flex-wrap: wrap;
        border-radius: 24px;
    }

    .hero {
        min-height: auto;
        padding-top: 1.5rem;
    }

    .hero-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .site-shell {
        width: min(calc(100% - 1rem), var(--content-width));
    }

    .site-nav {
        gap: 0.75rem;
        padding: 0.85rem;
    }

    .site-nav a,
    .site-nav button {
        width: 100%;
        text-align: center;
    }

    .site-nav .nav-cta,
    .button {
        width: 100%;
    }

    .interest-actions {
        flex-direction: column-reverse;
    }

    .metric-grid,
    .feature-grid,
    .audience-grid,
    .proof-strip,
    .workflow-list {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .section-heading h2,
    .cta-panel h2 {
        font-size: clamp(2.4rem, 14vw, 4rem);
    }

    .site-footer {
        flex-direction: column;
    }
}

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

    .js-enhanced [data-reveal] {
        animation: none;
    }

    .button {
        transition: none;
    }
}
