:root {
    color-scheme: light;
    --page-bg: #f4f7fa;
    --panel-bg: #ffffff;
    --header-bg: #ffffff;
    --glass-bg: #fffffff0;
    --heading: #142b45;
    --text: #344256;
    --muted: #58677a;
    --accent: #007f82;
    --button-text: #ffffff;
    --line: #142b4524;
    --hover: #007f820d;
    --shadow: 0 12px 36px #142b4510;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    scrollbar-gutter: stable;
}

:root[data-theme="light"] {
    color-scheme: light;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --page-bg: #0b1420;
    --panel-bg: #142235;
    --header-bg: #0f1d2e;
    --glass-bg: #142235f0;
    --heading: #f1f5f9;
    --text: #cbd5e1;
    --muted: #a3b2c4;
    --accent: #46d3c5;
    --button-text: #0b1420;
    --line: #cbd5e12b;
    --hover: #46d3c512;
    --shadow: 0 12px 36px #00000029;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-size: 1.125rem;
    line-height: 1.65;
}

button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); }
button { color: inherit; }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 100px;
    background: var(--accent);
    color: var(--button-text);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 5px 16px #007f8224; }

.page-content {
    max-width: 1280px;
    min-height: 160vh;
    margin-inline: auto;
    padding: 184px 32px 96px;
    scroll-margin-top: 120px;
}

.page-content h1 {
    max-width: 900px;
    margin: 0 0 24px;
    color: var(--heading);
    font-size: clamp(2.4rem, 5vw, 4.75rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.045em;
}

.page-content p { max-width: 620px; }
#quotation { scroll-margin-top: 120px; }
.eyebrow { color: var(--muted); font-size: .875rem; font-weight: 500; }

@media (max-width: 600px) {
    body { font-size: 1rem; }
    .page-content { padding: 144px 24px 64px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
