:root {
    --page-bg: #c8d4c2;
    --page-bg-soft: #e8eee4;
    --surface: #fffdf7;
    --surface-strong: #ffffff;
    --sidebar: #f2f2ee;
    --text: #232827;
    --muted: #68716c;
    --line: #dfded6;
    --shadow: 0 24px 60px rgba(58, 74, 55, 0.16);
    --soft-shadow: 0 14px 34px rgba(58, 74, 55, 0.11);
    --yellow: #fff1a8;
    --blue: #cde9eb;
    --pink: #ffd3d2;
    --orange: #ffd0a0;
    --green: #9cad91;
    --dark: #232827;
    --focus: rgba(94, 117, 99, 0.24);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top, #edf3e9 0, var(--page-bg) 50%, #bbc8b6 100%);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

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

button,
a.button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 16px auto 0;
    padding: 12px 14px 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 12px;
    background: rgba(255, 253, 247, 0.88);
    box-shadow: 0 12px 36px rgba(58, 74, 55, 0.12);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: var(--yellow);
    box-shadow: inset 0 -8px 18px rgba(231, 186, 61, 0.18);
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 0 13px;
    color: #46504a;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: #efeee8;
    color: var(--text);
}

.site-nav .nav-cta {
    margin-left: 8px;
    background: var(--dark);
    color: #fff;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
    background: #3b4240;
    color: #fff;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    gap: 4px;
    border: 0;
    border-radius: 8px;
    background: #efeee8;
}

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

.section-band,
.section-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    min-height: calc(100vh - 96px);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
    align-items: center;
    gap: 38px;
    padding: 54px 0 42px;
}

.eyebrow {
    margin: 0 0 12px;
    color: #59665d;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
    margin: 0;
    color: var(--text);
    font-weight: 900;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 620px;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 0.96;
}

.hero-copy {
    max-width: 580px;
    margin: 24px 0 0;
    color: #4e5a53;
    font-size: 19px;
    line-height: 1.7;
}

.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: 8px;
    padding: 0 20px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(58, 74, 55, 0.16);
}

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

.button:disabled,
.button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

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

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

.button.secondary {
    background: #f4f1e9;
    color: var(--text);
    border: 1px solid var(--line);
}

.button.secondary:hover,
.button.secondary:focus-visible {
    background: #fffaf0;
}

.full {
    width: 100%;
}

.product-preview {
    min-height: 520px;
    display: grid;
    grid-template-columns: 170px 1fr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.preview-sidebar {
    padding: 22px 16px;
    background: var(--sidebar);
    border-right: 1px solid var(--line);
}

.preview-title,
.preview-board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mini-menu {
    color: var(--muted);
    font-size: 20px;
    transform: rotate(90deg);
}

.preview-search {
    margin: 18px 0 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: #88908a;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 12px;
}

.preview-sidebar p {
    margin: 20px 0 8px;
    color: #7b837d;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.preview-link {
    min-height: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    border-radius: 7px;
    padding: 0 10px;
    color: #535b56;
    font-size: 12px;
    font-weight: 800;
}

.preview-link.active {
    background: #e8e8e3;
    color: var(--text);
}

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

.dot.yellow {
    background: #e2c36f;
}

.dot.blue {
    background: #bddbd8;
}

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

.preview-tags span {
    border-radius: 6px;
    padding: 7px 9px;
    background: var(--blue);
    color: #49524c;
    font-size: 11px;
    font-weight: 900;
}

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

.preview-board {
    padding: 28px;
}

.preview-board-header h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1;
}

.preview-board-header span {
    color: var(--muted);
    font-weight: 800;
}

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

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

.sticky-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.sticky-card p {
    margin: 0;
    color: #38403b;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

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

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

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

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

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

.benefits article,
.step-card,
.price-card,
.form-panel,
.contact-card {
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 8px;
    background: rgba(255, 253, 247, 0.88);
    box-shadow: var(--soft-shadow);
}

.benefits article {
    padding: 22px;
}

.icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: var(--yellow);
    color: var(--text);
    font-size: 22px;
    font-weight: 900;
}

.tile-icon {
    background: var(--blue);
}

.list-icon {
    background: var(--yellow);
}

.tag-icon {
    background: var(--pink);
}

.device-icon {
    background: var(--orange);
}

.benefits h2,
.step-card h3,
.price-card h3,
.contact-card h3 {
    margin: 16px 0 8px;
    font-size: 20px;
}

.benefits p,
.step-card p,
.contact-card p,
.academic-note,
.site-footer p {
    color: var(--muted);
    line-height: 1.65;
}

.section-wrap {
    padding: 78px 0;
}

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

.section-heading h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
}

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

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

.step-card {
    position: relative;
    padding: 24px;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #9aa59d;
    font-size: 12px;
    font-weight: 900;
}

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

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.price-card.featured {
    background: #fffaf0;
    outline: 3px solid rgba(35, 40, 39, 0.1);
    transform: translateY(-10px);
}

.badge {
    width: fit-content;
    border-radius: 999px;
    background: var(--blue);
    color: #34413c;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 900;
}

.price {
    margin: 18px 0;
    font-size: 38px;
    font-weight: 900;
}

.price span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.price-card ul {
    display: grid;
    gap: 10px;
    margin: 0 0 26px;
    padding-left: 20px;
    color: #4a534e;
    line-height: 1.55;
}

.price-card .button {
    margin-top: auto;
}

.academic-note {
    margin: 20px 0 0;
    font-weight: 700;
}

.signup,
.contact {
    scroll-margin-top: 92px;
}

.form-panel {
    padding: 28px;
}

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

label {
    display: grid;
    gap: 8px;
    color: #46504a;
    font-weight: 800;
}

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

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    padding: 13px 14px;
    outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px var(--focus);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: #b45f5f;
    box-shadow: 0 0 0 4px rgba(180, 95, 95, 0.14);
}

.check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.check-label input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.form-message {
    min-height: 24px;
    margin: 0;
    color: #4c6252;
    font-weight: 800;
}

.form-message.error {
    color: #9b4141;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
}

.contact .form-panel {
    display: grid;
    gap: 16px;
}

.contact-card {
    align-self: start;
    padding: 28px;
    background: #fffaf0;
}

.site-footer {
    width: min(1180px, calc(100% - 32px));
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    margin: 28px auto 34px;
    padding: 28px;
    border-radius: 12px;
    background: rgba(35, 40, 39, 0.92);
    color: #fff;
}

.site-footer .brand {
    color: #fff;
}

.site-footer p {
    margin: 16px 0 0;
    color: #d8ded8;
}

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

.site-footer nav a {
    border-radius: 8px;
    padding: 9px 11px;
    color: #eef2ee;
    font-weight: 800;
    text-decoration: none;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
}

.footer-note {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 18px;
    font-size: 14px;
}

@media (max-width: 1020px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 48px;
    }

    .product-preview {
        grid-template-columns: 150px 1fr;
    }

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

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

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

@media (max-width: 760px) {
    .site-header {
        width: calc(100% - 20px);
        margin-top: 10px;
    }

    .menu-toggle {
        display: grid;
    }

    .site-nav {
        position: fixed;
        top: 88px;
        right: 10px;
        left: 10px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border-radius: 12px;
        padding: 12px;
        background: var(--surface);
        box-shadow: var(--shadow);
    }

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

    .site-nav a,
    .site-nav .nav-cta {
        justify-content: center;
        margin-left: 0;
    }

    .section-band,
    .section-wrap,
    .site-footer {
        width: calc(100% - 20px);
    }

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

    .hero h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

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

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

    .preview-sidebar {
        display: none;
    }

    .preview-board {
        padding: 20px;
    }

    .preview-board-header h2 {
        font-size: 28px;
    }

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

    .section-wrap {
        padding: 54px 0;
    }

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

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

@media (max-width: 430px) {
    .hero-actions,
    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

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