:root {
    color-scheme: light dark;
    --background: #fafbfc;
    --surface: #ffffff;
    --text: #18212e;
    --muted: #526074;
    --border: #dce2eb;
    --accent: #235dca;
    --button-text: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin: 0.6rem 0 1.5rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
figure { margin: 0; }
figcaption, .small, .requirements-note { color: var(--muted); font-size: 0.9rem; }
figcaption { margin-top: 1rem; text-align: center; }

.site-header, main, .site-footer {
    width: min(1080px, calc(100% - 3rem));
    margin-inline: auto;
}
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; }
.brand, nav a { color: var(--text); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
nav a { font-size: 0.95rem; }
.brand:hover, nav a:hover { text-decoration: underline; }
.skip-link {
    position: absolute;
    left: 1rem;
    top: -10rem;
    padding: 0.75rem 1rem;
    background: var(--surface);
    z-index: 1;
}
.skip-link:focus { top: 1rem; }
section { padding-block: 4rem; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 4rem; }
.eyebrow { color: var(--accent); font-weight: 600; }
.lead { color: var(--muted); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 2rem 1rem; }
.button {
    display: inline-block;
    border: 1px solid var(--accent);
    border-radius: 0.65rem;
    padding: 0.75rem 1.1rem;
    background: var(--accent);
    color: var(--button-text);
    font-weight: 600;
    text-decoration: none;
}
.button:hover { filter: brightness(1.1); text-decoration: underline; }
.button.secondary { color: var(--accent); background: transparent; }
.hero-preview img { display: block; margin-inline: auto; border-radius: 0.9rem; }
.section-intro { color: var(--muted); max-width: 42rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-block: 2rem; }
.feature-grid article { border: 1px solid var(--border); border-radius: 1rem; padding: 1.5rem; background: var(--surface); }
.feature-grid h3 { margin: 0 0 0.75rem; }
.feature-grid p { color: var(--muted); margin: 0; }
.menu-preview { margin-top: 3rem; text-align: center; }
.menu-preview img { width: 390px; border-radius: 0.5rem; }
.install-section { border-block: 1px solid var(--border); }
.install-section > p, .faq { max-width: 48rem; }
pre {
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    background: var(--surface);
    overflow-x: auto;
    font-size: 0.95rem;
}
.install-section .small { margin-top: 1rem; }
.faq h3 { margin-top: 2rem; }
.site-footer { border-top: 1px solid var(--border); padding-block: 2rem; color: var(--muted); font-size: 0.9rem; }
.site-footer p:last-child { margin-bottom: 0; }

@media (prefers-color-scheme: dark) {
    :root {
        --background: #11151c;
        --surface: #1a202a;
        --text: #edf1f7;
        --muted: #afbcd0;
        --border: #343e4e;
        --accent: #91baff;
        --button-text: #10233f;
    }
}

@media (max-width: 760px) {
    .site-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .hero { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-preview { max-width: 444px; margin-inline: auto; }
    section { padding-block: 2.5rem; }
    .feature-grid { grid-template-columns: 1fr; }
}
