/* poster.llokq - one stylesheet for every page on this site.
   The palette is llokq's, so the product reads as part of the studio. */

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

:root {
    --bg: #1B1B1B;
    --panel: #242424;
    --line: #333333;
    --text: #ffffff;
    --muted: #cfcfcf;
    --faint: #6f6f6f;
    --accent: #8FB3A8;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--muted);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.65;
}

a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }

/* ============ chrome: masthead and footer ============ */

.masthead {
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: rgba(27, 27, 27, 0.92);
    backdrop-filter: saturate(140%) blur(8px);
    z-index: 10;
}

.masthead .inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    letter-spacing: -0.01em;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}
.wordmark img { width: 22px; height: 22px; display: block; }
.wordmark:hover { color: var(--text); }

.mainnav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-left: auto;
}
.mainnav a {
    color: var(--faint);
    text-decoration: none;
    font-size: 15px;
}
.mainnav a:hover { color: var(--text); }
.mainnav a[aria-current="page"] { color: var(--text); }

.sitefoot {
    border-top: 1px solid var(--line);
    margin-top: 96px;
}
.sitefoot .inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 36px 24px 64px;
    display: flex;
    gap: 20px 32px;
    flex-wrap: wrap;
    align-items: baseline;
    font-size: 14px;
    color: var(--faint);
}
.sitefoot a { color: var(--faint); text-decoration: none; }
.sitefoot a:hover { color: var(--text); }
.sitefoot .slogan { margin-left: auto; letter-spacing: 0.06em; }
.sitefoot nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ============ page body ============ */

.page {
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(40px, 7vh, 80px) 24px 0;
}
.page.narrow { max-width: 680px; }

h1 {
    color: var(--text);
    font-size: clamp(34px, 5.2vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-weight: 500;
    margin-bottom: 20px;
}

h2 {
    color: var(--text);
    font-size: clamp(22px, 2.8vw, 27px);
    line-height: 1.2;
    letter-spacing: -0.015em;
    font-weight: 500;
    margin: 56px 0 16px;
}

h3 {
    color: var(--text);
    font-size: 18px;
    font-weight: 500;
    margin: 32px 0 10px;
}

p { margin-bottom: 16px; max-width: 68ch; }
ul, ol { margin: 0 0 16px 22px; max-width: 68ch; }
li { margin-bottom: 8px; }
strong { color: var(--text); font-weight: 500; }

.lede {
    font-size: clamp(18px, 2.2vw, 21px);
    color: var(--muted);
    max-width: 62ch;
    margin-bottom: 28px;
}

.stamp {
    color: var(--faint);
    font-size: 14px;
    letter-spacing: 0.06em;
    margin-bottom: 28px;
}

.eyebrow {
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* ============ blocks ============ */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 24px 0 8px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 22px 22px 18px;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.steps { counter-reset: step; list-style: none; margin-left: 0; }
.steps > li {
    counter-increment: step;
    position: relative;
    padding-left: 44px;
    margin-bottom: 26px;
    max-width: 68ch;
}
.steps > li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--accent);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.steps h3 { margin: 0 0 6px; }

code, kbd, pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
code {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 1px 6px;
    font-size: 0.88em;
    color: var(--text);
}
pre {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px 20px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 20px;
}
pre code { background: none; border: none; padding: 0; font-size: inherit; color: inherit; }
pre .c { color: var(--faint); }
pre .p { color: var(--accent); }

.note {
    border-left: 2px solid var(--accent);
    padding: 4px 0 4px 18px;
    margin: 24px 0;
    color: var(--muted);
}
.note p:last-child { margin-bottom: 0; }

table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 24px;
    font-size: 15px;
}
th, td {
    text-align: left;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
th { color: var(--text); font-weight: 500; }
td code { white-space: nowrap; }

.cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 18px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    margin: 6px 10px 6px 0;
}
.cta:hover { border-color: var(--accent); color: var(--text); }
.cta.primary { background: var(--accent); color: #14201c; border-color: var(--accent); }
.cta.primary:hover { opacity: 0.88; color: #14201c; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.tag {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 13px;
    color: var(--muted);
}
.tag.on { border-color: var(--accent); color: var(--accent); }

.faq h3 { margin-top: 28px; }

@media (max-width: 640px) {
    .masthead .inner { gap: 14px; }
    .mainnav { gap: 16px; width: 100%; margin-left: 0; }
    .sitefoot .slogan { margin-left: 0; width: 100%; }
}
