/* PlatypusDB site: dark only, the app's Platypus Dark palette (apps/desktop/src/theme.ts) and its
   bundled fonts. */


@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext-wght-normal.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: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-wght-normal.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: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-ext-wght-normal.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;
}


/* Dark only: the app's Platypus Dark, deepened for a page. */
:root {
  color-scheme: dark;
  --bg: #0b0d0f;
  --card: #14171a;
  --card-2: #191d21;
  --app: #141519;
  --app-side: #111416;
  --line: #24292d;
  --line-2: #343b40;
  --fg: #d5dadd;
  --hi: #f5f6f7;
  --mut: #8d969b;
  --dim: #5f686e;
  --acc: #ff8d28;
  --acc-2: #ffb36b;
  --acc-3: #ff5e3a;
  --acc-fg: #1a0d00;
  --glow: rgba(255, 141, 40, 0.22);
  --kw: #7fc8db;
  --str: #7ed3a0;
  --num: #f2b16d;
  --com: #6f7a80;
  --font-ui: "Inter", "Segoe UI Variable", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, ui-monospace, monospace;
  --page: 1240px;
  --gutter: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 var(--font-ui);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* A warm light from the top of the page. */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1200px;
  z-index: -1;
  background:
    radial-gradient(800px 480px at 72% 8%, rgba(255, 141, 40, 0.13), transparent 70%),
    radial-gradient(700px 500px at 10% 30%, rgba(127, 200, 219, 0.06), transparent 70%);
  pointer-events: none;
}

::selection {
  background: rgba(255, 141, 40, 0.35);
}

img,
picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--acc);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--hi);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

p {
  margin: 0;
}

code,
kbd,
pre {
  font-family: var(--font-mono);
}

code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--card-2);
  font-size: 0.86em;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--acc);
  color: var(--acc-fg);
}

.skip:focus {
  top: 12px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--card-2);
  color: var(--hi);
  font: 500 14px/1 var(--font-ui);
  white-space: nowrap;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: var(--mut);
}

.button.primary {
  border-color: var(--acc);
  background: var(--acc);
  color: var(--acc-fg);
  font-weight: 650;
  box-shadow: 0 8px 28px rgba(255, 141, 40, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button.primary:hover {
  background: var(--acc-2);
  border-color: var(--acc-2);
  box-shadow: 0 10px 34px rgba(255, 141, 40, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button.large {
  height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 15.5px;
}

/* Navigation, a floating bar */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px var(--gutter) 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: var(--page);
  height: 60px;
  margin: 0 auto;
  padding: 0 12px 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(17, 20, 22, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hi);
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--mut);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a[aria-current] {
  color: var(--hi);
  background: var(--card-2);
}

.nav-links a:hover {
  background: var(--card-2);
  color: var(--hi);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 72px var(--gutter) 0;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--acc);
  font: 600 12.5px/1.4 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 {
  font-size: clamp(44px, 6.4vw, 84px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.gradient {
  white-space: nowrap;
  background: linear-gradient(95deg, var(--acc-2), var(--acc) 40%, var(--acc-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 560px;
  margin-top: 28px;
  color: var(--mut);
  font-size: clamp(17px, 1.7vw, 19.5px);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin: 40px 0 0;
}

.meta div {
  display: flex;
  flex-direction: column-reverse;
}

.meta dd {
  margin: 0;
  color: var(--hi);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.meta dt {
  color: var(--mut);
  font-size: 14px;
}

/* The mascot, with databases around it */
.mascot {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 520px;
  width: 100%;
  justify-self: center;
}

.mascot::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 141, 40, 0.34), rgba(255, 141, 40, 0.06) 58%, transparent 70%);
}

.ring {
  position: absolute;
  inset: 4%;
  border: 1px dashed rgba(255, 141, 40, 0.28);
  border-radius: 50%;
  animation: spin 80s linear infinite;
}

.mascot img {
  position: relative;
  width: 68%;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
  animation: float 6s ease-in-out infinite;
}

.chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(20, 23, 26, 0.9);
  color: var(--fg);
  font: 500 13px/1.2 var(--font-mono);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: float 7s ease-in-out infinite;
}

.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
}

.c1 { top: 6%; left: 12%; animation-delay: -1s; }
.c2 { top: 18%; right: 0; animation-delay: -3s; }
.c3 { bottom: 26%; left: -2%; animation-delay: -2s; }
.c4 { bottom: 8%; right: 8%; animation-delay: -4s; }
.c5 { top: 52%; right: -4%; animation-delay: -5s; }

@keyframes float {
  50% { transform: translateY(-10px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* The app in HTML */
.demo {
  max-width: var(--page);
  margin: 72px auto 0;
  padding: 0 var(--gutter);
}

.app {
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--app);
  box-shadow: 0 0 0 1px #000, 0 50px 140px rgba(0, 0, 0, 0.7), 0 0 180px rgba(255, 141, 40, 0.1);
  font-size: 13px;
  line-height: 1.5;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--app-side);
  color: var(--mut);
  font-size: 12.5px;
}

.crumb b {
  color: var(--hi);
  font-weight: 600;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 6px 0 4px;
  border-radius: 50%;
  background: var(--str);
}

.crumb .muted {
  margin-left: 4px;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 380px;
  height: 27px;
  margin: 0 auto;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #181c1f;
  color: #6b747a;
}

.search .icon {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.search kbd {
  margin-left: auto;
  font-size: 10.5px;
}

.win {
  display: flex;
  gap: 14px;
}

.win i {
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--mut);
  border-radius: 2px;
}

.win i:first-child {
  height: 0;
  border-width: 1px 0 0;
  margin-top: 5px;
}

.app-body {
  display: grid;
  grid-template-columns: 250px 1fr;
  height: 540px;
}

.app-side {
  padding: 12px 10px;
  border-right: 1px solid var(--line);
  background: var(--app-side);
}

.filter {
  height: 28px;
  margin-bottom: 10px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #6b747a;
  line-height: 26px;
}

.t {
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.t small {
  float: right;
  color: var(--mut);
  font: 11px/1.8 var(--font-mono);
}

.t.sel {
  background: #20262a;
  color: var(--hi);
}

.l1 { padding-left: 20px; }
.l2 { padding-left: 34px; }

.env {
  margin-left: 6px;
  padding: 0 5px;
  border: 1px solid rgba(126, 211, 160, 0.4);
  border-radius: 4px;
  color: var(--str);
  font: 600 10px/1.6 var(--font-mono);
}

.app-main {
  display: grid;
  grid-template-rows: 38px 38px 150px 1fr 30px;
  min-width: 0;
}

.app-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--app-side);
}

.app-tabs span {
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid var(--line);
  color: var(--mut);
}

.app-tabs .on {
  background: var(--app);
  color: var(--hi);
  box-shadow: inset 0 -2px 0 var(--acc);
}

.app-tool {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
}

.run {
  padding: 3px 12px;
  border-radius: 6px;
  background: var(--acc);
  color: var(--acc-fg);
  font-weight: 600;
}

.conn {
  padding: 1px 10px;
  border: 1px solid rgba(126, 211, 160, 0.3);
  border-radius: 999px;
  color: var(--str);
  font-size: 11.5px;
}

.muted {
  color: var(--mut);
}

.right {
  margin-left: auto;
}

.editor {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--hi);
  font: 13.5px/1.8 var(--font-mono);
}

.ln {
  display: flex;
}

.ln i {
  flex: none;
  width: 48px;
  padding-right: 18px;
  color: #4b545a;
  font-style: normal;
  text-align: right;
}

.kw { color: var(--kw); }
.fn { color: #c6a7ff; }
.cm { color: var(--com); font-style: italic; }

/* Each line types itself, one after the other; the results follow. */
.js .play .type {
  display: inline-block;
  overflow: hidden;
  white-space: pre;
  vertical-align: top;
  width: 0;
  border-right: 2px solid transparent;
  animation: type 1.6s steps(var(--n)) var(--d, 0.4s) forwards, caret 1.6s step-end var(--d, 0.4s);
}

@keyframes type {
  to { width: calc(var(--n) * 1ch + 4px); }
}

@keyframes caret {
  0%, 50% { border-color: var(--acc); }
  25%, 75%, 100% { border-color: transparent; }
}

.results {
  overflow: hidden;
  font: 12.5px/1.5 var(--font-mono);
}

.js .play .results,
.js .play .app-status > * {
  opacity: 0;
  animation: show 0.35s ease 5.9s forwards;
}

@keyframes show {
  to { opacity: 1; }
}

.results table {
  width: 100%;
  border-collapse: collapse;
}

.results th {
  padding: 6px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #1b1f22;
  color: var(--hi);
  font-weight: 500;
  text-align: left;
}

.results th small {
  display: block;
  color: var(--mut);
  font-size: 10px;
  font-weight: 400;
}

.results td {
  padding: 5px 14px;
  border-right: 1px solid var(--line);
}

.results td:first-child,
.results th:first-child {
  width: 48px;
  color: #4b545a;
  text-align: right;
}

.results tr:nth-child(even) td {
  background: #181b1f;
}

.results .n {
  color: var(--num);
  text-align: right;
}

.results .null {
  color: var(--mut);
  font-style: italic;
}

.app-status {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 14px;
  border-top: 1px solid var(--line);
  background: var(--app-side);
  color: var(--mut);
  font-size: 12px;
}

.app-status b {
  color: var(--hi);
  font-weight: 500;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 40px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  color: var(--dim);
  font-weight: 600;
  font-size: 15px;
}

.logo-strip li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo-strip svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Sections */
.section {
  max-width: var(--page);
  margin: 0 auto;
  padding: 150px var(--gutter) 0;
}

.head {
  max-width: 780px;
  margin-bottom: 48px;
}

.head h2,
.perf h2 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 750;
  letter-spacing: -0.04em;
}

.head p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--mut);
  font-size: 18px;
}

.note {
  margin-top: 16px;
  color: var(--mut);
  font-size: 13.5px;
}

/* Tour */
.tour {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

.tour > * {
  min-width: 0;
}

.tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tabs[hidden] {
  display: none;
}

.tabs button {
  display: grid;
  gap: 3px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: none;
  color: var(--mut);
  font: 400 14px/1.4 var(--font-ui);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tabs b {
  color: var(--fg);
  font-size: 15.5px;
  font-weight: 600;
}

.tabs button:hover {
  background: var(--card);
}

.tabs button[aria-selected="true"] {
  border-color: var(--line-2);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  box-shadow: inset 3px 0 0 var(--acc);
}

.tabs button[aria-selected="true"] b {
  color: var(--hi);
}

.screens {
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--app);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}

.panel {
  margin: 0;
}

html:not(.js) .panel + .panel {
  border-top: 1px solid var(--line);
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--card-2), var(--card) 60%);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px 200px at 20% 0%, rgba(255, 141, 40, 0.07), transparent 70%);
  pointer-events: none;
}

/* The light under the pointer (site.js). */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--x, 50%) var(--y, 50%), rgba(255, 141, 40, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.card p {
  max-width: 440px;
  color: var(--mut);
  font-size: 15px;
}

.w2 { grid-column: span 2; }
.w3 { grid-column: span 3; }
.w4 { grid-column: span 4; }

.heat {
  display: grid;
  gap: 9px;
  margin-top: 26px;
  font: 12.5px/1.4 var(--font-mono);
}

.heat div {
  display: grid;
  grid-template-columns: 170px 1fr 64px;
  gap: 12px;
  align-items: center;
  color: var(--mut);
}

.heat s {
  display: block;
  width: var(--w);
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--acc-3), var(--acc));
}

.heat em {
  color: var(--fg);
  font-style: normal;
  text-align: right;
}

.envs {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.envs span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--c);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--c);
  font: 500 13px/1 var(--font-mono);
}

.big {
  margin-top: 28px;
  color: var(--hi) !important;
  font-size: 72px !important;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.big small,
.numbers small {
  margin-left: 4px;
  color: var(--mut);
  font-size: 0.32em;
  font-weight: 500;
  letter-spacing: 0;
}

.diff {
  display: grid;
  gap: 6px;
  margin-top: 22px;
}

.diff code {
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  font-size: 12.5px;
}

.diff .del {
  background: rgba(255, 138, 138, 0.1);
  color: #ff9d9d;
}

.diff .add {
  background: rgba(126, 211, 160, 0.1);
  color: var(--str);
}

.term {
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a0c0e;
  color: var(--hi);
  font-size: 12.5px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.term b {
  color: var(--acc);
  font-weight: 400;
}

.term u {
  color: var(--str);
  text-decoration: none;
}

.term i {
  color: var(--com);
  font-style: normal;
}

.formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.formats span {
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--fg);
  font: 500 12.5px/1.4 var(--font-mono);
}

/* Databases */
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logos li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--fg);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.logos svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: var(--mut);
  transition: fill 0.2s ease;
}

.logos li:hover {
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  background: color-mix(in srgb, var(--c) 8%, var(--card));
  transform: translateY(-2px);
}

.logos li:hover svg {
  fill: var(--c);
}

.more {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.more summary {
  padding: 15px 18px;
  color: var(--hi);
  font-weight: 500;
  cursor: pointer;
}

.more summary::marker {
  color: var(--acc);
}

.more .table-wrap {
  margin: 0 12px 12px;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.grid {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.grid th,
.grid td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.grid tbody tr:last-child > * {
  border-bottom: 0;
}

.grid thead th {
  background: var(--card-2);
  color: var(--mut);
  font: 500 12px/1.3 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.grid tbody th {
  color: var(--hi);
  font-weight: 500;
  white-space: nowrap;
}

.grid .null {
  color: var(--mut);
  font-family: var(--font-mono);
  font-style: italic;
}

.grid .n {
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
}

.grid .muted {
  color: var(--dim);
}

/* Performance */
.perf {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.perf-text p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--mut);
  font-size: 18px;
}

.numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}

.numbers div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.numbers div:nth-child(odd) {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.numbers div:nth-child(even) {
  padding-left: 28px;
}

.numbers dd {
  margin: 0;
  color: var(--hi);
  font-size: 54px;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
}

.numbers dt {
  margin-top: 12px;
  color: var(--mut);
  font-size: 14.5px;
}

/* Compare */
.bars {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}

.bar {
  display: grid;
  grid-template-columns: 160px 1fr 100px;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.bar i {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #1d2226;
}

.bar s {
  display: block;
  width: max(var(--w), 8px);
  height: 100%;
  border-radius: 999px;
  background: #4a5359;
}

.bar em {
  color: var(--mut);
  font: 500 13.5px/1 var(--font-mono);
  font-style: normal;
  text-align: right;
}

.bar.me span,
.bar.me em {
  color: var(--hi);
  font-weight: 650;
}

.bar.me s {
  background: linear-gradient(90deg, var(--acc-2), var(--acc));
  box-shadow: 0 0 18px var(--glow);
}

.compare .me {
  background: rgba(255, 141, 40, 0.08);
  color: var(--hi);
}

.compare thead .me {
  color: var(--acc);
}

/* Download */
.cta {
  position: relative;
  overflow: hidden;
  padding: 80px 32px;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(255, 141, 40, 0.2), transparent 70%), var(--card);
  text-align: center;
}

.cta img {
  margin: 0 auto 26px;
  filter: drop-shadow(0 16px 30px rgba(255, 141, 40, 0.3));
}

.cta h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.cta > p {
  margin-top: 18px;
  color: var(--mut);
  font-size: 18px;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.platforms li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
}

.platforms b {
  margin-right: 4px;
  color: var(--hi);
  font-size: 14px;
}

.platforms code {
  font-size: 12px;
}

.cta .actions {
  justify-content: center;
}

/* Footer */
.footer {
  margin-top: 150px;
  border-top: 1px solid var(--line);
  background: #090b0c;
}

.footer-grid,
.footer-bottom {
  max-width: var(--page);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 56px;
}

.footer-grid p {
  max-width: 300px;
  margin-top: 14px;
  color: var(--mut);
  font-size: 14px;
}

.footer h2 {
  margin-bottom: 14px;
  color: var(--hi);
  font: 600 12px/1.4 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer nav a {
  color: var(--mut);
  font-size: 14px;
}

.footer nav a:hover {
  color: var(--hi);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
}

/* Blocks fade in the first time they come into view (site.js). */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.seen {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0s !important;
  }

  .js .play .type {
    width: auto;
  }

  .js .play .results,
  .js .play .app-status > *,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Narrow screens */
@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }

  .hero,
  .perf {
    grid-template-columns: 1fr;
  }

  .mascot {
    max-width: 420px;
  }

  .app-body {
    grid-template-columns: 1fr;
  }

  .app-side,
  .search {
    display: none;
  }

  .crumb {
    margin-right: auto;
  }

  .tour {
    grid-template-columns: 1fr;
  }

  .tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tabs button {
    flex: none;
  }

  .tabs span {
    display: none;
  }

  .tabs button[aria-selected="true"] {
    box-shadow: inset 0 -2px 0 var(--acc);
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .w2,
  .w3,
  .w4 {
    grid-column: span 1;
  }

  .w4 {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  .nav-actions .ghost {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .section {
    padding-top: 100px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .logos {
    grid-template-columns: 1fr 1fr;
  }

  .logos li {
    padding: 12px;
    font-size: 13.5px;
  }

  .heat div {
    grid-template-columns: 1fr 64px;
  }

  .heat s {
    grid-column: 1 / -1;
    order: 3;
  }

  .numbers dd {
    font-size: 40px;
  }

  .bars {
    padding: 20px;
  }

  .bar {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
  }

  .bar i {
    grid-column: 1 / -1;
    order: 3;
  }

  .editor {
    font-size: 11.5px;
  }

  .app-body {
    height: 470px;
  }

  .cta {
    padding: 56px 20px;
  }
}

/* ---------- Inner pages (features, databases, compare, download, docs) ---------- */
/* The same header, footer, glow and type as the home page, and a few more parts. */

/* Driver tile in the window of the home page, as in the app (app.css .drv). */
.drv {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border-radius: 4px;
  color: #fff;
  font: 700 8px/1 var(--font-ui);
  letter-spacing: -0.02em;
  vertical-align: -3px;
}

.drv.pg {
  background: #336791;
}

.drv .ping {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--app-side);
}

.drv .ping.ok {
  background: var(--str);
}

/* Line icons. */
svg.i {
  flex: none;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg.i.sm {
  width: 14px;
  height: 14px;
}

/* The icon sprite at the end of each page. */
.sprite {
  position: absolute;
}

.actions.center {
  justify-content: center;
}

.section.deep {
  padding-top: 120px;
}

.more-link {
  margin-top: 20px;
}

/* Features: the pill navigation under the heading. */
/* The areas of the Features page: a second row of the header, which stays at the top. */
.pill-nav {
  max-width: var(--page);
  margin: 8px auto 0;
}

.section.first {
  padding-top: 110px;
}

.pill-nav div {
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(17, 20, 22, 0.72);
  backdrop-filter: blur(16px);
  overflow-x: auto;
}

.pill-nav a {
  padding: 8px 14px;
  border-radius: 9px;
  color: var(--mut);
  font-size: 14px;
  white-space: nowrap;
}

.pill-nav a:hover {
  color: var(--hi);
  text-decoration: none;
  background: var(--card-2);
}

.pill-nav a[aria-current] {
  color: var(--hi);
  background: var(--card-2);
}

.mascot .chip {
  white-space: nowrap;
}

/* Download. */
.os-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.os-cards .card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.os-cards h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.os-cards h3 svg.i {
  width: 22px;
  height: 22px;
  color: var(--hi);
}

.files {
  display: grid;
  gap: 4px;
}

.files a {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--fg);
  font-size: 15px;
}

.files a:hover {
  background: var(--card-2);
  text-decoration: none;
}

.files span {
  color: var(--dim);
  font: 13px var(--font-mono);
}

/* Docs. */
.docs {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 200px;
  gap: 56px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 72px var(--gutter) 0;
}

.docs nav h6 {
  margin: 26px 0 8px;
  color: var(--dim);
  font: 600 11.5px/1.4 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.docs nav a {
  display: block;
  padding: 6px 12px;
  border-left: 1px solid var(--line);
  color: var(--mut);
  font-size: 14.5px;
}

.docs nav a.on {
  color: var(--hi);
  border-color: var(--acc);
}

.docs nav a:hover {
  text-decoration: none;
  color: var(--hi);
}

.docs article {
  max-width: 720px;
}

.docs article h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 10px 0 18px;
}

.docs article h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 44px 0 12px;
}

.docs article p {
  color: var(--fg);
  margin-bottom: 14px;
}

.docs .crumbs {
  color: var(--dim);
  font: 13px var(--font-mono);
}

.docs .toc-r {
  position: sticky;
  top: 110px;
  align-self: start;
  font-size: 14px;
}

.docs .toc-r a {
  display: block;
  padding: 4px 0;
  color: var(--mut);
}

.docs .toc-r .lbl {
  margin-bottom: 8px;
  color: var(--dim);
  font: 600 11.5px/1.4 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.callout {
  display: flex;
  gap: 12px;
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--card);
  color: var(--fg);
}

.callout svg.i {
  margin-top: 3px;
  color: var(--kw);
}

/* Compare: one client against PlatypusDB. */
.vs {
  display: grid;
  grid-template-columns: 1fr 140px 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
}

.vs + .bento {
  margin-top: 16px;
}

.vs-col {
  padding: 28px 32px;
}

.vs-col.me {
  background: radial-gradient(500px 240px at 0% 0%, rgba(255, 141, 40, 0.12), transparent 70%);
}

.vs-name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--hi);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vs dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.vs dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.vs dt {
  color: var(--mut);
  font-size: 14.5px;
}

.vs dd {
  margin: 0;
  color: var(--hi);
  font-weight: 600;
  text-align: right;
}

.vs-col.me dd {
  color: var(--acc-2);
}

.vs-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-inline: 1px solid var(--line);
  background: var(--app-side);
  text-align: center;
}

.vs-mid span {
  color: var(--dim);
  font: 600 12px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.vs-mid b {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(95deg, var(--acc-2), var(--acc) 40%, var(--acc-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vs-mid small {
  color: var(--mut);
  font-size: 13px;
}

.seg-pills {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.vs-pick {
  margin-bottom: 16px;
}

.vs-pick button,
.kind-pick button {
  padding: 7px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--mut);
  font: 500 14px/1.2 var(--font-ui);
  cursor: pointer;
}

.vs-pick button[aria-selected="true"],
.kind-pick button[aria-selected="true"] {
  background: var(--card-2);
  color: var(--hi);
}

/* Logos of the other clients. */
.cl-logo {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--c) 16%, var(--card-2));
  color: var(--c);
  font: 700 9px/1 var(--font-mono);
  vertical-align: -5px;
}

.cl-logo svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.cl-logo.lg {
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  border-radius: 8px;
  font-size: 12px;
}

.cl-logo.lg svg {
  width: 20px;
  height: 20px;
}

/* Logos that are app icons in color: shown as they are, without the tinted tile. */
.cl-logo.img {
  background: none;
  border: 0;
}

.cl-logo.img img {
  width: 100%;
  height: 100%;
}

.cl-logo.lg + h3 {
  margin-top: 16px;
}

.cl-me {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: -5px;
}

/* Compare: size bars and the matrix. */
.bar > span {
  white-space: nowrap;
}

.bar.todo s {
  width: 100%;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
}

.hero-bars {
  margin: 0;
  padding: 28px;
}

.hero-bars .bar {
  grid-template-columns: 164px 1fr 84px;
  font-size: 14px;
}

.size-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.size-two .bars {
  margin: 0;
  padding: 26px;
}

.size-two .bar {
  grid-template-columns: 170px 1fr 84px;
  font-size: 14px;
}

.bars-h {
  color: var(--mut);
  font: 600 12px/1.3 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.matrix tbody th {
  min-width: 180px;
  font-weight: 500;
  white-space: normal;
}

.matrix tr.grp th {
  padding-top: 14px;
  background: var(--app-side);
  color: var(--acc);
  font: 600 12px/1.3 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.matrix td {
  text-align: center;
}

.matrix td.y,
.matrix td.p,
.matrix td.x {
  font-size: 17px;
}

.matrix td.y {
  color: var(--str);
}

.matrix td.p {
  color: var(--num);
}

.matrix td.x {
  color: var(--dim);
}

.matrix.price tbody tr:nth-child(2) td {
  text-align: left;
  font-size: 13px;
  color: var(--mut);
}

.matrix.price tbody tr:nth-child(2) td.me {
  color: var(--hi);
}

@media (max-width: 900px) {
  .docs {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .docs .toc-r {
    display: none;
  }

  .os-cards,
  .size-two {
    grid-template-columns: 1fr;
  }

  .vs {
    grid-template-columns: 1fr;
  }

  .vs-mid {
    padding: 16px;
    border-inline: 0;
    border-block: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .hero h1 .gradient {
    white-space: normal;
  }

  .vs-pick {
    display: flex;
    flex-wrap: wrap;
  }

  .size-two .bars {
    padding: 18px;
  }

  .size-two .bar {
    grid-template-columns: 96px 1fr 72px;
    gap: 10px;
  }

  .bar .cl-logo,
  .bar .cl-me {
    display: none;
  }
}

/* Databases: the filter above the logos. */
.db-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.db-filter input {
  width: 280px;
  max-width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--card);
  color: var(--hi);
  font: 15px var(--font-ui);
}

.db-filter .kind-pick {
  margin: 0;
}

.logos li[hidden] {
  display: none;
}

/* Download: the visitor's system, first and marked. */
.os-cards .card.yours {
  border-color: var(--acc);
  box-shadow: 0 0 0 1px var(--acc), 0 18px 50px rgba(255, 141, 40, 0.12);
}

.os-cards .card.yours h3::after {
  content: "Your system";
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--glow);
  color: var(--acc-2);
  font: 600 11.5px/1.4 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Generated documentation pages (scripts/build-site-docs.mjs). */
.docs nav details > summary {
  display: none;
  cursor: pointer;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--hi);
  font-size: 14.5px;
}

.docs nav a.sub {
  padding-left: 26px;
  font-size: 13.5px;
}

.docs article h3 {
  margin: 30px 0 10px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.docs article h4,
.docs article h5,
.docs article h6 {
  margin: 22px 0 8px;
  color: var(--hi);
  font-size: 15px;
}

.docs article :is(ul, ol) {
  margin: 0 0 14px;
  padding-left: 24px;
}

.docs article li {
  margin: 4px 0;
}

.docs article li > :is(p, ul, ol, pre) {
  margin-top: 6px;
}

.docs article blockquote {
  margin: 0 0 14px;
  padding: 2px 16px;
  border-left: 3px solid var(--acc);
  color: var(--mut);
}

.docs article pre {
  margin: 0 0 16px;
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  font-size: 13px;
  line-height: 1.55;
}

.docs article pre code {
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
}

.docs article img {
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.docs article hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.docs article .table-wrap {
  margin: 0 0 16px;
}

.docs article .grid {
  min-width: 0;
}

.docs article .grid th,
.docs article .grid td {
  padding: 9px 12px;
}

.docs article .grid thead th {
  white-space: normal;
}

.docs article :is(td, li, p) code {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .docs nav details > summary {
    display: block;
  }

  .docs nav details[open] > summary {
    margin-bottom: 8px;
  }

  .docs article h1 {
    font-size: 34px;
  }
}
