:root {
    --primary-color: #0052cc;
    --primary-dark: #0747a6;
    --primary-light: #deebff;
    --secondary-color: #f4f5f7;
    --text-main: #172b4d;
    --text-secondary: #6b778c;
    --white: #ffffff;
    --accent-blue: #00b8d9;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Header --- */
header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: var(--transition);
}

header .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--secondary-color);
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--primary-color);
}

.brand-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-name {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
    color: #091e42 !important;
}

.product-name {
    font-weight: 600;
    font-size: 18px;
    color: #42526e;
    position: relative;
    padding-left: 10px;
}

.product-name::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;
    background-color: #ebecf0;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(0, 82, 204, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-white {
    background: #fff;
    color: var(--primary-color);
    border: none;
}

.btn-white:hover {
    background: var(--primary-light);
}

/* --- Hero Section --- */
.hero {
    padding: 160px 0 100px;
    background: #f7f9fc;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    color: var(--text-main);
}

.hero-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
    perspective: 1000px;
}

.browser-mockup {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 34, 67, 0.12);
    border: 1px solid #e8ecf0;
}

.browser-header {
    background: #eeeff1;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e0e0e0;
}

.browser-address {
    background: #fff;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    color: #5f6368;
    text-align: center;
    border: 1px solid #dcdcdc;
    width: 100%;
    max-width: 320px;
}

.browser-content img {
    width: 100%;
    display: block;
}

/* --- Features --- */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* --- Workflow Section --- */
.workflow {
    padding: 120px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.workflow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-desc {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 500px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step-item {
    display: flex;
    gap: 24px;
}

.step-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.step-info p {
    color: var(--text-secondary);
    font-size: 16px;
}

.workflow-visual {
    position: relative;
    height: 600px;
}

.visual-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.visual-card {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
    background: #fff;
    overflow: hidden;
}

.main-doc {
    width: 80%;
    top: 0;
    right: 0;
    z-index: 1;
}

.verify-screen {
    width: 60%;
    bottom: 40px;
    left: 0;
    z-index: 2;
}

.visual-card img {
    width: 100%;
    display: block;
}

.visual-card:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 5;
}

/* --- Scenarios --- */
.scenarios {
    padding: 100px 0;
    background: var(--white);
}

.scenario-item {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.scenario-content h3 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--text-main);
}

.scenario-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.scenario-list {
    list-style: none;
    padding: 0;
}

.scenario-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.scenario-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 800;
}

.scenario-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

/* --- Stats --- */
.stats {
    background: var(--primary-color);
    padding: 80px 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item h4 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.stat-item p {
    opacity: 0.85;
    font-size: 15px;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
}

/* --- Security (Compact) --- */
.security {
    padding: 60px 0;
    background: #f4f7fa;
    border-top: 1px solid #ebecf0;
    border-bottom: 1px solid #ebecf0;
}

.security-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
}

.security-text h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.security-text p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* --- Comparison --- */
.comparison {
    padding: 120px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.comp-card {
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid #ebecf0;
}

.comp-card h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.comp-card ul {
    list-style: none;
}

.comp-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    padding-left: 30px;
}

.comp-card.paper h3 { color: var(--text-secondary); }
.comp-card.paper ul li::before { content: "✕"; position: absolute; left: 0; color: #ff5252; font-weight: 800; }

.comp-card.digital {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}
.comp-card.digital h3 { color: var(--white); }
.comp-card.digital ul li { border-bottom-color: rgba(255,255,255,0.1); }
.comp-card.digital ul li::before { content: "✓"; position: absolute; left: 0; color: #4ade80; font-weight: 800; }

/* --- FAQ --- */
.faq {
    padding: 120px 0;
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}
footer {
    padding: 80px 0 40px;
    background: #f4f7fa;
    border-top: 1px solid #ebecf0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.15fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-col h5 {
    font-size: 14px;
    margin-bottom: 24px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-col ul li a {
    color: var(--text-secondary);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 32px;
    font-size: 14px;
    color: var(--text-secondary);
    border-top: 1px solid #dfe1e6;
}

.footer-legal-block {
    margin-bottom: 28px;
    max-width: 920px;
}

.footer-legal-name {
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-secondary);
    margin: 0 0 8px;
}

.footer-inn {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.logo-footer {
    align-items: center;
}

.logo-footer .company-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo-footer .product-name {
    color: #42526e;
}

.logo-footer .product-name::before {
    background-color: #ebecf0;
}

.contact-info li {
    margin-bottom: 12px;
}

.contact-info a {
    color: var(--primary-color);
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info strong {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
}

.footer-dev {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 10px;
    letter-spacing: 0.02em;
}

.footer-tagline {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 12px;
    max-width: 320px;
}

.footer-legal a {
    color: var(--text-secondary);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* --- Automation Cards --- */
.automation {
    padding: 100px 0;
    background: #f8f9fa;
    overflow: hidden;
}

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

.automation-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    max-width: 720px;
    line-height: 1.2;
}

.scroll-controls {
    display: flex;
    gap: 12px;
}

.scroll-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e1e4e8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
}

.cards-wrapper {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 30px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cards-wrapper::-webkit-scrollbar {
    display: none;
}

.auto-card {
    flex: 0 0 400px;
    background: #fff;
    border-radius: 12px;
    padding: 40px 40px 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    overflow: hidden;
}

.auto-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.auto-card p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
}

.more-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.card-image {
    margin-top: 20px;
    margin-left: -40px;
    margin-right: -40px;
    height: 260px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
}

.placeholder-img {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #c1c7d0;
}

.placeholder-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.placeholder-img.blue { background: #f0f4ff; }
.placeholder-img.gray { background: #f1f3f5; }

.brand-text-product {
    gap: 6px;
}

/* --- Burger --- */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.burger:hover {
    background: var(--secondary-color);
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile nav overlay --- */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ebecf0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 999;
    padding: 24px 20px 32px;
    flex-direction: column;
    gap: 4px;
}

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

.mobile-nav a {
    padding: 12px 16px;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-main);
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ebecf0;
}

.mobile-nav-actions .btn {
    width: 100%;
    text-align: center;
}

/* --- CTA section --- */
.cta-section {
    background: var(--primary-color);
    padding: 100px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* --- Modal --- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(9, 30, 66, 0.55);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(3px);
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: 16px;
    padding: 48px;
    width: 100%;
    max-width: 520px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    animation: modalIn 0.2s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(-12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--secondary-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    line-height: 1;
}

.modal-close:hover {
    background: #dfe1e6;
}

.modal h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-main);
}

.modal-sub {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid #dfe1e6;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-main);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

.form-group textarea {
    min-height: 90px;
}

.form-note {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-note-link {
    color: var(--primary-color);
    font-weight: 600;
}

.form-note-link:hover {
    text-decoration: underline;
}

.label-required {
    color: #c9372c;
}

.form-submit {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 4px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 24px 0 8px;
}

.form-success-icon {
    width: 52px;
    height: 52px;
    background: #e3fcef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.form-success h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-success p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* --- FAQ accordion --- */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: left;
    font-family: inherit;
    gap: 16px;
}

.faq-question-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
}

.faq-arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    transition: transform 0.25s ease;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-top: 14px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
}

/* --- Mobile Responsive --- */
@media (max-width: 992px) {
    .hero-grid, .workflow-grid, .scenario-item, .security-grid, .comparison-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .scenario-list li {
        text-align: left;
        max-width: 400px;
        margin: 0 auto 16px;
    }
    .workflow-visual {
        height: 400px;
        order: -1;
    }
    .main-doc {
        width: 80%;
        right: 0;
    }
    .verify-screen {
        width: 60%;
        left: 0;
        bottom: 20px;
    }
    .hero-content h1 {
        font-size: 42px;
    }
    .hero-content p {
        margin: 0 auto 40px;
    }
    .hero-btns {
        justify-content: center;
    }
    .nav-links {
        display: none;
    }
    .header-actions {
        display: none;
    }
    .burger {
        display: flex;
    }
    .cta-section h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .modal {
        padding: 32px 24px;
    }
    .cta-section {
        padding: 72px 0;
    }
    .legal-header-inner {
        padding: 0 20px;
    }
}

/* --- Legal pages --- */
.legal-header {
    height: 64px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ebecf0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.legal-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-back {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.2s ease;
}

.legal-back:hover {
    color: var(--primary-dark);
}

.legal-page {
    padding: 48px 0 80px;
    max-width: 720px;
}

.legal-header-brand {
    font-weight: 800;
    color: var(--text-main);
}

.legal-page h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.legal-updated {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 36px 0 12px;
    color: var(--text-main);
}

.legal-page p,
.legal-page li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 12px;
}

.legal-page ul {
    list-style: disc;
    padding-left: 22px;
    margin: 12px 0 16px;
}

.legal-page li {
    margin-bottom: 8px;
}

.legal-operator {
    font-size: 14px;
    background: var(--secondary-color);
    padding: 16px 20px;
    border-radius: var(--border-radius);
    color: var(--text-main);
    margin-bottom: 32px;
    line-height: 1.6;
}
