@charset "UTF-8";
/* Stencil — the base a sibling application pins (#448, R-12): tokens,
   typography, the header bar, the frame (hero with crop marks, column
   rules), body copy with headings and tables, forms, buttons, the footer and
   pagination. Every class it styles is listed in Stencil/STABILITY.md; the
   wiki's own parts are in style.css, loaded after this file.
   Tokens from Stencil/tokens.json, described in Stencil/README.md;
   composition after docs/design/stencil-public-reference.png (#368). Light
   theme only, no licensed fonts (documented fallback per Stencil/README.md
   §Type), nothing fetched from another host, no motion of any kind. */

/* stencil:tokens:begin — generated from Stencil/tokens.json by go generate ./Stencil; edit the JSON, not this block */
:root {
    --paper: #fefefe;
    --pink: #f386a1;
    --petrol-green: #c3e1c1;
    --sage: #abbab9;
    --magenta: #d45bb6;
    --green: #03aa5c;
    --teal: #09aea1;
    --ink: #1e1e1e;
    --ink-soft: #1e1e1edb;
    --ink-muted: #1e1e1eb3;
    --grey: #858585e6;
    --bar: #1e1e1e;
    --on-bar: #dedede;
    --on-bar-strong: #ffffff;
    --on-accent: #1e1e1e;
    --chrome: #c4c4c4;
    --chrome-panel: #dedede;
    --dialog: #e5e5e5;
    --tint: #0000001a;

    --font-display: "Die Grotesk C Medium", "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
    --font-pixel: "LisaTerminal Paper 2X3Y Medium", "Pixelify Sans", monospace;
    --font-text: "Die Grotesk C Regular", "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

    --space-2: 2px;
    --space-3: 3px;
    --space-4: 4px;
    --space-6: 6px;
    --space-10: 10px;
    --space-20: 20px;
    --space-30: 30px;
    --space-50: 50px;
    --space-100: 100px;

    --radius-0: 0px;
    --radius-media: 4px;
    --shadow-dialog: 2px 2px 0px rgba(0,0,0,0.4);

    --frame: 1.2px;
    --hairline: 1px;
    --stroke-display: 1.2px;
    --stroke-text: 0.5px;
    --underline: 1.2px;
    --underline-hover: 3px;

    --container: 1240px;
    --column: 23%;
    --faq-width: 610px;
}
/* stencil:tokens:end */

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

body {
    font-family: var(--font-text);
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--ink-soft);
    background-color: var(--petrol-green);
    padding: var(--space-10);
}

@media (min-width: 810px) {
    body {
        padding: var(--space-30) var(--space-50);
    }
}

::selection {
    background: var(--magenta);
    color: var(--on-accent);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
}

/* Top line — product name as plain text, no logo; navigation beside it */
.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-10);
    margin-bottom: var(--space-30);
}

.site-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 20px;
    color: var(--ink);
    text-decoration: none;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-6);
    font-family: var(--font-mono);
    font-size: 12px;
}

.site-nav a {
    padding: var(--space-2) var(--space-6);
    color: var(--ink);
    text-decoration: none;
}

.site-nav a:hover {
    background: var(--magenta);
    color: var(--on-accent);
}

/* A search form in the header bar: its .input and .button side by side */
.nav-search {
    display: inline-flex;
    gap: var(--space-2);
}

/* Hero — the page title, flush left, bracketed by four L-shaped crop marks */
.hero {
    position: relative;
    padding: var(--space-30) var(--space-20);
    margin-bottom: var(--space-50);
    text-align: left;
}

.crop {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 0 solid var(--ink);
}

.crop-tl { top: 0; left: 0; border-top-width: var(--hairline); border-left-width: var(--hairline); }
.crop-tr { top: 0; right: 0; border-top-width: var(--hairline); border-right-width: var(--hairline); }
.crop-bl { bottom: 0; left: 0; border-bottom-width: var(--hairline); border-left-width: var(--hairline); }
.crop-br { bottom: 0; right: 0; border-bottom-width: var(--hairline); border-right-width: var(--hairline); }

.hero-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(52px, 10.5vw, 136px);
    line-height: 0.84;
    letter-spacing: -0.035em;
    color: var(--ink);
    overflow-wrap: anywhere;
    text-wrap: balance;
}

/* Column rules — each block a hairline left rule, a mono label, then copy */
.rules {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-50) var(--space-20);
}

.rule {
    flex: 1 1 100%;
    border-left: var(--hairline) solid var(--ink-soft);
    padding: 0 var(--space-10);
}

.rule-label {
    font-family: var(--font-mono);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.02em;
    color: var(--ink);
    margin-bottom: var(--space-50);
}

.rule-title {
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: var(--space-10);
}

.rule-title a {
    text-decoration: none;
}

.rule-title a:hover {
    text-decoration: underline;
    text-decoration-thickness: var(--underline-hover);
}

.side-block {
    flex: 1 1 100%;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink);
}

.side-block .rule-label {
    margin-bottom: var(--space-10);
}

@media (min-width: 810px) {
    .rules-3 > .rule {
        flex: 0 1 calc((100% - 2 * var(--space-20)) / 3);
    }

    .rule-wide {
        flex: 0 1 calc(2 * (100% - 2 * var(--space-20)) / 3 + var(--space-20));
    }

    .rules-page > .side-block {
        flex: 0 1 220px;
        margin-left: auto;
    }
}

/* Body copy */
.content-body {
    font-size: 14px;
    line-height: 1.2;
    color: var(--ink-soft);
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.01em;
    margin: var(--space-30) 0 var(--space-10);
}

.content-body h1 {
    font-size: 20px;
}

.content-body h2 {
    font-size: 17px;
}

.content-body h3 {
    font-size: 14px;
}

.content-body h4 {
    font-size: 14px;
    font-style: italic;
}

.content-body > :first-child {
    margin-top: 0;
}

.content-body p,
.content-body ul,
.content-body ol {
    margin-bottom: var(--space-20);
}

.content-body ul,
.content-body ol {
    padding-left: 1.2em;
}

img {
    max-width: 100%;
    height: auto;
}

.content-body img {
    border-radius: var(--radius-media);
    margin: var(--space-20) 0;
}

.content-body blockquote {
    border-left: var(--hairline) solid var(--ink-soft);
    padding-left: var(--space-10);
    color: var(--ink-soft);
    font-style: italic;
    margin: var(--space-20) 0;
}

.content-body code {
    font-family: var(--font-mono);
    background: var(--tint);
    padding: 0.1em 0.3em;
}

.content-body pre {
    font-family: var(--font-mono);
    border-left: var(--hairline) solid var(--ink);
    padding: var(--space-10);
    background: var(--tint);
    overflow-x: auto;
    margin: var(--space-20) 0;
}

.content-body pre code {
    background: none;
    padding: 0;
    font-size: inherit;
}

.content-body table {
    border-collapse: collapse;
    margin: var(--space-20) 0;
}

.content-body th,
.content-body td {
    border-bottom: var(--hairline) solid var(--ink-soft);
    padding: var(--space-4) var(--space-10) var(--space-4) 0;
    text-align: left;
}

/* Links */
a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: var(--underline);
    text-underline-offset: 4px;
}

a:hover {
    text-decoration-thickness: var(--underline-hover);
}

/* Forms and buttons — the Button component: bar fill, square corners */
.input {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink);
    background: transparent;
    border: var(--hairline) solid var(--ink);
    border-radius: var(--radius-0);
    padding: var(--space-4) var(--space-6);
}

.input::placeholder {
    color: var(--ink-soft);
}

.button {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--on-bar-strong);
    background: var(--bar);
    border: var(--hairline) solid var(--ink);
    border-radius: var(--radius-0);
    padding: var(--space-4) var(--space-10);
    text-decoration: none;
    cursor: pointer;
}

.button:hover {
    background: var(--magenta);
    color: var(--on-accent);
}

/* Footer — mono sign-off under a hairline */
.site-footer {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-100);
    padding-top: var(--space-10);
    border-top: var(--hairline) solid var(--ink-soft);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink);
}

/* Focus — visible outline, no eased transition */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

/* Page controls under blog, category and search listings. */
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-20);
    margin-top: var(--space-50);
    font-family: var(--font-mono);
    font-size: 12px;
}

/* Nothing moves (Stencil/README.md §Motion). */
*,
*::before,
*::after {
    transition: none !important;
    animation: none !important;
}
