/* Theme: follows the device unless the visitor picks one (theme.js sets data-theme). */
:root {
    color-scheme: light dark;
    --bg: light-dark(#ffffff, #000000);
    --bg-alt: light-dark(#f5f5f7, #161617);
    --text: light-dark(#000000, #ffffff);
    --text-2: light-dark(#6e6e73, #a1a1a6);
    --line: light-dark(#d2d2d7, #424245);
    --button-bg: light-dark(#000000, #ffffff);
    --button-text: light-dark(#ffffff, #000000);
    --nav-bg: light-dark(rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0.75));
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

img.shot-dark { display: none; }
:root[data-theme="dark"] .shot-light { display: none; }
:root[data-theme="dark"] .shot-dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .shot-light { display: none; }
    :root:not([data-theme="light"]) .shot-dark { display: block; }
}

.theme-toggle {
    font: inherit; font-size: 13px;
    color: var(--text-2);
    background: none;
    border: 1px solid var(--line);
    border-radius: 980px;
    padding: 2px 10px;
    cursor: pointer;
}
.theme-toggle:hover { color: var(--text); border-color: var(--text); }

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }

/* Navigation */
nav {
    position: sticky; top: 0; z-index: 10;
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 48px; }
nav .brand { font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap; }
nav ul { display: flex; align-items: center; gap: 24px; list-style: none; font-size: 13px; }
nav ul a { text-decoration: none; color: var(--text-2); }
nav ul a:hover, nav ul a[aria-current] { color: var(--text); }

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 980px;
    background: var(--button-bg);
    color: var(--button-text);
    font-size: 17px;
    text-decoration: none;
}
.button:hover { opacity: 0.85; }
.button.secondary { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }

/* Home */
.hero { text-align: center; padding-top: 88px; padding-bottom: 56px; }
section[id] { scroll-margin-top: 48px; }
.hero .icon { width: 112px; height: 112px; border-radius: 25px; }
.hero h1 { font-size: 64px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.06; margin-top: 24px; }
.hero .tagline { font-size: 28px; font-weight: 600; margin-top: 8px; }
.hero .lede { font-size: 19px; color: var(--text-2); max-width: 560px; margin: 16px auto 32px; }
.shot { display: block; width: 300px; max-width: 80%; margin: 0 auto; border-radius: 44px; border: 10px solid var(--text); }

section { padding: 88px 0; border-top: 1px solid var(--line); }
section > .wrap > h2 { font-size: 48px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; text-align: center; }
section > .wrap > .sub { font-size: 19px; color: var(--text-2); text-align: center; margin: 12px auto 48px; max-width: 600px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--bg-alt); border-radius: 18px; padding: 28px; }
.card h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 17px; color: var(--text-2); }

.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--text-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { font-size: 17px; color: var(--text-2); margin-top: 12px; }
.contact { text-align: center; margin-top: 48px; }
.contact p { font-size: 17px; color: var(--text-2); margin-bottom: 16px; }

/* Legal pages */
.legal { max-width: 720px; padding: 64px 0 24px; }
.legal h1 { font-size: 48px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.legal .updated { font-size: 14px; color: var(--text-2); margin: 12px 0 40px; }
.legal h2 { font-size: 24px; font-weight: 600; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 17px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }

/* Footer */
footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 24px 0 32px; font-size: 12px; color: var(--text-2); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; color: var(--text); }

@media (max-width: 734px) {
    nav ul { gap: 14px; font-size: 12px; }
    nav ul li:first-child { display: none; }
    .hero { padding-top: 56px; padding-bottom: 40px; }
    .hero h1 { font-size: 44px; }
    .hero .tagline { font-size: 22px; }
    section { padding: 64px 0; }
    section > .wrap > h2, .legal h1 { font-size: 36px; }
    .grid { grid-template-columns: 1fr; }
}
