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

:root {
    --bg: #f8fafc;
    --bg-alt: #f0f9ff;
    --text: #1e3a5f;
    --muted: #4a7dad;
    --accent: #0ea5e9;
    --accent-light: #e0f2fe;
    --border: #bfdbfe;
    --font-sans: 'DM Sans', sans-serif;
    --font-serif: 'DM Serif Display', serif;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--text); line-height: 1.8; }

.site-nav { background: var(--text); padding: 1rem 2rem; }
.back-link { color: #93c5fd; font-size: 0.82rem; text-decoration: none; letter-spacing: 0.06em; }
.back-link:hover { color: #fff; }

.hero { background: var(--text); color: #fff; padding: 3.5rem 2rem 3rem; border-top: 1px solid rgba(255,255,255,0.08); }
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero h1 { font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 3.5rem); font-weight: 400; line-height: 1.1; margin-bottom: 1rem; color: #fff; }
.hero-sub { font-size: 0.95rem; color: #93c5fd; line-height: 1.7; margin-bottom: 0.75rem; font-weight: 300; }
.hero-intro { font-size: 0.92rem; color: #bfdbfe; line-height: 1.85; }

.section { padding: 3.5rem 2rem; border-top: 1px solid var(--border); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--text); border-top: 1px solid rgba(255,255,255,0.08); }
.section-inner { max-width: 760px; margin: 0 auto; }
.section h2 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 400; color: var(--text); margin-bottom: 1.25rem; line-height: 1.2; }
.section--dark h2 { color: #fff; }
.section p { color: var(--muted); font-size: 0.95rem; line-height: 1.85; margin-bottom: 0.9rem; }
.section--dark p { color: #bfdbfe; }
.section p:last-child { margin-bottom: 0; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.card h3 { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 400; color: var(--text); margin-bottom: 0.5rem; line-height: 1.3; }
.card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; margin: 0; }
.card .tag { display: inline-block; font-size: 0.68rem; color: var(--accent); background: var(--accent-light); border-radius: 4px; padding: 0.15rem 0.5rem; margin-bottom: 0.6rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500; }

.notice { background: var(--accent-light); border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem 1rem; font-size: 0.82rem; color: var(--muted); margin-bottom: 1.75rem; font-style: italic; }

.site-link { display: inline-block; margin-top: 1.25rem; color: var(--accent); font-size: 0.9rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(14,165,233,0.35); padding-bottom: 1px; }
.site-link:hover { border-color: var(--accent); }
.site-link--light { color: #93c5fd; border-color: rgba(147,197,253,0.4); }
.site-link--light:hover { color: #fff; border-color: #93c5fd; }

.site-footer { background: var(--text); border-top: 1px solid rgba(255,255,255,0.1); padding: 2rem; text-align: center; color: #93c5fd; font-size: 0.85rem; }
.site-footer a { color: #bfdbfe; text-decoration: none; }
.site-footer a:hover { color: #fff; }

@media (max-width: 640px) {
    .hero { padding: 2.5rem 1.5rem 2rem; }
    .section { padding: 2.5rem 1.5rem; }
    .card-grid { grid-template-columns: 1fr; }
}
