/* About and design pages. Same palette and buttons as the app, but these pages scroll like normal documents. */

:root {
    --bg: #0f1113;
    --panel: #1a1d21;
    --panel-2: #20242a;
    --panel-3: #272c32;
    --line: #262b31;
    --line-2: #323941;
    --text: #e8eaed;
    --text-2: #b9c0c8;
    --muted: #7f8893;
    --accent: #ff6b3d;
    --accent-2: #ff8a63;
    --accent-ink: #1a0d08;
    --focus: #5aa2ff;
    --emboss: 0 -1px 0 rgba(0, 0, 0, 0.6);

    --btn-1: #3d444c;
    --btn-2: #2b3036;
    --btn-border: #0e1012;
    --btn-border-bottom: #050607;
    --btn-hover-1: #474f58;
    --btn-hover-2: #32383f;
    --btn-pressed: #1b1e22;
    --btn-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.09);

    --go-1: #ff8a5c;
    --go-2: #ec5a2a;
    --go-border: #8f3312;
    --go-hover-1: #ff9b72;
    --go-hover-2: #f4683a;

    --bar-border: #0c0e10;
    --bar-highlight: rgba(255, 255, 255, 0.06);
    --header-1: #2d3339;
    --header-2: #16191c;

    --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --mono: Menlo, Consolas, "Courier New", monospace;
    color-scheme: dark;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text-2);
    font: 15px/1.6 var(--font);
}

::selection { background: #b3d4fc; color: #000; }
a { color: var(--text); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

h1, h2, h3 { color: var(--text); line-height: 1.25; letter-spacing: -0.01em; text-shadow: var(--emboss); }
h1 { font-size: 32px; margin: 0 0 12px; }
/* etched rule under section headings */
h2 {
    font-size: 20px;
    margin: 40px 0 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--bar-border);
    box-shadow: 0 1px 0 var(--bar-highlight);
}
h3 { font-size: 12px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
p, ul { margin: 0 0 14px; }
ul { padding-left: 20px; }
li { margin-bottom: 4px; }
img { max-width: 100%; height: auto; display: block; }

code { font: 13px var(--mono); color: var(--text); }
kbd {
    display: inline-block;
    min-width: 22px;
    font: bold 12px/18px var(--font);
    text-align: center;
    padding: 0 6px;
    border: 1px solid var(--btn-border);
    border-bottom-color: var(--btn-border-bottom);
    border-radius: 3px;
    background: linear-gradient(var(--btn-1), var(--btn-2));
    box-shadow: var(--btn-highlight), 0 1px 0 rgba(0, 0, 0, 0.5);
    color: var(--text);
    text-shadow: var(--emboss);
}

.site-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    height: 52px;
    border-bottom: 1px solid #000;
    background: linear-gradient(var(--header-1), var(--header-2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 3px rgba(0, 0, 0, 0.4);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: bold; font-size: 16px; text-decoration: none; color: #fff; text-shadow: 0 -1px 0 #000; }
.brand:hover { color: #fff; }
.brand svg { width: 26px; height: 26px; color: var(--accent); filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.7)); }
.site-head nav { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 14px; }
.site-head nav a:not(.btn) { text-decoration: none; color: var(--text-2); text-shadow: 0 -1px 0 #000; }
.site-head nav a:not(.btn):hover { color: #fff; }
.site-head .btn { height: 30px; padding: 0 12px; font-size: 13px; }

.btn {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 3px;
    border: 1px solid var(--btn-border);
    border-bottom-color: var(--btn-border-bottom);
    background: linear-gradient(var(--btn-1), var(--btn-2));
    box-shadow: var(--btn-highlight), 0 1px 2px rgba(0, 0, 0, 0.4);
    color: var(--text);
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: var(--emboss);
    white-space: nowrap;
}
.btn:hover { color: #fff; background: linear-gradient(var(--btn-hover-1), var(--btn-hover-2)); }
.btn:active { background: var(--btn-pressed); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5); }
.btn.accent {
    border-color: var(--go-border);
    background: linear-gradient(var(--go-1), var(--go-2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(0, 0, 0, 0.4);
    color: var(--accent-ink);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn.accent:hover { background: linear-gradient(var(--go-hover-1), var(--go-hover-2)); color: var(--accent-ink); }
.btn.accent:active { background: var(--go-2); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }

.page { max-width: 1080px; margin: 0 auto; padding: 36px 24px 64px; }
.page.narrow { max-width: 760px; }
.lead { font-size: 17px; color: var(--text); }
.note { font-size: 13px; color: var(--muted); }
.credit { margin-top: 40px; text-align: center; }

.shot { margin: 28px 0; border: 1px solid #000; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }

/* Single design */
.design { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.design .sheet { margin: 0; border: 1px solid #000; box-shadow: 0 2px 18px #0008; }
.design h2 { font-size: 17px; margin-top: 28px; }
.cat { margin: 0 0 6px; font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.08em; }
.cat a { color: var(--muted); text-decoration: none; }
.cat a:hover { color: var(--text); }
.related { columns: 2; padding-left: 18px; }

/* Design list */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 40px; }
.card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(var(--panel-3), var(--panel-2));
    border: 1px solid var(--btn-border);
    border-radius: 4px;
    box-shadow: var(--btn-highlight), 0 1px 3px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    text-decoration: none;
    color: var(--muted);
    transition: border-color 0.12s, box-shadow 0.12s;
}
.card:hover { border-color: var(--accent); color: var(--muted); box-shadow: 0 0 0 1px var(--accent), 0 0 10px rgba(255, 107, 61, 0.35); }
.card img { aspect-ratio: 210 / 297; object-fit: cover; border-bottom: 1px solid var(--btn-border); }
.card span { padding: 9px 11px 11px; font-size: 13px; line-height: 1.45; }
.card b { display: block; color: var(--text); font-size: 14px; margin-bottom: 2px; text-shadow: var(--emboss); }

.site-foot {
    border-top: 1px solid #000;
    box-shadow: inset 0 1px 0 var(--bar-highlight);
    background: var(--panel);
    padding: 18px 24px;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: center;
}
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--text); }

@media (max-width: 760px) {
    .site-head { padding: 0 16px; gap: 12px; }
    .site-head nav { gap: 14px; }
    .site-head .brand span { display: none; }
    .page { padding: 28px 16px 48px; }
    h1 { font-size: 27px; }
    .design { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .card span { font-size: 12px; }
}
