/* CameoDB Cloud design system, in the cameodb.ai style (ADR-010).
   Tokens, type and mark follow ../cameodb-ai/public/assets/css/styles.css, since cloud.cameodb.ai
   is that site's subdomain. Differences, all deliberate:
     - Fonts are self-hosted (/static/fonts, OFL): the CSP is font-src 'self', and Google Fonts
       would hand every visitor's IP to Google.
     - --ink-3 is lifted to reach WCAG AA for text, and control borders get their own 3:1 token.
     - Only the landing hero animates (layer.js). App pages keep the palette and the glass but
       stay still, so forms read calmly.
   No inline styles anywhere: the CSP is style-src 'self'. Check a new colour pair before use. */

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/inter-tight-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: 'Inter Tight';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/inter-tight-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/instrument-serif-italic-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: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/static/fonts/jetbrains-mono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/static/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #06070a;
  --bg-2: #0c0e13;
  --glass: rgba(10, 12, 16, .72);
  --ink: #f2f4f7;               /* 18:1 on --bg */
  --ink-2: #a9b0bc;             /* 9:1 */
  --ink-3: #848c98;             /* 5.6:1; cameodb.ai's #6b7280 is 4.2:1, under AA */
  --line: rgba(255, 255, 255, .09);        /* dividers only */
  --line-input: rgba(255, 255, 255, .38);  /* control borders: 3.4:1 on --bg */
  --signal: #c4b5fd;            /* lavender (ADR-013): 10.9:1 on --bg; --bg on --signal for button text */
  --signal-dim: rgba(196, 181, 253, .14);
  --info: #8fd3ff;
  --bad: #ff8f85;

  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --header-h: 68px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --layer-y: 62vh;              /* layer.js overwrites it to match the canvas */
  --section-pad: clamp(56px, 8vw, 112px);

  color-scheme: dark;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
/* App pages: a still echo of the hero's focal glow. The landing canvas covers it. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 82% -6%, rgba(196, 181, 253, .07), transparent 65%),
    radial-gradient(900px 600px at 0% 110%, rgba(143, 211, 255, .04), transparent 60%);
}
main {
  flex: 1;
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
}

a { color: var(--ink); text-decoration-color: var(--signal); text-underline-offset: 3px; }
a:hover { color: var(--signal); }
h1, h2, h3 { margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; color: var(--ink-2); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
code { font-family: var(--mono); font-size: .88em; color: var(--signal); }
::selection { background: var(--signal); color: var(--bg); }

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

.shell { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; }
/* A jump to a section lands with its first line just under the header, not below the padding. */
.section[id] { scroll-margin-top: calc(var(--header-h) + 28px - var(--section-pad)); }
.narrow { max-width: calc(720px + 2 * var(--gutter)); }

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--signal);
  color: var(--bg);
  font-weight: 600;
}
.skip-link:focus { top: 8px; }

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

/* ---------- Header and footer ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  background: rgba(6, 7, 10, .55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
/* Desktop: brand | section links | language | call to action, in one row.
   Phones: brand | menu button | language | call to action; the links open from the button. */
.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  grid-template-areas: "brand nav lang cta";
  align-items: center;
  column-gap: 24px;
  height: var(--header-h);
}
.brand { grid-area: brand; }
/* One size in every language, so switching language never moves the header: wide enough for the
   longest label ("Join the waitlist"), the text centred inside. */
.header-cta { grid-area: cta; width: 152px; padding-left: 8px; padding-right: 8px; white-space: nowrap; }
/* The switch names the other language ("HR" on English pages), the compact convention that still
   fits a 360px phone beside the brand and the call to action. */
.lang-switch {
  grid-area: lang;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  font: 500 12px/1 var(--mono);
  letter-spacing: .08em;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s, border-color .2s, background .2s;
}
.lang-switch:hover { color: var(--signal); border-color: rgba(196, 181, 253, .45); background: var(--signal-dim); }
/* Section links as one segmented capsule, as on cameodb.com: medium weight, near-white text,
   and the grouping does the work that heavy type would otherwise do. */
.site-nav {
  grid-area: nav;
  justify-self: center;
  display: flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-size: 14.5px;
  font-weight: 500;
}
.site-nav a {
  padding: 7px 16px;
  border-radius: 999px;
  color: #d3d8e0;             /* 14:1 on --bg: brighter than --ink-2, quieter than --ink */
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, background .2s, box-shadow .2s;
}
.site-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .07); }
/* nav.js marks the section in view. */
.site-nav a[aria-current] {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(196, 181, 253, .16), rgba(196, 181, 253, .06));
  box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .4);
}
/* Anchor targets land below the fixed header. */
[id] { scroll-margin-top: var(--header-h); }

/* The menu button: phones only. */
.nav-toggle {
  grid-area: menu;
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.nav-toggle:hover { color: var(--signal); border-color: rgba(196, 181, 253, .45); background: var(--signal-dim); }
.nav-toggle-close { display: none; }
.header-row:has(.site-nav:popover-open) .nav-toggle { color: var(--signal); border-color: rgba(196, 181, 253, .45); background: var(--signal-dim); }
.header-row:has(.site-nav:popover-open) .nav-toggle-open { display: none; }
.header-row:has(.site-nav:popover-open) .nav-toggle-close { display: inline; }

/* Wide screens: the nav is a popover in the markup but always shown, in its grid cell (author
   styles override the browser's popover defaults). */
@media (min-width: 821px) {
  .site-nav[popover] {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    color: inherit;
  }
}

@media (max-width: 820px) {
  .header-row {
    grid-template-columns: 1fr auto auto auto;
    grid-template-areas: "brand menu lang cta";
    column-gap: 8px;
  }
  .nav-toggle { display: inline-flex; }
  /* The open menu: a panel under the header, right-aligned with it. */
  .site-nav[popover] {
    position: fixed;
    inset: auto;
    top: calc(var(--header-h) - 6px);
    right: var(--gutter);
    margin: 0;
    min-width: 220px;
    flex-direction: column;
    gap: 2px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: var(--bg-2);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9);
    color: inherit;
    font-size: 15px;
  }
  .site-nav[popover]:not(:popover-open) { display: none; }
  .site-nav a { padding: 12px 14px; border-radius: 10px; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.015em;
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: 0 0 34px; overflow: visible; }
.brand b { color: var(--signal); font-weight: 600; }
/* "Cloud": the accent serif italic in the signal colour, like the italic words in headings.
   Same font size as "DB": the two faces' cap heights match (0.7275 vs 0.72 em). */
.brand-suffix {
  margin-left: .38em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.005em;
  color: var(--signal);
  /* Instrument Serif has a single weight; a thin same-colour stroke makes it read bold without
     the browser's smeared faux bold. */
  -webkit-text-stroke: .052em currentColor;
  text-shadow: 0 0 24px rgba(196, 181, 253, .35);
}
/* Raw-data dots flow along the lower arc into the solid (indexed) half. */
.brand-dots { animation: ingest 1.6s linear infinite; }
.brand:hover .brand-dots { animation-duration: .45s; }
.brand-caret { transform-origin: 77px 50px; transition: transform .4s var(--ease); }
.brand:hover .brand-caret { transform: translateX(-3px); }
@keyframes ingest { to { stroke-dashoffset: 10.18; } }

/* A 360px phone fits the brand (162px), the menu, the language switch and a short button label,
   not the long one. Narrower than that, "Cloud" gives way. */
.narrow-only { display: none; }
@media (max-width: 480px) {
  .wide-only { display: none; }
  .narrow-only { display: inline; }
  .header-row { column-gap: 6px; }
  .brand { gap: 8px; font-size: 18px; }
  .header-cta { width: 72px; }      /* "Join" / "Na listu" */
  .nav-toggle, .lang-switch { width: 34px; min-width: 34px; padding: 0; }
  .brand-mark { width: 30px; height: 30px; flex-basis: 30px; }
}
@media (max-width: 359px) {
  .brand-suffix { display: none; }
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(6, 7, 10, .8);
  color: var(--ink-3);
  font-size: 14px;
  padding: 28px 0;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--ink-2); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--signal); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.dot {
  width: 7px; height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

.kicker {
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
}
.kicker::before { content: '— '; color: var(--ink-3); }

.display {
  font-size: clamp(40px, 6vw, 96px);
  line-height: .94;
  letter-spacing: -.045em;
  font-weight: 800;
  margin: 0;
}
.display em, .title em {
  color: var(--signal);
  text-shadow: 0 0 60px rgba(196, 181, 253, .35);
}
.display em { letter-spacing: -.045em; }
.title {
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 800;
  margin: 0 0 24px;
}
.lede {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--ink-2);
}
.muted { color: var(--ink-2); }
.small { font-size: 14px; }

/* Long-form text: privacy, terms. */
.prose { max-width: 68ch; }
.prose h2 { font-size: 24px; letter-spacing: -.02em; margin-top: 2em; }
.prose li { color: var(--ink-2); margin-bottom: .4em; }
.prose ul { padding-left: 1.2em; }
.prose strong { color: var(--ink); font-weight: 600; }
.legal-meta { color: var(--ink-3); margin: 0 0 28px; }
.controller {
  font-style: normal;
  margin: 0 0 1em;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  color: var(--ink-2);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 15px/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--signal); color: var(--bg); }
.btn-primary:hover { color: var(--bg); transform: translateY(-1px); box-shadow: 0 8px 40px -8px rgba(196, 181, 253, .6); }
.btn-ghost {
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
  border-color: var(--line-input);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { color: var(--ink); background: rgba(255, 255, 255, .09); }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.cta-row, .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row { margin-top: 34px; }

/* ---------- Forms ---------- */

.form { display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.field { display: grid; gap: 7px; }
.field > label, .fieldset > legend { font-weight: 600; font-size: 15px; color: var(--ink); }
.optional { color: var(--ink-3); font-weight: 400; }
.hint { color: var(--ink-3); font-size: 14px; margin: 0; }
.field-error { color: var(--bad); font-size: 14px; margin: 0; }

.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .03);
  color: var(--ink);
  border: 1px solid var(--line-input);
  border-radius: 12px;
  font: 16px/1.4 var(--sans);   /* 16px stops iOS zooming on focus */
  transition: border-color .2s, box-shadow .2s;
}
.select option { background: var(--bg-2); color: var(--ink); }
.textarea { min-height: 128px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, .55); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-dim), 0 0 24px -6px rgba(196, 181, 253, .45);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--bad);
}

.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.fieldset > legend { padding: 0; margin-bottom: 4px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
}
.check input {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  margin: 1px 0 0;
  accent-color: var(--signal);
}

/* Honeypot: hidden from people and assistive tech, still in the DOM for bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Cards: frosted glass on the dark ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}
.card {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .3s, transform .3s;
}
.card h3 { font-size: 21px; letter-spacing: -.02em; font-weight: 600; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.card h3 svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--signal); }
.card p { margin: 0; font-size: 15.5px; }
a.card { display: block; text-decoration: none; }
a.card:hover, .card-hover:hover { border-color: rgba(196, 181, 253, .35); transform: translateY(-3px); }
.card-panel {
  padding: clamp(24px, 4vw, 40px);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 40px 120px -40px rgba(196, 181, 253, .18), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.tag {
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: .04em;
}

ul.chips { list-style: none; margin: 22px 0 0; padding: 0; }

.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; }
.cards-2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); margin-top: 56px; }
.card-index h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; font-weight: 800; }
.card-dashed { border-style: dashed; border-color: rgba(255, 255, 255, .18); background: rgba(10, 12, 16, .45); }
@media (max-width: 960px) {
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
}

/* ---------- Landing sections ---------- */

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 32px; }
.steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.steps h3 { font-size: 21px; letter-spacing: -.02em; font-weight: 600; margin: 0 0 6px; }
.steps p { margin: 0; }
.num { font-family: var(--mono); font-size: 13px; color: var(--signal); padding-top: 4px; }

.terminal {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(10, 12, 16, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 40px 120px -40px rgba(196, 181, 253, .18), inset 0 1px 0 rgba(255, 255, 255, .08);
  overflow: hidden;
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.term-bar span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .06em; }
.terminal pre {
  margin: 0;
  padding: 22px 20px 24px;
  font: 12.5px/1.75 var(--mono);
  color: var(--ink-2);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.terminal pre .a { color: var(--signal); }
.terminal pre .c { color: var(--info); }
.terminal pre .s { color: var(--ink-3); }
.terminal pre .w { color: var(--ink); }
.terminal figcaption {
  padding: 0 20px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-3);
}
.terminal figcaption code { color: var(--ink-2); }
@media (max-width: 960px) {
  .how-grid { grid-template-columns: 1fr; }
  .terminal { position: relative; top: 0; }
}
@media (max-width: 480px) {
  .terminal pre { font-size: 11.5px; padding: 18px 14px 20px; }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.split .lede { margin-bottom: 28px; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
}
.feedback { margin-top: 36px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15.5px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--signal); font-family: var(--mono); }

/* ---------- Notices ---------- */

.notice {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--info);
  border-radius: 12px;
  background: var(--glass);
}
.notice > :last-child { margin-bottom: 0; }
.notice-info    { border-left-color: var(--info); }
.notice-success { border-left-color: var(--signal); }
.notice-error   { border-left-color: var(--bad); }
.notice-title { font-weight: 600; color: var(--ink); margin: 0 0 4px; }

/* ---------- Message pages: errors, "check your inbox", confirmations ---------- */

.message-page { text-align: center; }
.message-page .lede { margin: 0 auto 32px; }
.message-page .actions { justify-content: center; }
.status-code {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
}

/* ---------- Landing hero: the Layer (layer.js) ----------
   The canvas is fixed behind everything. Raw data drifts up behind the frosted glass, is
   indexed as it crosses the edge at --layer-y, and flows into the focal point: your agents. */

#layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  transition: opacity .2s linear;
}
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: calc(-1 * var(--header-h));   /* runs under the fixed header, as the canvas does */
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 980px;
  padding-top: calc(var(--header-h) + clamp(28px, 7vh, 72px));
}
.glass {
  position: absolute;
  left: 0; right: 0;
  top: var(--layer-y);
  bottom: 0;
  z-index: 1;
  backdrop-filter: blur(7px) saturate(115%) brightness(.85);
  -webkit-backdrop-filter: blur(7px) saturate(115%) brightness(.85);
  background: linear-gradient(180deg, rgba(196, 181, 253, .07) 0, rgba(255, 255, 255, .025) 2px, rgba(255, 255, 255, .015) 40%, rgba(6, 7, 10, .25) 100%);
  /* glass.js moves --mx/--my with the cursor, wiping a clear spot in the frost */
  -webkit-mask-image: radial-gradient(circle 150px at var(--mx, -999px) var(--my, -999px), transparent 0, transparent 55%, #000 100%);
          mask-image: radial-gradient(circle 150px at var(--mx, -999px) var(--my, -999px), transparent 0, transparent 55%, #000 100%);
  pointer-events: none;
}
.glass::before {                  /* polished top edge of the pane */
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, .9) 20%, #fff 50%, rgba(196, 181, 253, .9) 80%, transparent);
  box-shadow: 0 0 18px rgba(196, 181, 253, .7), 0 0 60px rgba(196, 181, 253, .25);
}
.glass::after {                   /* faint reflection of the edge */
  content: '';
  position: absolute;
  left: 0; right: 0; top: 3px;
  height: 60px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent);
}
.glass-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .06) 45%, rgba(255, 255, 255, .02) 50%, transparent 60%);
  background-size: 250% 100%;
  animation: sheen 9s ease-in-out infinite;
}
@keyframes sheen { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }

.axis {
  position: absolute;
  right: var(--gutter);
  z-index: 3;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.axis span { color: var(--signal); margin-right: 6px; }
.axis-ai { top: calc(var(--layer-y) - 46px); }
.axis-layer { top: calc(var(--layer-y) - 22px); left: var(--gutter); right: auto; color: var(--signal); }
.axis-layer i { font-style: normal; color: var(--ink-3); }
.axis-data { top: calc(var(--layer-y) + 16px); }

.sources {
  position: absolute;
  left: 0; right: 0;
  /* 60% of the way down the frosted area: off the hero's bottom edge, and never up against
     the glass line, which layer.js moves down to 88% of the screen when the copy is long. */
  top: calc(var(--layer-y) + (100vh - var(--layer-y)) * .6);
  top: calc(var(--layer-y) + (100svh - var(--layer-y)) * .6);
  z-index: 3;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.sources-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.sources span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 28px;
  white-space: nowrap;
}
.sources span::before { content: '▪'; margin-right: 12px; color: rgba(255, 255, 255, .25); }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 680px) {
  .axis-ai, .axis-data { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .sources-track, .glass-sheen, .dot, .brand-dots { animation: none; }
}
