:root {
    --color-primary: #1d4ed8;
    --color-primary-dark: #1e3a8a;
    --color-accent: #06b6d4;
    --color-surface: #f0f9ff;
    --color-text: #0b1220;
    --rgb-primary: 29,78,216;
    --rgb-accent: 6,182,212;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --shadow-sm: 0 1px 0 rgba(9, 25, 67, .06), 0 6px 18px rgba(29, 78, 216, .10);
    --shadow-md: 0 2px 0 rgba(9, 25, 67, .08), 0 10px 24px rgba(29, 78, 216, .14);
    --shadow-lg: 0 3px 0 rgba(9, 25, 67, .10), 0 18px 40px rgba(29, 78, 216, .18);
    --space-section: 1.75rem;
    --space-card: 0.875rem;
    --space-gap: 0.6rem;
    --transition: 120ms cubic-bezier(.2,.8,.2,1);
    --heading-weight: 650;
    --body-line-height: 1.7;
    --color-card-a: #4f46e5;
    --color-card-b: #f97316;
    --color-card-c: #10b981;
    --color-card-d: #ec4899;
    --color-card-e: #fbbf24;
    --color-border: rgba(12, 35, 80, .14);
    --outline-focus: rgba(6, 182, 212, .55);
    --caret: #06b6d4;
}

body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, rgba(240, 249, 255, .0), rgba(240, 249, 255, .55)); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); text-shadow: 0 1px 0 rgba(255,255,255,.35); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.card, [class*="card"] {
    border-radius: var(--radius-lg);
    box-shadow:
        0 1px 0 rgba(9, 25, 67, .10),
        0 6px 16px rgba(var(--rgb-primary), .16),
        0 0 0 1px rgba(12, 35, 80, .10) inset;
    padding: var(--space-card);
    transition: transform 140ms cubic-bezier(.2,.8,.2,1), box-shadow 140ms cubic-bezier(.2,.8,.2,1), background 140ms cubic-bezier(.2,.8,.2,1), border-color 140ms cubic-bezier(.2,.8,.2,1);
    background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.62));
    outline-color: var(--outline-focus);
}
.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition: background-color 140ms cubic-bezier(.2,.8,.2,1), color 140ms cubic-bezier(.2,.8,.2,1), box-shadow 140ms cubic-bezier(.2,.8,.2,1), transform 140ms cubic-bezier(.2,.8,.2,1);
    outline-color: var(--outline-focus);
}
a:not([class]) { color: var(--color-primary); transition: color var(--transition), text-shadow var(--transition), background-color var(--transition); text-shadow: 0 0 0 rgba(0,0,0,0); }

.card:hover, [class*="card"]:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(9, 25, 67, .12),
        0 14px 34px rgba(var(--rgb-primary), .22),
        0 0 0 1px rgba(6, 182, 212, .22) inset,
        0 0 0 6px rgba(6, 182, 212, .06);
}
a:not([class]):hover {
    color: var(--color-accent);
    text-shadow:
        0 1px 0 rgba(255,255,255,.35),
        0 0 14px rgba(var(--rgb-accent), .28);
}

.feature-list { -webkit-overflow-scrolling: touch; scrollbar-color: rgba(29, 78, 216, .45) rgba(12, 35, 80, .08); }
.feature-list::-webkit-scrollbar { height: 10px; }
.feature-list::-webkit-scrollbar-thumb { background: rgba(29, 78, 216, .35); border-radius: 999px; border: 2px solid rgba(240, 249, 255, .7); }
.feature-list::-webkit-scrollbar-track { background: rgba(12, 35, 80, .06); border-radius: 999px; }

:focus { outline-color: var(--outline-focus); }
:focus-visible { outline: 2px solid var(--outline-focus); outline-offset: 2px; }

@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .feature-list { grid-template-columns: repeat(2, 1fr) !important; }
    .partner-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .hero-inner { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
    :root { --space-section: 1.65rem; --space-card: 0.84rem; --space-gap: 0.55rem; }
    .news-grid { grid-template-columns: 1fr !important; }
    .feature-list { grid-template-columns: 1fr !important; }
    .faq-list { grid-template-columns: 1fr !important; }
    .testimonial-list { column-count: 1 !important; }
    .partner-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .cta-inner { grid-template-columns: 1fr !important; }
}

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.news-grid > *:first-child { grid-column: span 3; }

.feature-list { display: flex; gap: var(--space-gap); overflow-x: auto; scroll-snap-type: x mandatory; }
.feature-list > * { flex: 0 0 300px; scroll-snap-align: start; }

.hero-content { text-align: left; max-width: 600px; }

.testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--space-gap) * 1.5); align-items: center; }

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

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

.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }

.page-main { max-width: 1200px; margin: 0 auto; }