/* 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: 'Rethink Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/rethink-sans-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: 'Rethink Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/rethink-sans-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-mono-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: #B4B8C0; --edge-inet: #A4A9B1;
  --live: #1E9E5A; --live-ink: #1E7A4A; --live-bg: #E3F5EB;
  --build: #2F6FEB; --build-bg: #E8EFFD;
  --fail: #B42318; --fail-bg: #FDECEA;
  --tan: #F6E3C4; --tan-ink: #6E4A14; --dud: #E0A95F;
  --sans: 'Rethink Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1200px;
  --pw: clamp(360px, 44%, 480px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
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); }
.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; }
.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: 600; 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: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; 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: 760; text-align: center; }
@media (min-width: 900px) { .hero h1 { white-space: nowrap; } }
.htext { 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; }
.hl li { display: inline-flex; align-items: center; gap: 10px; padding: 6px 20px 6px 6px; background: var(--paper); border: 1px solid #ECE8E1; border-radius: 99px; font-size: 16px; font-weight: 560; box-shadow: 0 1px 2px rgba(60,40,20,.05); }
.hi { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--tan); 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); }
.hdemo { width: 100%; min-width: 0; }
.hdemo .demo { --pw: clamp(360px, 40%, 470px); }
.hdemo .stage { height: clamp(430px, 58vh, 580px); }

/* the live demo */
.demo-wrap { padding: 0; }
.demo { position: relative; border: 1px solid var(--line); 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: 1px solid var(--line); position: relative; z-index: 10; background: var(--paper); }
.dtop .slash { color: var(--line-3); }
.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: 650; cursor: pointer; font-size: 15px; }
.projbtn:hover { background: var(--line-2); }
.phint { position: absolute; left: 50%; top: calc(100% + 9px); transform: translateX(-50%); text-align: center; display: none; white-space: nowrap; font: 600 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); }
.projbtn.hint { background: #FBF1E2; animation: hint 1.6s ease-out infinite; }
.projbtn.hint .phint { display: block; animation: hintin .3s var(--ease); }
.nalert { position: absolute; right: 10px; top: -11px; display: inline-flex; align-items: center; gap: 5px; font: 600 10.5px var(--sans); color: #93370D; background: #FEF0C7; border: 1px solid #FEDF89; border-radius: 99px; padding: 2px 8px 2px 6px; white-space: nowrap; animation: pop .35s var(--ease); }
.nalert i { width: 6px; height: 6px; border-radius: 50%; background: #F79009; }
.node.alert { border-color: #F5B54A; box-shadow: 0 0 0 3px rgba(247,144,9,.14), 0 8px 20px rgba(14,16,20,.06); }
.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 { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 99px; border: 1px solid #DED7CB; background: var(--paper); color: var(--ink); font-size: 16px; font-weight: 560; cursor: pointer; box-shadow: 0 1px 2px rgba(60,40,20,.05); }
.addp:hover { border-color: #CDC4B6; }
.addp .plus { color: var(--muted); margin-left: 2px; }
.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="redis"] { --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: .9; }
.aslot[data-tpl="next"] { --s: .74; }
.aslot[data-tpl="cron"] { --s: 1; }
.dtabs { display: flex; gap: 2px; flex: 1 1 auto; font-size: 14px; }
.dtabs span { padding: 0 11px; min-height: 32px; display: inline-flex; align-items: center; border-radius: 8px; color: #A9ADB5; }
.dtabs span.on { background: var(--line-2); color: var(--ink); font-weight: 600; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: #ECEDF0; display: inline-flex; overflow: hidden; color: #C6C9CF; }
.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: 1px solid var(--line); 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; }
.menu button:hover { background: var(--line-2); }
.menu button .muted { font-size: 13px; }

.stage { position: relative; height: clamp(460px, 62vh, 620px); background: var(--canvas); overflow: hidden; }
/* the story plays on its own: no hover or clicks on the canvas until it ends */
.demo.playing .stage { pointer-events: none; }
.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: 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); text-align: left; cursor: pointer; transform-origin: 50% 50%; will-change: transform, opacity; }
.node:hover { border-color: var(--line-3); }
.node.sel { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 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: 700; letter-spacing: -.01em; flex: none; }
.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: 650; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1 1 auto; min-width: 0; }
.reps { font: 500 11px var(--mono); color: var(--muted); flex: none; }
.st { display: inline-flex; align-items: center; gap: 5px; font: 500 11px var(--mono); color: var(--build); flex: none; }
.sub { font: 11px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub.busy { color: var(--build); }
.sub.bad { color: var(--fail); font: 600 12px var(--sans); }
.sub.quiet { color: var(--faint); font: 12px var(--sans); }
.spin { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--build); border-top-color: transparent; animation: spin .8s linear infinite; flex: none; }
.pbar { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 3px; display: flex; gap: 3px; }
.pbar i { position: relative; flex: 1; border-radius: 2px; background: var(--line); overflow: hidden; }
.pbar i.done { background: var(--build); }
/* the running segment fills over its step's time, so the bar moves on without a stop */
.pbar i.running::after { content: ""; position: absolute; inset: 0; background: var(--build); transform-origin: left; animation: fillx var(--ms, .4s) linear both; }
.ghost { position: absolute; left: 0; top: 0; border: 1px solid var(--line-3); 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: 1px solid #D9DBE0; 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: 500 11px var(--mono); color: var(--tan-ink); background: var(--tan); border-radius: 5px; padding: 1px 6px; white-space: nowrap; }
.tlayer .btag { position: absolute; left: 0; top: 0; }
/* canvas lines a little fainter than elsewhere; the hot line stays ink */
.cv { --edge: #C5C8CE; --edge-inet: #B8BCC3; }
.e { fill: none; stroke: var(--edge); stroke-width: 1.5; }
.e.data { stroke-dasharray: 5 5; }
.e.inet { stroke: var(--edge-inet); }
.e.hot { stroke: var(--ink); }
.e.flow { stroke: var(--build); stroke-dasharray: 6 6 !important; animation: flow .45s linear infinite; }
.port { fill: var(--paper); stroke: var(--edge); stroke-width: 1.5; }
.port.hot { stroke: var(--ink); }

.ov { position: absolute; z-index: 3; }
.dudc { left: 14px; bottom: 10px; display: flex; align-items: flex-end; gap: 6px; pointer-events: none; }
.bubble { background: var(--paper); border: 1px solid var(--line); 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: 1px solid var(--line); 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; }
.pin.swap > *, .pbody.swap { animation: swap .2s var(--ease); }
.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: 3px; 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); }
.pact { display: flex; gap: 6px; }
.ptabs { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.ptabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 8px 9px; color: var(--muted); cursor: pointer; font-size: 13.5px; }
.ptabs button:hover { color: var(--ink); }
.ptabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.pbody { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.pill { font: 700 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); }
.dcard { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.dhead, .older li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dmsg { flex: 1 1 auto; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dhead .mono { font-size: 12px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step { position: relative; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; min-height: 28px; font-size: 13.5px; }
.step > span:nth-child(2) { transition: color .3s var(--ease); }
.step.pending > span:nth-child(2) { color: var(--faint); }
/* the rail to the next step: it fills green when this step is done, and the
   next step's spinner fades in as the fill reaches it */
.step:not(:last-child)::before, .step:not(:last-child)::after { content: ""; position: absolute; left: 6.75px; top: calc(50% + 10px); height: 8px; width: 1.5px; border-radius: 1px; background: var(--line); }
.step:not(:last-child)::after { background: var(--live); transform: scaleY(0); transform-origin: top; transition: transform .22s cubic-bezier(.4,0,.2,1); }
.step.done:not(:last-child)::after { transform: none; }
.step.running .spin { animation: spin .8s linear infinite, fadein .2s .16s both; }
.step.running > span:nth-child(2) { font-weight: 600; }
.step .tm { font-size: 12px; color: var(--muted); }
.si { display: inline-flex; align-items: center; }
.ring { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-3); display: inline-block; }
.si .spin { width: 14px; height: 14px; }
.ck { display: inline-flex; }
.ck.pop { animation: pop .32s var(--ease); }
.blog { margin: 0; background: var(--ink); color: #D6D9DE; border-radius: 9px; padding: 10px 12px; font-size: 11.5px; line-height: 1.6; white-space: pre-wrap; overflow: hidden; }
.older { list-style: none; margin: 0; padding: 0; }
.older li { padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 13px; }
.older .dmsg { font-weight: 400; }
.link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; }
.empty { text-align: center; padding: 36px 12px; }
.logs { flex: 1 1 auto; min-height: 200px; overflow: auto; background: var(--ink); color: #D6D9DE; border-radius: 10px; padding: 10px 12px; font-size: 12px; line-height: 1.7; }
.logs .lt { color: #7D828C; margin-right: 10px; }
.vars { list-style: none; margin: 0; padding: 0; }
.vars li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 10px; align-items: center; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.vk { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv { display: flex; align-items: center; min-width: 0; color: var(--ink-2); }
.vv > .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dots { color: var(--muted); letter-spacing: .1em; }
.vchip { display: inline-flex; align-items: center; gap: 6px; min-width: 0; border: 1px solid var(--line); border-radius: 7px; padding: 2px 8px 2px 3px; color: var(--ink); background: var(--paper); }
.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; font-size: 13px; }
.vtop .btn { gap: 6px; }
.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); }
.vin, .vkin { width: 100%; min-width: 0; height: 32px; border: 1px solid var(--line-3); border-radius: 8px; padding: 0 9px; font-size: 12.5px; background: var(--paper); color: var(--ink); }
.vin:focus, .vkin:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.ebtns { display: inline-flex; gap: 4px; flex: none; }
.pnote { margin: 0; color: var(--muted); font-size: 13.5px; }
.secret { font: 600 11px var(--sans); color: var(--ink-2); background: var(--line-2); border-radius: 5px; padding: 1px 6px; }
.vlink { font-size: 12px; color: var(--ink-2); }
.srow { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.srow > span:last-child { text-align: right; font-size: 12.5px; }
.sgrp { margin: 8px 0 -6px; font-size: 13px; font-weight: 650; color: var(--muted); }
.sgrp:first-child { margin-top: 0; }
.sv { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; color: var(--ink-2); }
.sv > .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow.editing .sv { flex: 1 1 auto; }
.srow.editing .vin { max-width: 230px; }
.cost { font: 600 12px var(--sans); color: var(--live-ink); background: var(--live-bg); border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.applybar { position: sticky; bottom: -14px; margin: auto -16px -14px; padding: 10px 16px; background: var(--paper); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: 13px; }
.applybar span { flex: 1 1 auto; color: var(--ink-2); }
.lbar { display: flex; gap: 8px; align-items: center; }
.seg { display: inline-flex; flex: none; background: var(--line-2); border-radius: 9px; padding: 2px; }
.seg button { border: 0; background: none; border-radius: 7px; padding: 5px 11px; font-size: 13px; color: var(--muted); cursor: pointer; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(14,16,20,.1); }
.lsearch { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 7px; height: 34px; border: 1px solid var(--line); border-radius: 9px; padding: 0 10px; color: var(--muted); }
.lsearch:focus-within { border-color: var(--ink); }
.lsearch input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 13px; color: var(--ink); }
.logs mark { background: var(--dud); color: var(--ink); border-radius: 2px; }
.lnone { color: #7D828C; }
.mc { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; }
.mch { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; font-weight: 600; }
.mch .mono { font-size: 12.5px; font-weight: 400; }
.mch b { font-weight: 600; }
.mcw { position: relative; height: 58px; }
.mcw svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mca { fill: rgba(14,16,20,.06); }
.mcl { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mlim { stroke: var(--fail); stroke-width: 1.2; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.mlab { position: absolute; right: 0; transform: translateY(calc(-100% - 3px)); font-size: 11px; color: var(--fail); background: var(--paper); padding-left: 4px; }
.sdanger { padding-top: 6px; }
.switch { width: 38px; height: 22px; border-radius: 99px; border: 0; background: var(--line-3); position: relative; cursor: pointer; padding: 0; }
.switch i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"] i { left: 19px; }
.stepper { display: inline-flex; align-items: center; gap: 10px; }
.stepper button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 700; }
.stepper button:hover { border-color: var(--line-3); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper button:disabled:hover { border-color: var(--line); }
.tl { position: relative; height: 22px; border-radius: 7px; background: linear-gradient(90deg, #D7EFE1, var(--live-bg)); }
.tll { display: flex; justify-content: space-between; font-size: 11px; margin-top: -6px; }
@media (max-width: 699px) {
  .panel { left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; height: 66%; transform: translateY(calc(100% + 40px)); }
  .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(112px, 13.5vw, 184px) 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; }
.feat h2, .lims h2, .access h2 { margin: 0; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.04em; font-weight: 760; }
.btext { display: flex; flex-direction: column; gap: 24px; }
.btext .ticks { color: var(--ink); gap: 12px; }
@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 .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 */
#scDeploy .wires { position: absolute; left: 0; top: 0; }
.wire { fill: none; stroke: var(--edge); stroke-width: 1.5; transition: opacity .4s; }
.wire.off { opacity: 0; }
.dots circle { fill: var(--ink); }
.net { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: #8A8E96; border: 1px solid #D9DBE0; 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); }
.dom { position: absolute; font-size: 11.5px; color: var(--muted); transform: translateX(-50%); white-space: nowrap; }
.dpnote { position: absolute; left: 22px; top: 18px; font-size: 12.5px; color: var(--ink-2); }
.dpfoot { position: absolute; left: 22px; bottom: 16px; display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); }
.dpfoot b { color: var(--ink); font-weight: 600; margin-left: 4px; }
.dpfoot b.okc { color: var(--live-ink); }
.ver { position: absolute; width: 272px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(14,16,20,.05), 0 10px 24px rgba(14,16,20,.08); transition: opacity .5s var(--ease), transform .5s var(--ease); }
#dpV2 { opacity: 0; transform: translateY(10px) scale(.98); }
#dpV2.on { opacity: 1; transform: none; }
#dpV2.on.old, #dpV1.old { opacity: .5; }
.vh { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 36px; }
.vt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.vt b { font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt .mono { font-size: 11px; color: var(--muted); }
.rbw { display: none; justify-content: flex-end; padding-top: 8px; margin-top: 8px; border-top: 1px solid var(--line-2); }
.ver.ask .rbw { display: flex; animation: bub .3s var(--ease); }
.rb { min-height: 28px; font-size: 12px; }
.push { position: absolute; left: 330px; top: 140px; font-size: 11.5px; background: var(--ink); color: #fff; border-radius: 8px; padding: 3px 10px; opacity: 0; }
.vsteps { list-style: none; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; }
.vsteps li { position: relative; display: grid; grid-template-columns: 14px auto minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 22px; color: var(--faint); transition: color .3s var(--ease); }
.vsteps li:not(:last-child)::before, .vsteps li:not(:last-child)::after { content: ""; position: absolute; left: 5.75px; top: calc(50% + 9px); height: 7px; width: 1.5px; border-radius: 1px; background: var(--line-2); }
.vsteps li:not(:last-child)::after { background: var(--live); transform: scaleY(0); transform-origin: top; transition: transform .22s cubic-bezier(.4,0,.2,1); }
.vsteps li.done:not(:last-child)::after { transform: none; }
.vsteps li > i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--line-3); }
.vsteps li.run { color: var(--ink); font-weight: 600; }
.vsteps li.run > i { border-color: var(--build); border-top-color: transparent; animation: spin .8s linear infinite, fadein .2s .16s both; }
.vsteps li.done { color: var(--ink-2); }
.vsteps li.done > i { border: 0; background: var(--live) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; animation: pop .32s var(--ease); }
.vsteps em { font: 600 10.5px var(--sans); font-style: normal; color: var(--tan-ink); background: var(--tan); border-radius: 5px; padding: 1px 6px; justify-self: start; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s var(--ease); }
.vsteps li.done em { opacity: 1; transform: none; }
.vsteps .t { grid-column: 4; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.vsteps li:not(.done):not(.run) .t { visibility: hidden; }
.prog { height: 5px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.prog b { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--build); }
.vsteps li.done .prog b { background: var(--live); }

/* Postgres: backups */
.bk-head { position: absolute; left: 20px; right: 20px; top: 16px; display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; }
.bk-head b { font-size: 15px; }
.bk-head .grow { flex: 1 1 auto; }
.bk-head .mono { font-size: 12.5px; color: var(--ink-2); }
.bk-off { display: inline-flex; align-items: center; gap: 5px; align-self: center; font-size: 12.5px; color: var(--muted); border-radius: 99px; padding: 1px 8px 1px 7px; transition: background-color .4s, color .4s; }
.bk-off svg:last-child { color: var(--live); }
.bk-off.got { background: var(--live-bg); color: var(--live-ink); }
/* the last 30 minutes as one line: a dot per backup, any second on the blue part */
.bk-tl { position: absolute; inset: 0; }
.bk-track, .bk-have, .bk-undo { position: absolute; top: 96px; height: 4px; border-radius: 99px; }
.bk-track { left: 24px; width: 492px; background: var(--line-2); }
.bk-have { left: 24px; background: #C9D8FA; }
.bk-undo { background: #F2C6C1; opacity: 0; transition: opacity .3s; }
#scBackup.drag .bk-undo, #scBackup.picked .bk-undo { opacity: 1; }
.bk-dot { position: absolute; top: 93px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--paper); border: 2px solid var(--build); }
.bk-dot.later { opacity: 0; }
.bk-dot.new { animation: pop .35s var(--ease); }
.bk-lab { position: absolute; top: 112px; transform: translateX(-50%); font: 11px var(--mono); color: var(--faint); }
.bk-ev { position: absolute; top: 74px; height: 32px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--fail); opacity: 0; transform: scaleY(.2); transform-origin: bottom; transition: opacity .3s, transform .45s var(--ease); }
.bk-ev span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 4px; font: 600 11px var(--sans); color: var(--fail); background: var(--fail-bg); border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
#scBackup.oops .bk-ev { opacity: 1; transform: none; }
.bk-knob { position: absolute; top: 89px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--ink); box-shadow: 0 2px 6px rgba(14,16,20,.28); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.5); transition: opacity .25s, transform .25s var(--ease); }
.bk-knob::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
#scBackup.knob .bk-knob { opacity: 1; transform: none; }
#scBackup.drag .bk-knob { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(14,16,20,.08), 0 3px 10px rgba(14,16,20,.3); }
.bk-foot, .bk-res { position: absolute; left: 20px; right: 20px; top: 158px; height: 44px; display: flex; align-items: center; gap: 12px; font-size: 13.5px; transition: opacity .3s; }
.bk-foot { justify-content: space-between; color: var(--ink-2); }
.bk-to { display: flex; flex-direction: column; line-height: 1.35; }
.bk-to b { font-weight: 600; color: var(--ink); }
.bk-to small { font-size: 12px; color: var(--muted); }
.bk-res { opacity: 0; }
#scBackup.restoring .bk-foot { opacity: 0; }
#scBackup.restoring .bk-res { opacity: 1; }
.rbar { flex: 1 1 auto; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.rbar i { display: block; height: 100%; width: 0; background: var(--build); }
#scBackup.restored .rbar i { background: var(--live); }
.rt { white-space: nowrap; color: var(--ink-2); }
#scBackup.restored .rt { color: var(--live-ink); font-weight: 600; }

/* Postgres: query insights */
.qsc { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; box-sizing: border-box; }
.q-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; margin-bottom: 4px; }
.q-head b { font-size: 15px; }
.qr { display: grid; grid-template-columns: minmax(0, 1fr) 120px 58px; gap: 12px; align-items: center; padding: 6px 8px; margin: 0 -8px; border-radius: 9px; transition: background .4s; }
.qr code { font: 11.5px var(--mono); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qb { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.qb i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--edge); }
.qr[data-to] .qb i { background: #D9822B; }
.qms { font-size: 12px; text-align: right; color: var(--ink-2); }
.qr.slow { background: var(--fail-bg); }
.qr.slow .qms { color: var(--fail); font-weight: 600; }
.qr.fast .qb i { background: var(--live); }
.qr.fast .qms { color: var(--live-ink); font-weight: 600; }
.q-tip { display: flex; align-items: center; gap: 10px; min-height: 48px; font-size: 13.5px; color: var(--ink-2); margin-top: 6px; padding: 8px 10px 8px 12px; border: 1px solid var(--line); border-radius: 12px; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
#scQuery.tip .q-tip { opacity: 1; transform: none; }
.qtx { flex: 1 1 auto; min-width: 0; }
.qtx .mono { font-size: 12.5px; color: var(--ink); }
#scQuery.fixed #qGo { display: none; }
#qGo .spin { width: 10px; height: 10px; border-color: #fff; border-top-color: transparent; }

/* API and MCP: a chat with Claude */
.chat { display: flex; flex-direction: column; background: #FBFAF7; }
.chead { flex: none; height: 50px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid var(--line); background: var(--paper); font-size: 14.5px; }
.chead .grow { flex: 1 1 auto; }
.creplay { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 10px; border-radius: 99px; border: 1px solid #D9DBE0; background: var(--paper); font-size: 12.5px; font-weight: 600; 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; }
.conn { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); background: var(--line-2); border-radius: 99px; padding: 4px 11px; }
.conn i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.cbody { 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 36px); mask-image: linear-gradient(to bottom, transparent, #000 36px); }
.cin { display: flex; flex-direction: column; gap: 14px; padding: 24px 0 6px; transition: opacity .4s; }
.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; }
.ghost { color: transparent; }
.alink { color: var(--build); 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 .mono { 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: 600; 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: 34px; 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; }
.composer { flex: none; display: flex; align-items: center; gap: 8px; height: 52px; margin: 10px 16px 16px; 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); }
.sbox { position: absolute; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: center; height: 46px; padding: 0 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 1px 2px rgba(14,16,20,.06), 0 8px 18px rgba(14,16,20,.07); }
.sbox .tile { width: 26px; height: 26px; border-radius: 7px; }
.mt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mt b { font-size: 12.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt .ms { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* security */
#secCv { position: absolute; left: 0; top: 0; width: 560px; height: 350px; }
.slab { position: absolute; font: 600 11.5px var(--sans); color: var(--muted); }
.sbox { width: 158px; }
.sfoot { position: absolute; left: 20px; bottom: 14px; display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); }
.sfoot b { color: var(--ink); font-weight: 600; margin-left: 4px; }
.sd { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.sd.red { background: #E5484D; }
.sd.green { background: var(--live); }

/* price */
.price { position: relative; gap: 16px; padding: 22px 24px 24px; container-type: inline-size; }
.gbs { display: grid; grid-template-columns: repeat(6, 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 10px; min-height: 38px; font-weight: 650; 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); }
.pbig { margin-top: 14px; font: 760 64px/1 var(--sans); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.pbig small { font: 500 18px var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.ramtop { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.ramtop .mono { font-size: 12.5px; color: var(--ink); white-space: nowrap; letter-spacing: -.03em; word-spacing: -.3em; }
.price.short .ramtop .mono { 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; }
.rambar .rseg img { width: 20px; max-width: calc(100% - 8px); aspect-ratio: 1; border-radius: 6px; }
.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: 600; }
.ramtip .mono { font-size: 11.5px; color: #C9CCD2; letter-spacing: -.03em; word-spacing: -.3em; }
.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 */
@container (max-width: 420px) { .gbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* limitations: one spec card, with what is not in the box yet at its foot */
.lims { padding: clamp(112px, 13.5vw, 184px) 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: 650; }
.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: 650; 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) {
  .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: 1.5px dashed rgba(110,74,20,.25); display: flex; align-items: center; justify-content: center; color: rgba(110,74,20,.4); }

/* apply */
.access { padding: clamp(112px, 13.5vw, 184px) 0 clamp(140px, 15vw, 200px); }
.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; }
.formcard { padding: 26px; width: 100%; max-width: 620px; }
form.vis { padding: 24px; gap: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.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); }
.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; }
.formfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.msg { font-size: 14px; margin: 10px 0 0; }
.msg:empty { display: none; }
.msg.err { color: var(--fail); }
.thanks { display: none; flex-direction: column; gap: 8px; padding: 8px 0; }
form.sent .thanks { display: flex; }
form.sent .fields { display: none; }

[hidden] { display: none !important; }

/* cards: a border a little firmer than the hairlines inside them */
.card, .demo, .panel, .node, .ver, .sbox, .found, .tools, .dns, .fs, .dcard, .mc, .vchip, .menu { border-color: #D9DBE0; }
.hl li, .addp { border-color: #DED7CB; }

/* warm paper */
body { background: #FCFBF8; }
.nav { background: rgba(252,251,248,.92); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { from { opacity: .25; } to { opacity: .7; } }
@keyframes flow { to { stroke-dashoffset: -12; } }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes swap { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
@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); } }
@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 fillx { from { transform: scaleX(0); } to { transform: none; } }
@keyframes hintin { from { opacity: 0; transform: translate(-50%, 4px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes hint { 0% { box-shadow: 0 0 0 0 rgba(224,169,95,.6); } 100% { box-shadow: 0 0 0 10px rgba(224,169,95,0); } }
@keyframes think { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-2px); } }
@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; }
  .cursor { display: none; }
}
