:root {
    --color-bg: #f9fafb;
    --color-surface: #ffffff;
    --color-primary: #142952;
    --color-primary-dark: #0a2e5c;
    --color-text: #0a0f1a;
    --color-muted: #626d84;
    --color-border: #dae0e7;
    --color-hero-start: #0a2e5c;
    --color-hero-end: #1a5580;
    --color-accent: #23a997;
    --color-accent-foreground: #f9fafb;
    --radius: 0.75rem;
    --container-width: 1200px;
    --card-shadow: 0 4px 20px -4px rgba(20, 29, 46, 0.08);
    --card-shadow-hover: 0 8px 30px -6px rgba(20, 29, 46, 0.15);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Quicksand", system-ui, -apple-system, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(100% - 2rem, var(--container-width));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    background: var(--color-primary-dark);
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(5, 16, 34, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
    min-height: 5rem;
    padding: 0.75rem 0 0 0;
}

.site-logo,
.site-logo a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    height: 100%;
}

.site-logo img {
    max-height: 48px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.site-nav .nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    height: 100%;
}

.site-nav .nav-list a {
    color: #e9f2ff;
    font-weight: 500;
    display: flex;
    align-items: center;
    height: 100%;
    transition: color 0.2s ease;
}

.site-nav .nav-list a:hover {
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    border: none;
    color: var(--color-accent-foreground);
    background: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 10px rgba(35, 169, 151, 0.4);
    height: fit-content;
    white-space: nowrap;
}

.btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.hero-section {
    color: #fff;
    background: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.2), transparent 38%),
        linear-gradient(135deg, var(--color-hero-start), var(--color-hero-end));
    padding: 6rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.pill {
    display: inline-flex;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
    margin-bottom: 0.8rem;
}

h1,
h2,
h3,
h4 {
    margin-top: 1rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-weight: 600;
}

h1 {
    font-size: 2rem;
    margin-top: 1em;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
}

@media (min-width: 640px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }
}

p {
    margin: 0.75rem 0;
}

a {
    color: #eaf1ff;
    max-width: 56ch;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-panel {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.hero-panel-inner ul {
    margin: 0;
    padding-left: 1.2rem;
}

.section {
    padding: 4rem 0;
}

.section-muted {
    background: #eef4fb;
}

.section-head {
    margin-bottom: 1.5rem;
}

.section-head p {
    color: var(--color-muted);
}

.feature-grid,
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card,
.content-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 8px 30px rgba(11, 45, 94, 0.06);
}

.content-card-title {
    margin-bottom: 0.5rem;
}

.content-card-excerpt,
.meta {
    color: var(--color-muted);
}

.text-link {
    font-weight: 600;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
}

.content-area {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.centered {
    text-align: center;
}

.widget {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.site-footer {
    background: #0b1f3f;
    color: #ced9ea;
    padding: 3rem 0 1rem;
}

.site-footer a {
    color: #d9e8ff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.25rem;
}

.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.25rem;
    padding-top: 1rem;
}

@media (max-width: 980px) {
    .hero-grid,
    .content-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-nav {
        display: none;
    }
}

@media (max-width: 760px) {
    .feature-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-wrap: wrap;
        padding: 0.8rem 0;
    }
}
