/* mowteng.app: the product site's look (from milowda.com/apps/mowteng), fonts served from /fonts. */
@font-face { font-family: "Gasoek One"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/gasoek-one-v4-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gasoek One"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/gasoek-one-v4-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/geist-v5-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/geist-v5-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/geist-mono-v6-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/geist-mono-v6-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* mowteng: chunky display type, pastel tiles with a pressed-down lip, a sage hero with contour lines
   (the cairn mark's lichen and olive) and a dark band edged with stones. */
:root {
    --paper: #f7f3ec;
    --card: #fffdf8;
    --ink: #26241f;
    --muted: #5f5a50;
    --line: rgba(38, 36, 31, 0.16);
    --lip: rgba(38, 36, 31, 0.2);
    --hero: #e4ebcd;
    --contour: rgba(62, 74, 30, 0.13);
    --stone: rgba(62, 74, 30, 0.16);
    --stone-paper: rgba(62, 74, 30, 0.08);
    --stone-band: rgba(242, 237, 227, 0.1);
    --link: #4d5a24;
    --down: #9c4a2c;
    --up: #4d6a22;
    --band: #23211c;
    --band-text: #f2ede3;
    --band-muted: #bdb5a4;
    --band-link: #c9d69a;

    --sage: #dbe5bd;    --sage-edge: #93a560;
    --butter: #f5e3a6;  --butter-edge: #c4a24c;
    --peach: #f4caa8;   --peach-edge: #bb7c4f;
    --mist: #d4e2dc;    --mist-edge: #7a9a8d;

    --display: "Gasoek One", "Arial Black", sans-serif;
    --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
    color-scheme: light dark;
    accent-color: var(--link);
}

@media (prefers-color-scheme: dark) {
    :root {
        --paper: #1b1a16;
        --card: #24221d;
        --ink: #f2ede3;
        --muted: #b3ab99;
        --line: rgba(242, 237, 227, 0.14);
        --lip: rgba(0, 0, 0, 0.55);
        --hero: #1d2018;
        --contour: rgba(201, 214, 154, 0.08);
        --stone: rgba(201, 214, 154, 0.09);
        --stone-paper: rgba(242, 237, 227, 0.05);
        --link: #c9d69a;
        --down: #e3a184;
        --up: #a9d38f;
        --band: #2b2923;

        --sage: #2c3322;    --sage-edge: #56653a;
        --butter: #36301f;  --butter-edge: #6f5d2d;
        --peach: #392a20;   --peach-edge: #77503a;
        --mist: #222e2a;    --mist-edge: #4a6559;
    }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--sage); color: var(--ink); }

a {
    color: var(--link);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}
a:hover { text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

code, pre { font-family: var(--mono); }
code { font-size: 0.86em; padding: 0.12em 0.4em; border-radius: 6px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
pre code, .url code { padding: 0; background: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 28px; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }

/* Buttons: pastel fill, hairline edge and a 2px lip that flattens when pressed. */
.btn, .copy {
    display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
    font: inherit; font-weight: 500; color: var(--ink); text-decoration: none; cursor: pointer;
    border-radius: 12px; transition: transform 0.1s, box-shadow 0.1s, background 0.15s;
}
.btn {
    font-size: 15px; padding: 8px 18px; color: #26241f;
    background: #f4caa8; border: 1px solid #b9784a; box-shadow: 0 2px 0 #b9784a;
}
.btn:hover { background: #f7d4b8; }
.btn svg { width: 16px; height: 16px; margin-right: 8px; }
.btn.ghost { background: #fffdf8; border-color: #93a560; box-shadow: 0 2px 0 #93a560; }
.btn.ghost:hover { background: #f4f7e9; }
/* The Google "G" keeps its own colors on the light ghost fill, in both themes. */
.btn.gsign svg { width: 18px; height: 18px; }
.copy {
    font-size: 14px; padding: 5px 13px;
    background: var(--card); border: 1px solid var(--line); box-shadow: 0 2px 0 var(--lip);
}
.copy:hover { background: color-mix(in srgb, var(--ink) 5%, var(--card)); }
.btn:active, .copy:active { transform: translateY(2px); box-shadow: 0 0 0 transparent; }

/* Hero band */
.top { position: relative; overflow: hidden; background: var(--hero); border-bottom: 1px solid var(--line); }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--contour); stroke-width: 1.25; pointer-events: none; }
/* Scattered stones from the cairn mark, behind everything */
.stones { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--stone); pointer-events: none; }
.top > *:not(.topo):not(.stones) { position: relative; }
main { overflow-x: clip; }
.scatter { position: relative; }
.scatter > *:not(.stones) { position: relative; }
.stones.side { inset: auto; top: 48px; width: 300px; height: auto; fill: var(--stone-paper); }
.stones.right { right: -220px; }
.stones.left { left: -250px; top: 120px; width: 340px; }
.band-body { position: relative; background: var(--band); }
.band-body > .stones { fill: var(--stone-band); }

/* Feature strip at the foot of the hero */
.strip { background: color-mix(in srgb, var(--card) 40%, transparent); border-top: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; padding-top: 44px; padding-bottom: 48px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.45; }

.icon {
    flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
    color: var(--edge, var(--sage-edge)); background: var(--card);
    border: 1px solid var(--edge, var(--sage-edge)); box-shadow: 0 2px 0 var(--edge, var(--sage-edge));
}
.icon svg { width: 22px; height: 22px; }

.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.nav-end { display: flex; align-items: center; gap: 22px; }
.nav-link { color: var(--muted); font-weight: 500; text-decoration: none; }
.nav-link:hover { color: var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 18px; text-decoration: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hero h1 {
    font-family: var(--display); font-weight: 400; text-transform: uppercase;
    font-size: clamp(34px, 4.8vw, 60px); line-height: 1.16; letter-spacing: -0.01em; text-wrap: balance;
}
.hero mark {
    color: var(--paper); background: var(--ink); padding: 0 0.16em; border-radius: 0.12em;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lede { color: var(--muted); font-size: 19px; max-width: 50ch; margin-top: 26px; text-wrap: pretty; }

.url {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin-top: 32px; padding: 6px 6px 6px 18px; max-width: 470px;
    background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 2px 0 var(--lip);
}
.url code { flex: 1; min-width: 0; font-size: 15px; overflow-wrap: break-word; }
.actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Example conversation */
/* Hero illustration: a terminal with the chat card overlapping its lower corner. */
.term {
    background: #1f1e1a; color: #e9e4d8; border: 1px solid #45423a; border-radius: 14px;
    box-shadow: 0 3px 0 #45423a; overflow: hidden; font-family: var(--mono); font-size: 13px;
}
.term-bar {
    display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: #2b2924;
    font: 600 11px var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: #a39c8c;
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #ee8d84; }
.dots i:nth-child(2) { background: #f1c768; }
.dots i:nth-child(3) { background: #9ccd86; }
.term ol { list-style: none; display: grid; gap: 12px; padding: 16px 18px 72px; }
.term li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.term li > span:first-child { opacity: 0.5; }
.term .ok { color: #a9d38f; }
.term .ok > span:first-child { opacity: 1; }

.chat {
    position: relative; margin: -56px 0 0 56px;
    background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px;
    box-shadow: 0 3px 0 var(--lip); font-size: 15px; line-height: 1.5; transform: rotate(1deg);
}
.msg.you {
    margin-left: auto; max-width: 85%; width: fit-content; padding: 10px 14px;
    background: var(--sage); border: 1px solid var(--sage-edge); border-radius: 16px 16px 4px 16px;
}
.msg.ai { margin-top: 18px; display: grid; gap: 10px; }
.via { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.chat table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.chat th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--muted); padding: 0 0 6px; }
.chat td { padding: 7px 0; border-top: 1px solid var(--line); }
.chat td:first-child { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; padding-right: 12px; }
.chat th:not(:first-child), .chat td:not(:first-child) { text-align: right; white-space: nowrap; padding-left: 12px; }
.hero .chat td:last-child { color: var(--down); font-weight: 500; }
.chat figcaption { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

main > section { padding-top: 88px; }

/* Prompts read as the user's side of a chat; each opens a sample answer underneath. */
.prompts { list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.prompts li { max-width: 720px; }
.prompts li:nth-child(even) { margin-left: 48px; }
.prompts summary {
    display: flex; align-items: center; gap: 16px; list-style: none; cursor: pointer; width: fit-content;
    font-size: 18px; line-height: 1.45; padding: 12px 18px; text-wrap: pretty;
    background: var(--card); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; box-shadow: 0 2px 0 var(--lip);
    transition: background 0.15s;
}
.prompts summary::-webkit-details-marker { display: none; }
/* Chevron: points down while closed, flips up when the answer is open. */
.prompts summary::after {
    content: ""; flex: none; width: 7px; height: 7px; margin: -4px 2px 0 0;
    border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: rotate(45deg); transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.prompts details[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.prompts summary:hover { background: color-mix(in srgb, var(--ink) 4%, var(--card)); }
.prompts summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.chat.reply { margin: 12px 0 0; transform: none; display: grid; gap: 14px; }
.reply .msg.ai { margin-top: 0; }
.reply .msg.you { margin-left: auto; }
.reply td b { display: block; font-family: var(--font); font-weight: 500; }
.reply td small { display: block; font-size: 12px; color: var(--muted); }
.reply td.plain-cell { font-family: var(--font); font-size: 14px; overflow-wrap: normal; }
.reply td.bar { width: 22%; padding-left: 12px; }
.bar i, .stack i { display: block; height: 8px; border-radius: 4px; width: var(--w); }
.stack { display: flex; gap: 3px; }
.stack i { height: 12px; }
i.up { background: var(--up); }
i.down { background: var(--down); }
.legend { display: flex; gap: 16px; font-size: 13px; }
.legend .up, td.up { color: var(--up); }
.legend .down, td.down { color: var(--down); }
.chat td.up, .chat td.down { font-weight: 500; }
.done { display: flex; align-items: center; gap: 8px; color: var(--up); font-weight: 500; }
.done svg { width: 16px; height: 16px; flex: none; }
.sample { font-size: 12.5px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
    details[open] > .reply { animation: reveal 0.25s cubic-bezier(0.25, 1, 0.5, 1); }
}
@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } }

/* Connect */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 3px 0 var(--lip); padding: 0 28px; }
.row { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 32px; align-items: start; padding: 24px 0; scroll-margin-top: 16px; }
.row + .row { border-top: 1px solid var(--line); }
.row h3 { font-size: 17px; }
.row p { color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.row .hint { margin-top: 10px; font-size: 15px; }

.code { position: relative; }
.code pre {
    font-size: 14px; line-height: 1.55; padding: 12px 16px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
    white-space: pre-wrap; overflow-wrap: anywhere;
}
.code .file { display: block; margin-bottom: 8px; font-family: var(--font); font-size: 13px; color: var(--muted); }

.note { color: var(--muted); font-size: 16px; margin-top: 24px; max-width: 72ch; text-wrap: pretty; }

/* Why mowteng: scrolls inside its box on narrow screens, never the page */
.compare { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 3px 0 var(--lip); }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 18px; }
.compare thead th { font-size: 14px; font-weight: 600; }
.compare tbody th { font-weight: 500; white-space: nowrap; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare td { color: var(--muted); }
.compare td:nth-child(2) { color: var(--ink); font-weight: 500; }

.faq .row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }

/* Tools */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; border: 1px solid var(--edge); box-shadow: 0 3px 0 var(--edge); }
.tile .icon { margin-bottom: 6px; }
.tile p { color: color-mix(in srgb, var(--ink) 78%, transparent); }
/* Pricing buttons sit at the bottom of each tile, level across the row. */
.tile .actions { margin-top: auto; padding-top: 6px; }
.sage { --edge: var(--sage-edge); background: var(--sage); }
.butter { --edge: var(--butter-edge); background: var(--butter); }
.peach { --edge: var(--peach-edge); background: var(--peach); }
.mist { --edge: var(--mist-edge); background: var(--mist); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.chips li {
    font-family: var(--mono); font-size: 12px; padding: 3px 9px; border-radius: 8px;
    background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
}
.tag {
    font-size: 12px; font-weight: 500; white-space: nowrap; margin-left: 4px; vertical-align: 2px;
    padding: 1px 8px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
}

/* Dark band edged with a row of stones, like the cairn in the mark */
.band { margin-top: 96px; color: var(--band-text); }
.edge { display: block; width: 100%; height: 48px; fill: var(--band); margin-bottom: -1px; }
.edge.flip { transform: scaleY(-1); margin-top: -1px; margin-bottom: 0; }
.band-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 64px; padding-top: 48px; padding-bottom: 48px; max-width: none; }
.band-grid > section { max-width: 520px; }
.band-grid > section:first-child { justify-self: end; }
.band h2 { font-size: clamp(28px, 3vw, 34px); }
.band .plain { padding-left: 1.1em; display: grid; gap: 10px; color: var(--band-muted); }
.band .plain li::marker { color: var(--band-link); }
.band strong { color: var(--band-text); font-weight: 600; }
.band code { background: rgba(242, 237, 227, 0.1); color: var(--band-text); }
.band .note { color: var(--band-muted); }
.band a { color: var(--band-link); }
.band a:focus-visible { outline-color: var(--band-text); }

/* Same four columns on every page, so the footer never depends on how many links happen to fit a row. */
.footer {
    display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px;
    padding-top: 48px; padding-bottom: 56px; color: var(--muted); font-size: 14px; line-height: 1.5;
}
.footer nav, .footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-brand p { max-width: 34ch; margin: 0; }
.footer-h { margin: 0 0 4px; color: var(--ink); font-weight: 600; font-size: 13px; }
.footer a { color: var(--muted); text-underline-offset: 3px; }
.footer a:hover { color: var(--ink); }
.footer .footer-mark { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
@media (max-width: 760px) {
    .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-top: 40px; padding-bottom: 44px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 32px; }
    .chat { transform: none; }
    .art { max-width: 560px; }
    .band-grid > section:first-child { justify-self: start; }
}

@media (max-width: 640px) {
    .wrap { padding-left: 20px; padding-right: 20px; }
    .hero { padding-bottom: 56px; }
    .chat { padding: 16px; margin: -48px 0 0 16px; }
    .term ol { padding-bottom: 64px; font-size: 12px; }
    main > section { padding-top: 64px; }
    .url code { font-size: 14px; }
    .prompts summary { font-size: 16px; }
    .prompts li:nth-child(even) { margin-left: 24px; }
    .panel { padding: 0 18px; }
    .row { grid-template-columns: 1fr; gap: 8px; }
    .row > .copy { justify-self: start; margin-top: 4px; }
    .faq .row { grid-template-columns: 1fr; }
    .compare table { min-width: 0; }
    .compare thead { display: none; }
    .compare tr { display: block; padding: 16px 18px; }
    .compare tbody th, .compare td { display: block; padding: 3px 0; }
    .compare tbody th { padding-bottom: 6px; }
    .compare td::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 400; }
    /* The chat card is the point; the terminal only pushes it a screen down */
    .term { display: none; }
    .chat { margin: 0; }
    .reply td.bar, .reply th:nth-child(4) { display: none; }
    .nav .long { display: none; }
    .band { margin-top: 72px; }
}

/* Narrow phones: the Sign in and Connect buttons fit next to the logo. */
@media (max-width: 420px) {
    .nav-end { gap: 10px; }
    .nav .btn { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 380px) {
    .nav .btn:not(.gsign) svg { display: none; }
}

/* ---------- Content pages (integrations, analyses, guides, help, glossary…) ---------- */
.page-head { padding-top: 36px; padding-bottom: 44px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { opacity: .6; }
.page-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.05; letter-spacing: -0.01em; max-width: 20ch; text-wrap: balance; }
.page-head .lede { margin-top: 18px; max-width: 62ch; font-size: 19px; color: var(--muted); text-wrap: pretty; }
.page-head .actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }

.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 48px; padding-bottom: 72px; }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-family: var(--font); font-weight: 600; font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; margin-top: 44px; margin-bottom: 0; }
.prose h3 { font-size: 18px; margin-top: 28px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: color-mix(in srgb, var(--ink) 4%, var(--card)); }
.prose tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

/* A question to ask the assistant, ready to copy. */
.ask { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; box-shadow: 0 2px 0 var(--lip); padding: 14px 18px; }
.ask p { margin: 0; font-size: 16px; }
.ask .label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.callout { background: var(--sage); border: 1px solid var(--sage-edge); border-radius: 14px; padding: 14px 18px; }
.callout.warn { background: var(--butter); border-color: var(--butter-edge); }
.prose pre { font: 14px/1.55 var(--mono); padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.prose pre code { padding: 0; background: none; }
.steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.steps > li { counter-increment: step; position: relative; padding-left: 44px; min-height: 32px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-weight: 600; font-size: 14px; background: var(--peach); border: 1px solid var(--peach-edge); }

/* Hubs and "related" blocks: a grid of link cards. */
.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.link-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; color: var(--ink); text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 2px 0 var(--lip); transition: transform .1s, box-shadow .1s, background .15s; }
.link-card:hover { background: color-mix(in srgb, var(--ink) 4%, var(--card)); }
.link-card:active { transform: translateY(2px); box-shadow: 0 0 0 transparent; }
.link-card h3 { font-size: 17px; }
.link-card p { color: var(--muted); font-size: 15px; line-height: 1.45; }
.link-card img { width: 24px; height: 24px; }
.related { padding-top: 8px; padding-bottom: 72px; }
.related h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 20px; }
.cta-band { background: var(--hero); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.cta-band p { font-size: 19px; max-width: 46ch; }
@media (max-width: 640px) {
    .page-head { padding-top: 24px; padding-bottom: 32px; }
    .article { padding-top: 32px; }
    .steps > li { padding-left: 40px; }
}
