:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --bg: #f0f4f8;
    --surface: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
    --radius: 12px;
    --radius-sm: 8px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font);
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
header {
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 0.875rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.logo-area {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-area .logo-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.logo-area span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.25rem;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

nav a:hover {
    color: var(--primary);
    background: #eff6ff;
}

/* ── Landing page ── */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    color: white;
    text-align: center;
    padding: 6rem 2rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
}

.hero-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.92);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

h1.main-title {
    font-size: clamp(1.9rem, 5vw, 2.9rem);
    font-weight: 800;
    color: white;
    margin: 0 0 1rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 2.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary);
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

/* ── Landing info section ── */
.landing-info {
    max-width: 920px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.info-card-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.info-card h3 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    border: none;
}

.info-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.notice-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid var(--primary-light);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: var(--primary-dark);
    line-height: 1.65;
}

/* ── Content pages ── */
main {
    flex: 1;
    max-width: 920px;
    width: 100%;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}

.content-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 2.5rem 3rem;
    border: 1px solid var(--border);
}

h1.page-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 1.5rem;
    letter-spacing: -0.03em;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

h2 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
    letter-spacing: -0.01em;
}

h3 {
    margin: 1.25rem 0 0.35rem;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
}

p {
    margin: 0 0 0.9rem;
}

ul {
    padding-left: 1.5rem;
    margin: 0 0 1rem;
}

li {
    margin-bottom: 0.45rem;
}

figure {
    margin: 1.5rem 0;
    text-align: center;
}

figure img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

figcaption {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

address {
    font-style: normal;
}

/* ── Footer ── */
footer {
    background: var(--surface);
    text-align: center;
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

footer a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

footer a:hover {
    color: var(--primary);
    background: #eff6ff;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    header {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
        align-items: flex-start;
    }

    .hero {
        padding: 3.5rem 1.25rem 3rem;
    }

    .content-card {
        padding: 1.75rem 1.25rem;
    }

    main {
        padding: 0 0.75rem;
    }
}
