:root {
    color-scheme: light;
    --bg: #fbfbfc;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --border: #e2e8f0;

    --accent: #0f766e;
    --accent2: #115e59;

    --max: 72ch;

    --warm: #f8f4f0;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        "Noto Sans",
        "Liberation Sans",
        sans-serif;
    line-height: 1.65;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent);
    text-decoration: none;
}
a:hover,
a:focus {
    color: var(--accent2);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

header {
    position: sticky;
    top: 0;
    background: rgba(251, 251, 252, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 10;
}

header::after {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(15, 118, 110, 0));
}

.nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav a.brand {
    font-weight: 750;
    color: var(--text);
    letter-spacing: -0.01em;
}

.nav a {
    font-weight: 650;
    color: var(--muted);
}
.nav a:hover {
    color: var(--text);
}

.main {
    flex: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 34px 18px 64px;
    width: 100%;
}

.content {
    max-width: var(--max);
}

h1,
h2,
h3 {
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 1.2em 0 0.5em;
}

h1 {
    font-size: clamp(2.1rem, 3.9vw, 3rem);
    margin-top: 0.2em;
}
h2 {
    font-size: 1.55rem;
    margin-top: 1.7em;
}
h3 {
    font-size: 1.2rem;
    margin-top: 1.4em;
}

p {
    margin: 0.9em 0;
}

.content p em {
    color: var(--muted);
    font-style: normal;
}

ul {
    margin: 0.8em 0 1em;
    padding-left: 1.2em;
}
li {
    margin: 0.25em 0;
}

.notice {
    margin-top: 1.2em;
    background: var(--warm);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 14px;
    padding: 14px 16px;
    color: var(--muted);
}

.footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 22px 18px;
}

.footer-brand {
    font-weight: 750;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 0.98rem;
}

.footer-meta a {
    color: var(--muted);
    text-decoration: none;
}
.footer-meta a:hover {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.footer-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.dot {
    color: var(--border);
}

.brand-text {
    font-weight: 750;
    letter-spacing: -0.015em;
    color: var(--text);
    font-size: 1.05rem;
}

.lede {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 60ch;
    margin-top: 0.6em;
}
