/* Venus - one stylesheet for the hand-written pages: the cream canvas, Inter for
   every paragraph and control with Space Grotesk setting the headings, pill
   buttons, 22px cards and a single purple accent, in light and dark. The rules
   below the 'inner pages' comment belong to /pricing, /about and the 404. */

:root{
  --canvas:#f7f5f1; --canvas-top:#fbfaf7; --canvas-2:#f0ede7;
  --bg:#ffffff; --bg-soft:#f3f0ea; --bg-elev:#ffffff;
  --ink:#0a0a0c; --ink-2:#57575f; --ink-3:#8b8b95;
  --line:#eae5dd; --line-soft:#f2efe9;
  --accent:#6c4cff; --accent-hi:#8465ff; --accent-soft:rgba(108,76,255,.10);
  --cool:#3fa9ff; --ok:#12a150;
  --sh-1:0 1px 2px rgba(10,10,12,.06), 0 1px 1px rgba(10,10,12,.04);
  --sh-2:0 10px 28px -12px rgba(10,10,12,.18), 0 2px 6px -3px rgba(10,10,12,.08);
  --sh-3:0 36px 80px -34px rgba(10,10,12,.30), 0 8px 24px -14px rgba(10,10,12,.14);
  --r-1:8px; --r-2:12px; --r-3:16px; --r-4:22px;
  --page:1080px; --gutter:24px;
  --pad:clamp(76px, 8.5vw, 132px);
  /* Two faces, one voice. Inter carries the body, the controls, the hero and
   * every heading - one grotesque from the first line of the hero to the last
   * section title, so a page never changes accent halfway down.
   * Space Grotesk stays for the small labels, the figures and the wordmark:
   * the same grotesque skeleton with a designer's quirks, so a detail reads as
   * composed rather than default. */
  --sans:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --display:"Space Grotesk",var(--sans);
}
@media (prefers-color-scheme:dark){
  :root{
    --canvas:#08080a; --canvas-top:#0b0b10; --canvas-2:#050507;
    --bg:#08080a; --bg-soft:#0e0e11; --bg-elev:#111114;
    --ink:#f4f4f6; --ink-2:#a3a3ad; --ink-3:#73737d;
    --line:#1f1f25; --line-soft:#18181d;
    --accent:#8465ff; --accent-hi:#9b7fff; --accent-soft:rgba(132,101,255,.15);
    --sh-1:0 1px 2px rgba(0,0,0,.5);
    --sh-2:0 12px 32px -14px rgba(0,0,0,.7);
    --sh-3:0 40px 90px -38px rgba(0,0,0,.85);
  }
}
*,*::before,*::after{box-sizing:border-box}
/* The `hidden` attribute must win everywhere: components here set `display`
 * (inline-flex, grid, ...) that would otherwise beat the UA's `[hidden]{display:none}`. */
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;color:var(--ink);
  background-color:var(--canvas);
  background-image:linear-gradient(180deg,var(--canvas-top) 0%,var(--canvas) 40%,var(--canvas-2) 100%);
  background-repeat:no-repeat;
  font:16px/1.5 var(--sans);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  font-kerning:normal;font-variant-ligatures:common-ligatures}
/* Every heading is set in Inter, the hero's face: one typeface down the page. */
h1,h2,h3,h4,h5,h6{font-family:var(--sans);font-optical-sizing:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
input,textarea{font:inherit;color:inherit}
::selection{background:var(--accent);color:#fff}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}
.wrap{width:100%;max-width:var(--page);margin:0 auto;padding:0 var(--gutter)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* ---------- top bar ---------- */
.topbar{position:sticky;top:0;z-index:60;height:64px;display:flex;align-items:center;
  border-bottom:1px solid transparent;transition:border-color .3s,background-color .3s,backdrop-filter .3s}
.topbar.is-stuck{border-bottom-color:var(--line);background:color-mix(in srgb,var(--canvas-top) 76%,transparent);
  backdrop-filter:blur(16px) saturate(180%)}
.topbar .wrap{display:flex;align-items:center;gap:30px}
.brand{display:flex;align-items:center;gap:9px;font-family:var(--display);
  font-size:17px;font-weight:600;letter-spacing:-.03em}
.brand-mark{width:32px;height:32px;display:grid;place-items:center}
/* The mark is the supplied icon.png, printed as delivered: `multiply` fades the
   bitmap's own near-white background into the page behind it. The box and the
   image are both a fixed 32px square - never a percentage, never `auto` - so the
   wide 811x611 bitmap can never lay out at its natural width and stretch the
   top bar; `object-fit` fits it inside the box without distortion. */
.brand-mark-img{width:32px;height:32px;object-fit:contain;display:block;mix-blend-mode:multiply}
.nav{display:flex;gap:24px;font-size:14.5px;color:var(--ink-2)}
.nav a:hover{color:var(--ink)}
/* The page you are on, marked in the markup with aria-current. */
.nav a[aria-current="page"]{color:var(--ink);font-weight:500}
.top-actions{margin-left:auto;display:flex;align-items:center;gap:6px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;padding:0 17px;
  border-radius:999px;font-size:14.5px;font-weight:500;border:1px solid transparent;
  transition:transform .16s,box-shadow .22s,background-color .22s,border-color .22s,color .22s}
.btn:active{transform:translateY(1px)}
.btn svg{width:15px;height:15px}
.btn-ghost{color:var(--ink-2)}
.btn-ghost:hover{color:var(--ink);background:var(--line-soft)}
.btn-primary{background:var(--accent);color:#fff;
  box-shadow:0 1px 2px rgba(10,10,12,.22), 0 10px 22px -10px rgba(108,76,255,.85)}
.btn-primary:hover{background:var(--accent-hi);transform:translateY(-1px);
  box-shadow:0 2px 5px rgba(10,10,12,.2), 0 16px 34px -12px rgba(108,76,255,.9)}
.btn-outline{border-color:var(--line);background:var(--bg-elev);box-shadow:var(--sh-1)}
.btn-outline:hover{border-color:var(--ink-3)}
/* the account slot — swapped in for "Sign in" by the script at the foot */
.acct{position:relative}
.acct-btn{display:flex;align-items:center;gap:6px;padding:3px 8px 3px 3px;border:1px solid var(--line);
  border-radius:999px;background:var(--bg-elev);box-shadow:var(--sh-1);transition:border-color .2s}
.acct-btn:hover{border-color:var(--ink-3)}
.acct-btn svg{width:12px;height:12px;color:var(--ink-3);transition:transform .16s}
.acct.open .acct-btn svg{transform:rotate(180deg)}
/* The account mark: the landing's lime with ink on top - one colour, every page
 * and the studio alike (the React `AccountMenu` paints the same pair). */
.acct-av{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:#111114;
  font-size:12.5px;font-weight:600;text-transform:uppercase;background:#c8f51e}
.acct-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:80;min-width:228px;padding:6px;
  border:1px solid var(--line);border-radius:var(--r-2);background:var(--bg-elev);box-shadow:var(--sh-2)}
.acct-mail{margin:0 0 6px;padding:7px 10px;border-bottom:1px solid var(--line-soft);
  font-size:12.5px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct-menu a,.acct-menu button{display:block;width:100%;padding:8px 10px;border-radius:var(--r-1);
  font-size:14px;color:var(--ink-2);text-align:left}
.acct-menu a:hover,.acct-menu button:hover{background:var(--line-soft);color:var(--ink)}
.acct-menu button[disabled]{opacity:.55}
.btn-lg{height:46px;padding:0 22px;font-size:15.5px}
/* Credits: the account menu's row, right under the email. It is not in the bar
 * any more - the avatar holds it, so the balance is one click away and only
 * somebody with an account ever sees it. /site.js fills it from /api/billing and
 * it stays hidden until then, so a visitor never sees a meter reading zero. */
.acct-menu .credit{display:flex;align-items:center;gap:8px;width:100%;padding:8px 10px;
  border-radius:var(--r-1);font-size:13px;color:var(--ink-2);font-variant-numeric:tabular-nums;
  transition:background-color .16s,color .16s}
.acct-menu .credit:hover{background:var(--line-soft);color:var(--accent)}
.credit svg{width:14px;height:14px;flex-shrink:0}
.credit-num{font-weight:500}
.credit-lbl{color:var(--ink-3)}
.acct-menu .credit.is-low{color:#a35f00}
.acct-menu .credit.is-empty{color:#c0392b}
@media (prefers-color-scheme:dark){
  .acct-menu .credit.is-low{color:#e0aa57}
  .acct-menu .credit.is-empty{color:#f08a80}
}
@media (max-width:780px){.nav{display:none}}

/* ---------- phones ----------
 * The hand-written pages were cut for a laptop: one 1080px column, a 30px gap in
 * the top bar, a 64px bar. Below 780px the main nav is already gone; below 560px
 * the bar itself tightens and the gutter shrinks, so the two actions still fit a
 * 320px screen. */
@media (max-width:560px){
  :root{--gutter:16px}
  .topbar{height:56px}
  .topbar .wrap{gap:10px}
  .brand{font-size:15px}
  .brand-mark{width:28px;height:28px}
  .brand-mark-img{width:28px;height:28px}
  .top-actions{gap:6px}
  .btn{height:34px;padding:0 14px;font-size:14px}
  .btn-lg{height:42px;padding:0 18px;font-size:15px}
  .acct-menu{min-width:0;width:min(78vw,228px)}
  .hero{padding-top:38px}
}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;padding:clamp(54px,7vw,86px) 0 var(--pad);background:var(--bg)}
.hero-mesh{position:absolute;inset:0;pointer-events:none}
.hero-mesh::before{content:"";position:absolute;left:50%;top:-440px;width:1240px;height:860px;
  transform:translateX(-50%);filter:blur(22px);opacity:.55;
  background:
    radial-gradient(42% 46% at 50% 52%, rgba(108,76,255,.24), transparent 70%),
    radial-gradient(30% 34% at 76% 34%, rgba(63,169,255,.17), transparent 70%),
    radial-gradient(26% 30% at 24% 30%, rgba(255,138,76,.15), transparent 70%)}
/* A blueprint of pale dots rather than lines: the backdrop the floating shots are
   pinned to. Kept very light and faded out at the edges, so the centre stays quiet
   behind the headline and the composer. */
.hero-mesh::after{content:"";position:absolute;inset:0;
  background-image:radial-gradient(circle,#e4e7ee 1px,transparent 1.1px);
  background-size:22px 22px;
  -webkit-mask-image:radial-gradient(72% 66% at 50% 32%,#000,transparent 80%);
          mask-image:radial-gradient(72% 66% at 50% 32%,#000,transparent 80%)}
@media (prefers-color-scheme:dark){
  .hero-mesh::after{background-image:radial-gradient(circle,#23232b 1px,transparent 1.1px)}
}
.hero .wrap{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center}
/* Tighter and shorter than the full-bleed headline it replaces: the shots in the
   gutters need room, so the line stops at 15ch and the tracking closes up. */
.display{margin:0;max-width:15ch;font-family:var(--sans);font-size:clamp(2.15rem,4.6vw,3.35rem);
  line-height:1.04;letter-spacing:-.03em;font-weight:600;text-wrap:balance}
.display .grad{background:linear-gradient(96deg,var(--accent) 6%,#7a5bff 44%,var(--cool) 98%);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.lead{margin:22px auto 0;max-width:52ch;font-size:clamp(1.02rem,1.5vw,1.17rem);line-height:1.6;
  color:var(--ink-2);text-align:center;text-wrap:pretty}
/* 600px, not the width of the column: a sentence in the box should read as a
   sentence, and the soft wide shadow is what lifts it off the page instead of a
   hard border. */
.composer-shell{position:relative;margin-top:36px;width:100%;max-width:600px}
.composer-shell::after{content:"";position:absolute;inset:-16px -12px -22px;border-radius:34px;z-index:0;
  background:radial-gradient(50% 62% at 50% 56%,var(--accent-soft),transparent 72%)}
.composer{position:relative;z-index:1;display:block;padding:6px;text-align:left;background:var(--bg-elev);
  border:1px solid var(--line);border-radius:var(--r-4);
  box-shadow:0 10px 40px rgba(0,0,0,.08),0 1px 2px rgba(16,20,32,.04);
  transition:border-color .2s,box-shadow .2s}
.composer:focus-within{border-color:color-mix(in srgb,var(--accent) 50%,var(--line));
  box-shadow:0 10px 40px rgba(0,0,0,.08),0 1px 2px rgba(16,20,32,.04),0 0 0 4px var(--accent-soft)}
.composer-input{display:block;width:100%;border:0;background:transparent;outline:none;
  padding:15px 16px 9px;font-size:15.5px;line-height:1.5;
  /* A brief can run to a paragraph. The home script grows the box to fit what is
     in it, so every line stays visible; only a brief taller than this cap scrolls
     inside the box rather than pushing the rest of the page away. */
  resize:none;overflow-y:auto;max-height:min(46vh,420px)}
.composer-input::placeholder{color:var(--ink-3)}
.composer-foot{display:flex;align-items:center;gap:10px;padding:4px 8px 8px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{height:28px;padding:0 11px;border:1px solid var(--line);border-radius:999px;background:var(--bg);
  font-size:12.5px;color:var(--ink-2);transition:.16s}
.chip:hover{border-color:color-mix(in srgb,var(--accent) 60%,var(--line));color:var(--accent);background:var(--accent-soft)}
.hint{margin-left:auto;font-size:11.5px;color:var(--ink-3);border:1px solid var(--line);
  border-radius:6px;padding:2px 6px;white-space:nowrap}
.send{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 14px 0 16px;border-radius:999px;
  background:var(--accent);color:#fff;font-size:14.5px;font-weight:500;
  box-shadow:0 10px 22px -10px rgba(108,76,255,.9);transition:.18s}
.send:hover{background:var(--accent-hi);transform:translateY(-1px)}
.send:disabled{opacity:.72;cursor:default;transform:none}
.send svg{width:15px;height:15px}
.hero-note{margin:20px 0 0;font-size:13.5px;color:var(--ink-3)}
.hero-note b{color:var(--ink-2);font-weight:500}

/* ---------- the shots either side of the hero ----------
   Four placeholder screenshots pinned in the margins: two per side, the second
   one lower than the first, tilted a few degrees the other way. They are the
   first thing a visitor sees of what Venus makes, so they carry the shadow of a
   card and a dark pill naming the game. Everything here is decoration - the
   layer takes no clicks, so the composer underneath can never be blocked - and
   below 1100px the gutters are too narrow to hold them, so they go. */
.floats{position:absolute;inset:0;pointer-events:none}
/* Tied to the composer rather than to the viewport: each shot's inner edge sits a
   fixed 340px from the centre - the composer's own 300px half-width plus a 40px
   gap - so the tighter the box gets, the closer the shots come with it. */
.float{position:absolute;margin:0;width:100px;aspect-ratio:3/5}
.float img{display:block;width:100%;height:100%;object-fit:cover;border-radius:14px;
  background:var(--bg-soft);box-shadow:0 18px 40px rgba(16,20,32,.16),0 2px 6px rgba(16,20,32,.08)}
/* Centred under the tile and small enough to stay inside its width: a name like
   "Space Runner" would otherwise hang past the shot it labels. */
.float-badge{position:absolute;left:50%;bottom:-10px;transform:translateX(-50%);
  padding:4px 9px;border-radius:999px;background:#0e1017;color:#fff;
  font-family:var(--display);font-size:10px;font-weight:600;
  line-height:1;letter-spacing:.01em;white-space:nowrap;
  box-shadow:0 8px 18px -8px rgba(0,0,0,.55)}
.float-l1{right:calc(50% + 340px);top:15%;transform:rotate(-4deg)}
.float-l2{right:calc(50% + 340px);top:55%;transform:rotate(-4deg)}
.float-r1{left:calc(50% + 340px);top:15%;transform:rotate(4deg)}
.float-r2{left:calc(50% + 340px);top:55%;transform:rotate(4deg)}
@media (max-width:1100px){.floats{display:none}}

/* ---------- the 3D models a brief carries ----------
   A model is not an attachment. An attachment is read by the model - a
   screenshot, a spec - and its link dies within the hour; a model is loaded by
   the app Venus builds, so it is uploaded before the page changes and its
   address goes into the generated code. Each chip is therefore a name, a size
   and the one word that says what the model is for, and that word is the button
   that changes it: Auto, Player, Map, round again. */
.composer-models{padding:2px 10px 0}
.composer-models[hidden]{display:none}
.models{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.model{display:flex;align-items:center;gap:6px;height:30px;padding:0 3px 0 6px;
  max-width:100%;border:1px solid var(--line);border-radius:var(--r-1);background:var(--bg)}
.model>svg{width:15px;height:15px;flex:none;color:var(--ink-3)}
.model-name{max-width:9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font:inherit;font-size:12.5px;color:var(--ink-2)}
.model-size{font-size:11.5px;color:var(--ink-3);white-space:nowrap}
.model-role,.model-x{flex:none;border:1px solid var(--line);background:transparent;
  color:var(--ink-3);border-radius:5px;transition:.16s}
.model-role{height:20px;padding:0 6px;font-size:10px;font-weight:500;
  letter-spacing:.04em;text-transform:uppercase}
.model-role:hover{border-color:color-mix(in srgb,var(--accent) 55%,var(--line));color:var(--accent)}
.model-role[data-role="player"]{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));
  color:var(--accent)}
.model-role[data-role="map"]{border-color:color-mix(in srgb,var(--ink-2) 40%,var(--line));
  color:var(--ink-2)}
.model-x{width:20px;height:20px;border-color:transparent;font-size:15px;line-height:1;
  padding:0 0 2px}
.model-x:hover{background:var(--bg-soft);color:var(--ink)}
.model-error{margin:8px 0 0;padding:6px 9px;white-space:pre-line;
  border:1px solid color-mix(in srgb,#d1453b 32%,var(--line));
  border-radius:var(--r-1);background:color-mix(in srgb,#d1453b 6%,transparent);
  font-size:12.5px;line-height:1.5;color:#c0392b}
@media (prefers-color-scheme:dark){
  .model-error{color:#f08a80}
}
.composer-actions{display:flex;align-items:center;gap:8px;flex:none}
.cube{display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;flex:none;border:1px solid var(--line);border-radius:999px;
  background:var(--bg);color:var(--ink-2);transition:.16s}
.cube:hover:not(:disabled){border-color:color-mix(in srgb,var(--accent) 60%,var(--line));
  color:var(--accent);background:var(--accent-soft)}
.cube:disabled{opacity:.55;cursor:default}
.cube svg{width:16px;height:16px}
@media (max-width:560px){
  .composer-foot{flex-wrap:wrap}
  .hint{display:none}
  .send{margin-left:0;width:100%;justify-content:center}
}

/* ---------- sections ---------- */
.band{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg-soft)}
.sect{padding:var(--pad) 0}
.sect-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px}
.eyebrow{margin:0 0 12px;font-family:var(--display);font-size:12px;font-weight:600;
  letter-spacing:.15em;text-transform:uppercase;color:var(--accent)}
.h2{margin:0;font-size:clamp(1.75rem,3.4vw,2.5rem);line-height:1.1;letter-spacing:-.035em;
  font-weight:600;text-wrap:balance}
.sect-lead{margin:12px 0 0;max-width:56ch;font-size:15.5px;line-height:1.6;color:var(--ink-2);
  text-wrap:pretty}
.center{text-align:center}
.center .sect-lead,.sect-lead.center{margin-left:auto;margin-right:auto}
/* ---------- phones: section intros ----------
 * A long heading and a three-line lead eat the whole screen, so on a phone the
 * h2 drops a step and `.center-sm` stacks the intro in the middle with the
 * short lead under it. Desktop keeps the left-aligned spread. */
@media (max-width:560px){
  .h2{font-size:1.5rem;line-height:1.18}
  .sect-lead{font-size:14.5px;line-height:1.55}
  .sect-head.center-sm{flex-direction:column;align-items:center;text-align:center;gap:14px}
  .sect-head.center-sm>div{width:100%}
  .sect-head.center-sm .eyebrow{margin-bottom:10px}
  .sect-head.center-sm .sect-lead{margin-left:auto;margin-right:auto;max-width:34ch}
}
.more{display:inline-flex;align-items:center;gap:7px;font-size:14.5px;color:var(--ink-2);transition:color .16s}
.more:hover{color:var(--ink)}
.more svg{width:14px;height:14px}
/* ---------- showcase cards ---------- */
.tpl-grid{margin-top:46px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media (max-width:1000px){.tpl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.tpl-grid{grid-template-columns:1fr}}
.tpl{display:flex;flex-direction:column;width:100%;overflow:hidden;text-align:left;
  background:var(--bg-elev);border:1px solid var(--line);border-radius:var(--r-3);box-shadow:var(--sh-1);
  transition:transform .24s cubic-bezier(.2,.7,.3,1),box-shadow .24s,border-color .24s}
.tpl:hover{transform:translateY(-3px);box-shadow:var(--sh-2);
  border-color:color-mix(in srgb,var(--accent) 42%,var(--line))}
.tpl-prev{aspect-ratio:16/10;padding:12px;overflow:hidden;
  background:linear-gradient(160deg,var(--bg-soft),var(--bg-elev));
  border-bottom:1px solid var(--line)}
.tpl-meta{padding:13px 14px 15px;display:flex;flex-direction:column;gap:3px}
.tpl-name{font-family:var(--display);font-size:15px;font-weight:600;letter-spacing:-.018em}
.tpl-desc{font-size:12.8px;line-height:1.45;color:var(--ink-3)}

/* ---------- live showcase cards ---------- */
/* The home page's cards show the real thing: a running site in a frame, frozen to
   a desktop viewport and scaled down to the card, with the live URL and a link out
   under it. The frame is inert (no pointer events, no tab stop) — the card is the
   target, and the link is the escape hatch for a host that refuses to be framed. */
.tpl.live{cursor:pointer}
.tpl.live:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 55%,transparent);outline-offset:2px}
.tpl.live .tpl-prev{padding:0;position:relative;overflow:hidden;aspect-ratio:16/10;background:var(--bg-soft)}
.tpl.live .tpl-name{font-size:16.5px}
.tpl.live .tpl-desc{font-size:13.2px}
.tpl-frame{position:absolute;top:0;left:0;width:100%;height:100%;border:0;display:block;
  pointer-events:none;background:var(--bg-elev)}
.tpl-frame.zoom{width:1440px;height:900px;transform-origin:0 0}
.tpl.live .tpl-meta{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;
  padding:15px 16px 17px}
.tpl-head{display:flex;flex-direction:column;gap:4px;min-width:0}
.tpl-url{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.4px;color:var(--ink-3);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tpl-open{flex:none;display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;
  font-size:13px;font-weight:600;color:var(--ink-2);background:var(--bg-elev);border:1px solid var(--line);
  transition:color .16s,border-color .16s,background .16s}
.tpl-open:hover{color:var(--ink);background:var(--accent-soft);
  border-color:color-mix(in srgb,var(--accent) 42%,var(--line))}
.tpl-open svg{width:12px;height:12px}

/* ---------- the arcade: three playable games ---------- */
/* Same card anatomy as the showcase above, but the picture is drawn in SVG
   instead of framed live: three running WebGL games on one page would cost
   the visitor three renderers before they scrolled. The whole card is the
   link, so the art never needs its own tab stop. */
#games{scroll-margin-top:84px}
.game-grid{margin-top:46px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media (max-width:1000px){.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.game-grid{grid-template-columns:1fr}}
.game{display:flex;flex-direction:column;overflow:hidden;
  background:var(--bg-elev);border:1px solid var(--line);border-radius:var(--r-3);box-shadow:var(--sh-1);
  transition:transform .24s cubic-bezier(.2,.7,.3,1),box-shadow .24s,border-color .24s}
.game:hover{transform:translateY(-3px);box-shadow:var(--sh-2);
  border-color:color-mix(in srgb,var(--accent) 42%,var(--line))}
.game-art{display:block;aspect-ratio:16/10;overflow:hidden;
  border-bottom:1px solid var(--line);background:var(--bg-soft)}
.game-art svg{display:block;width:100%;height:100%}
.game-meta{display:flex;flex-direction:column;gap:6px;padding:15px 16px 17px}
.game-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.game-name{font-family:var(--display);font-size:16.5px;font-weight:600;letter-spacing:-.018em}
.game-tag{flex:none;padding:3px 9px;border-radius:999px;font-size:10.5px;font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;color:var(--accent);background:var(--accent-soft);
  border:1px solid color-mix(in srgb,var(--accent) 30%,transparent)}
.game-desc{font-size:13.2px;line-height:1.5;color:var(--ink-2)}
.game-go{margin-top:6px;display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:var(--ink)}
.game-go svg{width:13px;height:13px;transition:transform .18s}
.game:hover .game-go svg{transform:translateX(3px)}

/* ---------- what venus does ---------- */
.pillars{margin-top:54px;display:grid;grid-template-columns:repeat(3,1fr);gap:34px}
@media (max-width:780px){.pillars{grid-template-columns:1fr;gap:30px}}
.pillar .ic{width:38px;height:38px;display:grid;place-items:center;color:var(--accent);
  border:1px solid var(--line);border-radius:11px;box-shadow:var(--sh-1);
  background:linear-gradient(160deg,var(--accent-soft),transparent)}
.pillar .ic svg{width:18px;height:18px}
.pillar h3{margin:16px 0 6px;font-size:16.5px;font-weight:600;letter-spacing:-.012em}
.pillar p{margin:0;font-size:15px;line-height:1.6;color:var(--ink-2);text-wrap:pretty}
.included{margin:56px 0 0;padding:22px 0 0;border-top:1px solid var(--line);list-style:none;
  display:flex;flex-wrap:wrap;gap:12px 32px}
.included li{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--ink-2)}
.included svg{width:15px;height:15px;color:var(--ok)}
/* ---------- pricing ---------- */
.plans{margin:46px auto 0;max-width:840px;display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
@media (max-width:780px){.plans{grid-template-columns:1fr}}
/* Three tiers: the same cards, one column wider, on the pricing page. */
.plans.three{max-width:1120px;grid-template-columns:repeat(3,1fr)}
@media (max-width:1040px){.plans.three{grid-template-columns:repeat(2,1fr)}}
@media (max-width:780px){.plans.three{grid-template-columns:1fr}}
.plan{position:relative;display:flex;flex-direction:column;padding:26px;background:var(--bg-elev);
  border:1px solid var(--line);border-radius:var(--r-4);box-shadow:var(--sh-1)}
.plan.is-pro{border-color:color-mix(in srgb,var(--accent) 46%,var(--line));box-shadow:var(--sh-3)}
.plan.is-pro::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(180deg,var(--accent-soft),transparent 44%)}
.plan>*{position:relative}
.plan-tag{position:absolute;top:-11px;left:26px;height:22px;display:inline-flex;align-items:center;
  padding:0 10px;border-radius:999px;background:var(--accent);color:#fff;font-family:var(--display);font-size:11px;
  font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.plan h3{margin:0;font-size:15.5px;font-weight:600;letter-spacing:-.012em}
.plan .plan-sub{margin:6px 0 0;font-size:13.5px;color:var(--ink-3)}
.price{margin:18px 0 0;display:flex;align-items:baseline;gap:7px;font-family:var(--display);
  font-size:44px;font-weight:600;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.price small{font-size:14px;font-weight:400;letter-spacing:0;color:var(--ink-3)}
.plan ul{margin:22px 0 26px;padding:0;list-style:none;display:flex;flex-direction:column;gap:11px}
.plan li{display:flex;gap:9px;font-size:14.5px;color:var(--ink-2)}
.plan li svg{flex:none;width:15px;height:15px;margin-top:2.5px;color:var(--accent)}
.plan .btn{width:100%;margin-top:auto}
/* ---------- closing band + footer ---------- */
.cta-band{position:relative;overflow:hidden;padding:var(--pad) 0;text-align:center;border-top:1px solid var(--line)}
.cta-band::before{content:"";position:absolute;left:50%;bottom:-340px;width:920px;height:540px;
  transform:translateX(-50%);filter:blur(16px);
  background:radial-gradient(50% 50% at 50% 50%,var(--accent-soft),transparent 70%)}
.cta-band .wrap{position:relative}
.cta-actions{margin-top:26px;display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.foot{border-top:1px solid var(--line);padding:clamp(38px,5vw,54px) 0 30px}
.foot-grid{display:grid;grid-template-columns:minmax(0,1.7fr) repeat(3,minmax(0,1fr));gap:34px}
.foot-about{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.foot-note{margin:0;max-width:34ch;font-size:14.5px;line-height:1.62;color:var(--ink-2);text-wrap:pretty}
.foot-col{display:flex;flex-direction:column;gap:10px;font-size:14px;color:var(--ink-2)}
.foot-col h2{margin:0 0 5px;font-family:var(--display);font-size:11px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-3)}
.foot-col a:hover{color:var(--ink)}
.copy{font-size:13px;color:var(--ink-3)}
.foot-base{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;
  margin-top:clamp(30px,4vw,44px);padding-top:22px;border-top:1px solid var(--line)}
@media (max-width:860px){.foot-grid{grid-template-columns:1fr 1fr;gap:28px}
  .foot-about{grid-column:1/-1;max-width:46ch}}
/* ---------- motion + toast ---------- */
.reveal{opacity:0;transform:translateY(14px);
  transition:opacity .62s cubic-bezier(.2,.7,.3,1),transform .62s cubic-bezier(.2,.7,.3,1);
  transition-delay:var(--d,0ms)}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
  .tpl:hover,.send:hover,.btn:hover{transform:none}
}
.toast{position:fixed;left:50%;bottom:28px;z-index:80;display:flex;align-items:center;gap:9px;
  padding:11px 17px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:14px;
  box-shadow:var(--sh-2);opacity:0;transform:translate(-50%,14px);pointer-events:none;
  transition:opacity .28s,transform .28s cubic-bezier(.2,.7,.3,1)}
.toast.in{opacity:1;transform:translate(-50%,0)}
.toast svg{width:15px;height:15px}

/* ---------- inner pages (pricing, about, 404) ----------
 * The same language as the home page, one step quieter: a section rhythm, one
 * card surface, one table and one accordion, all built from the tokens above.
 */
:root{
  --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;
}
.page{display:block}
.page-head{padding:clamp(44px,6vw,74px) 0 clamp(24px,3.2vw,38px)}
.page-head h1{margin:0;max-width:24ch;font-size:clamp(1.95rem,4.6vw,3.1rem);line-height:1.06;
  letter-spacing:-.03em;font-weight:600;text-wrap:balance}
.page-head .lead{margin-top:18px}
.page-head .lead.center{margin-left:auto;margin-right:auto}
.page-head + .sect,.sect.flush{padding-top:0}
.page code{font-family:var(--mono);font-size:.87em;padding:1px 5px;border-radius:5px;
  background:var(--bg-soft);border:1px solid var(--line-soft);color:var(--ink)}
/* The plan cards' tick. */
.tick{width:15px;height:15px;color:var(--ok)}

/* ---------- the 404 ---------- */
.note{margin:20px 0 0;font-size:13.5px;color:var(--ink-3)}
.empty{padding:clamp(56px,9vw,120px) 0}

/* ===========================================================================
   Phones - the second design, not the laptop one squeezed.

   Above 780px nothing below is loaded: the bar keeps its inline nav, the hero
   its centred column, the showcase its three-up grid. Below it, the page is
   built again for a thumb:

     * a menu button in the bar and a full-screen sheet for the nav, because
       hiding `.nav` used to leave a phone with no way to reach anything;
     * a tighter hero - the display line is 9.4vw, the composer's chips become a
       single scrollable row and the send button takes the full width;
     * the showcase becomes a snapping carousel with the next card peeking, so
       six live sites cost one swipe instead of six screens;
     * tighter section rhythm, full-width closing actions, and a footer that
       sits clear of the home indicator.
   =========================================================================== */

/* The menu button and its sheet exist on a phone only. */
.menu-btn{display:none}
.mnav{display:none}

@media (max-width:780px){
  a,button{-webkit-tap-highlight-color:transparent}

  .menu-btn{display:grid;place-items:center;flex:none;width:40px;height:40px;
    border:1px solid var(--line);border-radius:999px;background:var(--bg-elev);
    color:var(--ink-2);box-shadow:var(--sh-1);transition:color .16s,border-color .16s}
  .menu-btn svg{width:17px;height:17px}
  .menu-btn .i-close{display:none}
  .menu-btn[aria-expanded="true"]{color:var(--ink);
    border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}
  .menu-btn[aria-expanded="true"] .i-bars{display:none}
  .menu-btn[aria-expanded="true"] .i-close{display:block}

  /* The one account link the bar cannot hold: it rides in the sheet instead. */
  #signin{display:none}

  .mnav{display:flex;position:fixed;inset:0;z-index:55;flex-direction:column;
    padding:calc(64px + env(safe-area-inset-top)) var(--gutter)
            calc(20px + env(safe-area-inset-bottom));
    overflow-y:auto;overscroll-behavior:contain;
    background:color-mix(in srgb,var(--canvas-top) 95%,transparent);
    -webkit-backdrop-filter:blur(18px) saturate(150%);
            backdrop-filter:blur(18px) saturate(150%);
    animation:menuIn .22s cubic-bezier(.2,.7,.3,1)}
  .mnav-list{display:flex;flex-direction:column}
  .mnav-list a{display:flex;align-items:center;justify-content:space-between;
    min-height:58px;border-bottom:1px solid var(--line);
    font-family:var(--display);font-size:19px;font-weight:600;letter-spacing:-.02em}
  .mnav-list a::after{content:"\203A";font-family:var(--sans);font-size:22px;
    font-weight:400;color:var(--ink-3);margin-top:-3px}
  .mnav-list a[aria-current="page"]{color:var(--accent)}
  .mnav-list a[aria-current="page"]::after{color:var(--accent)}
  .mnav-foot{margin-top:auto;display:flex;flex-direction:column;gap:10px;padding-top:22px}
  .mnav-foot .btn{width:100%;height:48px;font-size:15.5px}
  body.menu-open{overflow:hidden}
}

@keyframes menuIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* ---------- phones: the hero ---------- */
@media (max-width:560px){
  .hero{padding:32px 0 44px}
  .display{font-size:clamp(2.15rem,9.4vw,2.85rem);line-height:1.06;letter-spacing:-.035em;max-width:21ch}
  .lead{margin-top:14px;font-size:1rem;line-height:1.55;max-width:34ch}
  .composer-shell{margin-top:24px}
  .composer-shell::after{inset:-10px -6px -14px;border-radius:26px}
  .composer{padding:4px;border-radius:20px}
  .composer-input{padding:13px 12px 4px;font-size:16px}
  .composer-foot{flex-direction:column;align-items:stretch;gap:8px;padding:0 6px 6px}
  /* One row you can flick, instead of four chips stacked in three lines. */
  .chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;
    -webkit-overflow-scrolling:touch;margin:0 -2px;padding:2px 2px 4px}
  .chips::-webkit-scrollbar{display:none}
  .chip{flex:none;height:34px;padding:0 13px;font-size:13px}
  /* The cube keeps the send button's height, so the row is one line of controls. */
  .composer-models{padding:2px 6px 0}
  .composer-actions{width:100%}
  .composer-actions .send{flex:1;width:auto}
  .cube{width:46px;height:46px}
  .send{width:100%;height:46px;justify-content:center;font-size:15px}
  .hero-note{margin-top:14px;font-size:12.5px}
}

/* ---------- phones: showcase carousel ---------- */
@media (max-width:640px){
  .tpl-grid{display:flex;margin:26px calc(-1 * var(--gutter)) 0 0;
    padding:2px var(--gutter) 8px 0;gap:12px;overflow-x:auto;
    scroll-snap-type:x mandatory;scroll-padding:0 var(--gutter);
    scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .tpl-grid::-webkit-scrollbar{display:none}
  .tpl{flex:0 0 84%;scroll-snap-align:center}
  .tpl-prev{aspect-ratio:16/11}
  .tpl-meta{padding:12px 13px 14px;gap:4px}
  .tpl.live .tpl-name{font-size:15.5px}
  .tpl.live .tpl-desc{font-size:12.6px}
}

/* ---------- phones: sections, cards, the close ---------- */
@media (max-width:560px){
  .sect{padding:54px 0}
  .sect-head{gap:14px}
  .more{font-size:14px}
  .pillars{margin-top:26px;gap:14px}
  .plan{padding:20px 18px}
  .plan .price{font-size:1.75rem}
  .cta-band{padding:56px 0}
  .cta-actions{flex-direction:column;gap:9px;margin-top:22px}
  .cta-actions .btn{width:100%}
  .foot{padding:34px 0 calc(24px + env(safe-area-inset-bottom))}
  .foot-grid{gap:24px 18px}
  .foot-col{gap:0}
  .foot-col h2{margin-bottom:8px}
  /* Every footer link is a row a thumb can hit, not a 20px word. */
  .foot-col a{display:flex;align-items:center;min-height:40px;border-top:1px solid var(--line-soft)}
  .foot-col a:first-of-type{border-top:0}
  .foot-base{flex-direction:column;align-items:flex-start;gap:6px}
  .toast{left:16px;right:16px;bottom:calc(18px + env(safe-area-inset-bottom));
    justify-content:center;transform:translateY(14px)}
  .toast.in{transform:none}
}

/* A pointer that cannot hover must never be left in a hover state. */
@media (hover:none){
  .tpl:hover{transform:none;box-shadow:var(--sh-1);border-color:var(--line)}
  .send:hover,.btn-primary:hover{transform:none}
  .plan:hover{transform:none}
}


.empty h1{margin:18px 0 0;max-width:22ch;font-size:clamp(2rem,4.8vw,3.2rem);line-height:1.06;
  letter-spacing:-.03em;font-weight:600;text-wrap:balance}
.empty .lead{margin-top:18px}
.empty .actions{margin-top:34px;display:flex;flex-wrap:wrap;gap:10px}
.empty .links{margin:44px 0 0;padding:22px 0 0;border-top:1px solid var(--line);list-style:none;
  display:flex;flex-wrap:wrap;gap:24px}
.empty .links a{font-size:14.5px;color:var(--ink-2)}
.empty .links a:hover{color:var(--ink)}


