:root {
    --bg-main: #f4f5f8;
    --bg-soft: #e9edf5;
    --bg-contrast: #ffffff;
    --bg-muted: #f0f2f7;
    --text-main: #111827;
    --text-soft: #6b7280;
    --accent: #2563eb;
    --accent-soft: rgba(37, 99, 235, 0.12);
    --accent-strong: #1d4ed8;
    --border-subtle: #d1d5db;
    --border-strong: #9ca3af;
    --radius-lg: 18px;
    --radius-md: 10px;
    --shadow-soft: 0 22px 50px rgba(15, 23, 42, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at top, #e3ebff 0%, #f4f5f8 40%);
    color: var(--text-main);
    font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

.shell {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 22px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(244, 245, 248, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e5e7eb;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.mark {
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.88rem;
}

.links {
    display: flex;
    gap: 18px;
    font-size: 0.9rem;
}

.links a {
    text-decoration: none;
    color: var(--text-soft);
}

.links a:hover {
    color: var(--accent);
}

.toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-main);
}

.zone {
    padding: 90px 0;
}

.zone-intro {
    padding-top: 96px;
    background: radial-gradient(circle at top left, #dbe4ff 0%, #f4f5f8 40%);
}

.zone-muted {
    background: var(--bg-muted);
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.zone-contrast {
    background: var(--bg-contrast);
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: flex-start;
}

.intro-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-soft);
}

.intro-title {
    font-family: "Source Serif 4", serif;
    font-size: 2.8rem;
    line-height: 1.18;
    margin: 16px 0 16px;
}

.intro-text {
    max-width: 520px;
    font-size: 0.98rem;
    color: var(--text-soft);
}

.intro-chips {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid #dbe2f2;
    font-size: 0.82rem;
    color: var(--text-soft);
}

.intro-form-card {
    background: var(--bg-contrast);
    border-radius: 22px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    padding: 20px 20px 18px;
}

.form-head h2 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.form-head p {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 12px;
}

.lead-form {
    font-size: 0.9rem;
}

.field-row {
    margin-bottom: 12px;
}

.field-row label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-soft);
    margin-bottom: 3px;
}

.field-row input,
.field-row select,
.field-row textarea {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid #d1d5db;
    padding: 9px 11px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-main);
    background: #f9fafb;
}

.field-row textarea {
    min-height: 90px;
    resize: vertical;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.btn.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #eff6ff;
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.35);
}

.btn.primary:hover {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
}

.btn.subtle {
    background: transparent;
    border-color: #d1d5db;
    color: var(--text-soft);
}

.btn.subtle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn.full {
    width: 100%;
}

.btn.small {
    padding: 8px 14px;
    font-size: 0.8rem;
}

.section-head {
    margin-bottom: 26px;
}

.section-head.center {
    text-align: center;
}

.section-head-narrow {
    max-width: 520px;
}

.section-title {
    font-family: "Source Serif 4", serif;
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 6px;
}

.section-sub {
    font-size: 0.96rem;
    color: var(--text-soft);
}

.rows {
    display: grid;
    gap: 16px;
}

.row-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    background: var(--bg-contrast);
    border: 1px solid var(--border-subtle);
}

.row-index {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--accent-strong);
}

.row-body h3 {
    font-size: 1.02rem;
    margin-bottom: 4px;
}

.row-body p {
    font-size: 0.92rem;
    color: var(--text-soft);
}

.matrix {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 18px;
}

.matrix-block {
    padding: 18px 18px 14px;
    border-radius: var(--radius-lg);
    background: var(--bg-contrast);
    border: 1px solid var(--border-subtle);
    font-size: 0.94rem;
    color: var(--text-soft);
}

.matrix-block h3 {
    font-size: 1.02rem;
    margin-bottom: 6px;
    color: var(--text-main);
}

.matrix-block ul {
    padding-left: 18px;
    font-size: 0.9rem;
    margin-top: 6px;
}

.stack {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.stack-item {
    border-radius: var(--radius-lg);
    background: var(--bg-muted);
    border: 1px solid var(--border-subtle);
    padding: 14px 16px 16px;
}

.stack-item-main {
    background: #e0f2fe;
    border-color: #bfdbfe;
}

.stack-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.stack-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-soft);
}

.stack-name {
    font-weight: 600;
}

.stack-price {
    margin-left: auto;
    font-weight: 600;
    font-size: 1.05rem;
}

.stack-price span {
    font-size: 0.8rem;
    font-weight: 400;
    margin-left: 4px;
    color: var(--text-soft);
}

.stack-body p {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 6px;
}

.stack-body ul {
    padding-left: 18px;
    font-size: 0.9rem;
}

.qa-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.qa-item {
    border-radius: var(--radius-lg);
    background: var(--bg-contrast);
    border: 1px solid var(--border-subtle);
    padding: 14px 16px;
    font-size: 0.94rem;
}

.qa-question {
    font-weight: 600;
    margin-bottom: 4px;
}

.qa-answer {
    color: var(--text-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
    gap: 28px;
}

.contact-box {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    background: var(--bg-contrast);
    border: 1px solid var(--border-subtle);
    font-size: 0.92rem;
    color: var(--text-soft);
}

.contact-note {
    padding: 18px 18px 16px;
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    border: 1px solid var(--border-subtle);
    font-size: 0.94rem;
    color: var(--text-soft);
}

.foot {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 18px 0;
    font-size: 0.84rem;
    color: var(--text-soft);
}

.foot-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.foot-links {
    display: flex;
    gap: 14px;
}

.foot-links a {
    text-decoration: none;
    color: var(--text-soft);
}

.foot-links a:hover {
    color: var(--accent);
}

.cookie-box {
    position: fixed;
    right: 18px;
    bottom: 18px;
    max-width: 280px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    font-size: 0.84rem;
    color: var(--text-soft);
    display: none;
    z-index: 50;
}

.cookie-buttons {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 980px) {
    .intro-grid,
    .matrix,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .links {
        position: absolute;
        right: 22px;
        top: 54px;
        flex-direction: column;
        align-items: flex-end;
        background: #ffffff;
        border-radius: 14px;
        border: 1px solid #e5e7eb;
        padding: 10px 14px;
        display: none;
    }

    .links.open {
        display: flex;
    }

    .toggle {
        display: flex;
    }
}
