:root {
    --bg: #c7d3bf;
    --bg-soft: #edf2e8;
    --surface: #fffef9;
    --surface-muted: #f5f6f0;
    --line: #e1e5dc;
    --text: #242826;
    --muted: #697268;
    --dark: #20251f;
    --yellow: #fff1a8;
    --blue: #c8edf2;
    --pink: #ffd3d3;
    --orange: #ffd1a0;
    --green: #cce8c5;
    --shadow: 0 24px 70px rgba(44, 62, 48, .18);
    --shadow-soft: 0 14px 34px rgba(32, 38, 34, .10);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --max-width: 1180px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 5%, rgba(255, 241, 168, .44), transparent 30%),
        radial-gradient(circle at 92% 12%, rgba(200, 237, 242, .45), transparent 28%),
        linear-gradient(135deg, #d7e0d0 0%, var(--bg) 54%, #b6c4af 100%);
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
}

img, svg {
    max-width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 18px 20px 0;
}

.navbar {
    width: min(var(--max-width), calc(100vw - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 999px;
    background: rgba(255, 254, 249, .82);
    box-shadow: 0 10px 28px rgba(32, 38, 34, .09);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 950;
    letter-spacing: -.04em;
    font-size: 20px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--yellow);
    color: var(--dark);
    box-shadow: inset 0 -2px 0 rgba(32, 38, 34, .08);
    font-size: 15px;
    letter-spacing: -.06em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a {
    padding: 11px 13px;
    border-radius: 999px;
    text-decoration: none;
    color: #4f594f;
    font-size: 14px;
    font-weight: 850;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    background: #eef1ea;
    color: var(--dark);
    outline: none;
}

.nav-menu a:active {
    transform: translateY(1px);
}

.nav-menu .nav-cta {
    margin-left: 8px;
    background: var(--dark);
    color: #fff;
    box-shadow: 0 10px 20px rgba(32, 38, 34, .16);
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus-visible {
    background: #11150f;
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 15px;
    background: #eef1ea;
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: var(--dark);
    transition: transform .18s ease, opacity .18s ease;
}

.section-pad {
    width: min(var(--max-width), calc(100vw - 32px));
    margin: 0 auto;
    padding: 88px 0;
}

.hero {
    min-height: calc(100vh - 86px);
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
    align-items: center;
    gap: 48px;
    padding-top: 62px;
}

.eyebrow {
    width: fit-content;
    margin: 0 0 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .58);
    color: #52604f;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .09em;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    max-width: 640px;
    margin-bottom: 20px;
    font-size: clamp(44px, 7vw, 78px);
    line-height: .91;
    letter-spacing: -.075em;
}

h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: .98;
    letter-spacing: -.055em;
    margin-bottom: 14px;
}

h3 {
    letter-spacing: -.025em;
}

.hero-copy {
    max-width: 590px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

.hero-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    align-items: center;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 20px;
    border: 0;
    border-radius: 14px;
    font: inherit;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
}

.button-primary {
    background: var(--dark);
    color: #fff;
    box-shadow: 0 15px 28px rgba(32, 38, 34, .18);
}

.button-secondary {
    background: rgba(255, 254, 249, .75);
    color: var(--dark);
    border: 1px solid var(--line);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    outline: 3px solid rgba(255, 241, 168, .74);
    outline-offset: 3px;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #11150f;
    box-shadow: 0 18px 34px rgba(32, 38, 34, .24);
}

.button:active {
    transform: translateY(1px) scale(.99);
}

.button:disabled {
    cursor: not-allowed;
    opacity: .58;
    transform: none;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.trust-row span {
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .48);
    color: #586257;
    font-size: 13px;
    font-weight: 850;
}

.product-preview {
    position: relative;
}

.product-preview::before {
    content: "";
    position: absolute;
    inset: 9% -4% -8% 8%;
    border-radius: 42px;
    background: rgba(255, 255, 255, .25);
    filter: blur(2px);
    transform: rotate(-2deg);
}

.preview-shell {
    position: relative;
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.preview-sidebar {
    padding: 24px 18px;
    background: rgba(247, 248, 244, .92);
    border-right: 1px solid var(--line);
}

.preview-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 950;
}

.preview-search {
    margin-bottom: 20px;
    padding: 10px 11px;
    border-radius: 12px;
    background: #fff;
    color: #8a9286;
    font-size: 12px;
}

.preview-sidebar p {
    margin: 18px 0 8px;
    color: #8e978a;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
}

.preview-link,
.preview-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
    padding: 10px;
    border-radius: 12px;
    color: #596257;
    font-size: 13px;
    font-weight: 850;
}

.preview-link.active {
    background: #e8ebe5;
    color: var(--dark);
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    display: inline-block;
}

.dot.yellow { background: var(--yellow); }
.dot.blue { background: var(--blue); }
.dot.orange { background: var(--orange); }

.preview-board {
    padding: 26px;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.preview-header h2 {
    margin: 0;
    font-size: 34px;
}

.mini-menu {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f0f1ec;
}

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

.sticky-card {
    min-height: 150px;
    padding: 20px;
    border-radius: 9px;
    box-shadow: 0 16px 30px rgba(32, 38, 34, .10);
}

.sticky-card h3 {
    margin-bottom: 9px;
    font-size: 18px;
}

.sticky-card p {
    margin: 0;
    color: rgba(32, 38, 34, .77);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 650;
}

.sticky-card.yellow { background: var(--yellow); }
.sticky-card.blue { background: var(--blue); }
.sticky-card.pink { background: var(--pink); }
.sticky-card.orange { background: var(--orange); }
.tilt-left { transform: rotate(-1.2deg); }
.tilt-right { transform: rotate(1.1deg); }

.add-card {
    display: grid;
    place-items: center;
    background: #eeeeec;
    color: var(--dark);
    font-size: 64px;
    font-weight: 300;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.feature-grid,
.pricing-grid,
.steps {
    display: grid;
    gap: 20px;
}

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

.feature-card,
.step-card,
.price-card,
.panel-form,
.contact-card {
    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: var(--radius-lg);
    background: rgba(255, 254, 249, .76);
    box-shadow: var(--shadow-soft);
}

.feature-card,
.step-card {
    padding: 24px;
}

.icon-pill,
.step-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 16px;
    background: var(--yellow);
    font-weight: 950;
}

.feature-card:nth-child(2) .icon-pill,
.step-card:nth-child(2) .step-icon { background: var(--blue); }
.feature-card:nth-child(3) .icon-pill,
.step-card:nth-child(3) .step-icon { background: var(--pink); }
.feature-card:nth-child(4) .icon-pill,
.step-card:nth-child(4) .step-icon { background: var(--orange); }

.feature-card p,
.step-card p,
.price-card li,
.contact-list,
.footer-grid p {
    color: var(--muted);
    line-height: 1.58;
}

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

.step-card {
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    right: 20px;
    top: 16px;
    color: rgba(32, 38, 34, .09);
    font-size: 46px;
    font-weight: 950;
    letter-spacing: -.06em;
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.price-card {
    position: relative;
    padding: 28px;
}

.price-card.popular {
    background: #fffdf2;
    border-color: rgba(32, 38, 34, .18);
    transform: translateY(-12px);
    box-shadow: 0 26px 60px rgba(32, 38, 34, .16);
}

.popular-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--yellow);
    font-size: 12px;
    font-weight: 950;
}

.price-card h3 {
    margin-bottom: 14px;
    font-size: 24px;
}

.price {
    margin-bottom: 20px;
    color: var(--muted);
}

.price span {
    color: var(--dark);
    font-size: 46px;
    font-weight: 950;
    letter-spacing: -.055em;
}

.price-card ul {
    min-height: 190px;
    margin: 0 0 26px;
    padding-left: 19px;
}

.price-card li + li {
    margin-top: 10px;
}

.plan-button {
    width: 100%;
}

.pricing-note {
    margin: 20px 0 0;
    color: #596257;
    font-size: 14px;
    font-weight: 850;
}

.signup {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 36px;
    align-items: start;
}

.form-intro {
    position: sticky;
    top: 110px;
}

.form-intro p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.65;
    font-size: 18px;
}

.panel-form {
    padding: 28px;
}

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

.full {
    grid-column: 1 / -1;
}

label {
    display: grid;
    gap: 8px;
    color: #414940;
    font-weight: 900;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #dce2d8;
    border-radius: 14px;
    padding: 13px 14px;
    background: #fff;
    color: var(--text);
    font: inherit;
    transition: border .18s ease, box-shadow .18s ease, background .18s ease;
}

textarea {
    resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
    border-color: #cbd4c5;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--dark);
    box-shadow: 0 0 0 4px rgba(255, 241, 168, .64);
    outline: none;
}

input.invalid,
select.invalid,
textarea.invalid {
    border-color: #b94438;
    background: #fff8f7;
}

.checkbox {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 10px;
    font-weight: 750;
    color: var(--muted);
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--dark);
}

.form-feedback {
    min-height: 22px;
    margin: 15px 0;
    font-weight: 850;
}

.form-feedback.success {
    color: #227535;
}

.form-feedback.error {
    color: #a13128;
}

.contact-card {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 36px;
    padding: 34px;
    background:
        linear-gradient(135deg, rgba(255, 254, 249, .88), rgba(255, 254, 249, .68)),
        radial-gradient(circle at 12% 20%, rgba(255, 241, 168, .65), transparent 36%);
}

.contact-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.panel-form.compact {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: grid;
    gap: 15px;
}

.site-footer {
    margin-top: 40px;
    padding: 48px 20px 28px;
    background: rgba(32, 37, 31, .94);
    color: #f8f8f4;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr .8fr;
    gap: 28px;
    padding-bottom: 34px;
}

.footer-grid h3 {
    margin-bottom: 12px;
}

.footer-grid a:not(.brand) {
    display: block;
    width: fit-content;
    margin: 8px 0;
    color: #dfe7dc;
    text-decoration: none;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
    color: var(--yellow);
    outline: none;
}

.footer-brand .brand-mark {
    background: var(--yellow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #cdd5ca;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .hero,
    .signup,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .form-intro {
        position: static;
    }

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

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

    .price-card.popular {
        transform: none;
    }

    .price-card ul {
        min-height: auto;
    }
}

@media (max-width: 760px) {
    .site-header {
        padding: 12px 10px 0;
    }

    .navbar {
        width: calc(100vw - 20px);
        border-radius: 22px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(4) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-menu {
        display: none;
        width: 100%;
        padding: 10px 0 4px;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a,
    .nav-menu .nav-cta {
        margin: 0;
        padding: 13px 14px;
        border-radius: 14px;
    }

    .section-pad {
        width: min(100vw - 24px, var(--max-width));
        padding: 64px 0;
    }

    .hero {
        padding-top: 48px;
        min-height: auto;
    }

    .preview-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .preview-sidebar {
        display: none;
    }

    .preview-board {
        padding: 20px;
    }

    .sticky-grid,
    .feature-grid,
    .steps,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 460px) {
    .sticky-grid {
        gap: 13px;
    }

    .sticky-card {
        min-height: 128px;
    }

    .panel-form,
    .contact-card,
    .price-card {
        padding: 22px;
    }

    .hero-actions {
        align-items: stretch;
    }

    .hero-actions .button {
        width: 100%;
    }
}
