:root {
    --page: #c5d0bf;
    --page-soft: #eaf0e5;
    --surface: #fbfbf7;
    --surface-strong: #ffffff;
    --cream: #fffaf0;
    --text: #18201c;
    --muted: #657064;
    --line: #dfe5dc;
    --green: #51624f;
    --green-dark: #2f3a2e;
    --yellow: #fff2ad;
    --blue: #c8edf1;
    --pink: #f8cdcf;
    --orange: #ffd0a0;
    --gray-note: #ececed;
    --danger: #b42318;
    --success: #2d6a4f;
    --shadow-soft: 0 18px 44px rgb(44 55 41 / 14%);
    --shadow-card: 0 12px 28px rgb(44 55 41 / 10%);
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 20% 5%, rgb(255 255 255 / 45%), transparent 28rem),
        linear-gradient(180deg, var(--page), var(--page-soft) 44%, #f7f8f1);
    color: var(--text);
}

body.menu-open {
    overflow: hidden;
}

body,
button,
input,
select,
textarea {
    font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
select,
textarea {
    border: 0;
}

button {
    cursor: pointer;
}

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

.nav {
    width: min(1120px, 100%);
    min-height: 72px;
    margin: 0 auto;
    padding: 12px 14px 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgb(255 255 255 / 64%);
    border-radius: 18px;
    background: rgb(251 251 247 / 88%);
    box-shadow: 0 14px 36px rgb(44 55 41 / 12%);
    backdrop-filter: blur(16px);
}

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

.brand-mark,
.preview-user {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: var(--yellow);
    color: #1c1d16;
    font-weight: 900;
    box-shadow: inset 0 -2px 0 rgb(0 0 0 / 5%);
}

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

.nav-menu > a:not(.button) {
    padding: 10px 12px;
    border-radius: 10px;
    color: #344037;
    font-size: 0.95rem;
    font-weight: 700;
}

.nav-menu > a:not(.button):hover,
.nav-menu > a:not(.button):focus-visible {
    background: #eef3e9;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 12px;
    background: #edf2e8;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--green-dark);
}

.section {
    width: min(1120px, calc(100% - 44px));
    margin: 0 auto;
}

.hero {
    min-height: calc(100vh - 92px);
    padding: 82px 0 56px;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
    align-items: center;
    gap: 42px;
}

.hero-content {
    min-width: 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    max-width: 10ch;
    font-size: clamp(3.1rem, 9vw, 5.4rem);
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
}

h3 {
    font-size: 1.18rem;
}

.hero-copy {
    max-width: 570px;
    margin: 22px 0 0;
    color: #465046;
    font-size: 1.16rem;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 850;
    line-height: 1.1;
    text-align: center;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:active {
    transform: translateY(0);
}

.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible {
    outline: 3px solid rgb(81 98 79 / 28%);
    outline-offset: 3px;
}

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

.button-primary {
    background: var(--green-dark);
    color: #ffffff;
    box-shadow: 0 12px 24px rgb(47 58 46 / 20%);
}

.button-primary:hover {
    background: #1f281f;
}

.button-secondary {
    border: 1px solid #cfd8cc;
    background: var(--surface-strong);
    color: var(--green-dark);
}

.button-secondary:hover {
    background: #f3f6ef;
    box-shadow: 0 10px 22px rgb(44 55 41 / 9%);
}

.button-small {
    min-height: 42px;
    padding: 10px 14px;
}

.product-preview {
    min-width: 0;
    display: grid;
    grid-template-columns: 185px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 72%);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.preview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 16px;
    border-right: 1px solid var(--line);
    background: #f4f6f2;
}

.preview-title,
.preview-head p {
    font-size: 1.22rem;
    font-weight: 900;
}

.preview-search {
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-strong);
}

.preview-link {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #2f3a34;
    font-size: 0.86rem;
    font-weight: 800;
}

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

.preview-link span {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--green);
}

.preview-link strong {
    margin-left: auto;
    color: var(--muted);
}

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

.preview-tags span {
    padding: 7px 9px;
    border-radius: 8px;
    background: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
}

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

.preview-board {
    padding: 28px 24px 30px;
    min-width: 0;
}

.preview-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.preview-head p,
.preview-head span {
    display: block;
    margin: 0;
}

.preview-head span {
    color: var(--muted);
    font-size: 0.9rem;
}

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

.sticky-card,
.sticky-add {
    min-height: 164px;
    padding: 17px 16px;
    border-radius: 8px;
    box-shadow: 0 9px 18px rgb(44 55 41 / 7%);
}

.sticky-card {
    display: flex;
    flex-direction: column;
}

.sticky-card h3 {
    font-size: 1rem;
}

.sticky-card p {
    margin: 10px 0 14px;
    color: #25302a;
    font-size: 0.86rem;
}

.sticky-card small {
    margin-top: auto;
    color: #4a514b;
    font-weight: 750;
}

.sticky-gray {
    background: var(--gray-note);
}

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

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

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

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

.sticky-add {
    display: grid;
    place-items: center;
    background: var(--gray-note);
    color: #2a2e2a;
    font-size: 3.1rem;
    font-weight: 300;
}

.benefits,
.steps-section,
.pricing-section,
.form-section,
.contact-section {
    padding: 76px 0;
}

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

.section-heading h2 {
    max-width: 760px;
}

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

.feature-card,
.step-card,
.price-card,
.form-card,
.contact-info {
    border: 1px solid rgb(255 255 255 / 72%);
    border-radius: 16px;
    background: rgb(251 251 247 / 78%);
    box-shadow: var(--shadow-card);
}

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

.feature-card p,
.step-card p,
.form-copy p,
.contact-info p,
.site-footer p {
    color: var(--muted);
}

.feature-icon,
.step-icon {
    display: inline-grid;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 12px;
    background: var(--yellow);
    position: relative;
}

.feature-icon::before,
.feature-icon::after,
.step-icon::before,
.step-icon::after {
    content: "";
    position: absolute;
    background: var(--green-dark);
}

.icon-board::before {
    width: 22px;
    height: 16px;
    border: 2px solid var(--green-dark);
    border-radius: 4px;
    background: transparent;
}

.icon-board::after {
    width: 2px;
    height: 16px;
}

.icon-list::before {
    width: 22px;
    height: 3px;
    box-shadow: 0 8px 0 var(--green-dark), 0 16px 0 var(--green-dark);
}

.icon-list::after {
    left: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    box-shadow: 0 8px 0 var(--green-dark), 0 16px 0 var(--green-dark);
}

.icon-tag::before {
    width: 24px;
    height: 16px;
    border-radius: 4px 8px 8px 4px;
    transform: rotate(-8deg);
}

.icon-tag::after {
    right: 15px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--yellow);
}

.icon-device::before {
    width: 18px;
    height: 25px;
    border: 2px solid var(--green-dark);
    border-radius: 5px;
    background: transparent;
}

.icon-device::after {
    bottom: 11px;
    width: 5px;
    height: 2px;
}

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

.step-card {
    position: relative;
    min-height: 260px;
}

.step-card strong {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgb(47 58 46 / 22%);
    font-size: 2.8rem;
    line-height: 1;
}

.step-card:nth-child(2) .step-icon,
.feature-card:nth-child(2) .feature-icon {
    background: var(--blue);
}

.step-card:nth-child(3) .step-icon,
.feature-card:nth-child(3) .feature-icon {
    background: var(--pink);
}

.step-card:nth-child(4) .step-icon,
.feature-card:nth-child(4) .feature-icon {
    background: var(--orange);
}

.icon-user::before {
    width: 12px;
    height: 12px;
    top: 10px;
    border-radius: 50%;
}

.icon-user::after {
    width: 24px;
    height: 12px;
    bottom: 10px;
    border-radius: 12px 12px 5px 5px;
}

.icon-columns::before {
    width: 7px;
    height: 23px;
    left: 12px;
    border-radius: 3px;
    box-shadow: 10px 0 0 var(--green-dark), 20px 0 0 var(--green-dark);
}

.icon-note::before {
    width: 23px;
    height: 25px;
    border-radius: 5px;
}

.icon-note::after {
    width: 13px;
    height: 2px;
    top: 17px;
    background: var(--surface);
    box-shadow: 0 6px 0 var(--surface);
}

.icon-check::before {
    width: 22px;
    height: 11px;
    border-left: 4px solid var(--green-dark);
    border-bottom: 4px solid var(--green-dark);
    transform: rotate(-45deg);
    background: transparent;
}

.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 {
    border-color: rgb(47 58 46 / 20%);
    background: var(--cream);
    transform: translateY(-10px);
}

.popular-badge {
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 8px 10px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 900;
}

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

.price span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.price-card ul {
    display: grid;
    gap: 10px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.price-card li {
    position: relative;
    padding-left: 24px;
    color: #38433b;
}

.price-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48em;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--success);
    border-bottom: 2px solid var(--success);
    transform: rotate(-45deg);
}

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

.pricing-note {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: center;
}

.form-section,
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1fr);
    align-items: start;
    gap: 32px;
}

.form-copy,
.contact-info {
    min-width: 0;
}

.form-copy {
    padding-top: 20px;
}

.form-copy p,
.contact-info p {
    font-size: 1.05rem;
}

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

.form-row {
    margin-bottom: 16px;
}

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

label {
    display: inline-block;
    margin-bottom: 7px;
    color: #303b33;
    font-size: 0.92rem;
    font-weight: 850;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid #cfd8cc;
    border-radius: 11px;
    background: var(--surface-strong);
    color: var(--text);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 4px;
    cursor: pointer;
}

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

.error-message {
    display: block;
    min-height: 20px;
    margin-top: 5px;
    color: var(--danger);
    font-size: 0.82rem;
    font-weight: 700;
}

.field-error {
    border-color: var(--danger);
    background: #fff8f7;
}

.form-success {
    min-height: 24px;
    margin: 14px 0 0;
    color: var(--success);
    font-weight: 850;
}

.contact-info dl {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
}

.contact-info div {
    padding: 16px;
    border-radius: 12px;
    background: #f1f4ed;
}

.contact-info dt {
    font-weight: 900;
}

.contact-info dd {
    margin: 4px 0 0;
    color: var(--muted);
}

.site-footer {
    margin-top: 40px;
    padding: 48px 22px 34px;
    background: #202820;
    color: #f8faf5;
}

.footer-grid {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 28px;
}

.site-footer .brand {
    margin-bottom: 14px;
}

.site-footer h2 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.site-footer a:not(.brand) {
    display: block;
    margin-bottom: 8px;
    color: #d7decf;
}

.site-footer p {
    max-width: 580px;
    color: #c2ccbf;
}

.academic-note,
.copyright {
    width: min(1120px, 100%);
    margin: 28px auto 0;
}

.copyright {
    margin-top: 12px;
    font-size: 0.9rem;
}

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

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

    h1 {
        max-width: 12ch;
    }

    .product-preview {
        grid-template-columns: 150px minmax(0, 1fr);
    }

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

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

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

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

    .nav {
        min-height: 64px;
        border-radius: 14px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        inset: 86px 12px auto;
        display: none;
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid rgb(255 255 255 / 72%);
        border-radius: 16px;
        background: var(--surface);
        box-shadow: var(--shadow-soft);
    }

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

    .nav-menu > a:not(.button),
    .nav-menu .button {
        width: 100%;
        justify-content: center;
    }

    .section {
        width: min(100% - 28px, 1120px);
    }

    .hero {
        padding: 48px 0;
    }

    h1 {
        max-width: 11ch;
        font-size: clamp(2.6rem, 13vw, 4rem);
    }

    h2 {
        font-size: clamp(1.8rem, 9vw, 2.6rem);
    }

    .hero-copy {
        font-size: 1.03rem;
    }

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

    .preview-sidebar {
        display: none;
    }

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

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

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

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

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

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

    .preview-board,
    .feature-card,
    .step-card,
    .price-card,
    .form-card,
    .contact-info {
        padding: 20px;
    }

    .sticky-card,
    .sticky-add {
        min-height: 142px;
    }
}
