* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #1f2937;
    background: #f5f7fb;
}

body {
    min-height: 100vh;
    background: #f5f7fb;
    color: #111827;
    line-height: 1.45;
    padding: 1rem;
}

.page { max-width: 1100px; margin: 0 auto; }

.mast {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    gap: 0.8rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.mast h1 { font-size: 2rem; letter-spacing: 0.02em; margin-bottom: 0.2rem; }

.eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: 0.16em;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.tag { color: #374151; font-size: 0.97rem; }

.nav { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}
.nav a:hover { background: #e2e8f0; }

.grid { display: grid; gap: 0.75rem; margin-top: 1rem; grid-template-columns: 1fr; }

.hero,
.card {
    border-radius: 14px;
    padding: 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.hero { background: linear-gradient(180deg, #334155 0%, #1f2937 100%); color: #fff; }

.hero .label,
.card .label {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
}

.hero .label { background: rgba(255,255,255,0.2); }
.card .label { background: #e0e7ff; color: #3730a3; }

.hero h2 { font-size: clamp(1.35rem, 2.5vw, 2rem); margin: 0.2rem 0 0.55rem; max-width: 460px; }
.hero p { color: #dbeafe; margin-bottom: 0.75rem; max-width: 520px; }

.cta {
    display: inline-block;
    color: #1f2937;
    background: #f3f4f6;
    text-decoration: none;
    border-radius: 8px;
    padding: 0.4rem 0.7rem;
    font-weight: 700;
    font-size: 0.85rem;
}

.card h3 { margin: 0.2rem 0 0.45rem; font-size: 1.15rem; }
.card p { margin-bottom: 0.25rem; color: #4b5563; font-size: 0.95rem; }

.ca { border-left: 4px solid #2563eb; }
.cb { border-left: 4px solid #f59e0b; }
.cc { border-left: 4px solid #10b981; }

@media (min-width: 950px) {
    .grid { grid-template-columns: 2fr 1fr 1fr 1fr; grid-template-areas: "hero a b c"; }
    .hero { grid-area: hero; }
    .ca { grid-area: a; }
    .cb { grid-area: b; }
    .cc { grid-area: c; }
}

@media (max-width: 650px) {
    body { padding: 0.8rem; }
    .mast { align-items: flex-start; }
    .nav { width: 100%; justify-content: flex-start; }
}

/* animate.css accessibility helper */
@media (prefers-reduced-motion: reduce) {
    .animate__animated { animation: none !important; }
}

/* Small performance/visual helpers for animated elements */
.animate__animated { will-change: transform, opacity; }
.cta.animate__animated { display: inline-block; }
