:root {
    --bg: #ffffff;
    --fg: #1a1a1a;
    --muted: #5f6368;
    --accent: #0a66ff;
    --accent-hover: #084bcc;
    --border: #e5e7eb;
    --card: #f7f8fa;
    --max: 960px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #15171a;
        --fg: #ececec;
        --muted: #9aa0a6;
        --accent: #6ea8ff;
        --accent-hover: #9ec0ff;
        --border: #2a2d31;
        --card: #1c1f23;
    }
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 2px;
}

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

.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent);
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 6px 0;
    transform: translateY(-100%);
    z-index: 100;
}

.skip-link:focus {
    transform: translateY(0);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    margin: 0;
    font-family:
        -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
        sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: var(--fg);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 24px);
}

header.site {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

header.site .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

header.site a.brand {
    font-weight: 600;
    font-size: 18px;
    color: var(--fg);
    text-decoration: none;
    letter-spacing: -0.01em;
}

header.site nav a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 20px;
    font-size: 15px;
}

header.site nav a:hover {
    color: var(--fg);
}
header.site nav a[aria-current="page"] {
    color: var(--fg);
}

footer.site {
    border-top: 1px solid var(--border);
    margin-top: 80px;
    padding: 32px 0;
    color: var(--muted);
    font-size: 14px;
}

footer.site a {
    color: var(--muted);
}

a {
    color: var(--accent);
}
a:hover {
    color: var(--accent-hover);
}

h1,
h2,
h3 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: 44px;
    margin: 0 0 16px;
}
h2 {
    font-size: 28px;
    margin: 56px 0 16px;
}
h3 {
    font-size: 20px;
    margin: 32px 0 8px;
}

h2 .muted-h {
    color: var(--muted);
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0;
}

p.lede {
    font-size: 20px;
    color: var(--muted);
    max-width: 640px;
    margin: 0 0 32px;
}

.hero {
    padding-top: 64px;
    padding-bottom: 32px;
}

.cta {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin-right: 12px;
}

.cta:hover {
    background: var(--accent-hover);
    color: #fff;
}

.cta.secondary {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--border);
}

.cta.secondary:hover {
    background: var(--card);
    color: var(--fg);
}

.shot-wrap {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shot {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.shot.dark {
    display: none;
}

@media (prefers-color-scheme: dark) {
    .shot.light {
        display: none;
    }

    .shot.dark {
        display: block;
    }
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 48px 0;
}

.feature > :first-child {
    min-width: 0;
}

.feature > :last-child {
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


@media (max-width: 720px) {
    .feature {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 32px;
    }
    p.lede {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    header.site .wrap {
        flex-wrap: wrap;
        gap: 10px;
    }
    header.site nav a:first-child {
        margin-left: 0;
    }
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 24px;
        margin: 40px 0 12px;
    }
    .hero {
        padding-top: 40px;
        padding-bottom: 24px;
    }
    .cta {
        margin-right: 8px;
        margin-bottom: 8px;
    }
}

ul.bullets {
    padding-left: 20px;
}

ul.bullets li {
    margin: 6px 0;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table.matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    margin: 24px 0;
    min-width: 480px;
}

table.matrix th,
table.matrix td {
    border-bottom: 1px solid var(--border);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

table.matrix th {
    background: var(--card);
    font-weight: 600;
}

table.matrix tbody tr:nth-child(even) {
    background: var(--card);
}

table.matrix code {
    font-size: 13px;
    background: var(--card);
    padding: 1px 5px;
    border-radius: 4px;
}

.faq {
    margin: 24px 0;
    border-top: 1px solid var(--border);
}

.faq-item {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.faq-item:nth-child(even) {
    background: var(--card);
}

.faq-q {
    font-weight: 600;
    color: var(--fg);
    margin: 0 0 6px;
}

.faq-a {
    color: var(--muted);
    margin: 0;
    font-size: 15px;
}

.faq-a a {
    color: var(--accent);
}

.note {
    background: var(--card);
    border-left: 3px solid var(--accent);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 15px;
    color: var(--muted);
    margin: 16px 0;
}
