/* Dudbox landing. Warm paper, a dot-grid canvas, near-black ink, and Dud's
   tan as the one warm color. Light only.
   Layout: nav, one hero line, the live demo, then one section per thing a
   customer gets, each with its own animation, then the request form. */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: block; src: url(/fonts/figtree-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: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: block; src: url(/fonts/figtree-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: 100 900; font-display: block; src: url(/fonts/geist-mono-latin.woff2) format('woff2'); }
/* Kalam: only for the lettering in Dud's speech bubble (the beach at the bottom) */
@font-face { font-family: 'Kalam'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/kalam-latin.woff2) format('woff2'); }

:root {
  --ink: #0E1014; --ink-2: #3B3F48; --muted: #5D616B; --faint: #8A8E96;
  --paper: #FFFFFF; --canvas: #F6F7F8; --dot: #D3D6DB;
  --line: #E4E5E9; --line-2: #F1F2F4; --line-3: #C9CCD2;
  --edge: #9A9FAA; --edge-inet: #777E8A;
  /* the border of a selected card on the canvas, and the edge of a bead in the scenes */
  --hot: #3D434E;
  --live: #1E9E5A; --live-ink: #1E7A4A; --live-bg: #E3F5EB;
  --build: #8A8F98; --build-bg: #EFF0F2;
  --fail: #B42318; --fail-bg: #FDECEA;
  /* the status ring (ring.js): up is --live, changing is --build */
  --warn: #E9A23B; --warn-ink: #8F5A0E; --down: #E5484D; --off: #B4B8C0;
  --tan: #F6E3C4; --tan-ink: #6E4A14; --dud: #E0A95F;
  /* every line on the page: borders, canvas lines, the status ring, the charts. Change it here. */
  --lw: 1px;
  --sans: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* pop: grows past full size a little, then settles. sink: starts slow, then goes. */
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --sink: cubic-bezier(.32, 0, .67, 0);
  /* one turn of a spinner; ring.js and site.js steady() use the same 450 ms */
  --spin: .45s;
  --wrap: 1120px;
  --pw: clamp(380px, 48%, 550px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* index.html hides the body until this file is in */
body { margin: 0; background: var(--paper); color: var(--ink); font: 431 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-weight: 400; }
/* counts and times: Figtree, with digits of one width */
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
h1, h2, h3 { text-wrap: balance; font-weight: 681; }
b, strong { font-weight: 681; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; min-height: 42px; font-weight: 610; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--line-3); }
.btn.ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ink:hover { background: #2A2E36; }
.btn.ink[disabled] { background: var(--line-3); border-color: var(--line-3); cursor: default; }
.btn.sm { min-height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.icon { width: 32px; padding: 0; }
.btn.danger { color: var(--fail); border-color: #F2C6C1; }
.btn.danger:hover { border-color: var(--fail); }
.btn.big { min-height: 50px; padding: 0 22px; font-size: 16px; border-radius: 12px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 739; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.nav nav { display: flex; gap: 24px; flex: 1 1 auto; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--ink-2); }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav nav { display: none; } .nav .wrap { justify-content: space-between; } }

/* hero: one line, three points with icons, the live demo centered under them */
.hero { padding: clamp(40px, 6vw, 84px) 0 0; }
.hero > .wrap { display: flex; flex-direction: column; align-items: center; gap: clamp(32px, 4vw, 48px); }
.hero h1 { margin: 0; padding: 0 clamp(0px, 4vw, 72px); font-size: clamp(28px, 3.45vw, 42px); line-height: 1.12; letter-spacing: -.035em; font-weight: 750; text-align: center; }
@media (min-width: 900px) { .hero h1 { white-space: nowrap; } }
/* z-index: the tips under the pills lie over the demo */
.htext { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.hl { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
/* Each pill has a tip under it: on hover with a mouse, on a tap, or on keyboard focus (js/site.js).
   The tip moves sideways (--dx) to stay on the screen; its arrow stays under the pill. */
.hl li { position: relative; }
.hl li:hover, .hl li.open, .hl li:focus-within { z-index: 1; }
/* A pill: one component for the hero pills (.hlp) and the add bar's buttons (.addp), so they always match.
   Change how a pill looks here, never on .hlp or .addp. (.pill is the small badge in the panel.)
   The line is the canvas card's: --edge at rest, --edge-hover on hover.
   An icon after the text (.plus) sits 4 px further out, as the icon has that much space around its lines. */
.chip { --edge: #BABEC6; --edge-hover: #8F95A1; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 24px 8px 8px; background: var(--paper); border: var(--lw) solid var(--edge); border-radius: 99px; font-size: 16px; font-weight: 595; color: var(--ink); box-shadow: 0 1px 2px rgba(60,40,20,.05); }
.chip:focus-visible { border-radius: 99px; }
.chip .plus { color: var(--muted); margin: 0 -4px 0 2px; }
@media (hover: hover) { .chip:hover { border-color: var(--edge-hover); } }
.hlp { cursor: default; }
.htip { position: absolute; top: calc(100% + 10px); left: 50%; width: max-content; max-width: min(280px, calc(100vw - 24px)); padding: 9px 13px 10px; background: var(--ink); color: #fff; border-radius: 10px; font-size: 14px; line-height: 1.45; text-align: left; box-shadow: 0 8px 24px rgba(14,16,20,.18); transform: translateX(calc(-50% + var(--dx, 0px))); visibility: hidden; pointer-events: none; }
.htip::before { content: ''; position: absolute; top: -4px; left: calc(50% - var(--dx, 0px)); width: 10px; height: 10px; margin-left: -5px; background: inherit; border-radius: 2px; transform: rotate(45deg); }
.hl li.open .htip, .hlp:focus-visible + .htip { visibility: visible; }
@media (hover: hover) {
  .hl li:hover .htip { visibility: visible; }
}
.hi { --bg: var(--tan); width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--bg); color: var(--tan-ink); display: inline-flex; align-items: center; justify-content: center; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 18px; color: var(--ink-2); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 5px; color: var(--tan-ink); }
/* the demo is one layer under the hero text, so its panel and menus never cover the pills' tips */
.hdemo { position: relative; z-index: 1; width: 100%; min-width: 0; }
.hdemo .demo { --pw: clamp(380px, 46%, 540px); }
.hdemo .stage { height: clamp(430px, 58vh, 580px); }

/* the live demo */
.demo-wrap { padding: 0; }
/* The dashboard has one line: --lw (1 px), in three grays (--edge at rest, --edge-hover, and
   --hot for what is selected), and a lighter one for dividers (--rule). docs/DESIGN.md has the rules. */
.demo { --edge: #BABEC6; --edge-hover: #8F95A1; --rule: #DEE0E4; position: relative; border: var(--lw) solid var(--edge); border-radius: 18px; overflow: hidden; background: var(--paper); box-shadow: 0 2px 4px rgba(14,16,20,.04), 0 30px 70px rgba(14,16,20,.10); }
.dtop { display: flex; align-items: center; gap: 6px 14px; min-height: 52px; padding: 0 14px; border-bottom: var(--lw) solid var(--edge); position: relative; z-index: 10; background: var(--paper); }
.dtop .slash { color: var(--edge); }
.projw { position: relative; }
.projbtn { position: relative; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; border-radius: 8px; padding: 0 8px; min-height: 34px; font-weight: 645; cursor: pointer; font-size: 15px; }
.projbtn:hover svg { stroke: var(--ink); }
.phint { position: absolute; left: 50%; top: calc(100% + 9px); transform: translateX(-50%); text-align: center; display: none; white-space: nowrap; font: 610 12px var(--sans); color: var(--tan-ink); background: var(--tan); border-radius: 8px; padding: 4px 10px; box-shadow: 0 4px 12px rgba(60,40,20,.12); pointer-events: none; }
.phint::before { content: ""; position: absolute; left: 50%; margin-left: -4px; top: -4px; width: 8px; height: 8px; background: var(--tan); transform: rotate(45deg); }
/* The hint ring grows 10 px on every side and fades. It is a layer behind
   the button that only scales and fades, so it never repaints. demo.js sets
   --hx and --hy from the button's size. */
.projbtn.hint { background: transparent; isolation: isolate; }
.projbtn.hint::before, .projbtn.hint::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.projbtn.hint::before { z-index: -1; background: #FBF1E2; }
.projbtn.hint::after { z-index: -2; background: rgba(224,169,95,.6); animation: hint 1.6s ease-out infinite; }
.projbtn.hint .phint { display: block; animation: hintin .3s var(--ease); }
.addbar { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 30px; opacity: 0; transform: translateY(8px); visibility: hidden; transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.addbar.on { opacity: 1; transform: none; visibility: visible; transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s; }
.addp { cursor: pointer; }
.alogo { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; overflow: hidden; }
.aslot { position: absolute; inset: 0; }
.aslot .tile { width: 32px; height: 32px; border-radius: 50%; }
/* each logo gets the size that looks right in a circle, not one scale for all:
   Postgres matches the hero pill, heavy or square marks sit smaller, thin ones larger */
.aslot .tile img { transform: scale(var(--s, .94)); border-radius: 22%; }
.aslot[data-tpl="valkey"] { --s: 1; }
.aslot[data-tpl="typesense"] { --s: 1.16; }
.aslot[data-tpl="clickhouse"], .aslot[data-tpl="rabbitmq"] { --s: .86; }
.aslot[data-tpl="qdrant"] { --s: .92; }
.aslot[data-tpl="mongodb"], .aslot[data-tpl="go"] { --s: 1.04; }
.aslot[data-tpl="python"] { --s: .93; }
.aslot[data-tpl="next"] { --s: .82; }
.aslot[data-tpl="cron"] { --s: 1; }
/* the bar's tabs look like the panel's: the selected one has an ink line that lies on
   the bar's divider. A project has two pages: Canvas and Settings. A tab keeps the width of its semibold text (::after), so a new selection moves no text. */
.dtabs { position: relative; display: flex; gap: 2px; flex: 1 1 auto; align-self: stretch; margin-left: 6px; font-size: 14px; }
.dtabs button { position: relative; padding: 0 9px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; background: none; border: 0; color: var(--muted); cursor: pointer; }
.dtabs button::after { content: attr(data-t); height: 0; overflow: hidden; visibility: hidden; font-weight: 610; }
.dtabs button:hover { color: var(--ink); }
.dtabs button[aria-current="page"] { color: var(--ink); font-weight: 610; }
/* The selected tab's line, in the bar, the panel, and a deploy's drawer: one line per tab bar,
   on its divider. js/demo.js puts it under the selected tab's text, from its first letter to its
   last (a 1 px wide line, scaled to the text), and glides it to a new tab in 150 ms. */
.tline { position: absolute; left: 0; bottom: calc(-1 * var(--lw)); width: 1px; height: var(--lw); background: var(--ink); transform-origin: 0 0; pointer-events: none; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 var(--lw) var(--edge); display: inline-flex; overflow: hidden; color: var(--edge); }
.avatar svg { display: block; }
@media (max-width: 640px) { .dtabs { display: none; } .dtop .grow { flex: 1 1 auto; } }
.menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 300px; max-height: 60vh; overflow: auto; background: var(--paper); border: var(--lw) solid var(--edge); border-radius: 12px; box-shadow: 0 12px 32px rgba(14,16,20,.14); padding: 6px; font-size: 14px; }
.menu.on { display: grid; }
.menu.up { top: auto; bottom: calc(100% + 6px); left: auto; right: 0; min-width: 220px; }
.menu button { border: 0; background: none; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 7px 10px; border-radius: 8px; min-height: 36px; cursor: pointer; }
/* hover is the text color: gray at rest, ink on hover. The project that is open is ink and
   semibold, with a check in place of its count. */
.menu button { color: var(--muted); }
.menu button b { font-weight: 569; }
.menu button:hover, .menu button[aria-current="true"] { color: var(--ink); }
.menu button[aria-current="true"] b { font-weight: 681; }
.menu button .mck { display: none; }
.menu button[aria-current="true"] .mck { display: block; }
.menu button[aria-current="true"] .num { display: none; }
.menu button .muted { font-size: 13px; }
.menu .mi { display: flex; align-items: center; gap: 10px; }
.menu .mi .tile { width: 22px; height: 22px; border-radius: 6px; }

/* clip, not hidden: the closed panel waits past the right edge, and a hidden box still
   scrolls sideways to it when you type in a field on the settings page */
.stage { position: relative; height: clamp(460px, 62vh, 620px); background: var(--canvas); overflow: clip; }
/* the story plays on its own: while it does, only the boxes and the panel take hover and clicks */
.demo.playing .stage { pointer-events: none; }
.demo.playing .node, .demo.playing .panel { pointer-events: auto; }
.cv { position: absolute; inset: 0; overflow: hidden; background-color: var(--canvas); background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 18px 18px; }
.cv.grab { cursor: grabbing; }
.world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.edges, .tlayer, .glayer, .llayer, .nlayer { position: absolute; left: 0; top: 0; }
.tlayer { z-index: 1; } .edges { z-index: 2; } .glayer { z-index: 3; } .llayer { z-index: 4; } .nlayer { z-index: 5; }
.edges { overflow: visible; }

.node { position: absolute; left: 0; top: 0; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; column-gap: 10px; padding: 0 12px; background: var(--paper); border: var(--lw) solid var(--edge); border-radius: 12px; box-shadow: 0 1px 2px rgba(14,16,20,.06), 0 8px 20px rgba(14,16,20,.06); text-align: left; cursor: pointer; transform-origin: 50% 50%; will-change: transform, opacity; }
.node:hover { border-color: var(--edge-hover); }
/* cards, replicas, the globe, and lines: all --lw, selected or not */
.node.sel { border-color: var(--hot); box-shadow: 0 12px 28px rgba(14,16,20,.12); }
.node:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.tile { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 681; letter-spacing: -.01em; flex: none; }
/* Every icon tile gets an edge and a glow, both the icon color (--bg: from tile() in
   canvas.js, or set in the HTML) with another OKLCH lightness, so they always match it.
   Edge: one --tile-step darker than the icon, and at least half a step darker than the
   card (--card-l), so a white icon still gets a soft edge.
   Glow: the icon color itself, so it glows instead of a gray shadow, but at least one
   step darker than the card, so a white icon keeps a soft gray shadow, and at most 0.6
   dark, so a black icon gets a soft gray shadow, not a black one.
   For a dark card later, set --card-l to its lightness, and the edge is a step lighter,
   at least half a step lighter than the card, with half the chroma, and the glow a step
   darker. Half the chroma, because a light icon (Typesense) made an edge lighter than the
   screen can show at full chroma, and the screen showed it at about the icon's color:
   --tile-edge-l: max(l + var(--tile-step), var(--card-l) + var(--tile-step) / 2);
   --tile-edge-c: calc(c / 2);
   --tile-glow-l: calc(l - var(--tile-step));
   The glow grows with the tile: --tile-glow. */
.tile, .alogo, .hi {
  --card-l: 1; --tile-step: .12;
  --tile-edge-l: min(l - var(--tile-step), var(--card-l) - var(--tile-step) / 2);
  --tile-edge-c: c;
  --tile-glow-l: clamp(.6, l, var(--card-l) - var(--tile-step));
  --tile-glow: 0 1.5px 5px;
}
.tile, .hi { position: relative; box-shadow: var(--tile-glow) oklch(from var(--bg) var(--tile-glow-l) c h); }
/* on top of the logo, so the logo can't cover the edge */
.tile::after, .hi::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px oklch(from var(--bg) var(--tile-edge-l) var(--tile-edge-c) h); pointer-events: none; }
.tile.lg { --tile-glow: 0 2px 7px; }
.menu .mi .tile, .vchip .tile, .fs .tile { --tile-glow: 0 1px 3.5px; }
.tile.tan { --bg: var(--tan); }
.tile.p-build { --bg: var(--build-bg); }
/* The add bar: its logos roll through a round window that cuts off anything outside
   it, so the window has the glow, in the color of the logo it shows (demo.js sets
   --bg), and the logos keep only their edge. */
.aslot .tile { box-shadow: none; }
.alogo { box-shadow: var(--tile-glow) oklch(from var(--bg) var(--tile-glow-l) c h); transition: box-shadow .42s var(--ease); }
.txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.l1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nm { font-weight: 645; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1 1 auto; min-width: 0; }
/* Replicas, not at launch: "×3" after a card's name.
.reps { font: 569 11px var(--sans); font-variant-numeric: tabular-nums; color: var(--muted); flex: none; } */
.st { display: inline-flex; align-items: center; gap: 5px; font: 569 11px var(--sans); font-variant-numeric: tabular-nums; color: var(--build); flex: none; }
/* The card's second line, with the status ring before its words (canvas.js): what it
   is doing, else what is wrong, else where it lives. New words roll in from below as
   the old ones roll up and out, so the line never jumps. */
.sub { display: block; height: 15px; font: 500 11px/15px var(--sans); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub.mono { font: 11px/15px var(--mono); } /* a hash */
.sub.warn { color: var(--warn-ink); }
.sub.bad { color: var(--fail); }
.sub.quiet { color: var(--faint); }
.txt { position: relative; }
.l2 { position: relative; height: 15px; overflow: hidden; }
.l2 .sub { display: flex; padding-left: 14.5px; transition: opacity .26s var(--ease), transform .26s var(--ease); }
.sub .lm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* how long the running commit has been live: it stays whole, the message gives way */
.sub .age { flex: none; color: var(--faint); font-variant-numeric: tabular-nums; }
.sub .age::before { content: "·"; margin: 0 4px; }
.l2 .sub.in { opacity: 0; transform: translateY(10px); transition: none; }
.l2 .sub.out { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(-10px); }
.txt > .rg { position: absolute; left: 0; bottom: 2.75px; }
/* a small spinner for buttons and tool calls, drawn like the ring: an arc on a track */
.spin { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: var(--lw) solid color-mix(in srgb, var(--build) 40%, #fff); border-top-color: var(--build); animation: spin var(--spin) linear infinite; flex: none; }

/* the status ring (ring.js). The fill stops at the line's inner edge and the track is
   one solid color, so the track never shows two shades. */
.rg { position: relative; display: inline-block; width: 9.5px; height: 9.5px; flex: none; vertical-align: middle; }
.rg > i { position: absolute; inset: 0; display: block; }
.rg svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rg[data-st="live"] { --c: var(--live); --fa: 20%; --ta: 100%; }
.rg[data-st="warn"] { --c: var(--warn); --fa: 26%; --ta: 100%; }
.rg[data-st="down"] { --c: var(--down); --fa: 20%; --ta: 100%; }
.rg[data-st="off"] { --c: var(--off); --fa: 0%; --ta: 100%; }
.rg[data-st="busy"] { --c: var(--build); --fa: 12%; --ta: 40%; }
.rg[data-st="queue"] { --c: var(--off); --fa: 0%; --ta: 40%; }
.rg-f { fill: color-mix(in srgb, var(--c) var(--fa), transparent); transition: fill .35s var(--ease); }
.rg-k { fill: none; stroke-width: var(--lw); stroke: color-mix(in srgb, var(--c) var(--ta), #fff); transition: stroke .35s var(--ease); }
.rg-a { fill: none; stroke: var(--c); stroke-width: var(--lw); stroke-linecap: round; stroke-dasharray: 100 0; transition: stroke .35s var(--ease), stroke-dasharray .34s var(--ease); }
/* the work is done: the arc grows around into the full ring on an even curve while the turn
   slows, and the track and fill turn green only as it closes, so the arc stays in view */
.rg[data-st="live"] .rg-a { transition: stroke .3s var(--ease), stroke-dasharray .42s cubic-bezier(.45, .05, .35, 1); }
.rg[data-st="live"] .rg-k, .rg[data-st="live"] .rg-f { transition-delay: .2s; }
.rg[data-st="busy"] .rg-a, .rg[data-st="queue"] .rg-a { stroke-dasharray: 30 70; }
.rg-h { border-radius: 50%; box-shadow: inset 0 0 0 var(--lw) var(--c); opacity: 0; pointer-events: none; }
.rg.pulse .rg-h { animation: rgring .75s var(--ease); }
.rg.pop > .rg-t { animation: rgpop .45s var(--pop); }
.rg-g { position: absolute; inset: 0; }
.rg-g path { fill: none; stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 1; opacity: 0; transition: opacity .1s, stroke-dashoffset .24s var(--ease); }
/* the check (or cross) draws in from its start once the ring has closed */
.rg[data-st="live"] .rg-ok, .rg[data-st="down"] .rg-x { opacity: 1; stroke-dashoffset: 0; transition-delay: .3s; }
@keyframes rgring { from { opacity: .55; transform: scale(1); } to { opacity: 0; transform: scale(2.2); } }
@keyframes rgpop { 40% { scale: 1.25; } }
/* a ring and its word: "Live", "On" */
.rgw { display: inline-flex; align-items: center; gap: 6px; font: 610 12.5px var(--sans); color: var(--ink-2); white-space: nowrap; flex: none; }
/* Replicas, not at launch: the copies stacked under a card, and a rolling deploy that lights
   up the card and each copy in turn (@keyframes roll, at the end of this file).
.ghost { position: absolute; left: 0; top: 0; border: var(--lw) solid var(--edge); background: #F4F5F7; border-radius: 12px; box-shadow: 0 6px 14px rgba(14,16,20,.05); }
.node.roll, .ghost.roll { animation: roll .5s var(--ease); } */
.ball { position: absolute; left: 0; top: 0; border-radius: 50%; background: var(--paper); color: #8A8E96; border: var(--lw) solid var(--edge); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 2px rgba(14,16,20,.05), 0 6px 14px rgba(14,16,20,.06); transform-origin: 50% 50%; }
.btag { font: 569 11px var(--sans); color: var(--tan-ink); background: var(--tan); border-radius: 5px; padding: 1px 6px; white-space: nowrap; }
.tlayer .btag { position: absolute; left: 0; top: 0; }
/* the canvas has one gray for lines, ports, cards, replicas, and the globe; the
   dots are a step lighter. A hovered card has a darker gray border; its lines
   stay. A selected card, its lines, and the globe its line goes into are one
   darker gray (--hot). */
.cv { --edge: #BABEC6; --edge-inet: #BABEC6; --dot: #DDDFE4; --edge-hover: #8F95A1; } /* the same grays as .demo */
.e { fill: none; stroke: var(--edge); stroke-width: var(--lw); }
.e.data { stroke-dasharray: 5 5; }
.e.inet { stroke: var(--edge-inet); }
.e.hot { stroke: var(--hot); }
.port { fill: var(--paper); stroke: var(--edge); stroke-width: var(--lw); }
.port.hot { stroke: var(--hot); }
.ball.hot { border-color: var(--hot); }

.ov { position: absolute; z-index: 3; }
.dudc { left: 14px; bottom: 10px; display: flex; align-items: flex-end; gap: 6px; pointer-events: none; transition: transform .38s var(--ease); }
/* While the story plays, Dud sits at the bottom center, near what happens: in the middle of the canvas, or of
   what the panel leaves free. On your turn (.yours) he goes back to the corner. demo.js sets the distances. */
.demo:not(.yours) .dudc { transform: translateX(var(--dudx, 0px)); }
.demo.popen:not(.yours) .dudc { transform: translateX(var(--dudxp, 0px)); }
.bubble { background: var(--paper); border: var(--lw) solid var(--edge); border-radius: 12px 12px 12px 4px; padding: 7px 12px; font-size: 14px; color: var(--ink-2); margin-bottom: 34px; max-width: 300px; box-shadow: 0 4px 14px rgba(14,16,20,.06); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.bubble:empty { visibility: hidden; }
.bubble.new { animation: bub .3s var(--ease); }
.bubble.gone { opacity: 0; transform: translateY(6px); }
.addw { position: relative; }
.cursor { position: absolute; left: 0; top: 0; z-index: 8; pointer-events: none; opacity: 0; transition: transform .7s var(--ease), opacity .2s; }
.cursor.on { opacity: 1; }
.cursor::after { content: ""; position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; }
.cursor.tap::after { animation: tap .45s var(--ease); }
.demo-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin: 12px 4px 0; font: 13px var(--mono); color: var(--muted); }

/* the panel inside the demo */
.panel { position: absolute; z-index: 5; top: 10px; right: 10px; bottom: 10px; width: var(--pw); background: var(--paper); border: var(--lw) solid var(--edge); border-radius: 14px; box-shadow: 0 2px 6px rgba(14,16,20,.05), 0 24px 60px rgba(14,16,20,.13); transform: translateX(calc(100% + 80px)); transition: transform .38s var(--ease); }
.panel.open { transform: none; }
.pin { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 14px; }
/* a new tab or another service: the page under the tabs fades in */
.pbody.swap { animation: fadein .1s ease-out; }
.phead { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 16px 10px; }
.tile.lg { width: 40px; height: 40px; border-radius: 11px; font-size: 12px; }
.ptitle { min-width: 0; overflow: hidden; }
.ptitle h3 { white-space: nowrap; }
.ptitle h3 { margin: 0; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.psub { display: flex; align-items: center; gap: 8px; margin-top: 0; min-width: 0; font-size: 12px; }
.psub > :first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.plink { color: var(--ink-2); }
/* the address in the panel's head: a link to the site, in a new tab */
.plink.ext { display: inline-flex; align-items: baseline; gap: 5px; min-width: 0; border: 0; background: none; padding: 0; font: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; cursor: pointer; }
.plink.ext:hover { color: var(--ink); text-decoration-color: currentColor; }
.plink.ext svg { flex: none; color: var(--muted); }
/* A link that opens a new tab ends in an arrow, and the arrow marks it: its underline shows only
   on hover. A line under text at rest means the tab you are on.
   The arrow: as tall as a lowercase x, its bottom on the baseline
   (a flex item with no baseline of its own lines up by its bottom edge) */
.xa { display: block; flex: none; width: .5em; height: .5em; }
.pact { display: flex; gap: 6px; }
/* the demo's push, in place of a real one: a command, so it is in mono */
.gpush { font-family: var(--mono); font-size: 12.5px; }
/* Tabs: text, and for the selected one a line under it that lies on the divider (.tline).
   Hover: ink text. Selected: semibold and an ink line. ::after holds the width of the
   semibold text, so a new selection moves no text. */
.ptabs { position: relative; display: flex; gap: 2px; padding: 0 7px; border-bottom: var(--lw) solid var(--rule); }
.ptabs button { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; height: 40px; padding: 0 9px; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13.5px; }
.ptabs button::after { content: attr(data-t); height: 0; overflow: hidden; visibility: hidden; font-weight: 610; }
.ptabs button:hover { color: var(--ink); }
.ptabs button[aria-selected="true"] { color: var(--ink); font-weight: 610; }
/* the scrollbar shows on every tab, so it never comes and goes as you change tabs */
.pbody { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: scroll; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
/* Buttons in the panel: a line and a small contact shadow. A button that stands next to
   a card or in one (.quiet) has no line: it is gray text that goes ink on hover. */
.panel .btn, .ppage .btn { border: var(--lw) solid var(--edge); box-shadow: 0 1px 2px rgba(14,16,20,.06); }
.panel .btn:hover, .ppage .btn:hover { border-color: var(--edge-hover); }
.panel .btn.ink, .ppage .btn.ink { border-color: var(--ink); }
.panel .btn.ink:hover, .ppage .btn.ink:hover { border-color: #2A2E36; }
.panel .btn.ink[disabled] { background: var(--edge); border-color: var(--edge); box-shadow: none; }
.panel .btn.sm { gap: 6px; }
.panel .btn.quiet { background: none; border-color: transparent; box-shadow: none; padding: 0 8px; color: var(--muted); }
.panel .btn.quiet:hover { border-color: transparent; color: var(--ink); }
.panel .btn.quiet.icon { padding: 0; color: var(--muted); }
.panel .btn.danger, .ppage .btn.danger { border-color: #EDC5C0; }
.panel .btn.danger:hover, .ppage .btn.danger:hover { border-color: var(--fail); }
.panel .btn.quiet.danger { border-color: transparent; }
.panel .btn.quiet.danger:hover { border-color: transparent; color: var(--fail); }
.pill { font: 681 10.5px var(--sans); letter-spacing: .06em; border-radius: 6px; padding: 2px 7px; white-space: nowrap; flex: none; }
.p-live { color: var(--live-ink); background: var(--live-bg); }
.p-build { color: var(--build); background: var(--build-bg); }
.p-fail { color: var(--fail); background: var(--fail-bg); }
.p-old { color: #4B4F58; background: var(--line-2); }
/* Cards in the panel: the canvas card's line and no shadow, because the panel floats
   and they don't. Nothing in a card has a border of its own, and none comes on hover:
   hover is the text color. A list (.box, .vars) is one card with a divider between
   its rows. */
.dcard, .mc, .box, .vars { border: var(--lw) solid var(--edge); border-radius: 12px; }
.dcard { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.box { display: flex; flex-direction: column; }
.box > * { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-top: var(--lw) solid var(--rule); font-size: 13px; }
.box > :first-child { border-top: 0; }
.box .btn.quiet, .vtop .btn.quiet:last-child { margin-right: -8px; }
.dhead { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dmsg { flex: 1 1 auto; min-width: 0; font-weight: 610; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.box .dmsg { font-weight: 431; }
.dhead .mono { font-size: 12px; }
/* the facts of the live deploy: its hash, branch, age, and build time */
.dmeta { display: flex; flex-wrap: wrap; gap: 0 6px; margin-top: -6px; font-size: 12.5px; color: var(--muted); }
.dmeta > * + *::before { content: "·"; margin-right: 6px; }
.dage { flex: none; font-size: 12.5px; color: var(--faint); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step { position: relative; display: grid; grid-template-columns: 24px auto 1fr; align-items: center; min-height: 28px; font-size: 13.5px; }
/* the title keeps the width of its bold form (the hidden copy), so the time after it never moves */
.step > span:nth-child(2) { display: inline-flex; flex-direction: column; transition: color .3s var(--ease); }
.step > span:nth-child(2)::after { content: attr(data-t); height: 0; overflow: hidden; visibility: hidden; font-weight: 610; }
.step.pending > span:nth-child(2) { color: var(--faint); }
/* The line to the next step runs from this ring's bottom to the next ring's top, as thin as the
   rings' line. It is green once the step after it has started (data-rail, set by demo.js when the
   track's stroke has run down it). */
.step:not(:last-child)::before { content: ""; position: absolute; left: calc(8px - var(--lw) / 2); top: calc(50% + 7.25px); height: 13.5px; width: var(--lw); background: var(--edge); }
.step[data-rail="1"]:not(:last-child)::before { background: var(--live); }
/* it fades to green once the stroke has run down it and is all in the next ring (steps.js) */
.steps .step:not(:last-child)::before { transition: background-color .35s ease-out; }
/* The rings of the steps change at once: the track (.strk, demo.js) draws every motion. A running
   step's ring is a pale cyan, under the track's arc; a done step's check draws in. */
.steps .rg-f, .steps .rg-k, .steps .rg-a { transition: none; }
.steps .step.running .rg[data-st] { --c: var(--build); --fa: 10%; --ta: 35%; }
.steps .step.running .rg-a { opacity: 0; } /* not a 0-long dash: with round ends, that draws a dot */
.steps .rg[data-st="live"] .rg-ok, .steps .rg[data-st="down"] .rg-x { transition-delay: 0s; }
/* the rings are 16 px; their check stays 14 px, in the middle (an svg is 100% wide, so a size, not an inset) */
.steps .rg-g { inset: 0; width: 14px; height: 14px; margin: auto; }
/* A done step's ring fades in green, slow at first, from the moment the step is done, under a
   copy of its running look that fades out fast (steps.js: the ghost and the stroke left on it,
   OUT ms), so there is no pause and the two colors barely meet. */
.steps .step.fade-in .rg-t, .steps .step.fade-in .rg-g { animation: stepin .45s ease-in-out both; }
@keyframes stepin { from { opacity: 0; } }
.strk-g { display: none; fill: color-mix(in srgb, var(--build) 10%, transparent); stroke: color-mix(in srgb, var(--build) 35%, #fff); stroke-width: var(--lw); }
.strk { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.strk path { fill: none; stroke-width: var(--lw); }
.strk-a { stroke: var(--build); stroke-linecap: round; stroke-linejoin: round; }
.step.running > span:nth-child(2) { font-weight: 610; }
.step .tm { margin-left: 8px; font-size: 12px; color: var(--faint); }
.si { display: inline-flex; align-items: center; }
.step.canceled > span:nth-child(2) { color: var(--faint); }
/* Under the steps, the deploy's newest log line (demo.js rolls the rows; the last line stays).
   It is set as a line of the Log view (.dep-log) and sits where the Log view's last line sits,
   at the bottom of the 140 px, so a switch between Steps and Log leaves it in place. Both have
   whole-pixel lines (18 px), so the Log view's end has no half-pixel gap under its last line. */
.dep-steps { position: relative; }
.dep-tail { position: absolute; left: 0; right: 0; bottom: 0; }
.btick { position: relative; display: block; height: 28px; overflow: hidden; mask-image: linear-gradient(transparent, #000 10px); }
.btl { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; font-size: 11.5px; line-height: 18px; color: var(--ink-2); white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.btl i { display: inline-block; min-width: 2ch; margin-right: 10px; font-style: normal; text-align: right; color: var(--faint); }
.btl.err { color: var(--fail); }
/* The Deploys tab: two kinds of card. The newest deploy is on top, with a picture of the app;
   every deploy before it is a row. Each opens a drawer with Steps and Log. demo.js animates
   every height that changes while you look. */
.deps > .dep { position: relative; margin-bottom: 8px; border: var(--lw) solid var(--edge); border-radius: 12px; background: var(--paper); }
.dep-clip { overflow: hidden; }
.dep:not(.big) .dep-tb, .dep.big .dep-row { display: none; }
.dep-chv { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: -4px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.dep-chv svg { transition: transform .32s var(--ease); }
.dep.open .dep-chv svg { transform: rotate(180deg); }
.dep-tb { display: flex; align-items: center; gap: 14px; padding: 14px 10px 14px 14px; cursor: pointer; }
.dep-tb:hover .dep-ttl, .dep-tb:hover .dep-chv, .dep-row:hover .dep-cm, .dep-row:hover .dep-chv { color: var(--ink); }
.dep-txt { flex: 1 1 auto; min-width: 0; }
.dep-ttl { font-size: 16px; font-weight: 610; letter-spacing: -.01em; line-height: 1.3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* one line under the commit: the ring with when it started (short, as on the rows), the hash,
   and the branch. The time's width moves when it changes (demo.js), so it clips. */
.dep-st { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 14px; margin-top: 6px; font-size: 12.5px; color: var(--faint); }
.dep-when { flex: none; display: inline-block; overflow: hidden; white-space: nowrap; }
/* three parts, 14 px apart, each a mark and its text 5 px apart: the ring and the time, the
   commit mark and the hash, the branch mark and the branch. The hash and branch end in the link
   arrow, 5 px after. */
.dep-st > .rg { display: none; }
.dep-st.bad > .rg { display: inline-block; }
.dep-st.bad > .rg + .dep-when { margin-left: -9px; }
.dep-row .btag { flex: none; }
/* the commit and its tag: the tag after the commit, on the baseline of its first line */
.dep-hd { display: flex; align-items: baseline; gap: 8px; }
.dep-hd .dep-ttl { min-width: 0; }
.dep-hd .btag { flex: none; }
/* the picture: the app's first page, or its logo on a light tint of its color */
.dep-pv { position: relative; display: block; flex: none; width: 96px; height: 60px; }
.dep-pic { position: absolute; inset: 0; display: block; border-radius: 8px; overflow: hidden; background: var(--paper); }
.dep-pic > svg { display: block; width: 100%; height: 100%; }
.dep-pic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 var(--lw) var(--rule); pointer-events: none; }
/* The pictures with no page: the canvas gray with a very faint tint of the app's color (3%), no dots. An app with no web page: its file
   ending (.go, .ts, .py) in its color, in a white badge with a light line of its color, in the
   middle. Its padding puts the middle of the lowercase letters (not of the line, which has room
   for capitals) in the middle of the badge, and moves the text a little left: the leading dot is
   light, so the letters after it carry the eye. */
.dep-pic.code, .dep-pic.wait { background: color-mix(in srgb, var(--bg) 3%, var(--canvas)); }
.dep-pic.code { display: flex; align-items: center; justify-content: center; }
.dep-pic.code b { display: block; padding: 4.5px 10px 7.5px; border: var(--lw) solid color-mix(in srgb, currentColor 30%, #fff); border-radius: 8px; background: #fff; font: 650 15px/1 var(--mono); letter-spacing: -.02em; }
/* a leading dot: the text moves 2.8 px left, halfway from centering the ink of ".go" to
   centering the ink of "go" (measured at 15 px Geist Mono 650) */
.dep-pic.code b.dot { padding-left: 7.2px; padding-right: 12.8px; }
/* While a deploy runs: the same tint with no dots, breathing very faintly, from 3% to 6% of the
   app's color and back (1.6 s a breath, from the faintest), so it is there if you look and never
   strong. With reduced motion it holds still. */
.dep-pic.wait::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 6%, var(--canvas)); opacity: 0; animation: picbreath 1.6s ease-in-out infinite; }
@keyframes picbreath { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.dep-row { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px 0 14px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.dep-cm { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dep-sp { flex: 1 1 0; }
.dep-end { flex: none; font-size: 12.5px; color: var(--faint); }
/* the drawer: Steps and Log, the hash and branch, and the deploy's one action */
.dep-drw { overflow: hidden; }
.dep-pad { padding: 0 14px 12px; }
.dep-bar { display: flex; align-items: center; gap: 14px; min-height: 34px; margin-bottom: 4px; }
.dep-tabs { position: relative; display: inline-flex; gap: 14px; }
.dep-tab { position: relative; display: inline-flex; flex-direction: column; align-items: center; padding: 0; border: 0; background: none; font: 431 12.5px var(--sans); color: var(--muted); cursor: pointer; }
/* under the selected one, the panel tabs' line (.tline, placed by demo.js), 6 px below the text */
.dep-tabs > .tline { bottom: -6px; }
.dep-tab::after { content: attr(data-t); height: 0; overflow: hidden; visibility: hidden; font-weight: 610; }
.dep-tab:hover { color: var(--ink); }
.dep-tab[aria-selected="true"] { color: var(--ink); font-weight: 610; }
.dep-facts { margin-left: auto; display: flex; align-items: center; font-size: 12px; line-height: 1; color: var(--faint); white-space: nowrap; }
/* the top card has the hash and branch in its line, so its drawer bar has only the tabs and the action */
.dep.big .dep-facts { display: none; }
.dep.big .dep-act { margin-left: auto; }
/* the hash and the branch, as links to GitHub */
.dep-git { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
/* the hash of a commit from GitHub: the commit mark, then the hash underlined as a link; the branch: its mark, then its name underlined.
   The text and the arrow line up on their baseline; the mark is centered on the line. */
.dep-sha, .dep-br { display: flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.dep-sha svg, .dep-br svg { display: block; flex: none; }
.dep-sha > .mono, .dep-br > span, .dep-sha > .xa, .dep-br > .xa { align-self: baseline; }
.dep-sha .mono, .dep-br span { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.dep-sha:hover, .dep-br:hover { color: var(--ink); }
.dep-sha:hover .mono, .dep-br:hover span { text-decoration-color: currentColor; }
span.dep-br { cursor: default; }
.dep-act:empty { display: none; }
.dep-act .btn.quiet { margin-right: -8px; }
.panel .btn.quiet[disabled] { color: var(--line-3); cursor: default; }
/* Steps and Log are one height (four steps and the log line, 28 px each), so a switch between them moves nothing */
.dep-steps, .dep-log { height: 140px; }
.dep-steps .step { min-height: 28px; font-size: 13px; }
/* the deploy's log: light and numbered, as the line under the steps. It keeps its spaces, so a
   build's tables line up. An error is red. */
.dep-log { overflow: auto; overflow-anchor: none; font-size: 11.5px; line-height: 18px; color: var(--ink-2); }
/* its scrollbar has the shape of the runtime log's (a 4 px pill, no track), in the gray of the macOS scrollbar (#C1C1C1) */
.dep-log::-webkit-scrollbar { width: 10px; height: 10px; }
.dep-log::-webkit-scrollbar-track, .dep-log::-webkit-scrollbar-corner { background: none; }
.dep-log::-webkit-scrollbar-thumb { background: #C1C1C1 padding-box; border: 3px solid transparent; border-radius: 5px; }
@supports not selector(::-webkit-scrollbar) { .dep-log { scrollbar-width: thin; scrollbar-color: #C1C1C1 transparent; } }
.dep-log > div { display: flex; gap: 10px; white-space: nowrap; }
.dep-log i { flex: none; min-width: 2ch; text-align: right; font-style: normal; color: var(--faint); }
.dep-log span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: pre; }
.dep-log .err { color: var(--fail); }
.dep-log .err span { white-space: pre-wrap; overflow-wrap: anywhere; }
.dep-log .new { overflow: hidden; animation: depline .24s var(--ease); }
@keyframes depline { from { max-height: 0; opacity: 0; } to { max-height: 40px; opacity: 1; } }
.dhead .btn.quiet { margin: -6px -8px -6px 0; }
.logs .err { color: #FF9A90; }
.link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--edge-hover); text-underline-offset: 3px; cursor: pointer; font-size: 13px; }
.link:hover { text-decoration-color: currentColor; }
.empty { text-align: center; padding: 36px 12px; }
.logs { flex: 1 1 auto; min-height: 200px; overflow: auto; background: var(--ink); color: #D6D9DE; border-radius: 12px; padding: 10px 12px; font-size: 12px; line-height: 1.7; }
.logs .lt { color: #7D828C; margin-right: 10px; }
/* variables */
.vars { list-style: none; margin: 0; padding: 0; }
.vars li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 28px; gap: 10px; align-items: center; min-height: 44px; padding: 0 8px 0 14px; border-bottom: var(--lw) solid var(--rule); font-size: 12.5px; }
.vars li:last-child { border-bottom: 0; }
/* the row you edit: its fields, and under them the Secret switch */
.vars li.editing { row-gap: 0; padding: 6px 14px; }
.vars li.editing .vin { grid-column: 2 / -1; width: 100%; }
.vkin { text-transform: uppercase; }
.vkin::placeholder { text-transform: none; }
.vars li.del .vk, .vars li.del .vv > .mono { color: var(--faint); text-decoration: line-through; }
.vopt { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; min-height: 34px; color: var(--muted); }
.vopt .btn { margin-left: auto; margin-right: -8px; }
.vk { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.box .vk { flex: 1 1 auto; min-width: 0; font-size: 12.5px; }
.vv { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 32px; color: var(--ink-2); }
.vv[data-act] { cursor: pointer; }
.vv > .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv .btag { flex: none; }
/* a secret: a lock and the word. No dots: dots look like something you can show. */
.vchip { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: var(--ink); }
.vchip .tile { width: 20px; height: 20px; border-radius: 5px; font-size: 8.5px; }
.vtop { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; font-size: 13px; }
.vbtns { display: flex; gap: 2px; }
.ibtn { width: 28px; height: 28px; flex: none; border: 0; border-radius: 7px; padding: 0; background: none; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ibtn:hover { background: var(--line-2); color: var(--ink); }
.panel .ibtn:hover, .ppage .ibtn:hover { background: none; }
/* A field in a card has no box and no line: the card is the box. Its text is a step
   lighter at rest, and ink on hover and while you type. */
.vin, .vkin { width: 100%; min-width: 0; height: 32px; border: 0; border-radius: 0; padding: 0; font-size: 12.5px; background: none; color: var(--ink-2); }
.vin:hover, .vkin:hover, .vin:focus, .vkin:focus { outline: 0; color: var(--ink); }
.vin::placeholder, .vkin::placeholder, .vfile::placeholder, .lsearch input::placeholder { color: var(--faint); opacity: 1; }
/* the variables as a file: it stands alone, so it has its own line */
.vfile { display: block; width: 100%; flex: none; resize: none; border: var(--lw) solid var(--edge); border-radius: 12px; padding: 11px 14px; background: var(--paper); color: var(--ink); font: 12.5px/1.8 var(--mono); white-space: pre; overflow: auto; }
.vfile:hover { border-color: var(--edge-hover); }
.vfile:focus { outline: 0; border-color: var(--ink); }
.pnote { margin: 0; color: var(--muted); font-size: 13.5px; }
.pnote.small { font-size: 12.5px; line-height: 1.45; }
/* settings: a group is one card, and each row is a label with its control right after it,
   so the eye does not cross the panel */
.sgrp { margin: 6px 0 -4px; font-size: 12.5px; font-weight: 645; color: var(--muted); }
.sgrp:first-child { margin-top: 0; }
.box > .srow { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; font-size: 13.5px; }
.srow > :first-child { color: var(--ink-2); }
.srow > .switch, .srow > .stepper, .srow > .sv { justify-self: start; }
/* A row with a field ends in its pencil, as a variable's row does. The pencil is ink while
   you type in the field. */
.box > .srow:has(> .unl) { grid-template-columns: 108px minmax(0, 1fr) 28px; padding-right: 8px; }
.srow:focus-within > .unl { color: var(--ink); }
.sv { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; color: var(--ink-2); font-size: 12.5px; }
.sv > .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv > svg { flex: none; color: var(--muted); }
.cost { font: 610 12px var(--sans); color: var(--live-ink); background: var(--live-bg); border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
/* The save bar: a change in Settings or Variables waits here until you save it. */
.applybar { position: sticky; bottom: -14px; margin: auto -16px -14px; padding: 10px 16px; background: var(--paper); border-top: var(--lw) solid var(--rule); display: flex; align-items: center; gap: 8px; font-size: 13px; }
.applybar span { flex: 1 1 auto; color: var(--ink-2); }
/* The setting a toast points at: a faint warm fill, no line, fades in behind the whole row
   (divider to divider, card edge to card edge) once the panel has scrolled to it, and fades
   out on its own (demo.js goSetting). At the card's top and bottom it follows the card's corners. */
.srow { position: relative; isolation: isolate; }
.srow::before { content: ""; position: absolute; z-index: -1; inset: 0; background: #FDF6EA; opacity: 0; transition: opacity 1.4s var(--ease); }
.box > .srow:first-child::before { border-radius: calc(12px - var(--lw)) calc(12px - var(--lw)) 0 0; }
.box > .srow:last-child::before { border-bottom-left-radius: calc(12px - var(--lw)); border-bottom-right-radius: calc(12px - var(--lw)); }
.srow.hl::before { opacity: 1; transition: opacity .3s var(--ease); }
/* The toast: one line at the bottom of the panel, only as wide as its words. It
   covers the panel, so nothing moves when it comes or goes. */
.ptoast { position: absolute; z-index: 6; left: 50%; bottom: 14px; display: flex; align-items: center; max-width: calc(100% - 24px); background: var(--paper); border: var(--lw) solid var(--edge); border-radius: 11px; box-shadow: 0 1px 2px rgba(14,16,20,.06), 0 10px 26px rgba(14,16,20,.12); transform: translate(-50%, calc(100% + 30px)); transition: transform .42s var(--ease); white-space: nowrap; }
.ptoast.on { transform: translate(-50%, 0); transition-delay: .3s; }
.ptoast .tgo { display: flex; align-items: center; gap: 8px; min-width: 0; height: 36px; padding: 0 10px 0 12px; border: 0; background: none; border-radius: 10px 0 0 10px; font: 431 13px var(--sans); color: var(--ink-2); cursor: pointer; }
.ptoast .tgo:hover, .ptoast .tgo:hover svg { color: var(--ink); }
.ptoast .tw { font-weight: 610; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.ptoast .tsep { width: var(--lw); height: 14px; background: var(--edge); flex: none; }
.ptoast .tgo svg { color: var(--muted); flex: none; }
.panel.toasted .pbody { padding-bottom: 64px; } /* room to scroll the end out from under the toast */
.mch b.warn { color: var(--warn-ink); }
.ptoast .tx { display: flex; align-items: center; justify-content: center; width: 32px; height: 36px; border: 0; border-left: var(--lw) solid var(--rule); background: none; color: var(--muted); border-radius: 0 10px 10px 0; cursor: pointer; flex: none; }
.ptoast .tx:hover { color: var(--ink); }
/* A field that stands alone has its own line: 38 px high, and its icon has the gray
   of its placeholder. */
.lsearch { flex: none; display: flex; align-items: center; gap: 8px; height: 38px; border: var(--lw) solid var(--edge); border-radius: 12px; padding: 0 11px; color: var(--faint); }
.lsearch:hover { border-color: var(--edge-hover); }
.lsearch:focus-within { border-color: var(--ink); }
.lsearch svg { flex: none; }
.lsearch input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 13.5px; color: var(--ink); }
.logs mark { background: var(--dud); color: var(--ink); border-radius: 2px; }
/* The Logs tab's top: the time button at the left, then the search. The button says what the
   log shows: Live with its ring, or the time you picked with a clock. Its menu opens under it. */
.ltools { position: relative; flex: none; display: flex; gap: 8px; }
.ltools .lsearch { flex: 1 1 auto; min-width: 0; }
.panel .ltime { flex: none; width: 106px; min-height: 38px; height: 38px; justify-content: flex-start; gap: 8px; padding: 0 10px 0 12px; border-radius: 12px; font-size: 13.5px; color: var(--ink); }
.ltime .ltl { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.ltime .rg { margin: 0 2.25px; } /* as wide as the clock, so the words start at one place */
.ltime > svg:last-child { flex: none; color: var(--muted); }
.lmenu { min-width: 232px; font-size: 13.5px; }
.lmenu hr { border: 0; border-top: var(--lw) solid var(--rule); margin: 4px 6px; }
/* the log */
.lwrap { position: relative; flex: 1 1 auto; min-height: 200px; display: flex; }
.lwrap .logs { flex: 1 1 auto; min-height: 0; overflow-anchor: none; }
/* .lmove glides up into place (demo.js lframe); .lin cuts off what is still under the log's
   bottom edge, so the gliding rows never make the log taller or move its scrollbar. The log's
   bottom padding is in .lin, so a new line shows from that edge, not from a black strip under it. */
.logs.llog { padding-bottom: 0; }
/* content-box: the height demo.js lset gives it is the rows' part, without the padding */
.llog .lin { box-sizing: content-box; overflow: hidden; overflow: clip; padding-bottom: 10px; }
/* a new line fades in fast, only while it comes up from the edge */
.lfade { animation: lfade .12s ease-out both; }
@keyframes lfade { from { opacity: 0; } }
.lday { display: flex; align-items: center; gap: 10px; margin: 4px 0; color: #7D828C; font: 610 11.5px/1.7 var(--sans); }
.lday::before, .lday::after { content: ""; flex: 1; border-top: var(--lw) solid #2A2E36; }
/* The log's scrollbar: a thin line in the log's text color and no track, as on a Mac.
   Firefox has no ::-webkit-scrollbar, so it gets its own thin bar in the same colors. */
.logs::-webkit-scrollbar { width: 10px; height: 10px; }
.logs::-webkit-scrollbar-track, .logs::-webkit-scrollbar-corner { background: none; }
.logs::-webkit-scrollbar-track { margin: 6px 0; }
.logs::-webkit-scrollbar-thumb { background: #D6D9DE padding-box; border: 3px solid transparent; border-radius: 5px; }
@supports not selector(::-webkit-scrollbar) { .logs { scrollbar-width: thin; scrollbar-color: #D6D9DE transparent; } }
/* HTTP methods in a log: one color each, so requests are quick to scan. These colors
   are only for the dark log; everywhere else color means status. */
.hm.get { color: #7CB7FF; }
.hm.post { color: #6FD39A; }
.hm.put { color: #F2C46D; }
.hm.patch { color: #C79BFF; }
.hm.delete { color: #FF8F87; }
.hm.head, .hm.options { color: #6FD3D3; }
.lnone { color: #7D828C; }
/* a chart card: the chart runs to the card's sides and bottom, in Dud's color. Its area fades
   out toward the bottom, and the limit is a dashed line in the same color from edge to edge. The chart draws
   in from the left when it comes up; demo.js slides the line left on each new sample. */
.mc { flex: none; display: flex; flex-direction: column; padding: 12px 14px 0; overflow: hidden; }
.mch { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; font-weight: 610; }
.mch .num { font-size: 12.5px; font-weight: 431; }
.mch b { font-weight: 610; }
/* MH in demo.js: the limit sits 12 px under the head, as far as the head sits under the card's top */
.mcw { position: relative; height: 76px; margin: 0 -14px; }
.mcw svg { display: block; width: 100%; height: 100%; animation: mcin .6s var(--ease) both; }
@keyframes mcin { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
.mcf0 { stop-color: var(--dud); stop-opacity: .34; }
.mcf1 { stop-color: var(--dud); stop-opacity: 0; }
.mcl { fill: none; stroke: var(--dud); stroke-width: var(--lw); stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mlim { stroke: var(--dud); stroke-width: var(--lw); stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; shape-rendering: crispEdges; }
.sdanger { padding-top: 6px; }
/* The project's settings: a white page over the canvas, under Dud. One column of the
   panel's lists. The save bar is as wide as the page, with its words on the column. */
.ppage { position: absolute; inset: 0; z-index: 2; background: var(--paper); overflow: auto; display: flex; flex-direction: column; font-size: 14px; pointer-events: auto; }
.ppage[hidden] { display: none; }
/* the bar's Settings page fades in over the canvas, and the canvas fades in when you go back */
.ppage.swap, .cv.swap { animation: fadein .1s ease-out; }
.pcol { width: 100%; max-width: 560px; margin: 0 auto; padding: 22px 16px 84px; display: flex; flex-direction: column; gap: 12px; }
/* the region: the flag and its name, with the hero pills' tooltip under it on hover,
   focus or tap */
.rgn { position: relative; justify-self: start; display: inline-flex; }
.rgn > .sv { background: none; border: 0; padding: 0; height: 32px; cursor: default; font-size: 13.5px; }
.rgn > .sv:hover { color: var(--ink); }
.rgn .flag { color: inherit; }
/* each row is its own layer (.srow), so the region's row goes on top of the rows under it */
.srow:has(.rgn) { z-index: 2; }
.box:has(.rgn) { position: relative; z-index: 2; }
.rgn.open .htip, .rgn > .sv:focus-visible + .htip { visibility: visible; }
@media (hover: hover) { .rgn:hover .htip { visibility: visible; } }

/* a switch has no fill: off is a gray line and a gray knob, on is a tan line and a tan
   knob. Ink, then a tan fill, were too heavy for a row of them. 34 x 20, a 12 px knob.
   Flex centers the knob, so its gap stays the same on all sides when the browser
   rounds the line to whole screen pixels. */
/* A switch: on, its knob slides right and turns tan, and a tan edge fades in over the gray one,
   in .15 s. Hover changes the edge at once (only the tan edge's opacity moves, not its color). */
.switch { position: relative; width: 34px; height: 20px; flex: none; display: inline-flex; align-items: center; justify-content: flex-start; border-radius: 99px; border: var(--lw) solid var(--edge); background: var(--paper); cursor: pointer; padding: 0 3px; }
.switch::before { content: ""; position: absolute; inset: calc(-1 * var(--lw)); border: var(--lw) solid var(--dud); border-radius: inherit; opacity: 0; transition: opacity .15s var(--ease); pointer-events: none; }
.switch:hover { border-color: var(--edge-hover); }
.switch i { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--edge-hover); transition: transform .15s var(--ease), background-color .15s var(--ease); }
.switch[aria-checked="true"]::before { opacity: 1; }
.switch[aria-checked="true"]:hover::before { border-color: #C99350; }
.switch[aria-checked="true"] i { transform: translateX(14px); background: var(--dud); }
/* demo.js puts a switch that was just drawn again in its old state with .snap, then moves it */
.switch.snap::before, .switch.snap i { transition: none; }
/* a stepper: the value first, in line with the values around it, then less and more.
   The value has a fixed width, so the buttons stay in their place. */
.stepper { display: inline-flex; align-items: center; gap: 2px; }
.stepper b { min-width: 76px; font-size: 13px; font-weight: 610; color: var(--ink); }
.stepper button { width: 28px; height: 28px; border: 0; border-radius: 7px; padding: 0; background: none; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; }
.stepper button:hover { color: var(--ink); }
.stepper button:disabled { opacity: .35; cursor: default; color: var(--muted); }
/* Insights: the latency chart is a metric chart, 96 px high (LH in demo.js), so the mark's tag
   fits above the line. The mark is the Postgres section's "Index added": a dashed line in Dud's
   color down the chart, under a tan tag whose middle sits 12 px under the head, as the limit
   line does on Metrics. demo.js keeps the tag 6 px inside the chart's sides. */
.mc.lat .mcw { height: 96px; }
.lmark { position: absolute; top: 24px; bottom: 0; width: 0; border-left: var(--lw) dashed var(--dud); animation: fadein .45s var(--ease) both; }
.lmark span { position: absolute; bottom: 100%; left: 0; margin-bottom: 4px; transform: translateX(-50%); font: 610 11px/16px var(--sans); color: var(--tan-ink); background: var(--tan); border-radius: 4px; padding: 0 6px; white-space: nowrap; }
/* a slow query: the SQL, with its time in amber at the right, then the index that fixes it,
   in a tan tag, as a hint. Its button is quiet, as it is in a card. */
.qhead { display: flex; align-items: baseline; gap: 12px; }
/* the SQL keeps its own line breaks, as people write it: a clause on each line */
.qsql { flex: 1 1 auto; min-width: 0; font: 12.5px/1.5 var(--mono); color: var(--ink); white-space: pre-line; }
.qhead b { flex: none; font-size: 13px; font-weight: 610; color: var(--warn-ink); }
.qfix { display: flex; align-items: center; gap: 8px; min-height: 32px; margin-bottom: -4px; }
.qfix code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 12.5px var(--mono); color: var(--ink-2); }
.qfix .btn, .qfix .rgw { margin-left: auto; }
.qfix .btn { margin-right: -8px; }
.qwrap .empty { padding: 24px 12px; animation: fadein .3s var(--ease); }
/* Backups: the point-in-time slider, drawn like the one in the Postgres section. A 12 px pill:
   a tan line and a light tan fill up to the knob, the panel's gray line after it. A dot for each
   off-site copy sits on a rail 6 px in from the pill's ends, and the knob runs on the same rail.
   An unseen range input lies on top and takes the pointer, the keys, and the screen reader. Its
   thumb is 12 px wide, so its middle runs on the rail too. --k is the knob's place (0 to 1). */
.pit { position: relative; height: 24px; --k: 1; }
.pit-ln { position: absolute; left: 0; right: 0; top: 6px; height: 12px; border-radius: 99px; background: var(--paper); box-shadow: inset 0 0 0 var(--lw) var(--edge); color: var(--edge); }
.pit-ln.on { background: color-mix(in srgb, var(--dud) 20%, var(--paper)); box-shadow: inset 0 0 0 var(--lw) var(--dud); color: var(--dud); clip-path: inset(0 calc((100% - 12px) * (1 - var(--k)) + 6px) 0 0); }
.pit-ln i { position: absolute; top: 4px; left: calc(6px + (100% - 12px) * var(--f)); width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
/* The knob is the status ring, larger, with the Float shadow: it lies over the pill. A border
   gets darker on hover, as a switch's does. */
.pit-knob { position: absolute; top: 0; left: calc(6px + (100% - 12px) * var(--k)); width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; pointer-events: none;
  background: color-mix(in srgb, var(--dud) 20%, var(--paper)); box-shadow: inset 0 0 0 var(--lw) var(--dud), 0 1px 2px rgba(14,16,20,.06), 0 8px 20px rgba(14,16,20,.06); }
.pit input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: grab; -webkit-appearance: none; appearance: none; background: none; }
.pit input:active { cursor: grabbing; }
.pit input:disabled { cursor: default; }
.pit input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 24px; }
.pit input::-moz-range-thumb { width: 12px; height: 24px; border: 0; }
.pit:has(input:hover:not(:disabled)) .pit-knob { box-shadow: inset 0 0 0 var(--lw) #C99350, 0 1px 2px rgba(14,16,20,.06), 0 8px 20px rgba(14,16,20,.06); }
.pit:has(input:focus-visible) .pit-knob { outline: 2px solid var(--ink); outline-offset: 2px; }
/* the knob's time in the head: Now, the time you picked, or what the restore does */
.pit-t { flex: none; font-size: 12.5px; }
.pit-t b { font-weight: 610; color: var(--ink); }
.tll { display: flex; justify-content: space-between; font-size: 11px; margin-top: -6px; }
.bkn { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.bkn svg { flex: none; }
@media (max-width: 699px) {
  /* a phone shows so little of the canvas that the panel covers all of it; close it to go back */
  .panel { left: 8px; right: 8px; top: 8px; bottom: 8px; width: auto; transform: translateY(calc(100% + 40px)); }
  /* Postgres's six tabs are wider than a phone, so the row scrolls sideways. A scrolling row cuts off what
     lies on its border, so the divider is a shadow inside it, and the selected line lies on that. */
  .ptabs { flex: none; overflow-x: auto; scrollbar-width: none; border-bottom: 0; box-shadow: inset 0 calc(-1 * var(--lw)) var(--rule); }
  .ptabs::-webkit-scrollbar { display: none; }
  .ptabs button { flex: none; }
  .ptabs .tline { bottom: 0; }
  .dep-pv { width: 80px; height: 50px; }
  .bubble { max-width: 190px; font-size: 13px; }
}

.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 2px 6px rgba(60,40,20,.05), 0 24px 50px rgba(60,40,20,.12); }
.vis { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }

/* sections: a title and its points, the animation on the other side, alternating */
.feat { padding: clamp(136px, 16vw, 224px) 0 0; }
.feat > .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 72px; align-items: center; }
.feat.flip > .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.feat.flip .btext { order: 2; }
/* at most 48 px, so the longest title (Managed Postgres) fits its column on one line */
.feat h2, .lims h2, .access h2 { margin: 0; font-size: clamp(34px, 4.2vw, 48px); line-height: 1.02; letter-spacing: -.04em; font-weight: 750; }
.btext { display: flex; flex-direction: column; gap: 24px; }
.btext .ticks { color: var(--ink); gap: 12px; }
/* a quiet aside under a title. Color, not opacity: the scroll-in reveal sets the opacity of .btext > * */
.bnote { margin: -10px 0 0; max-width: 30em; font-size: 16px; line-height: 1.5; color: rgba(14,16,20,.5); }
@media (max-width: 900px) { .feat > .wrap, .feat.flip > .wrap { grid-template-columns: 1fr; } .feat.flip .btext { order: 0; } }
.stagebox { position: relative; border-radius: 24px; padding: clamp(14px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
#deploys .stagebox { background: linear-gradient(135deg, #F8E7CB, #F2CFAE); }
#postgres .stagebox { background: linear-gradient(135deg, #DCEAF6, #E4EFDF); }
#mcp .stagebox { background: linear-gradient(135deg, #ECE6F7, #F7E7EA); }
#security .stagebox { background: linear-gradient(135deg, #DCE6F4, #E9E4F2); }
#pricing .stagebox { background: linear-gradient(135deg, #F6EBD3, #E7EEDF); }
#founder .stagebox { background: linear-gradient(135deg, #F8E3D6, #F3E9D2); }

/* sections come up as they scroll in */
.js .feat .btext > *, .js .feat .stagebox, .js .lims .ltext > *, .js .lims .stagebox, .js .limcard li, .js .notyet { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .feat .stagebox, .js .lims .stagebox { transform: translateY(26px) scale(.985); transition-delay: .12s; }
.js .feat .ticks li { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .in .btext > *, .js .in .stagebox, .js .in .ltext > *, .js .in .limcard li, .js .in .notyet, .js .in .ticks li { opacity: 1; transform: none; }
.js .in .ticks li:nth-child(1) { transition-delay: .18s; } .js .in .ticks li:nth-child(2) { transition-delay: .26s; }
.js .in .ticks li:nth-child(3) { transition-delay: .34s; } .js .in .ticks li:nth-child(4) { transition-delay: .42s; }
.js .in .ticks li:nth-child(5) { transition-delay: .50s; }
.js .in .limcard li:nth-child(1) { transition-delay: 0.25s; } .js .in .limcard li:nth-child(2) { transition-delay: 0.30s; } .js .in .limcard li:nth-child(3) { transition-delay: 0.35s; }
.js .in .limcard li:nth-child(4) { transition-delay: 0.40s; } .js .in .limcard li:nth-child(5) { transition-delay: 0.45s; } .js .in .limcard li:nth-child(6) { transition-delay: 0.50s; }
.js .in .limcard li:nth-child(7) { transition-delay: 0.55s; } .js .in .notyet { transition-delay: 0.62s; }
.js .hero .htext > * { animation: rise .8s var(--ease) both; }
.js .hero .hl li { animation: rise .7s var(--ease) both; }
.js .hero .hl li:nth-child(1) { animation-delay: .12s; } .js .hero .hl li:nth-child(2) { animation-delay: .2s; } .js .hero .hl li:nth-child(3) { animation-delay: .28s; }
.js .hero .hdemo { animation: fadein .9s var(--ease) .25s both; }

/* scenes: drawn at a fixed size, scaled to fit */
.scene { position: relative; width: 100%; }
.card.scene { overflow: hidden; }
.sc { position: absolute; left: 0; top: 0; transform-origin: 0 0; font-size: 14px; }
.sc .btn { pointer-events: none; transition: transform .12s var(--ease); }
.sc .btn.press { transform: scale(.93); }
.tile.img { overflow: hidden; padding: 0; }
.tile.img img { width: 100%; height: 100%; display: block; }

/* deploys */
/* Drawn like the demo: the dot grid, and cards like its cards. The grid is on the whole
   card, so it also fills the sides when the card is wider than the drawing. */
#scDeploy, #scSec { --edge: #BABEC6; background-color: var(--canvas); background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 18px 18px; }
/* The deploy and security scenes match the canvas: lines, ports, cards, and the globe are --lw
   in its --edge gray, and a bead is white with the edge of a selected card (--hot). site.js
   draws the security scene with the same colors. */
#scDeploy .wires { position: absolute; left: 0; top: 0; }
.wire { fill: none; stroke: var(--edge); stroke-width: var(--lw); }
.wire.off { visibility: hidden; }
.dots circle { fill: var(--paper); stroke: var(--hot); stroke-width: var(--lw); }
.net { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: #8A8E96; border: var(--lw) solid var(--edge); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 2px rgba(14,16,20,.05), 0 6px 14px rgba(14,16,20,.06); }
/* a version: a card as on the canvas (the name, then the ring and the commit), and Roll back */
.ver { position: absolute; width: 272px; height: 56px; display: flex; align-items: center; background: var(--paper); border: var(--lw) solid #BABEC6; border-radius: 12px; padding: 0 12px; box-shadow: 0 1px 2px rgba(14,16,20,.06), 0 8px 20px rgba(14,16,20,.06); }
.vh { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 10px; align-items: center; width: 100%; }
.vt { position: relative; display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
/* the status ring before the second line, as on the canvas cards */
.vt > .rg { position: absolute; left: 0; bottom: 2.75px; }
.vt b { font-size: 14px; font-weight: 645; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt .mono { font-size: 11px; color: var(--muted); }
/* The old version's Roll back button pops in and out (.on). */
.vst { display: grid; justify-items: end; align-items: center; }
.vst > * { grid-area: 1 / 1; }
.vst > :not(.on) { visibility: hidden; }
.vst .rb { min-height: 26px; padding: 0 10px; font-size: 12px; }
/* The new version starts as a small "git push" card (.chip) in the middle of the top spot,
   grows out to the full card from there (.grow), then shows its content. site.js sets its box. */
#dpV2 { padding: 0; height: 56px; overflow: hidden; visibility: hidden; }
#dpV2.on { visibility: visible; }
#dpV2 .vbody { position: absolute; left: 0; top: 0; width: 269px; height: 53px; padding: 0 12px; display: flex; align-items: center; }
#dpV2.chip .vbody, #dpV2.grow .vbody, #dpV2:not(.chip) .vpush { visibility: hidden; }
.vpush { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font: 600 12px/16px var(--mono); color: var(--ink); white-space: nowrap; }
.vt b > span { display: inline-block; }
/* The line under the title: each build step, then the commit. */
.vsub { position: relative; height: 15px; overflow: hidden; }
.vsub > span { position: absolute; left: 0; right: 0; top: 0; height: 15px; padding-left: 14.5px; display: flex; align-items: center; gap: 6px; }
.vsub .age::before { margin-left: 0; }
.vsub em { font: 610 10px/13px var(--sans); font-style: normal; color: var(--tan-ink); background: var(--tan); border-radius: 4px; padding: 0 5px; }
/* The pointer that clicks Roll back, with the demo's tap ring. It comes in from outside the scene. */
.dpcur { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; visibility: hidden; }
.dpcur.on { visibility: visible; }
.dpcur svg { display: block; }
.dpcur::after { content: ""; position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; }
.dpcur.tap::after { animation: tap .45s var(--ease); }

/* Postgres: query latency. One card, 20 px in from the scene's edge on all four sides, and the
   chart is all of it: the panel's metric chart (.mc), a 1 px line in Dud's color with an area
   that fades out, to the card's sides and bottom. The title and the number sit together in the
   middle of the head. The scene has data-fill, so in a box wider than 540 px the card and the
   chart grow with it. site.js draws the line and shows it from left to right. */
.lt-card { position: absolute; inset: 20px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
/* The head is one title: the words and the number in the same type, and they fade out and in together. */
.lt-head { position: absolute; left: 14px; right: 14px; top: 12px; display: flex; justify-content: center; align-items: baseline; gap: 6px; font-size: 13.5px; font-weight: 610; transition: opacity .3s; }
/* The number keeps one width (244 ms or 40 ms), so the head stays put when it changes. An empty
   number keeps its line, so the head does not move when it fills in. */
.lt-num { min-width: 3.45em; font-weight: inherit; }
.lt-num:empty::before { content: "\00a0"; }
/* The mark's tag sits 12 px under the head, as far as the head sits under the card's top. */
.lt-plot { position: absolute; left: 0; right: 0; top: 62px; bottom: 0; transition: opacity .3s; }
.lt-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.lt-line { fill: none; stroke: var(--dud); stroke-width: var(--lw); stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* the moment of the index: a dashed line down the chart, as the panel's limit line, with a tan tag above */
.lt-mark { position: absolute; top: 0; bottom: 0; width: 0; border-left: var(--lw) dashed var(--dud); opacity: 0; transform: scaleY(.2); transform-origin: bottom; }
.lt-mark span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 4px; font: 610 11px/16px var(--sans); color: var(--tan-ink); background: var(--tan); border-radius: 4px; padding: 0 6px; white-space: nowrap; }
/* it grows in, and goes at once on the reset, out of sight */
#scLat.mark .lt-mark { opacity: 1; transform: none; transition: opacity .3s, transform .45s var(--ease); }
/* at the end of a loop, the chart fades out before it resets */
#scLat.out .lt-plot, #scLat.out .lt-head { opacity: 0; }

/* A toast in a scene: the panel's toast (.ptoast). One line at the bottom of the card, only as
   wide as its words, with the Float shadow. It comes up from under the card's edge and goes
   back down. The pointer (.dpcur, as in the deploy scene) clicks its button. */
.sc-toast { position: absolute; z-index: 2; left: 50%; bottom: 14px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 4px 0 12px; box-sizing: border-box; background: var(--paper); border: var(--lw) solid var(--line-3); border-radius: 11px; box-shadow: 0 1px 2px rgba(14,16,20,.06), 0 10px 26px rgba(14,16,20,.12); font-size: 13px; color: var(--ink-2); white-space: nowrap; transform: translate(-50%, calc(100% + 30px)); transition: transform .42s var(--ease); }
.sc-toast.on { transform: translate(-50%, 0); }
.sc-toast b { font-weight: 610; color: var(--ink); }
.sc-toast code { font: 12px var(--mono); color: var(--ink-2); }
.sc-toast .btn { margin-left: 4px; }

/* Postgres: backups. After the chart, the same card shows the last 30 minutes as a slider
   (.bk): the head gets new words and the clock, and the chart is gone. */
#scLat.bk .lt-plot, #scLat:not(.bk) .pt-sl, #scLat.out .pt-sl { opacity: 0; }
.pt-sl { position: absolute; inset: 0; --k: 1; transition: opacity .3s; }
.pt-tr { position: absolute; inset: 0; }
/* The slider is drawn like the status ring: a 12 px pill with a 1 px line and, up to the knob,
   a tan line with a light tan fill. It is gray past the knob. The knob runs along a rail 6 px in
   from the pill's ends, where a dot for each backup sits; --k is where the knob is (0 to 1). */
.pt-ln { position: absolute; left: 28px; right: 28px; top: 140px; height: 12px; border-radius: 99px; background: var(--paper); box-shadow: inset 0 0 0 var(--lw) var(--line-3); color: var(--line-3); }
.pt-ln.on { background: color-mix(in srgb, var(--dud) 20%, var(--paper)); box-shadow: inset 0 0 0 var(--lw) var(--dud); color: var(--dud); clip-path: inset(0 calc((100% - 12px) * (1 - var(--k)) + 6px) 0 0); }
.pt-dot { position: absolute; top: 4px; left: calc(6px + (100% - 12px) * var(--f)); width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
/* The knob is the status ring, larger, with a canvas card's shadow. Grabbed, it lifts like a
   selected card. */
.pt-knob { position: absolute; top: 134px; left: calc(34px + (100% - 68px) * var(--k)); width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: color-mix(in srgb, var(--dud) 20%, var(--paper)); box-shadow: inset 0 0 0 var(--lw) var(--dud), 0 1px 2px rgba(14,16,20,.06), 0 8px 20px rgba(14,16,20,.06); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
#scLat.grab .pt-knob { transform: scale(1.15); box-shadow: inset 0 0 0 var(--lw) var(--dud), 0 12px 28px rgba(14,16,20,.12); }
/* The drop is marked as on a chart, as "Index added": a tag above the slider and a dashed line
   down to it, in red. It grows in, and fades once the table is back. */
.pt-mark { position: absolute; top: 100px; height: 40px; left: calc(34px + (100% - 68px) * var(--d)); width: 0; border-left: var(--lw) dashed var(--fail); opacity: 0; transform: scaleY(.2); transform-origin: bottom; }
.pt-mark span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 4px; font: 610 11px/16px var(--sans); color: var(--fail); background: var(--fail-bg); border-radius: 4px; padding: 0 6px; white-space: nowrap; }
#scLat.drop .pt-mark { opacity: 1; transform: none; transition: opacity .3s, transform .45s var(--ease); }
#scLat.restored .pt-mark { opacity: 0; transition: opacity .4s; }
/* The restore's toast keeps one width while its words change, and they fade out and back in. */
.pt-toast { width: 252px; }
.pt-toast > * { transition: opacity .2s var(--ease); }
.pt-toast.swap > * { opacity: 0; }
.pt-toast .btn { margin-left: auto; }
/* "Restored to" has no button, so its words sit in the middle */
.pt-toast.done { justify-content: center; padding-right: 12px; }
.pt-toast .spin { margin-right: 2px; }
.pt-bar { flex: 1 1 auto; height: 4px; margin: 0 10px 0 4px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.pt-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--build); }

/* API and MCP: a chat with Claude */
.chat { display: flex; flex-direction: column; background: #FBFAF7; }
.cbody { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 0 22px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20px); mask-image: linear-gradient(to bottom, transparent, #000 20px); }
.cin { display: flex; flex-direction: column; gap: 12px; padding: 20px 0 4px; transition: opacity .4s; }
.cin > .gone { opacity: 0; transition: opacity .3s; }
.cin > *:not(.show), .trow:not(.show) { display: none !important; }
.cin > .show, .trow.show { animation: chatin .45s var(--ease); }
.chat.fade .cin { opacity: 0; }
.umsg { align-self: flex-end; max-width: 80%; background: #EFEBE3; border-radius: 16px 16px 4px 16px; padding: 10px 14px; font-size: 14.5px; line-height: 1.45; }
.amsg { min-height: 22px; display: flex; align-items: center; font-size: 14.5px; line-height: 1.5; }
.amsg.thinking .tx { display: none; }
.amsg .rest { color: transparent; }
.alink { color: #2F6FEB; text-decoration: underline; text-underline-offset: 3px; font-size: 13.5px; }
.think { display: none; gap: 4px; }
.amsg.thinking .think { display: inline-flex; }
.think i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: think 1s ease-in-out infinite; }
.think i:nth-child(2) { animation-delay: .15s; } .think i:nth-child(3) { animation-delay: .3s; }
.found { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.fh { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; }
.fh > span { font-size: 12px; color: var(--muted); }
.fl { display: flex; flex-wrap: wrap; gap: 6px; }
.fs { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 9px; font-size: 12.5px; font-weight: 610; opacity: 0; transform: scale(.85); transition: opacity .3s var(--ease), transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.fs.on { opacity: 1; transform: none; }
.fs .tile { width: 20px; height: 20px; border-radius: 5px; }
.tools { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 4px 14px; display: flex; flex-direction: column; }
.trow { display: flex; align-items: center; gap: 10px; height: 31px; font-size: 12.5px; color: var(--ink-2); }
.trow + .trow { border-top: 1px solid var(--line-2); }
.trow b { color: var(--ink); font-weight: 600; }
.trow .st { margin-left: auto; display: inline-flex; color: var(--live); }
.trow .tbar { margin-left: auto; width: 84px; height: 5px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.trow .tbar + .st { margin-left: 10px; }
.tbar i { display: block; height: 100%; width: 0; background: var(--build); }
.trow.done .tbar i { background: var(--live); }
.dns { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 12.5px; }
.dns .arrow { color: var(--faint); }
.dns .btn { margin-left: auto; min-height: 28px; font-size: 12px; }
.cfoot { flex: none; position: relative; margin: 10px 16px 16px; }
.composer { display: flex; align-items: center; gap: 8px; height: 52px; transition: opacity .3s; padding: 0 8px 0 16px; border: 1px solid var(--line-3); border-radius: 14px; background: var(--paper); font-size: 14.5px; }
.ctext { min-width: 0; white-space: nowrap; overflow: hidden; }
.chat.typing .ctext::after { content: ""; display: inline-block; width: 2px; height: 17px; margin-left: 1px; vertical-align: -3px; background: var(--ink); animation: blink 1s steps(1) infinite; }
.cph { color: var(--faint); }
.chat.typing .cph { display: none; }
.send { margin-left: auto; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--line-3); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .12s var(--ease); }
.chat.ready .send { background: var(--ink); }
.send.press { transform: scale(.88); }
.creplay { position: absolute; inset: 0; margin: auto; width: max-content; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 18px 0 15px; border-radius: 99px; border: 1px solid #D9DBE0; background: var(--paper); font-size: 14px; font-weight: 610; color: var(--ink); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; }
.creplay:hover { border-color: var(--line-3); }
#scMcp.done .creplay { opacity: 1; pointer-events: auto; }
#scMcp.done .composer { opacity: 0; }

/* security */
/* drawn like the demo: dot grid, cards, lines. The cards hold still; the shields on the canvas shake. */
#secCv { position: absolute; left: 0; top: 0; width: 630px; height: 414px; }
/* the drawing (x 32 to 577, y 39 to 341) moves 8 px right and 1 px down, so it has 40 px on every side */
.sbox { position: absolute; width: 176px; height: 56px; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; column-gap: 10px; padding: 0 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(14,16,20,.06), 0 8px 20px rgba(14,16,20,.06); }
.sbox .tile svg { display: block; }
.tile.tan { background: var(--tan); color: var(--tan-ink); }
.tile.gray { --bg: #E9EAEE; background: var(--bg); color: var(--muted); }
/* the edge: a square card, icon above the text */
.sbox.sq { width: 90px; height: 90px; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; row-gap: 8px; padding: 0 10px; text-align: center; }
.sbox.sq .txt { align-items: center; }

/* price */
.price { position: relative; gap: 16px; padding: 22px 24px 24px; container-type: inline-size; }
.gbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; background: var(--line-2); border-radius: 12px; padding: 4px; }
.gbs button { border: 0; background: none; border-radius: 9px; padding: 0 4px; min-height: 38px; font-weight: 645; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.gbs button:hover { color: var(--ink); }
.gbs button[aria-checked="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(14,16,20,.12); }
/* 64px, a little smaller on a phone so "$100/mo" and the Save chip share one line.
   "$100/mo" sits in the middle of the card and the Save chip hangs off its right side:
   the two 1fr columns are the same width, unless the right one needs more room for the
   chip, and then the price moves left. */
.pbig { display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: baseline; margin-top: 14px; font: 750 min(64px, 21cqi)/1 var(--sans); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.pbig #pAmt { grid-column: 2; }
.pbig small { grid-column: 3; font: 569 18px var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
/* The Save chip pops in from nothing around its own center, and sinks back out
   quicker, with its last text still on it. */
.pbig .save { grid-column: 4; justify-self: start; position: relative; top: -14px; margin-left: 18px; padding: 3px 9px; border-radius: 999px; background: var(--live-bg); color: var(--live-ink); font: 645 13.5px/1.4 var(--sans); letter-spacing: 0; white-space: nowrap; opacity: 0; visibility: hidden; transform: scale(0); transform-origin: center; transition: transform .14s var(--sink), opacity .14s var(--sink), visibility 0s .14s; }
.pbig .save.on { opacity: 1; visibility: visible; transform: none; transition: transform .28s var(--pop), opacity .1s linear, visibility 0s; }
.specs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: -6px; font-size: 14.5px; color: var(--muted); }
.specs span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.specs svg { flex: none; }
.specs b { color: var(--ink); font-weight: 645; font-variant-numeric: tabular-nums; }
/* on a phone the line has no room for icons; without them it stays on one line */
@container (max-width: 310px) { .specs svg { display: none; } }
.ramtop { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--ink-2); margin: 4px 0 -8px; }
.ramtop .num { font-size: 12.5px; color: var(--ink); white-space: nowrap; }
.price.short .ramtop .num { color: var(--fail); }
.rambar { position: relative; display: flex; height: 36px; border-radius: 10px; background: var(--line-2); overflow: hidden; }
.rambar .rseg, .rambar .free { display: block; flex: none; height: 100%; width: 0; border-right: 2px solid var(--paper); transition: width .6s var(--ease); }
.rambar .rseg { display: flex; align-items: center; justify-content: center; overflow: hidden; }
/* the icon tile has the edge and glow of the other small tiles */
.rambar .rseg .tile { --tile-glow: 0 1px 3.5px; width: 19px; height: 19px; border-radius: 6px; transform-origin: center; transition: transform .26s var(--pop), opacity .1s linear; }
/* a block too narrow for its icon scales the icon down to nothing, and back up when there is room */
.rambar .rseg { container-type: inline-size; }
/* Out: js/site.js sets .tight when a plan is picked, and the icon shrinks with its block,
   on the same .6s curve as the bar. It starts no bigger than the block and ends at 0 with
   it, so the block never clips it. In waits for the block to have room. */
.rambar .rseg.tight .tile { opacity: 0; transform: scale(0); transition: transform .6s var(--ease), opacity .4s linear; }
@container (max-width: 25px) { .rambar .rseg .tile { opacity: 0; transform: scale(0); transition: transform .1s var(--ease), opacity .1s var(--ease); } }
.rambar .free { border-right: 0; background: repeating-linear-gradient(-45deg, #E4E5E9 0 5px, #F1F2F4 5px 10px); }
.rambar .over { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(-45deg, rgba(180,35,24,.34) 0 5px, rgba(180,35,24,.14) 5px 10px); border-left: 2px solid var(--fail); transition: left .6s var(--ease), width .6s var(--ease); }
/* hover (or tap) a block: its name and size in a tip above it */
.ramtip { position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 8px)); display: none; white-space: nowrap; font-size: 12.5px; color: #fff; background: var(--ink); border-radius: 8px; padding: 4px 9px; pointer-events: none; box-shadow: 0 4px 12px rgba(14,16,20,.18); }
.ramtip.on { display: block; }
.ramtip::after { content: ""; position: absolute; left: 50%; bottom: -4px; margin-left: -4px; width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); }
.ramtip b { font-weight: 610; }
.ramtip .num { font-size: 11.5px; color: #C9CCD2; }
.sro { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* a narrow card: plans in two rows of three */
/* The 8 sizes fit on one line down to 430 px: the widest label (24 GB) is 41 px, and a button has 8 px of padding. */
@container (max-width: 430px) { .gbs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* compare: the demo priced on other platforms, a thick bar each (height =
   price / the highest price). A bar opens a modal with its line items. */
#compare .stagebox { background: linear-gradient(135deg, #E7EEDF, #F6EBD3); }
.cmpc { padding: 22px 40px; gap: 18px; }
.chart { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 2.4vw, 22px); align-items: end; }
/* the baseline, at the foot of the bars (name 26px + gap 8px above the bottom) */
.chart::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: 34px; height: 1px; background: var(--line-3); pointer-events: none; }
.col { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: 290px; min-width: 0; padding: 0; border: 0; border-radius: 12px; background: none; color: inherit; font: inherit; cursor: pointer; }
.col:focus-visible { outline-offset: 4px; }
.cpv { text-align: center; font: 706 20px var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cb { display: block; height: calc(var(--h) * 200px); min-height: 12px; border-radius: 12px 12px 3px 3px; background: #C9CCD2; transform-origin: 50% 100%; }
.col:hover .cb { background: #B4B8C0; }
.col.me .cb { background: var(--dud); }
.col.me:hover .cb { background: #D49A4E; }
.cn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 26px; font-size: 14.5px; font-weight: 645; white-space: nowrap; }
.cn svg { flex: none; }
/* the bars grow up the first time the section is seen, then their prices show */
.js #compare .cb { transform: scaleY(0); transition: transform .9s var(--ease); }
.js #compare .cpv { opacity: 0; transition: opacity .4s var(--ease); }
.js #compare.in .cb { transform: none; }
.js #compare.in .cpv { opacity: 1; }
.js #compare.in .col:nth-child(1) .cb { transition-delay: .35s; } .js #compare.in .col:nth-child(2) .cb { transition-delay: .45s; }
.js #compare.in .col:nth-child(3) .cb { transition-delay: .55s; } .js #compare.in .col:nth-child(4) .cb { transition-delay: .65s; }
.js #compare.in .col:nth-child(5) .cb { transition-delay: .75s; }
.js #compare.in .col:nth-child(1) .cpv { transition-delay: 1s; } .js #compare.in .col:nth-child(2) .cpv { transition-delay: 1.1s; }
.js #compare.in .col:nth-child(3) .cpv { transition-delay: 1.2s; } .js #compare.in .col:nth-child(4) .cpv { transition-delay: 1.3s; }
.js #compare.in .col:nth-child(5) .cpv { transition-delay: 1.4s; }
@media (max-width: 480px) {
  .cmpc { padding: 18px 22px; }
  .col { height: 240px; }
  .cb { height: calc(var(--h) * 160px); }
  .cpv { font-size: 17px; }
  .cn { font-size: 13.5px; }
  .cn svg { display: none; }
}
/* the smallest phones: 5 names need a little more room, or they touch */
@media (max-width: 370px) {
  .cmpc { padding: 18px 12px; }
  .cpv { font-size: 15.5px; }
  .cn { font-size: 12px; }
}

/* modal (<dialog>): one rounded card over the page. Open and close as in the
   Dudbox dashboard, with the open at profitviz's 150ms: the card fades and
   grows from 92%, the close takes 150ms, the backdrop fades in with a 4px blur. Off under reduced motion.
   While it is open the page does not scroll (js/site.js stops the wheel and
   touch), and the scrollbar stays. Hiding it changes 100vw, so all text sized
   in vw would move. */
dialog.modal { --mp: 56px; width: min(608px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: var(--mp); border: 1px solid #D9DBE0; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(14,16,20,.05), 0 10px 28px -14px rgba(14,16,20,.16), 0 24px 45px rgba(15,23,42,.18); overflow: auto; overscroll-behavior: contain; }
dialog.modal[open] { transition: opacity 150ms ease-out, transform 150ms ease-out, overlay 150ms ease-out allow-discrete, display 150ms ease-out allow-discrete; }
dialog.modal:not([open]) { opacity: 0; transform: scale(.92); transition: opacity 150ms ease-out, transform 150ms ease-out, overlay 150ms ease-out allow-discrete, display 150ms ease-out allow-discrete; }
@starting-style { dialog.modal[open] { opacity: 0; transform: scale(.92); } }
dialog.modal::backdrop { background-color: rgb(0 0 0 / .04); backdrop-filter: blur(4px); transition: background-color 150ms ease-out, backdrop-filter 150ms ease-out, overlay 150ms ease-out allow-discrete, display 150ms ease-out allow-discrete; }
dialog.modal:not([open])::backdrop { background-color: rgb(0 0 0 / 0); backdrop-filter: blur(0); }
@starting-style { dialog.modal[open]::backdrop { background-color: rgb(0 0 0 / 0); backdrop-filter: blur(0); } }
/* Every modal has one padding, --mp, on all four sides. Nothing inside adds
   to it: the ✕ icon (not its button) and the last line sit on that edge too. */
.mhead { display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 2px 14px; align-items: center; margin-bottom: 16px; }
.mhead h3 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
/* the line under the title: when the prices were checked */
.msub { grid-column: 1 / -1; margin: 0; font-size: 13.5px; color: var(--muted); }
.mclose { position: relative; justify-self: end; margin-right: -6px; }
/* the ✕ looks 28px, but the hit area is 48px */
.mclose::after { content: ''; position: absolute; inset: -10px; }
.bd { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.bd li { display: grid; grid-template-columns: 168px minmax(0, 1fr) auto; gap: 2px 16px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.bd b { font-weight: 610; }
.bd span { color: var(--muted); font-size: 13.5px; }
.bd em { font: 431 13px var(--sans); font-style: normal; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; color: var(--ink-2); }
.bd .tot { border-bottom: 0; padding: 14px 0 0; }
.bd .tot b, .bd .tot em { font: 706 20px var(--sans); letter-spacing: -.02em; color: var(--ink); }
.bd .tot em { font-variant-numeric: tabular-nums; }
.bd .tot small { margin-left: 2px; font: 569 14px var(--sans); letter-spacing: 0; color: var(--muted); }
/* a note about one platform: a faded line under the total */
.mnote { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.hwl { margin: 8px 0 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
/* the ? after a point: a small ring that opens a modal. The hit area is 40px. */
/* the ? looks like a canvas card: its line, its shadows, and the ? in the globe's gray (.ball), half a px under the middle (padding-top), as a ? sits high */
.qm { --edge: #BABEC6; --edge-hover: #8F95A1; position: relative; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-left: 8px; padding: 1px 0 0; border: var(--lw) solid var(--edge); border-radius: 50%; background: var(--paper); color: #8A8E96; box-shadow: 0 1px 2px rgba(14,16,20,.06), 0 8px 20px rgba(14,16,20,.06); font: 750 12px/1 var(--sans); vertical-align: 2px; cursor: pointer; }
.qm::after { content: ''; position: absolute; inset: -10px; }
.nw { white-space: nowrap; }
.qm:hover { border-color: var(--edge-hover); color: var(--ink); }
.qm:focus-visible { border-radius: 50%; }
.hwl b { font-weight: 610; color: var(--ink); }
@media (max-width: 560px) {
  dialog.modal { --mp: 32px; }
  .mhead { margin-bottom: 12px; }
  .bd li { grid-template-columns: minmax(0, 1fr) auto; }
  .bd span { grid-column: 1; grid-row: 2; }
  .bd em { grid-column: 2; grid-row: 1; }
  .hwl { margin-top: 6px; }
}

/* limitations: one spec card, with what is not in the box yet at its foot */
.lims { padding: clamp(136px, 16vw, 224px) 0 0; }
.lims > .wrap { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 32px 64px; align-items: center; }
.lims.flip > .wrap { grid-template-columns: minmax(0, 1.38fr) minmax(0, .62fr); }
.lims.flip .ltext { order: 2; }
.ltext { display: flex; flex-direction: column; gap: 20px; }
.ltext p { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 24em; }
#limits .stagebox { background: linear-gradient(135deg, #EDE8F5, #F5EADF); }
.limbox { display: block; padding: 0; overflow: hidden; }
.limcard { list-style: none; margin: 0; padding: 6px 24px; }
.limcard li { display: grid; grid-template-columns: 18px 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.limcard li:last-child { border-bottom: 0; }
.li-ic { display: flex; color: var(--muted); }
.li-ic svg { width: 16px; height: 16px; }
.limcard b { font-weight: 645; }
.limcard li > span:last-child { color: var(--ink-2); }
.notyet { display: flex; gap: 12px; align-items: flex-start; padding: 16px 24px 18px; background: #F7F3EC; border-top: 1px solid #E8E2D8; }
.notyet > svg { flex: none; }
.notyet b { display: block; font-size: 14px; font-weight: 645; margin-bottom: 6px; }
.nyl { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13.5px; color: var(--muted); }
.nyl li { display: inline-flex; align-items: center; gap: 6px; }
.nyl li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .7; }
@media (max-width: 900px) { .lims > .wrap, .lims.flip > .wrap { grid-template-columns: 1fr; } .lims.flip .ltext { order: 0; } }
@media (max-width: 560px) {
  .btext, .ltext { padding: 0 12px; }
  .limcard { padding: 4px 18px; }
  .limcard li { grid-template-columns: 16px minmax(0, 1fr); gap: 2px 10px; }
  .limcard li > span:last-child { grid-column: 2; }
  .notyet { padding: 14px 18px 16px; }
}

/* founder: a placeholder until there is a photo */
.fem { font-size: 96px; line-height: 1; color: #000; } /* an opaque color: emoji take the alpha of the text color */
#founder .stagebox { align-items: center; padding: clamp(24px, 4vw, 48px); }
.founder { width: min(100%, 300px); aspect-ratio: 1; border-radius: 18px; background: rgba(255,255,255,.5); border: var(--lw) dashed rgba(110,74,20,.25); display: flex; align-items: center; justify-content: center; color: rgba(110,74,20,.4); }

/* apply */
.access { padding: clamp(136px, 16vw, 224px) 0 clamp(120px, 15vw, 220px); }
/* The beach under the form, the end of the page (bun run art draws it). It fills the width:
   its middle (Dud, the umbrella, the bubble) is as large as fits, at the bottom, and past
   it the sea and the sand go on to the edges. Its sky is the page. */
.beach { display: block; width: 100%; height: min(52vw, 460px); }
.access > .wrap { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.atext { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.atext p { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 30em; text-wrap: balance; }
/* The fields and the thanks share one grid cell, so the card keeps its size
   when it is sent and nothing on the page moves. */
.formcard { padding: 26px; width: 100%; max-width: 620px; display: grid; }
.formcard > .fields, .formcard > .thanks { grid-area: 1 / 1; min-width: 0; }
form.vis { padding: 24px; gap: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 610; font-size: 14px; }
.field label .hint { font-weight: 431; color: var(--muted); white-space: nowrap; }
.field input, .field textarea { font: inherit; font-size: 15px; border: 1px solid var(--line-3); border-radius: 10px; padding: 11px 12px; background: var(--paper); color: var(--ink); min-width: 0; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
/* A field that still needs something: a warm Dud outline, never red. */
.field [aria-invalid="true"], .field [aria-invalid="true"]:focus { border-color: var(--dud); outline: 2px solid var(--dud); outline-offset: 0; background: #FFFBF4; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* The message sits next to the button, in room the row already has. */
.formfoot { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
@media (max-width: 420px) { .formfoot { min-height: 58px; } }
.msg { flex: 1 1 0; min-width: 0; margin: 0; font-size: 14px; line-height: 1.35; color: var(--tan-ink); }
/* While it sends, a spinner takes the label's place; the button keeps its size. */
#f-send { position: relative; flex: none; }
form.busy #f-send { cursor: default; }
form.busy #f-send > span { visibility: hidden; }
form.busy #f-send::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin var(--spin) linear infinite; }

/* Sent: the fields fold away, Dud pops up, the application drops into the
   box, the box takes the weight, and a check comes up. */
.thanks { visibility: hidden; align-self: center; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.thanks:focus { outline: none; }
.st1 { font-size: 20px; margin-top: 12px; }
/* Dud. Nothing on the page says so, but a click pokes him (see site.js),
   so he looks and acts like a picture: no cursor, no hover, no focus. */
.sdw { position: relative; }
.sdud { position: relative; width: 88px; height: 120px; transform-origin: 50% 100%; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.sdud > svg { display: block; overflow: visible; }
.sbub { visibility: hidden; position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); white-space: nowrap; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 6px 11px; font-size: 13.5px; color: var(--ink-2); box-shadow: 0 4px 14px rgba(14,16,20,.06); pointer-events: none; }
.sbub::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; margin-left: -4px; background: var(--paper); border: solid var(--line); border-width: 0 1px 1px 0; transform: rotate(45deg); }
.sbub.on { visibility: visible; }
.sbox { transform-box: fill-box; transform-origin: 50% 100%; }
.slid { transform-box: fill-box; transform-origin: 50% 100%; }
.spaper { transform-box: fill-box; transform-origin: 50% 50%; }
/* the shades: site.js pushes them down and tilts them when you poke him */
.sshd { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .22s var(--ease); }
.sring { position: absolute; left: 44px; top: 83px; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid var(--dud); opacity: 0; pointer-events: none; }
.sck { position: absolute; left: 66px; top: 38px; width: 26px; height: 26px; border-radius: 50%; background: var(--live); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--paper); }
form.sent .fields { visibility: hidden; animation: fold .3s var(--ease) both; }
form.sent .thanks { visibility: visible; }
form.sent .sdud { animation: dudin .5s var(--ease) .14s both; }
form.sent .spaper { animation: drop .46s cubic-bezier(.5, 0, .85, .35) .5s both; }
form.sent .slid { animation: gulp .42s ease-in-out .62s both; }
form.sent .sbox { animation: squash .56s ease-out .95s both; }
form.sent .sring { animation: ring .7s ease-out .97s both; }
form.sent .sck { animation: ckin .4s var(--ease) 1.08s both; }
form.sent .st1 { animation: rise .55s var(--ease) 1.12s both; }
form.sent .st2 { animation: rise .55s var(--ease) 1.2s both; }
form.sent .sshd { animation: shnod .5s ease-in-out 1.9s; }

[hidden] { display: none !important; }

/* cards: a border a little firmer than the hairlines inside them. The panel, its cards, and the menus
   have 1 px lines (--lw), so their gray is a step darker. */
.card, .ver, .sbox, .found, .tools, .dns, .fs, .vchip { border-color: #D9DBE0; }
.panel, .dcard, .deps > .dep, .mc, .menu { border-color: #C6C9D1; }
/* but cards in the scenes are canvas cards */
#scDeploy .ver, #scSec .sbox { border: var(--lw) solid var(--edge); }

/* warm paper (index.html's head has it too, for before this file is in) */
body { background: #FCFBF8; }
.nav { background: rgba(252,251,248,.72); }

/* The presentation (?show, js/show.js): a cartoon stage. Red curtains, and Dud
   peeks out from behind the left one (js/show.js moves him). A click opens
   them, the lights come on, and dudbox.com comes up on the sign. The next
   click flies Dud and the name up into the nav, and the stage goes. Only
   transform and opacity move, but for the sign's bulbs. All sizes are parts
   of --D, so the scene scales as one. Each curtain is folds (<i>, --j counts
   from the middle out) that slide over each other when it opens. */
.showx { display: none; }
.show .showx {
  /* show.js focuses the stage, so the :focus-visible rule would round its
     corners and the page's paper would show there */
  display: block; position: fixed; inset: 0; z-index: 100; overflow: hidden; cursor: pointer; outline: none; border-radius: 0;
  touch-action: none; overscroll-behavior: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  --D: clamp(140px, 30vmin, 340px);
  /* the lines, as on Dud */
  --k: #231d17; --lw: calc(var(--D) * .018);
  /* the curtains end at --hem. A fold is --sw wide, with a round end --lb high.
     Open, each fold shows --st of itself, and a curtain is --wo wide. */
  --hem: calc(50% + var(--D) * .24); --sw: calc(var(--D) * .45); --lb: calc(var(--D) * .1); --st: calc(var(--D) * .05);
  --wo: clamp(calc(var(--D) * .35), 9vw, calc(var(--D) * .6));
  /* the middle of the spot on Dud, from the top of a box that ends at the hem */
  --cy: calc(100% - var(--D) * .42);
  /* the curtains reach this far past the screen edge, so a sway never shows a gap */
  --b: calc(3vh + 8px);
}
.show .nav .brand { visibility: hidden; }
.showland .nav .brand { visibility: visible; }
/* The hero comes in the way it does on load (the rules above), once Dud
   has flown past it. The same animation names, so nothing starts over when
   the classes go. */
.show .nav .btn, .show .hero .htext > *, .show .hero .hl li, .show .hero .hdemo { animation: none; opacity: 0; }
.showgo .hero .htext > * { animation: rise .8s var(--ease) .65s both; }
.showgo .hero .hl li { animation: rise .7s var(--ease) both; }
.showgo .hero .hl li:nth-child(1) { animation-delay: .77s; } .showgo .hero .hl li:nth-child(2) { animation-delay: .85s; } .showgo .hero .hl li:nth-child(3) { animation-delay: .93s; }
.showgo .hero .hdemo { animation: fadein .9s var(--ease) .85s both; }
.showgo .nav .btn { animation: fadein .6s var(--ease) .95s both; }

.showx > *, .showsc, .showx i, .showbg::after, .showpool::before, .showpool::after, .showsign::before, .showsign::after { position: absolute; }
/* backstage: dark until the lights come on, then warm and light */
.showbg { inset: 0; background: #3A2027; will-change: opacity; }
.showbg::after { content: ''; inset: 0; opacity: 0; will-change: opacity; background:
  radial-gradient(calc(var(--D) * 1.15) calc(var(--D) * .95) at 50% calc(50% - var(--D) * .22), #F6E4C8 0 98.5%, rgba(246, 228, 200, 0) 100%),
  radial-gradient(farthest-corner at 50% calc(50% - var(--D) * .22), #E4C29C 30%, #C99A72); }
.showopen .showbg::after { animation: showon .5s linear .45s both; }
.showgo .showbg { opacity: 0; transition: opacity .6s ease .2s; }

/* the stage: boards, the edge, the front, the footlights, and the sign */
.showstage { z-index: 1; left: 0; right: 0; top: calc(50% + var(--D) * .06); bottom: 0; will-change: transform; background:
  linear-gradient(180deg, rgba(25, 0, 8, 0) calc(var(--D) * .55), rgba(25, 0, 8, .55)),
  linear-gradient(90deg, rgba(25, 0, 8, .35) 0 calc(var(--lw) * .7), transparent 0) center calc(var(--D) * .39) / calc(var(--D) * 1.1) 100% repeat-x,
  linear-gradient(180deg, var(--k) 0 var(--lw),
    #9A5D2D 0 calc(var(--D) * .07), #6B3C1C 0 calc(var(--D) * .076),
    #A66735 0 calc(var(--D) * .155), #6B3C1C 0 calc(var(--D) * .161),
    #B2723E 0 calc(var(--D) * .245), #6B3C1C 0 calc(var(--D) * .251),
    #BC7C46 0 calc(var(--D) * .34), var(--k) 0 calc(var(--D) * .34 + var(--lw)),
    #EFC184 0 calc(var(--D) * .372), #C98B3E 0 calc(var(--D) * .39), var(--k) 0 calc(var(--D) * .39 + var(--lw)),
    #7C171D 0); }
.showgo .showstage { transform: translateY(100%); transition: transform .7s cubic-bezier(.55, 0, .8, .3); }
.showpool { left: calc(50% - var(--D) * .75); top: calc(var(--D) * .03); width: calc(var(--D) * 1.5); height: calc(var(--D) * .26); }
.showpool::before, .showpool::after { content: ''; inset: 0; }
/* a pool of light, and Dud's shadow */
.showpool::before { opacity: 0; will-change: opacity; background: radial-gradient(closest-side, rgba(255, 234, 186, .42) 0 97%, rgba(255, 234, 186, 0)); }
.showpool::after { background: radial-gradient(closest-side, rgba(35, 12, 4, .5) 0 45%, rgba(35, 12, 4, 0) 47.5%); }
.showopen .showpool::before { animation: showon .5s linear .65s both; }
/* the room: heads in the dark */
.showroom { left: 0; right: 0; bottom: 0; height: calc(var(--D) * .4); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 124 40' preserveAspectRatio='none'%3E%3Cg fill='%232E1C22'%3E%3Cpath d='M12 40Q13 21.5 20 21.5Q27 21.5 28 40Z'/%3E%3Ccircle cx='20' cy='15' r='5'/%3E%3Cpath d='M16 12A5 5 0 0 1 24 12' fill='none' stroke='%236A3438' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M32.5 40Q33.5 20.4 41 20.4Q48.5 20.4 49.5 40Z'/%3E%3Ccircle cx='41' cy='13.5' r='5.4'/%3E%3Cpath d='M36.68 10.26A5.4 5.4 0 0 1 45.32 10.26' fill='none' stroke='%236A3438' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M54 40Q55 22.3 62 22.3Q69 22.3 70 40Z'/%3E%3Ccircle cx='62' cy='16' r='4.8'/%3E%3Cpath d='M58.16 13.120000000000001A4.8 4.8 0 0 1 65.84 13.120000000000001' fill='none' stroke='%236A3438' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M74.5 40Q75.5 20.7 83 20.7Q90.5 20.7 91.5 40Z'/%3E%3Ccircle cx='83' cy='14' r='5.2'/%3E%3Cpath d='M78.84 10.879999999999999A5.2 5.2 0 0 1 87.16 10.879999999999999' fill='none' stroke='%236A3438' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M96 40Q97 22 104 22Q111 22 112 40Z'/%3E%3Ccircle cx='104' cy='15.5' r='5'/%3E%3Cpath d='M100 12.5A5 5 0 0 1 108 12.5' fill='none' stroke='%236A3438' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M116 40Q117 20.8 124 20.8Q131 20.8 132 40Z'/%3E%3Ccircle cx='124' cy='14' r='5.3'/%3E%3Cpath d='M119.76 10.82A5.3 5.3 0 0 1 128.24 10.82' fill='none' stroke='%236A3438' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M-8 40Q-7 20.8 0 20.8Q7 20.8 8 40Z'/%3E%3Ccircle cx='0' cy='14' r='5.3'/%3E%3Cpath d='M-4.24 10.82A5.3 5.3 0 0 1 4.24 10.82' fill='none' stroke='%236A3438' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg fill='%231C1216'%3E%3Cpath d='M0 40Q1 30.1 10 30.1Q19 30.1 20 40Z'/%3E%3Ccircle cx='10' cy='22' r='6.6'/%3E%3Cpath d='M4.72 18.04A6.6 6.6 0 0 1 15.280000000000001 18.04' fill='none' stroke='%235A2A30' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M20 40Q21 28.4 31 28.4Q41 28.4 42 40Z'/%3E%3Ccircle cx='31' cy='19.5' r='7.4'/%3E%3Ccircle cx='31' cy='11.3' r='3.1'/%3E%3Cpath d='M25.08 15.059999999999999A7.4 7.4 0 0 1 36.92 15.059999999999999' fill='none' stroke='%235A2A30' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M42.5 40Q43.5 30.7 52.5 30.7Q61.5 30.7 62.5 40Z'/%3E%3Ccircle cx='52.5' cy='23' r='6.2'/%3E%3Cpath d='M47.54 19.28A6.2 6.2 0 0 1 57.46 19.28' fill='none' stroke='%235A2A30' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M62.5 40Q63.5 29.5 73 29.5Q82.5 29.5 83.5 40Z'/%3E%3Ccircle cx='73' cy='21' r='7'/%3E%3Cpath d='M66.5 17.5Q73 10 79.5 17.5Z'/%3E%3Cpath d='M67.4 16.8A7 7 0 0 1 78.6 16.8' fill='none' stroke='%235A2A30' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M84 40Q85 30.4 94 30.4Q103 30.4 104 40Z'/%3E%3Ccircle cx='94' cy='22.5' r='6.4'/%3E%3Cpath d='M88.88 18.66A6.4 6.4 0 0 1 99.12 18.66' fill='none' stroke='%235A2A30' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M104 40Q105 29.2 114 29.2Q123 29.2 124 40Z'/%3E%3Ccircle cx='114' cy='20.5' r='7.2'/%3E%3Cellipse cx='114' cy='13.6' rx='5.6' ry='3.6'/%3E%3Cpath d='M108.24 16.18A7.2 7.2 0 0 1 119.76 16.18' fill='none' stroke='%235A2A30' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") center bottom / calc(var(--D) * 1.24) 100% repeat-x; }
.showfeet { left: 0; right: 0; top: calc(var(--D) * .14); height: calc(var(--D) * .2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 20' preserveAspectRatio='none'%3E%3Cdefs%3E%3CradialGradient id='g' cx='.5' cy='.85' r='.6'%3E%3Cstop offset='0' stop-color='%23FFE7A3' stop-opacity='.8'/%3E%3Cstop offset='1' stop-color='%23FFE7A3' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cellipse cx='35' cy='16' rx='26' ry='15' fill='url(%23g)'/%3E%3Ccircle cx='35' cy='15.2' r='3.3' fill='%23FFF7DA' stroke='%23231d17' stroke-width='1.3'/%3E%3Cpath d='M27.5 20C27.5 13.6 42.5 13.6 42.5 20Z' fill='%23C98B3E' stroke='%23231d17' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M30 18.6C30.6 16.6 33 15.9 35 15.9' fill='none' stroke='%23EFC184' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E") center bottom / calc(var(--D) * .7) 100% repeat-x; }
/* the sign comes up with the lights */
.showsign { opacity: 0; will-change: transform, opacity; left: calc(50% - var(--D) * .8); width: calc(var(--D) * 1.6); top: calc(var(--D) * .48); height: calc(var(--D) * .42); box-sizing: border-box;
  background: #F7EAD0; border: var(--lw) solid var(--k); border-radius: calc(var(--D) * .06);
  box-shadow: 0 0 0 calc(var(--D) * .05) #E0A95F, 0 0 0 calc(var(--D) * .05 + var(--lw)) var(--k), 0 calc(var(--D) * .045) 0 calc(var(--D) * .05 + var(--lw)) rgba(25, 0, 8, .35); }
/* its bulbs: off, and on. Every other one is on, and they swap. The strip is as wide as the sign (16 bulbs) and both rows count from its left edge, so each lit bulb covers an off one and none is cut */
.showsign::before, .showsign::after { content: ''; inset: calc(var(--D) * -.05 - var(--lw) * 2); padding: 0 calc(var(--D) * .05 + var(--lw)); background-origin: content-box; background-clip: content-box; --dot: calc(var(--D) * .05 + var(--lw) * 2); }
.showsign::before { background:
  radial-gradient(circle closest-side, #8C5B2A 0 40%, transparent 48%) 0 top / calc(var(--D) * .1) var(--dot) repeat-x content-box,
  radial-gradient(circle closest-side, #8C5B2A 0 40%, transparent 48%) 0 bottom / calc(var(--D) * .1) var(--dot) repeat-x content-box; }
.showsign::after { opacity: 0; will-change: opacity; filter: drop-shadow(0 0 calc(var(--D) * .025) #FFC54D); background:
  radial-gradient(circle closest-side, #FFF8DC 0 42%, transparent 50%) calc(var(--D) * -.05) top / calc(var(--D) * .2) var(--dot) repeat-x content-box,
  radial-gradient(circle closest-side, #FFF8DC 0 42%, transparent 50%) calc(var(--D) * -.05) bottom / calc(var(--D) * .2) var(--dot) repeat-x content-box; }
.showopen .showsign { animation: showpop .5s var(--pop) .75s both; }
.showopen .showsign::after { animation: showon .45s linear .95s both, showchase .9s linear 1.4s infinite; }

/* two spotlights from above */
.showbeam { z-index: 2; inset: 0; opacity: 0; will-change: opacity; background: linear-gradient(180deg, rgba(255, 246, 222, .1) 10%, rgba(255, 246, 222, .5)); }
.showbeam.l { clip-path: polygon(7% 0, 15% 0, calc(50% + var(--D) * .32) calc(50% + var(--D) * .22), calc(50% - var(--D) * .72) calc(50% + var(--D) * .22)); }
.showbeam.r { clip-path: polygon(85% 0, 93% 0, calc(50% + var(--D) * .72) calc(50% + var(--D) * .22), calc(50% - var(--D) * .32) calc(50% + var(--D) * .22)); }
.showopen .showbeam.l { animation: showon .5s linear .45s both; }
.showopen .showbeam.r { animation: showon .5s linear .7s both; }
.showgo .showbeam.l, .showgo .showbeam.r, .showgo .showpool::before, .showgo .showsign::after { animation: showoff .3s ease both; }

.showdud { z-index: 3; left: calc(50% - var(--D) / 2); top: calc(50% - var(--D) * .68); width: var(--D); height: var(--D); }
.showdy, .showpose, .showd { display: block; width: 100%; height: 100%; }
.showd { overflow: visible; }
.showb { transform-box: fill-box; transform-origin: 50% 100%; }
/* a glint runs across his shades now and then, and right after the curtains open */
.showg { animation: showglint 5.5s ease-in-out 2.5s infinite; }
.showopen .showg { animation: showglint2 5.5s ease-in-out 1.2s infinite; }
.showopen .showb { animation: showsettle .8s var(--ease) 1.05s both; }
.showname { z-index: 3; left: 0; right: 0; top: calc(50% + var(--D) * .618); text-align: center; white-space: nowrap; font-size: calc(var(--D) * .22); font-weight: 739; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.showw, .showdot { display: inline-block; opacity: 0; }
.showopen .showw { animation: rise .8s var(--ease) 1.1s both; }
.showopen .showdot { animation: rise .8s var(--ease) 1.22s both; }
/* on the way to the nav they fly over all of it */
.showgo .showdud, .showgo .showname { z-index: 10; }

/* the curtains */
.showc { z-index: 4; top: 0; height: var(--hem); width: calc(50% + var(--b)); transform-origin: 50% 0; will-change: transform; }
.showc.l { left: calc(var(--b) * -1); }
.showc.r { right: calc(var(--b) * -1); }
.showsc { inset: 0; will-change: transform; }
/* the bottom lags behind the top, swings past, and settles */
.showopen .showc.l { animation: showswayl 2.4s ease-in-out .25s both; }
.showopen .showc.r { animation: showswayr 2.4s ease-in-out .25s both; }
.showgo .showsc { transition: transform .75s cubic-bezier(.55, 0, .8, .3); }
.showgo .showc.l .showsc { transform: translateX(-100%); }
.showgo .showc.r .showsc { transform: translateX(100%); }
/* A fold: shade, red, and light toward the middle, with a round end. Its
   outline is a border, so the line follows the round end with no seams. A
   fold reaches --lw under the next one toward the middle, which is above it:
   no gap shows between them, and their two lines lie on each other as one.
   Open, the folds lie over each other at the side, each --st past the
   next; js/show.js sets --hw, half the screen. A fold that is already there
   stays. The middle one goes first and pulls the others. */
.showsc > i { top: 0; bottom: 0; width: calc(var(--sw) + var(--lw)); z-index: calc(20 - var(--j)); will-change: transform;
  border: 0 solid var(--k); border-width: 0 var(--lw) var(--lw);
  border-radius: 0 0 50% 50% / 0 0 var(--lb) var(--lb);
  background: linear-gradient(180deg, rgba(40, 0, 8, .45), rgba(40, 0, 8, 0) 16%), var(--cloth);
  box-shadow: inset 0 calc(var(--lb) * -.3) rgba(60, 0, 12, .22);
  transition: transform 1.5s cubic-bezier(.6, 0, .25, 1.04) calc(var(--j) * 50ms); }
.showc.l .showsc > i { right: calc(var(--j) * var(--sw) - var(--lw)); --cloth: linear-gradient(90deg, #9E2229 0 30%, #CB362E 0 58%, #DF5446 0 74%, #EE7560 0 80%, #CB362E 0); }
.showc.r .showsc > i { left: calc(var(--j) * var(--sw) - var(--lw)); --cloth: linear-gradient(270deg, #9E2229 0 30%, #CB362E 0 58%, #DF5446 0 74%, #EE7560 0 80%, #CB362E 0); }
.showopen .showc.l .showsc > i { transform: translateX(min(0px, calc(var(--wo) - var(--hw, 50vw) + var(--j) * (var(--sw) - var(--st))))); }
.showopen .showc.r .showsc > i { transform: translateX(max(0px, calc(var(--hw, 50vw) - var(--wo) - var(--j) * (var(--sw) - var(--st))))); }
/* The middle folds: round only on the outer side, so they meet flat. Each
   reaches half a line past the middle, and their lines there lie on each
   other as one: no gap between the curtains, and open, each still has its line. */
.showc.l .showsc > i:first-child { right: calc(var(--lw) * -.5); width: calc(var(--sw) + var(--lw) * .5); border-radius: 0 0 0 50% / 0 0 0 var(--lb); }
.showc.r .showsc > i:first-child { left: calc(var(--lw) * -.5); width: calc(var(--sw) + var(--lw) * .5); border-radius: 0 0 50% 0 / 0 0 var(--lb) 0; }
/* Dud is behind the left curtain, and in front of the right one */
.showc.r { z-index: 2; }

/* the valance: swags with a tan trim and tassels. The trim and the dark red band above it have round ends, so where two swags meet each is one round top, not two points.
   The knot is as high as the trim's round top, so its outline lies on the trim's outline there, not under it (two outlines read as one thick one) */
.showval { z-index: 5; left: 0; right: 0; top: 0; height: calc(var(--D) * .46); will-change: transform; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 46' preserveAspectRatio='none'%3E%3Cpath d='M0 0H50V28Q25 60 0 28Z' fill='%232A0610' fill-opacity='.32'/%3E%3Cpath d='M0 0H50V22Q25 54 0 22Z' fill='%23C7302B'/%3E%3Cpath d='M0 7Q25 33 50 7' fill='none' stroke='%239E2229' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M7 2.5Q25 19 43 2.5' fill='none' stroke='%23E0594A' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M0 0H50V2.4H0Z' fill='%237A161C'/%3E%3Cpath d='M0 22Q25 54 50 22' fill='none' stroke='%23231d17' stroke-width='8.4' stroke-linecap='round'/%3E%3Cpath d='M0 22Q25 54 50 22' fill='none' stroke='%23EFC184' stroke-width='4.8' stroke-linecap='round'/%3E%3Cpath d='M3 24.4Q25 53 47 24.4' fill='none' stroke='%23C98B3E' stroke-width='1.2' stroke-dasharray='1.4 2.2'/%3E%3Cg stroke='%23231d17' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M-1.6 23.3L1.6 23.3L3.6 35.8Q0 37.8 -3.6 35.8Z' fill='%23E0A95F'/%3E%3Cpath d='M-1.2 28.8V36.1M1.2 28.8V36.1' stroke-width='1' stroke='%239A6528'/%3E%3Ccircle cx='0' cy='21.8' r='3.1' fill='%23EFC184'/%3E%3C/g%3E%3Cg stroke='%23231d17' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M48.4 23.3L51.6 23.3L53.6 35.8Q50 37.8 46.4 35.8Z' fill='%23E0A95F'/%3E%3Cpath d='M48.8 28.8V36.1M51.2 28.8V36.1' stroke-width='1' stroke='%239A6528'/%3E%3Ccircle cx='50' cy='21.8' r='3.1' fill='%23EFC184'/%3E%3C/g%3E%3C/svg%3E") center top / calc(var(--D) * .5) 100% repeat-x; }
.showgo .showval { transform: translateY(-100%); transition: transform .7s cubic-bezier(.55, 0, .8, .3); }

/* the lights before they come on: dim, but for a spot on Dud */
.showdim { z-index: 6; left: 0; right: 0; top: 0; height: var(--hem); background: radial-gradient(calc(var(--D) * .66) calc(var(--D) * .62) at 50% var(--cy), rgba(30, 6, 16, 0) 97%, rgba(30, 6, 16, .42) 100%); }
.showopen .showdim { opacity: 0; transition: opacity .3s ease .45s; }

/* Dud starts behind the left curtain, then peeks out: he leans on his bottom
   right corner. js/show.js moves him in and out, a little or a lot. */
.showpose { transform-origin: 92.5% 90%; transform: translateX(-64%); }
.showopen .showpose { transform: none; }
/* If he ever dips below the left curtain while he moves, this hides it, until
   the curtains open */
html:not(.showopen) .showdy { clip-path: polygon(-100% -100%, 200% -100%, 200% 200%, 50% 200%, 50% 92%, -100% 92%); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { from { opacity: .25; } to { opacity: .7; } }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes bub { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes tap { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.4); } }
/* Replicas, not at launch: a rolling deploy.
@keyframes roll { 0% { border-color: var(--build); box-shadow: 0 0 0 3px var(--build-bg); } 100% { } } */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes chatin { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes hintin { from { opacity: 0; transform: translate(-50%, 4px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes hint { from { transform: none; opacity: 1; } to { transform: scale(var(--hx, 1.18), var(--hy, 1.6)); opacity: 0; } }
@keyframes think { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes fold { from { visibility: visible; opacity: 1; transform: none; } to { visibility: hidden; opacity: 0; transform: scale(.97); } }
@keyframes dudin { 0% { opacity: 0; transform: translateY(14px) scale(.7); } 60% { opacity: 1; transform: translateY(-2px) scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes drop { 0% { opacity: 0; transform: translateY(-58px) rotate(-10deg); } 30% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes gulp { 0%, 100% { transform: none; } 40% { transform: translateY(-5px) rotate(-3deg); } }
@keyframes squash { 0% { transform: none; } 28% { transform: scale(1.08, .88); } 62% { transform: scale(.98, 1.03); } 100% { transform: none; } }
@keyframes ring { 0% { opacity: 0; transform: scale(.5); } 15% { opacity: .8; } 100% { opacity: 0; transform: scale(1.3); } }
@keyframes ckin { 0% { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1.15); } 100% { opacity: 1; transform: none; } }
@keyframes shnod { 0%, 100% { transform: none; } 40% { transform: translateY(4px); } }
@keyframes showglint { 0%, 70% { transform: none; } 84%, 100% { transform: translateX(60px); } }
@keyframes showglint2 { 0%, 70% { transform: none; } 84%, 100% { transform: translateX(60px); } }
@keyframes showsettle { 0% { transform: none; } 35% { transform: scale(1.04, .95); } 70% { transform: scale(.99, 1.02); } 100% { transform: none; } }
@keyframes showswayl { 0% { transform: none; } 30% { transform: skewX(1.4deg); } 68% { transform: skewX(-.7deg); } 86% { transform: skewX(.22deg); } 100% { transform: none; } }
@keyframes showswayr { 0% { transform: none; } 30% { transform: skewX(-1.4deg); } 68% { transform: skewX(.7deg); } 86% { transform: skewX(-.22deg); } 100% { transform: none; } }
/* a light comes on: it flickers once, then stays */
@keyframes showon { 0% { opacity: 0; } 10% { opacity: 1; } 16% { opacity: .3; } 24%, 100% { opacity: 1; } }
@keyframes showpop { 0% { opacity: 0; transform: scale(.4); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes showoff { from { opacity: 1; } to { opacity: 0; } }
@keyframes showchase { 0%, 49.9% { background-position: calc(var(--D) * -.05) top, calc(var(--D) * -.05) bottom; } 50%, 100% { background-position: calc(var(--D) * .05) top, calc(var(--D) * .05) bottom; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .js .feat .btext > *, .js .feat .stagebox, .js .lims .ltext > *, .js .lims .stagebox, .js .limcard li, .js .notyet, .js .feat .ticks li { opacity: 1; transform: none; }
  .js #compare .cb { transform: none; } .js #compare .cpv { opacity: 1; }
  dialog.modal, dialog.modal::backdrop { transition: none !important; }
  .cursor { display: none; }
  form.sent * { animation-delay: 0s !important; }
}
