/* The OpenECraft website. Dark, with the blue and amber of the logo. */
:root {
    --bg: #070b14;
    --bg2: #0c1322;
    --panel: rgba(18, 28, 48, .72);
    --line: rgba(120, 160, 220, .18);
    --text: #e8eef9;
    --muted: #9aa9c4;
    --blue: #4c9dff;
    --cyan: #3ad6ff;
    --amber: #f5b82e;
    --ok: #46d39a;
    --warn: #f5b82e;
    --error: #ff6b6b;
    --radius: 14px;
    --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
    color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
    overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

/* Drawing grid with two glows, fixed behind the page. */
.backdrop {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(900px 600px at 85% -10%, rgba(76, 157, 255, .28), transparent 60%),
        radial-gradient(700px 500px at -10% 30%, rgba(245, 184, 46, .12), transparent 60%),
        linear-gradient(rgba(120, 160, 220, .07) 1px, transparent 1px) 0 0 / 100% 32px,
        linear-gradient(90deg, rgba(120, 160, 220, .07) 1px, transparent 1px) 0 0 / 32px 100%,
        var(--bg);
    mask-image: linear-gradient(#000 60%, transparent);
}

.nav {
    position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px;
    padding: 12px clamp(16px, 4vw, 48px);
    background: rgba(7, 11, 20, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; gap: 22px; flex: 1; flex-wrap: wrap; }
.nav nav a { color: var(--muted); font-size: 15px; }
.nav nav a:hover { color: var(--text); text-decoration: none; }
.nav nav .menu-only, .nav-toggle { display: none; }
.nav-toggle {
    width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center; cursor: pointer;
    color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 10px;
}
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; border-radius: 1px; background: currentColor; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; top: -6px; }
.bars::after { top: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav-right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav-right select { min-width: 0; }
/* What is said to a mouse and to a finger. */
.for-touch { display: none; }
@media (pointer: coarse) {
    .for-mouse { display: none; }
    .for-touch { display: revert; }
}
select, input[type=search], #console-in {
    font: inherit; color: var(--text); background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px;
}
select option, select optgroup { background: var(--bg2); }
.toolbar select { font-size: 14px; max-width: 220px; }

.button, .toolbar button, .chips button, .examples button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
    font: inherit; font-weight: 600; color: var(--text); padding: 10px 18px; border-radius: 10px;
    border: 1px solid var(--line); background: rgba(255, 255, 255, .06); transition: .15s;
}
.button:hover, .toolbar button:hover, .chips button:hover, .examples button:hover {
    text-decoration: none; border-color: var(--blue); background: rgba(76, 157, 255, .16);
}
.button.primary { border: 0; color: #06101f; background: linear-gradient(135deg, var(--cyan), var(--blue)); box-shadow: 0 8px 30px rgba(76, 157, 255, .35); }
.button.primary:hover { filter: brightness(1.08); }
.button.ghost { background: transparent; }
[hidden] { display: none !important; }

main { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding: 72px 0 56px; }
.eyebrow { color: var(--amber); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
h1 {
    font-size: clamp(36px, 5vw, 62px); font-weight: 800;
    background: linear-gradient(120deg, #fff 30%, var(--cyan) 70%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--muted); font-size: 19px; margin: 22px 0 28px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 34px 0 0; color: var(--muted); font-size: 14px; }
.facts b { color: var(--text); font-size: 17px; margin-right: 4px; }

.hero-art { perspective: 1400px; }
.sheet {
    aspect-ratio: 420 / 297; background: #fff; border-radius: 10px; overflow: hidden; position: relative;
    transform: rotateY(-14deg) rotateX(6deg); transform-origin: 60% 50%; transition: transform .6s;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12), 0 0 80px rgba(58, 214, 255, .22);
    animation: float 9s ease-in-out infinite;
}
.sheet svg, .sheet img { width: 100%; height: 100%; display: block; }
.sheet-note { color: var(--muted); font-size: 13px; margin-top: 22px; text-align: center; }
@keyframes float { 50% { translate: 0 -10px; } }

.band { padding: 64px 0 24px; }
.band h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.sub { color: var(--muted); font-size: 18px; max-width: 54em; margin: 14px 0 26px; }
.sub-head { font-size: 24px; margin-top: 44px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.card, .pane {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    backdrop-filter: blur(10px); padding: 22px;
}
.card { transition: .2s; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card pre { margin: 0; padding: 10px 12px; background: rgba(0, 0, 0, .4); border-radius: 8px; overflow-x: auto; font: 13px var(--mono); color: #cfe3ff; }
.card .button { align-self: flex-start; margin-top: 6px; }
.icon {
    width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(58, 214, 255, .25), rgba(76, 157, 255, .1));
    border: 1px solid rgba(58, 214, 255, .35); position: relative;
}
/* Icons drawn with one masked gradient each. */
.icon::after { content: ""; position: absolute; inset: 9px; background: var(--cyan); mask: var(--i) center / contain no-repeat; -webkit-mask: var(--i) center / contain no-repeat; }
.i-schematic { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v6M12 16v6M12 16L7 8M12 8h-3'/%3E%3C/svg%3E"); }
.i-symbols { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Ccircle cx='17.5' cy='6.5' r='3.5'/%3E%3Cpath d='M3 21l3.5-7 3.5 7zM14 14h7v7h-7z'/%3E%3C/svg%3E"); }
.i-wires { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 6h8v12h10M3 12h4M3 18h4'/%3E%3Ccircle cx='11' cy='12' r='1.5' fill='black'/%3E%3C/svg%3E"); }
.i-reports { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18M3 15h18M9 3v18'/%3E%3C/svg%3E"); }
.i-panel { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 2l9 5v10l-9 5-9-5V7z'/%3E%3Cpath d='M12 12l9-5M12 12v10M12 12L3 7'/%3E%3C/svg%3E"); }
.i-plc { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='6' y='6' width='12' height='12' rx='1'/%3E%3Cpath d='M9 2v4M15 2v4M9 18v4M15 18v4M2 9h4M2 15h4M18 9h4M18 15h4'/%3E%3C/svg%3E"); }
.i-calc { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.i-fluid { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3s6 7 6 11a6 6 0 0 1-12 0c0-4 6-11 6-11z'/%3E%3C/svg%3E"); }
.i-parts { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E"); }
.i-team { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M2 20c0-4 3-6 7-6s7 2 7 6M17 14c3 0 5 2 5 5'/%3E%3C/svg%3E"); }
.i-exchange { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h14l-4-4M20 16H6l4 4'/%3E%3C/svg%3E"); }
.i-plugin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6l-6 6 6 6M16 6l6 6-6 6M14 3l-4 18'/%3E%3C/svg%3E"); }

.examples, .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.examples button, .chips button { padding: 6px 12px; font-size: 14px; font-weight: 500; border-radius: 999px; }
.examples button.on, .chips button.on, .toolbar button.on { border-color: var(--cyan); background: rgba(58, 214, 255, .18); color: #fff; }
.chips.column { flex-direction: column; align-items: stretch; }
.export-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.export-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 2px; background: rgba(255, 255, 255, .02); }
.export-group h4 { margin: 0 0 10px; }
.export-group .chips { margin-bottom: 12px; }
.export-group button { border-radius: 8px; text-align: left; }
.export-group small { margin-left: 8px; color: var(--muted); font-family: var(--mono); }
.chips.column button { justify-content: flex-start; border-radius: 8px; font-family: var(--mono); font-size: 13px; }

.studio { display: grid; grid-template-columns: 230px minmax(0, 1fr) 290px; gap: 16px; align-items: start; }
/* A column is never wider than the page, whatever a line in it would like. */
.studio > *, .reports > *, .automation > * { min-width: 0; }
.pane { padding: 14px; }
.pane h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.count { background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 1px 9px; color: var(--text); letter-spacing: 0; }
.count.ok { background: rgba(70, 211, 154, .2); color: var(--ok); }
.count.bad { background: rgba(255, 107, 107, .2); color: var(--error); }
.list { position: relative; list-style: none; margin: 0; padding: 0; max-height: 470px; overflow: auto; font-size: 14px; scrollbar-width: thin; }
.list li { padding: 6px 8px; border-radius: 7px; cursor: pointer; display: flex; gap: 8px; }
.list li:hover { background: rgba(255, 255, 255, .07); }
.list li.on { background: rgba(76, 157, 255, .22); }
.list li b { font-weight: 600; white-space: nowrap; }
.list li span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list.small { max-height: 250px; font: 13px var(--mono); margin-top: 8px; }
.list.small li { flex-direction: column; gap: 0; }
.list.small li span { font: 12px system-ui, sans-serif; }
.issues li { cursor: pointer; align-items: flex-start; }
.issues li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; background: var(--blue); }
.issues li.error::before { background: var(--error); box-shadow: 0 0 10px var(--error); }
.issues li.warning::before { background: var(--warn); }
.issues li span { white-space: normal; color: var(--text); }
.issues li.none { color: var(--ok); cursor: default; }
.issues li.none::before { background: var(--ok); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; text-align: center; }
.stats div { background: rgba(255, 255, 255, .05); border-radius: 10px; padding: 8px 4px; }
.stats b { display: block; font-size: 22px; }
.stats span { color: var(--muted); font-size: 12px; }
.tip, .hint { color: var(--muted); font-size: 13px; }
.hint { min-height: 2.4em; margin-top: 8px; }

.stage-wrap { min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.toolbar button { padding: 6px 12px; font-size: 14px; font-weight: 500; border-radius: 8px; }
.toolbar button:disabled { opacity: .4; cursor: default; }
.toolbar .gap { flex: 1; }
.stage {
    position: relative; height: min(68vh, 560px); height: min(68dvh, 560px); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); background: #1b1c1f; box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.stage.tall { height: min(76vh, 680px); height: min(76dvh, 680px); }
.stage canvas { width: 100%; height: 100%; display: block; outline: none; }
/* Until it is clicked, a stage lets the wheel scroll the page. */
.stage:not(.live) canvas { pointer-events: none; }
.stage.live { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 30px 80px rgba(0, 0, 0, .45); }
.veil {
    position: absolute; inset: 0; border: 0; cursor: pointer; font: inherit; color: var(--text);
    background: linear-gradient(transparent 55%, rgba(7, 11, 20, .78)); display: flex; align-items: flex-end; justify-content: center; padding: 22px;
}
.veil span { background: rgba(7, 11, 20, .8); border: 1px solid var(--cyan); border-radius: 999px; padding: 8px 18px; font-weight: 600; }
.stage.live .veil { display: none; }
.stage.loading canvas { opacity: .3; }
.stage.waiting::after, .stage.loading::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px;
    border-radius: 50%; border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--cyan); animation: spin 1s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

.reports { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; align-items: start; }
.reports input, .automation input[type=search] { width: 100%; margin-bottom: 8px; }
.table-pane { min-width: 0; }
.table-pane h3 { color: var(--text); text-transform: none; letter-spacing: 0; font-size: 17px; }
.table-scroll { max-height: 440px; overflow: auto; border-radius: 8px; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
th { position: sticky; top: 0; background: #14203a; text-align: left; white-space: nowrap; }
th, td { padding: 6px 10px; border-bottom: 1px solid var(--line); }
tr:hover td { background: rgba(255, 255, 255, .04); }

.automation { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
.console { border-radius: var(--radius); border: 1px solid var(--line); background: #05080f; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.console-head { display: flex; gap: 7px; align-items: center; padding: 10px 14px; background: #101a2e; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #33415c; }
.console-title { color: var(--muted); font: 13px var(--mono); margin-left: 8px; }
.console-out { height: 400px; overflow: auto; padding: 14px; font: 13px/1.5 var(--mono); white-space: pre-wrap; word-break: break-word; }
.console-out .cmd { color: var(--cyan); }
.console-out .err { color: var(--error); }
.console-out .dim { color: var(--muted); }
#console-form { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); }
.prompt { color: var(--amber); font: 700 15px var(--mono); }
#console-in { flex: 1; border: 0; background: transparent; font: 14px var(--mono); outline: none; padding: 4px 0; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 18px; margin-top: 26px; }
figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); transition: .2s; }
/* Movement under the pointer: a finger would leave it stuck after a tap. */
@media (hover: hover) {
    .button.primary:hover { transform: translateY(-1px); }
    .sheet:hover { transform: rotateY(-4deg) rotateX(2deg); }
    .card:hover { transform: translateY(-3px); border-color: rgba(76, 157, 255, .55); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
    figure:hover { transform: scale(1.02); border-color: rgba(76, 157, 255, .55); }
}
figure img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; display: block; }
figcaption { padding: 10px 14px; color: var(--muted); font-size: 14px; }

footer { margin-top: 80px; padding: 32px clamp(16px, 4vw, 48px) 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: grid; gap: 12px; }
footer div { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
footer b { color: var(--text); }
.fine { font-size: 12px; opacity: .8; }
.legal {
    width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); padding: 28px 32px;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg2); color: var(--text);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
}
.legal::backdrop { background: rgba(3, 6, 12, .7); backdrop-filter: blur(4px); }
.legal h2 { margin: 0 0 16px; font-size: 22px; }
.legal p { margin: 0 0 12px; }
.legal-name { font-weight: 600; }
.legal dl { display: grid; gap: 8px; margin: 16px 0; }
.legal dl div { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 12px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; overflow-wrap: anywhere; }
.legal a { color: var(--cyan); }
.legal ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.legal-text { color: var(--muted); font-size: 14px; }
.legal form { margin: 20px 0 0; text-align: right; }
@media (max-width: 520px) {
    .legal { padding: 22px 18px; }
    .legal dl div { grid-template-columns: 1fr; gap: 0; }
}
.noscript { text-align: center; padding: 20px; color: var(--amber); }

/* Sections fade in when they come into view (set by site.js). */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .7s, translate .7s; }
.reveal.seen { opacity: 1; translate: 0 0; }

@media (max-width: 1080px) {
    .hero { grid-template-columns: 1fr; padding-top: 40px; }
    .studio { grid-template-columns: 1fr; }
    .studio .pane .list { max-height: 180px; }
    .reports, .automation { grid-template-columns: 1fr; }
    /* The links become a menu below the bar, opened by the button at its end. */
    .nav { gap: 12px; }
    .nav-toggle { display: inline-flex; order: 3; flex: none; }
    .nav-right { margin-left: auto; order: 2; }
    .nav nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
        padding: 6px clamp(16px, 4vw, 48px) 12px; background: rgba(7, 11, 20, .97); border-bottom: 1px solid var(--line);
        max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto;
    }
    .nav.open nav { display: flex; }
    .nav nav a { padding: 12px 0; font-size: 17px; }
    .nav nav a + a { border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
    /* The source code moves into the menu; the bar keeps the brand and the language. */
    .nav-right .button { display: none; }
    .nav nav .menu-only { display: block; }
    /* A sheet is landscape: the stage follows the width instead of the height. */
    .stage { height: auto; aspect-ratio: 4 / 3; }
    .stage.tall { height: auto; aspect-ratio: 3 / 4; max-height: 76vh; max-height: 76dvh; }
    .hero { gap: 32px; padding-bottom: 32px; }
    .lead, .sub { font-size: 17px; }
    .veil { padding: 14px; }
}
/* A finger needs more room than a pointer, and iOS zooms into fields below 16px. */
@media (pointer: coarse) {
    .examples button, .chips button, .toolbar button, .toolbar select, .nav-right select { min-height: 44px; }
    .list li { padding-top: 11px; padding-bottom: 11px; }
    .toolbar select, #console-in { font-size: 16px; }
    footer .links { gap: 0 18px; }
    footer .links a { padding: 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .sheet, .stage.waiting::after, .stage.loading::after { animation: none; }
    .reveal { opacity: 1; translate: 0 0; transition: none; }
    html { scroll-behavior: auto; }
}
