/* Map colors from packages/tokens. Sea is the page; ink stays dark on it. */
:root {
    color-scheme: light;
    --ink: #252826;
    --paper: #F7F4ED;
    --sea: #D5E4EE;
    --sea-deep: #C5D7E4;
    --muted: color-mix(in srgb, var(--ink) 78%, var(--sea));
}

/* The canvas behind the page is this same blue, so a fast scroll never flashes white. */
html { background-color: var(--sea); }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--sea);
    background-image: linear-gradient(180deg, var(--sea) 0%, var(--sea-deep) 100%);
    color: var(--ink);
}

.bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 20px 0;
    box-sizing: border-box;
}

.brand {
    margin-right: auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    color: var(--ink);
    text-decoration: none;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    order: 3;
    width: 100%;
}

.nav a {
    color: var(--ink);
    font-size: 15px;
    text-decoration: none;
}

.nav a[aria-current="page"] {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.app {
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

main {
    flex: 1;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 20px 48px;
    box-sizing: border-box;
}

h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.05;
}

.home { text-align: center; }
.home h1 { font-size: clamp(40px, 8vw, 64px); margin: 0 0 12px; }
.lead { font-size: 20px; color: var(--muted); margin: 0 auto 48px; max-width: 520px; }

.shots { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.shot {
    width: 200px;
    aspect-ratio: 9 / 19.5;
    border-radius: 28px;
    border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
    background: var(--paper);
    box-shadow: 0 14px 36px color-mix(in srgb, #243140 16%, transparent);
    overflow: hidden;
    line-height: 0;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }

.soon { margin-top: 40px; color: var(--muted); }
.soon a, .prose a, .faq a, footer a { color: inherit; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 32px 0 0; }
.store { padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.store[hidden] { display: none; }

.faq {
    margin: 72px auto 0;
    max-width: 640px;
    text-align: left;
}
.faq h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: 32px;
    text-align: center;
    margin: 0 0 20px;
}
.faq details {
    border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
    padding: 14px 0;
}
.faq details:last-of-type { border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 4px; color: var(--muted); }

.prose { max-width: 680px; text-align: left; }
.prose h1 { font-size: clamp(36px, 6vw, 52px); margin: 8px 0 12px; }
.prose h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2;
    margin: 40px 0 8px;
}
.prose .updated { color: var(--muted); margin: 0 0 28px; }
.prose .lede { font-size: 20px; color: var(--muted); margin: 0 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose strong { font-weight: 600; }

.steps { list-style: none; padding: 0; margin: 8px 0 0; counter-reset: step; }
.steps > li {
    margin: 0 0 28px;
    padding: 0 0 0 52px;
    position: relative;
}
.steps > li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    font-weight: 600;
    font-size: 16px;
    line-height: 36px;
    text-align: center;
}
.steps h2 { margin-top: 4px; }

.prose h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
    margin: 28px 0 8px;
}

.hero {
    margin: 8px 0 28px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
    line-height: 0;
}

.hero img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.cta {
    margin: 36px 0 8px;
    padding: 16px 18px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--paper) 78%, transparent);
    border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.cta p { margin: 0; }
.cta a { font-weight: 600; }

.guides-block { margin: 72px auto 0; max-width: 720px; text-align: left; }
.guides-block h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: 32px;
    text-align: center;
    margin: 0 0 8px;
}
.guides-block .lede {
    text-align: center;
    color: var(--muted);
    margin: 0 0 24px;
}
.guides-block .guides + .lede { margin: 20px 0 0; }

.guides { display: grid; gap: 12px; }
.guide {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 16px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--paper) 70%, transparent);
    border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
    color: inherit;
    text-decoration: none;
}
.guide img {
    width: 128px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--paper);
}
.guide h3 {
    margin: 0 0 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
}
.guide p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--muted); }
.guide:hover,
.guide:focus-visible {
    background: color-mix(in srgb, var(--paper) 92%, transparent);
}

.more {
    margin-top: 48px;
    padding-top: 8px;
    border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

@media (max-width: 560px) {
    .guide { grid-template-columns: 1fr; }
    .guide img { width: 100%; height: 160px; }
}

footer {
    padding: 8px 20px 40px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}
footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: center;
}
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (min-width: 760px) {
    .nav { order: 0; width: auto; }
}
