:root {
    color-scheme: dark;
    --reading-font: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    background: #000;
    color: #f5f5f7;
    -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: #fff; }
a:focus-visible { outline: 2px solid #f5f5f7; outline-offset: 6px; }

.container {
    max-width: 728px;
    margin: 0 auto;
    padding: 48px 24px;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 56px;
    color: #a1a1a6;
    font-size: 14px;
}

.site-nav a { text-decoration: none; }
.eyebrow, .byline { color: #a1a1a6; font-size: 14px; line-height: 1.6; }
.eyebrow { margin: 0 0 20px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }

h1 {
    margin: 0 0 20px;
    font-family: var(--reading-font);
    font-size: clamp(32px, 6vw, 46px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
    color: #e8e5df;
}

article > header { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid #38383a; }
.byline { margin: 0; font-size: 13px; }
.prose { font-family: var(--reading-font); font-size: 20px; line-height: 1.8; color: #d2cfc8; }
.prose p { margin: 0 0 24px; }
.prose h2 { margin: 48px 0 16px; color: #e8e5df; font-size: 28px; font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.prose h3 { margin: 28px 0 12px; color: #e8e5df; font-size: 22px; font-weight: 400; line-height: 1.4; }
.prose .intro { color: #e8e5df; font-size: 22px; line-height: 1.65; }

.demo { margin: 36px 0 40px; }
.demo video {
    display: block;
    width: min(100%, 300px);
    height: auto;
    margin: 0 auto;
    border: 1px solid #38383a;
    border-radius: 4px;
    background: #1c1c1e;
}
.demo video:focus-visible { outline: 2px solid #f5f5f7; outline-offset: 6px; }
.demo figcaption { max-width: 460px; margin: 16px auto 0; color: #a1a1a6; font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-size: 13px; line-height: 1.6; text-align: center; }

.app-links {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid #38383a;
}

.app-heading { display: flex; align-items: center; gap: 16px; }
.app-heading img { border-radius: 12px; flex-shrink: 0; }
.app-heading h2 { margin: 0 0 4px; font-size: 20px; }
.app-heading p { margin: 0; color: #a1a1a6; font-size: 14px; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.actions a { font-size: 15px; line-height: 1.5; }
.actions .download { font-weight: 500; }

.faq { margin-top: 56px; }
.faq h2 { margin-top: 0; margin-bottom: 24px; }
.faq details { border-top: 1px solid #38383a; }
.faq details:last-child { border-bottom: 1px solid #38383a; }
.faq summary {
    padding: 18px 0;
    color: #e8e5df;
    font-size: 21px;
    line-height: 1.4;
    cursor: pointer;
}
.faq summary::marker { color: #a1a1a6; font-size: 0.7em; }
.faq summary:hover { color: #fff; }
.faq summary:focus-visible { outline: 2px solid #f5f5f7; outline-offset: 4px; }
.faq details p { margin: 0 0 24px; }

.post-list { list-style: none; margin: 40px 0; padding: 0; }
.post-list li { border-top: 1px solid #38383a; padding: 28px 0; }
.post-list h2 { margin: 16px 0; font-family: var(--reading-font); font-size: 28px; font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; color: #e8e5df; }
.post-list h2 a { text-decoration: none; }
.post-list h2 a:hover { text-decoration: underline; }
.post-list p { margin: 0; color: #d2cfc8; font-family: var(--reading-font); font-size: 20px; line-height: 1.65; }
.post-list time { color: #a1a1a6; font-size: 14px; }

.site-footer { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #38383a; color: #a1a1a6; font-size: 14px; }

@media (max-width: 480px) {
    .container { padding: 32px 20px; }
    .site-nav { margin-bottom: 40px; }
    .prose { font-size: 19px; }
    .prose .intro { font-size: 21px; }
}
