@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Source+Serif+4:wght@500;700&display=swap");

:root {
    --bg-0: #f2f8f8;
    --bg-1: #dcecf0;
    --bg-2: #fff7de;
    --ink: #172024;
    --ink-soft: #46545a;
    --brand: #2f7a84;
    --brand-dark: #1f5a62;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-border: rgba(23, 32, 36, 0.12);
    --radius: 18px;
    --shadow: 0 18px 36px rgba(20, 32, 35, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: linear-gradient(
        135deg,
        var(--bg-0),
        var(--bg-1) 45%,
        var(--bg-2)
    );
    min-height: 100%;
}

body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 999px;
    pointer-events: none;
    z-index: -1;
}

body::before {
    width: 320px;
    height: 320px;
    right: -80px;
    top: -90px;
    background: radial-gradient(
        circle at center,
        #a7dbe1 0%,
        rgba(167, 219, 225, 0) 70%
    );
}

body::after {
    width: 360px;
    height: 360px;
    left: -120px;
    bottom: -120px;
    background: radial-gradient(
        circle at center,
        #ffe3a5 0%,
        rgba(255, 227, 165, 0) 72%
    );
}

.layout {
    width: min(980px, calc(100% - 2rem));
    margin: 2rem auto 3.5rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
}

.hero {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 2rem;
}

.logo-wrap {
    display: flex;
    justify-content: center;
}

.logo {
    width: min(280px, 76vw);
    height: min(280px, 76vw);
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 8px 18px rgba(20, 32, 35, 0.14));
}

.kicker {
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: none;
    font-weight: 600;
    color: var(--ink-soft);
    margin: 0;
}

h1,
h2 {
    margin: 0;
    font-family: "Source Serif 4", Georgia, serif;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2rem, 4.7vw, 3.1rem);
    line-height: 1.08;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    line-height: 1.14;
}

p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.65;
}

.hero-copy {
    display: grid;
    gap: 0.7rem;
}

.legal-panel {
    margin-top: 0.4rem;
    display: grid;
    gap: 0.8rem;
}

.cta-note {
    font-size: 0.95rem;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.7rem;
    align-items: center;
    font-size: 0.94rem;
}

a {
    color: var(--brand-dark);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:hover {
    color: #153e44;
}

.legal-page {
    padding: 2rem;
}

.meta {
    font-size: 0.92rem;
}

.legal-page section {
    margin-top: 1.35rem;
}

.legal-page ul {
    margin: 0.5rem 0 0;
    color: var(--ink-soft);
    line-height: 1.65;
}

.top-nav {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.top-nav a {
    text-decoration: none;
    border: 1px solid rgba(31, 90, 98, 0.2);
    background: rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    padding: 0.42rem 0.78rem;
}

.footer-note {
    margin-top: 1.7rem;
    font-size: 0.88rem;
}

@media (max-width: 640px) {
    .layout {
        width: min(960px, calc(100% - 1rem));
        margin: 1rem auto 2rem;
    }

    .hero,
    .legal-page {
        padding: 1.2rem;
    }
}
