*{ margin:0; padding:0; box-sizing:border-box; }
:root{
  --bg:#FAFAF9; --fg:#18181B; --muted:#6B6B73; --faint:#A1A1AA;
  --line:#E4E4E7; --hover:#F1F1F0; --accent:#18181B;
  --code-bg:#F1F1F0;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0E0E10; --fg:#F4F4F5; --muted:#A1A1AA; --faint:#6B6B73;
    --line:#26262B; --hover:#17171A; --accent:#F4F4F5;
    --code-bg:#1C1C20;
  }
}
:root[data-theme="dark"]{
  --bg:#0E0E10; --fg:#F4F4F5; --muted:#A1A1AA; --faint:#6B6B73;
  --line:#26262B; --hover:#17171A; --accent:#F4F4F5;
  --code-bg:#1C1C20;
}
html{ -webkit-text-size-adjust:100%; scrollbar-gutter:stable; }
body{
  background:var(--bg); color:var(--fg);
  font-family:'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size:16px; line-height:1.55;
  -webkit-font-smoothing:antialiased;
  min-height:100vh; display:flex; flex-direction:column;
}
a{ color:inherit; }
.wrap{ width:100%; max-width:960px; margin:0 auto; padding:0 24px; }

header{ border-bottom:1px solid var(--line); }
header .wrap{ display:flex; align-items:center; justify-content:space-between; height:68px; }
.wordmark{
  font-weight:700; font-size:15px; letter-spacing:.24em;
  text-decoration:none; white-space:nowrap;
}
nav{ display:flex; gap:28px; }
nav a{ font-size:14px; color:var(--muted); text-decoration:none; transition:color .15s; }
nav a:hover, nav a[aria-current="page"]{ color:var(--fg); }

main{ flex:1; padding:0 0 96px; }
.label{
  font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--faint); margin-bottom:18px;
}
h1{ font-size:clamp(28px,4vw,36px); font-weight:650; letter-spacing:-.02em; line-height:1.2; }
.lede{ color:var(--muted); margin-top:12px; max-width:620px; }

/* product list */
.list{ list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:20px 40px; padding:28px 0 8px; }
.row{
  --c:var(--fg);
  display:flex; flex-direction:column; gap:16px;
  padding:12px; margin:0 -12px; border-radius:16px;
  text-decoration:none; transition:background .2s;
}
.row:hover{ background:var(--hover); }
.shot{
  position:relative; aspect-ratio:16/10; border-radius:10px; overflow:hidden;
  background:var(--line); box-shadow:0 0 0 1px var(--line), 0 6px 18px rgba(0,0,0,.18);
  transition:box-shadow .25s, transform .25s;
}
.shot img, .shot video{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .5s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.shot video{ position:absolute; inset:0; opacity:0; }
.shot.playing video{ opacity:1; }
.shot::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(160deg, transparent 55%, color-mix(in srgb, var(--c) 30%, transparent));
  opacity:0; transition:opacity .25s;
}
.row:hover .shot{ box-shadow:0 0 0 2px var(--c), 0 12px 30px rgba(0,0,0,.28); transform:translateY(-2px); }
.row:hover .shot img, .row:hover .shot video{ transform:scale(1.04); }
.row:hover .shot::after{ opacity:1; }
.row .name{ font-weight:650; font-size:20px; letter-spacing:-.015em; display:flex; align-items:center; gap:10px; transition:color .2s; }
.row:hover .name{ color:var(--c); }
.row .dot{ width:9px; height:9px; border-radius:50%; flex:none; background:var(--c); box-shadow:0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.row .what{ display:block; color:var(--muted); font-size:15px; margin-top:6px; }
.row .domain{ display:inline-block; margin-top:8px; font-size:13px; color:var(--faint); transition:color .2s; }
.row:hover .domain{ color:var(--fg); }

/* downloads */
.tabs{ display:flex; flex-wrap:wrap; gap:4px; margin-top:28px; border-bottom:1px solid var(--line); }
.tab{
  font:inherit; font-size:14px; font-weight:550; color:var(--muted); background:none; border:0; cursor:pointer;
  padding:10px 14px; margin-bottom:-1px; border-bottom:2px solid transparent; white-space:nowrap; transition:color .15s, border-color .15s;
}
/* each tab in its own site's colour (--tc on the button); dimmed until selected */
.tab{ color:var(--tc, var(--muted)); opacity:.6; }
.tab:hover{ opacity:1; }
.tab[aria-selected="true"]{ color:var(--tc, var(--fg)); opacity:1; border-bottom-color:var(--tc, var(--fg)); }
.item{ border:1px solid var(--line); border-radius:14px; padding:28px; margin-top:32px; }
/* Every panel sits in the same grid cell, so the block is always as tall as
   the tallest one and switching tabs never resizes or shifts the page. */
.panels{ display:grid; margin-top:20px; }
.panels > .panel{ grid-area:1 / 1; margin-top:0; align-self:start; }
.panels > .panel[hidden]{ display:block; visibility:hidden; }
.release{ margin-top:14px; padding-top:14px; border-top:1px solid var(--line); }
h3 + .release{ border-top:0; padding-top:0; }
.rel-head{ display:flex; gap:12px; align-items:baseline; }
.rel-head b{ font-weight:650; }
.rel-head span{ font-size:13px; color:var(--faint); }
.release ul{ margin-top:6px; padding-left:22px; color:var(--muted); }
.release li{ margin-top:4px; }
h1{ margin-top:36px; }
.item-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:24px; flex-wrap:wrap; }
.item h2{ font-size:20px; font-weight:650; letter-spacing:-.01em; }
.item .meta{ font-size:13px; color:var(--faint); margin-top:4px; }
.item p{ color:var(--muted); margin-top:14px; }
.item p.tight{ margin-top:6px; }
.btn{
  display:inline-block; background:var(--accent); color:var(--bg);
  font-size:14px; font-weight:600; text-decoration:none;
  padding:10px 18px; border-radius:8px; white-space:nowrap; transition:opacity .15s;
}
.btn:hover{ opacity:.85; }
.item h3{ font-size:13px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); margin-top:28px; }
.item ol{ margin-top:12px; padding-left:22px; color:var(--muted); }
.item ol li{ margin-top:6px; padding-left:4px; }
.item ol b{ color:var(--fg); font-weight:600; }
.item ul{ margin-top:8px; padding-left:22px; color:var(--muted); }
.item ul li{ margin-top:4px; padding-left:4px; }
code{
  font-family:ui-monospace, 'SF Mono', Consolas, monospace; font-size:.88em;
  background:var(--code-bg); padding:2px 6px; border-radius:5px; color:var(--fg);
}
.note{ font-size:14px; color:var(--faint); margin-top:18px; }

footer{
  position:fixed; left:0; right:0; bottom:0; z-index:10;
  background:var(--bg); border-top:1px solid var(--line);
}
footer .wrap{
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  padding-top:14px; padding-bottom:calc(14px + env(safe-area-inset-bottom)); font-size:13px; color:var(--faint);
}
footer a{ color:var(--muted); text-decoration:none; }
footer a:hover{ color:var(--fg); }

@media (max-width:760px){
  main{ padding:0 0 88px; }
  .list{ grid-template-columns:1fr; gap:8px; padding-top:16px; }
  .row .name{ font-size:18px; }
  .item{ padding:22px 20px; }
  nav{ gap:20px; }
}
@media (max-width:400px){
  .wrap{ padding:0 16px; }
  .wordmark{ font-size:13px; letter-spacing:.2em; }
}

/* download terms dialog: takes all input until closed */
body.trapped{ overflow:hidden; }
.gate{ position:fixed; inset:0; z-index:50; background:rgba(0,0,0,.6); display:flex; align-items:center; justify-content:center; padding:16px; }
.gate[hidden]{ display:none; }
.gate-box{ background:var(--bg); color:var(--fg); border:1px solid var(--line); border-radius:14px; width:100%; max-width:640px; max-height:calc(100vh - 32px); display:flex; flex-direction:column; padding:22px 24px 20px; box-shadow:0 24px 60px rgba(0,0,0,.4); }
.gate-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.gate-head h2{ font-size:18px; font-weight:650; letter-spacing:-.01em; }
.gate-x{ background:none; border:0; color:var(--muted); font-size:26px; line-height:1; cursor:pointer; padding:0 4px; }
.gate-x:hover{ color:var(--fg); }
#gateForm{ display:flex; flex-direction:column; min-height:0; }
#gateForm[hidden]{ display:none; }
.terms{ margin-top:14px; overflow:auto; max-height:42vh; border:1px solid var(--line); border-radius:10px; padding:14px 16px; font-size:14px; color:var(--muted); line-height:1.55; }
.terms ol{ padding-left:20px; }
.terms li{ margin-top:8px; }
.terms li:first-child{ margin-top:0; }
.terms b{ color:var(--fg); font-weight:600; }
.terms-q{ margin-top:10px; }
.chk{ display:flex; gap:10px; align-items:center; margin-top:14px; font-size:15px; cursor:pointer; }
.chk input{ width:17px; height:17px; accent-color:var(--fg); }
.fld{ display:flex; flex-direction:column; gap:6px; margin-top:14px; font-size:13px; color:var(--muted); }
.fld input{ font:inherit; font-size:15px; color:var(--fg); background:var(--hover); border:1px solid var(--line); border-radius:8px; padding:10px 12px; }
.fld input, .fld select, .fld textarea{ font:inherit; font-size:15px; color:var(--fg); background:var(--hover); border:1px solid var(--line); border-radius:8px; padding:10px 12px; }
.fld input:focus, .fld select:focus, .fld textarea:focus{ outline:2px solid var(--fg); outline-offset:1px; }

/* support form: one screen on a laptop (Kevin, 2026-10-10: "make sure it all fits without scrolling") */
.vh{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
#sup{ max-width:900px; padding-top:22px; }
#sup[hidden]{ display:none; }
.fld .opt{ color:var(--faint); }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.sup-row3{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; }
.sup-row2{ display:grid; grid-template-columns:1.25fr 1fr; gap:14px; }
.sup-row2 .fld{ min-width:0; }
.fld textarea{ resize:none; min-height:0; height:200px; line-height:1.5; }
.att{ height:200px; display:flex; flex-direction:column; gap:8px; min-width:0; }
.drop{ flex:1; min-height:52px; display:flex; align-items:center; justify-content:center; border:1px dashed var(--line); border-radius:8px; padding:10px 14px; text-align:center; font-size:14px; color:var(--muted); cursor:pointer; background:var(--hover); }
.drop:hover, .drop.over, .drop:focus{ border-color:var(--fg); color:var(--fg); outline:none; }
.drop .pick{ text-decoration:underline; color:var(--fg); }
/* attachments: a strip that scrolls sideways, so the page never grows */
.thumbs{ display:flex; gap:8px; overflow-x:auto; flex:none; padding-bottom:2px; }
.thumbs:empty{ display:none; }
.thumb{ flex:none; width:104px; border:1px solid var(--line); border-radius:8px; padding:5px; display:flex; flex-direction:column; gap:4px; }
.thumb img, .thumb video{ width:100%; height:46px; object-fit:cover; border-radius:4px; background:var(--code-bg); }
.tname{ font-size:11px; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.trm{ font:inherit; font-size:11px; color:var(--muted); background:none; border:1px solid var(--line); border-radius:6px; padding:2px 7px; cursor:pointer; align-self:flex-start; }
.trm:hover{ color:var(--fg); border-color:var(--fg); }
.sup-foot{ display:flex; align-items:center; gap:16px; margin-top:16px; }
.sup-foot .btn{ margin-left:auto; }
.sup-note{ font-size:13px; color:var(--faint); }
#supMsgOut:not(:empty) ~ .sup-note{ display:none; }
#supDone{ max-width:620px; margin-top:28px; }
@media (max-width:760px){
  .sup-row3, .sup-row2{ grid-template-columns:1fr; gap:0; }
  .att{ height:auto; margin-top:0; }
  .drop{ min-height:64px; }
}
@media (max-width:560px){
  header .wrap{ flex-wrap:wrap; height:auto; padding-top:16px; padding-bottom:14px; row-gap:10px; }
  nav{ gap:22px; }
}
.gate-foot{ display:flex; justify-content:space-between; align-items:center; gap:16px; margin-top:18px; }
.gate-msg{ font-size:13px; color:var(--muted); }
.btn{ border:0; cursor:pointer; font-family:inherit; }
.btn:disabled{ opacity:.35; cursor:not-allowed; }
.gate-done{ margin-top:12px; }
.gate-done h3{ font-size:17px; font-weight:650; }
.gate-done p{ margin:8px 0 18px; color:var(--muted); line-height:1.55; }

/* product screenshot in a downloads panel */
.prodshot{ display:block; width:100%; height:auto; margin-top:18px; border-radius:10px; box-shadow:0 0 0 1px var(--line), 0 10px 28px rgba(0,0,0,.25); }

.paid-divider{ border-top:1px solid var(--line, rgba(255,255,255,.18)); margin:26px 0 14px; padding-top:14px; }
.paid-divider b{ display:block; font-size:15px; color:var(--fg); }
.paid-divider span{ display:block; color:var(--muted); margin-top:2px; }
.lic{ display:inline-block; font-size:10px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); border:1px solid currentColor; border-radius:3px; padding:0 5px; margin-left:4px; vertical-align:middle; }
