:root {
    --bg: #c7d2c0;
    --bg-soft: #dfe7da;
    --surface: #f8f8f4;
    --surface-warm: #fffaf0;
    --text: #222722;
    --muted: #687064;
    --line: #e3e2d8;
    --ink: #20251f;
    --yellow: #fff4ad;
    --blue: #c8e9ee;
    --pink: #fbd0d1;
    --orange: #ffd0a0;
    --gray: #e9e9e6;
    --green: #d8e7d1;
    --shadow: 0 24px 58px rgba(61, 73, 57, 0.2);
    --shadow-soft: 0 16px 30px rgba(61, 73, 57, 0.12);
    --radius: 8px;
    --max: 1160px;
    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 10% 8%, rgba(255, 255, 255, 0.36), transparent 28%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 46%, #f5f6f1 100%);
    color: var(--text);
}

body.nav-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;
}

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

button {
    cursor: pointer;
}

img {
    display: block;
    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: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(var(--max), calc(100% - 32px));
    min-height: 72px;
    margin: 16px auto 0;
    padding: 10px 12px 10px 18px;
    background: rgba(248, 248, 244, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

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

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    background: var(--yellow);
    border: 1px solid rgba(32, 37, 31, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 10px 18px rgba(61, 73, 57, 0.12);
    color: var(--ink);
    font-weight: 900;
}

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

.site-nav a {
    padding: 10px 12px;
    border-radius: var(--radius);
    color: #3c443a;
    font-weight: 750;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: #ecefe8;
    outline: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    background: var(--ink);
    border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
}

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

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
    gap: 40px;
    align-items: center;
    min-height: calc(100vh - 96px);
    padding-top: 54px;
}

.eyebrow {
    margin: 0 0 12px;
    color: #4b6047;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

h1 {
    max-width: 680px;
    margin-bottom: 20px;
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    line-height: 0.94;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.18rem;
    line-height: 1.15;
}

.hero-copy,
.section-heading p,
.contact-card > div > p,
.site-footer p {
    color: var(--muted);
    font-size: 1.04rem;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    color: #fff;
    font-weight: 900;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
    background: #30382f;
    box-shadow: 0 14px 24px rgba(32, 37, 31, 0.18);
    outline: none;
    transform: translateY(-1px);
}

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

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

.button.secondary {
    background: #f0f1eb;
    border-color: #d9ded4;
    color: var(--ink);
}

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

.button-small {
    min-height: 42px;
    padding: 0 15px;
    color: #fff !important;
}

.product-preview {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    overflow: hidden;
    min-height: 430px;
    background: rgba(248, 248, 244, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.preview-sidebar {
    padding: 24px 18px;
    background: #f1f2ef;
    border-right: 1px solid var(--line);
}

.preview-title {
    margin-bottom: 18px;
    font-size: 1.05rem;
    font-weight: 900;
}

.preview-search {
    height: 32px;
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.preview-label {
    margin: 22px 0 8px;
    color: #777f72;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.preview-line {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    gap: 8px;
    align-items: center;
    min-height: 31px;
    padding: 0 8px;
    border-radius: var(--radius);
    color: #4c5549;
    font-size: 0.78rem;
}

.preview-line.active {
    background: #e5e9e1;
}

.preview-line span,
.preview-line i {
    width: 7px;
    height: 7px;
    background: #556050;
    border-radius: 2px;
}

.preview-line small {
    color: #7b8376;
    font-weight: 800;
}

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

.preview-tags em {
    padding: 6px 8px;
    background: var(--blue);
    border-radius: var(--radius);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
}

.preview-tags em:nth-child(2) {
    background: var(--pink);
}

.preview-board {
    padding: 26px;
}

.preview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.preview-head p {
    margin: 0 0 4px;
    color: var(--muted);
}

.preview-head h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.preview-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 104px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 900;
}

.preview-user span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    background: var(--yellow);
    border-radius: var(--radius);
}

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

.note {
    display: flex;
    flex-direction: column;
    min-height: 138px;
    padding: 18px;
    border: 1px solid rgba(32, 37, 31, 0.04);
    border-radius: var(--radius);
    box-shadow: 0 13px 22px rgba(61, 73, 57, 0.12);
}

.note strong {
    display: block;
    margin-bottom: 10px;
    line-height: 1.15;
}

.note p {
    margin-bottom: 14px;
    color: #3f463e;
    font-size: 0.86rem;
}

.note small {
    margin-top: auto;
    color: #5c655a;
    font-weight: 800;
}

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

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

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

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

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

.add-note {
    display: grid;
    place-items: center;
    background: var(--gray);
    color: var(--ink);
    font-size: 3.5rem;
    font-weight: 300;
}

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

.benefits article,
.price-card,
.panel-form,
.contact-card {
    background: rgba(248, 248, 244, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.benefits article {
    padding: 22px;
}

.benefits h2 {
    margin: 14px 0 8px;
    font-size: 1.16rem;
}

.benefits p {
    margin-bottom: 0;
    color: var(--muted);
}

.icon {
    position: relative;
    display: block;
    width: 38px;
    height: 38px;
    background: var(--yellow);
    border-radius: var(--radius);
}

.icon::before,
.icon::after {
    position: absolute;
    content: "";
    background: var(--ink);
}

.icon-board::before {
    inset: 10px 8px auto;
    height: 3px;
    box-shadow: 0 7px 0 var(--ink), 0 14px 0 var(--ink);
}

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

.icon-list::before {
    left: 10px;
    top: 9px;
    width: 5px;
    height: 5px;
    box-shadow: 0 8px 0 var(--ink), 0 16px 0 var(--ink);
}

.icon-list::after {
    right: 8px;
    top: 11px;
    width: 12px;
    height: 2px;
    box-shadow: 0 8px 0 var(--ink), 0 16px 0 var(--ink);
}

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

.icon-tag::before {
    left: 10px;
    top: 9px;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    transform: rotate(45deg);
}

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

.icon-device::before {
    left: 11px;
    top: 7px;
    width: 16px;
    height: 22px;
    border: 3px solid var(--ink);
    background: transparent;
    border-radius: 4px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 42px;
    align-items: start;
}

.section-heading {
    max-width: 560px;
}

.centered {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.steps {
    display: grid;
    gap: 14px;
}

.steps article {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    padding: 20px;
    background: rgba(248, 248, 244, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.steps span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    background: var(--yellow);
    border-radius: var(--radius);
    font-weight: 900;
}

.steps article:nth-child(2) span {
    background: var(--blue);
}

.steps article:nth-child(3) span {
    background: var(--pink);
}

.steps article:nth-child(4) span {
    background: var(--orange);
}

.steps p {
    margin: 0;
    color: var(--muted);
}

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

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

.price-card.featured {
    background: #fffdf4;
    border-color: #f3d776;
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}

.badge {
    align-self: flex-start;
    margin: 0 0 18px;
    padding: 7px 10px;
    background: var(--yellow);
    border-radius: var(--radius);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
}

.price {
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 950;
    line-height: 1;
}

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

.price-card ul,
.contact-list {
    display: grid;
    gap: 10px;
    padding-left: 19px;
    color: #4a5247;
}

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

.academic-note {
    max-width: 720px;
    margin: 24px auto 0;
    color: var(--muted);
    text-align: center;
}

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

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

.panel-form.compact {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

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

.form-row {
    display: grid;
    gap: 7px;
}

label {
    color: #30372e;
    font-size: 0.9rem;
    font-weight: 850;
}

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

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

input:focus,
select:focus,
textarea:focus {
    border-color: #91a58d;
    box-shadow: 0 0 0 4px rgba(145, 165, 141, 0.2);
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

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

.field-error,
.form-status {
    min-height: 20px;
    margin: 0;
    color: #92343a;
    font-size: 0.86rem;
    font-weight: 800;
}

.form-status.success {
    color: #38612f;
}

.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    padding: 34px;
}

.contact-list {
    margin-top: 24px;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
    gap: 24px;
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto 24px;
    padding: 30px;
    background: rgba(32, 37, 31, 0.92);
    border-radius: var(--radius);
    color: #fff;
}

.site-footer p {
    color: #d9ded4;
}

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

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

.footer-note {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    font-size: 0.92rem;
}

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

    .hero {
        min-height: auto;
    }

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

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

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

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

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 92px 12px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: var(--surface);
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

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

    .site-nav a {
        min-height: 44px;
    }

    .section {
        width: calc(100% - 24px);
        padding: 56px 0;
    }

    .hero {
        padding-top: 42px;
    }

    h1 {
        font-size: clamp(2.6rem, 15vw, 4rem);
    }

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

    .preview-sidebar {
        display: none;
    }

    .preview-board {
        padding: 20px;
    }

    .preview-head {
        flex-direction: column;
    }

    .note-grid,
    .benefits,
    .pricing-grid,
    .form-grid-two {
        grid-template-columns: 1fr;
    }

    .note {
        min-height: 132px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        width: calc(100% - 24px);
        padding: 24px;
    }

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

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

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