:root {
    --bg: #c8d4c2;
    --bg-soft: #edf2e9;
    --surface: #f7f7f2;
    --surface-strong: #ffffff;
    --text: #252a28;
    --muted: #66706a;
    --line: #dde4da;
    --shadow: 0 24px 60px rgba(42, 55, 45, 0.16);
    --shadow-soft: 0 14px 34px rgba(42, 55, 45, 0.10);
    --yellow: #fff3af;
    --blue: #cfeef2;
    --pink: #ffd5d8;
    --orange: #ffd0a0;
    --green: #d9e8dd;
    --dark: #252a28;
    --danger: #a83f3f;
    --success: #2c6b4f;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #dfe8d9 0, var(--bg-soft) 34%, var(--bg) 100%);
    color: var(--text);
}

body.menu-open {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(237, 242, 233, 0.88);
    border-bottom: 1px solid rgba(221, 228, 218, 0.8);
    backdrop-filter: blur(16px);
}

.navbar {
    width: min(100% - 40px, 1160px);
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: var(--yellow);
    color: var(--dark);
    box-shadow: 0 8px 18px rgba(42, 55, 45, 0.12);
    font-size: 13px;
    text-transform: uppercase;
}

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

.nav-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    padding: 0 12px;
    color: #445047;
    font-size: 14px;
    font-weight: 800;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.7);
    outline: none;
}

.nav-links .nav-cta {
    margin-left: 6px;
    background: var(--dark);
    color: #ffffff;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
    background: #111513;
}

.menu-toggle {
    width: 42px;
    height: 42px;
    display: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-strong);
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    margin: 4px auto;
    background: var(--text);
    border-radius: 999px;
}

.section {
    width: min(100% - 40px, 1160px);
    margin: 0 auto;
    padding: 78px 0;
}

.compact {
    padding-top: 14px;
}

.hero {
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
    align-items: center;
    gap: 44px;
    padding-top: 58px;
}

.eyebrow {
    margin: 0 0 10px;
    color: #5d6a61;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-text,
.section-copy {
    color: #53605a;
    line-height: 1.65;
}

.hero-text {
    max-width: 590px;
    margin: 22px 0 0;
    font-size: 19px;
}

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

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    padding: 0 18px;
    cursor: pointer;
    font-weight: 900;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    outline: none;
    box-shadow: 0 12px 22px rgba(42, 55, 45, 0.14);
}

.button:active {
    transform: translateY(0);
    box-shadow: none;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
    box-shadow: none;
}

.button-primary {
    background: var(--dark);
    color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #111513;
}

.button-secondary {
    background: var(--green);
    color: #263129;
}

.product-preview {
    min-height: 520px;
    display: grid;
    grid-template-columns: 160px 1fr;
    overflow: hidden;
    border: 1px solid rgba(221, 228, 218, 0.9);
    border-radius: 8px;
    background: rgba(247, 247, 242, 0.95);
    box-shadow: var(--shadow);
}

.preview-sidebar {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 24px 16px;
    border-right: 1px solid var(--line);
    background: rgba(243, 243, 238, 0.92);
}

.preview-title,
.preview-search,
.preview-link {
    border-radius: 6px;
    background: #e8ece5;
}

.preview-title {
    width: 74px;
    height: 22px;
}

.preview-search {
    height: 34px;
    background: #ffffff;
    border: 1px solid #e3e7df;
}

.preview-link {
    width: 100%;
    height: 28px;
}

.preview-link.active {
    background: #e1e7de;
}

.preview-link.short {
    width: 72%;
}

.preview-tags {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.preview-tags span {
    width: 48px;
    height: 24px;
    border-radius: 999px;
}

.preview-tags span:first-child {
    background: var(--blue);
}

.preview-tags span:last-child {
    background: var(--pink);
}

.preview-board {
    padding: 28px;
}

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

.preview-header span:first-child {
    width: 180px;
    height: 34px;
    border-radius: 6px;
    background: #dde5da;
}

.preview-header span:last-child {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--orange);
}

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

.sticky {
    min-height: 148px;
    padding: 18px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.sticky strong {
    display: block;
    margin-bottom: 10px;
    font-size: 17px;
}

.sticky p {
    margin: 0;
    color: #4f5853;
    line-height: 1.45;
}

.sticky-yellow {
    background: var(--yellow);
}

.sticky-blue {
    background: var(--blue);
}

.sticky-pink {
    background: var(--pink);
}

.sticky-orange {
    background: var(--orange);
}

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

.benefits article,
.steps article,
.price-card,
.form-card,
.contact-info {
    border: 1px solid rgba(221, 228, 218, 0.86);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow-soft);
}

.benefits article {
    padding: 22px;
}

.icon,
.step-icon {
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    font-weight: 900;
}

.icon {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    background: var(--yellow);
}

.benefits article:nth-child(2) .icon {
    background: var(--blue);
}

.benefits article:nth-child(3) .icon {
    background: var(--pink);
}

.benefits article:nth-child(4) .icon {
    background: var(--orange);
}

.benefits h2,
.steps h3,
.price-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    letter-spacing: 0;
}

.benefits p,
.steps p,
.price-card li,
.contact-info dd {
    color: #58645d;
    line-height: 1.55;
}

.benefits p,
.steps p {
    margin: 0;
}

.split,
.form-section,
.contact-section {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 32px;
    align-items: start;
}

.section-title {
    max-width: 640px;
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: 0;
}

.section-copy {
    max-width: 620px;
    margin: 16px 0 0;
}

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

.steps article {
    padding: 24px;
}

.step-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    background: var(--green);
    color: #344239;
    font-size: 13px;
}

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

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

.price-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 18px;
    padding: 28px;
}

.price-card.featured {
    background: #fffdf2;
    border-color: #d9c978;
    transform: translateY(-10px);
}

.popular-badge {
    width: max-content;
    border-radius: 999px;
    padding: 7px 10px;
    background: var(--yellow);
    color: #4d451e;
    font-size: 12px;
    font-weight: 900;
}

.price {
    margin: 0;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.price span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
}

.price-card ul {
    margin: 0;
    padding-left: 18px;
}

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

.demo-note {
    margin: 22px 0 0;
    color: #66706a;
    font-size: 14px;
    font-weight: 800;
}

.form-card,
.contact-info {
    padding: 28px;
}

.form-card {
    display: grid;
    gap: 15px;
}

label {
    display: grid;
    gap: 7px;
    color: #4c554f;
    font-size: 13px;
    font-weight: 900;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid #dfe5dc;
    border-radius: 6px;
    background: #ffffff;
    color: var(--text);
    outline: none;
}

input,
select {
    min-height: 44px;
    padding: 0 12px;
}

textarea {
    resize: vertical;
    min-height: 124px;
    padding: 11px 12px;
}

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

input:focus,
textarea:focus,
select:focus {
    border-color: #a9b8a3;
    box-shadow: 0 0 0 3px rgba(169, 184, 163, 0.24);
}

.has-error input,
.has-error textarea,
.has-error select {
    border-color: var(--danger);
}

.field-error,
.terms-error {
    min-height: 16px;
    color: var(--danger);
    font-size: 12px;
    font-weight: 800;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-label input {
    width: 18px;
    min-height: 18px;
    accent-color: var(--dark);
}

.form-message {
    min-height: 22px;
    margin: 0;
    color: var(--success);
    font-weight: 900;
}

.contact-info dl {
    display: grid;
    gap: 16px;
    margin: 26px 0 0;
}

.contact-info dt {
    margin-bottom: 4px;
    font-weight: 900;
}

.contact-info dd {
    margin: 0;
}

.site-footer {
    width: min(100% - 40px, 1160px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    padding: 42px 0 54px;
    border-top: 1px solid rgba(221, 228, 218, 0.9);
}

.site-footer p {
    max-width: 620px;
    color: #59645d;
    line-height: 1.6;
}

.footer-brand {
    margin-bottom: 12px;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
}

.site-footer nav a {
    color: #445047;
    font-weight: 800;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.academic-note,
.copyright {
    grid-column: 1 / -1;
    margin: 0;
}

.copyright {
    font-size: 14px;
}

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

    .hero {
        min-height: auto;
    }

    .product-preview {
        min-height: 460px;
    }

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

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

@media (max-width: 760px) {
    .navbar,
    .section,
    .site-footer {
        width: min(100% - 28px, 1160px);
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        inset: 72px 14px auto 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(247, 247, 242, 0.98);
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        justify-content: center;
    }

    .nav-links .nav-cta {
        margin-left: 0;
    }

    .section {
        padding: 56px 0;
    }

    .hero {
        padding-top: 42px;
    }

    h1 {
        font-size: 44px;
    }

    .hero-text {
        font-size: 17px;
    }

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

    .preview-sidebar {
        display: none;
    }

    .preview-board {
        padding: 18px;
    }

    .sticky-grid,
    .benefits,
    .steps,
    .pricing-grid,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .site-footer nav {
        justify-content: flex-start;
    }
}

@media (max-width: 430px) {
    .hero-actions,
    .button {
        width: 100%;
    }

    .button {
        padding: 0 14px;
    }

    h1 {
        font-size: 38px;
    }

    .section-title {
        font-size: 30px;
    }
}
