/* utucat.com. Every colour is a token in the three blocks below: light, then
   dark for a system set to dark, then dark again for a chosen dark. The two
   dark blocks must stay identical (the same rule as the app; see CLAUDE.md). */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

/* Registered so the hero can fade between blue and violet: an unregistered
   custom property cannot transition. The initial values are the light tokens. */
@property --accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #2878f0;
}
@property --g1 {
  syntax: "<color>";
  inherits: true;
  initial-value: #2878f0;
}
@property --g2 {
  syntax: "<color>";
  inherits: true;
  initial-value: #7048e8;
}
@property --accent-fill {
  syntax: "<color>";
  inherits: true;
  initial-value: #1f6ce8;
}
@property --accent-ink {
  syntax: "<color>";
  inherits: true;
  initial-value: #1858c8;
}
@property --accent-soft {
  syntax: "<color>";
  inherits: true;
  initial-value: rgb(40 120 240 / 12%);
}
@property --halo {
  syntax: "<color>";
  inherits: true;
  initial-value: #2878f0;
}

:root {
  color-scheme: light;

  --page: #eef1f6;
  --page-tint: #e8ebf1;
  --surface: #ffffff;
  --surface-sunk: #f3f4f6;

  --ink: #111827;
  --ink-muted: #4b5563;
  --ink-faint: #9ca3af;
  --ink-on-accent: #ffffff;

  --blue: #2878f0;
  --blue-fill: #1f6ce8;
  --blue-fill-hover: #1858c8;
  --blue-ink: #1858c8;
  --blue-soft: rgb(40 120 240 / 12%);
  --sky: #38bdf8;
  --violet: #7048e8;
  --violet-fill: #5b36d6;
  --violet-fill-hover: #4a28b8;
  --violet-ink: #4c2bbf;
  --violet-soft: rgb(112 72 232 / 12%);

  --accent: var(--blue);
  --accent-fill: var(--blue-fill);
  --accent-fill-hover: var(--blue-fill-hover);
  --accent-ink: var(--blue-ink);
  --accent-soft: var(--blue-soft);
  --g1: #1f6ce8;
  --g2: #7048e8;
  --halo: #2878f0;

  --ok: #0f9d58;
  --ok-soft: rgb(15 157 88 / 12%);
  --warn: #b45309;
  --warn-soft: rgb(217 119 6 / 14%);
  --mute-soft: rgb(107 114 128 / 12%);

  --glass: rgb(255 255 255 / 58%);
  --glass-strong: rgb(255 255 255 / 78%);
  --glass-edge: rgb(255 255 255 / 85%);
  --glass-line: rgb(17 24 39 / 7%);
  --glass-sheen: rgb(255 255 255 / 65%);
  --glass-shadow: 0 1px 2px rgb(15 23 42 / 4%), 0 12px 32px -8px rgb(30 58 110 / 16%),
    0 40px 80px -24px rgb(30 58 110 / 18%);
  --glass-shadow-lg: 0 2px 4px rgb(15 23 42 / 4%), 0 24px 60px -12px rgb(30 58 110 / 24%),
    0 80px 120px -40px rgb(40 60 140 / 28%);

  --blob-a: rgb(40 120 240 / 58%);
  --blob-b: rgb(56 189 248 / 46%);
  --blob-c: rgb(112 72 232 / 42%);
  --cell-line: rgb(40 80 160 / 9%);
  --grain: 0.28;

  --tone-a1: #5b9dff;
  --tone-a2: #1f6ce8;
  --tone-b1: #67d4ff;
  --tone-b2: #1b8fd6;
  --tone-c1: #9f84ff;
  --tone-c2: #5b36d6;
  --av-1: #2878f0;
  --av-2: #7048e8;
  --av-3: #0ea5b7;

  --phone-frame: rgb(255 255 255 / 45%);
  --phone-screen: rgb(248 250 253 / 88%);
  --phone-row: rgb(17 24 39 / 6%);
  --mark-bg: rgb(250 204 21 / 45%);
  --mark-ink: #111827;
  --vcnet-filter: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --page: #080e1a;
    --page-tint: #101a2c;
    --surface: #121b2c;
    --surface-sunk: #0e1627;

    --ink: #eef1f7;
    --ink-muted: #a3acba;
    --ink-faint: #6b7686;
    --ink-on-accent: #ffffff;

    --blue: #5e9bff;
    --blue-fill: #1f6ce8;
    --blue-fill-hover: #3a82f5;
    --blue-ink: #9cc2ff;
    --blue-soft: rgb(94 155 255 / 16%);
    --sky: #7dd3fc;
    --violet: #a18aff;
    --violet-fill: #5b36d6;
    --violet-fill-hover: #6d49e6;
    --violet-ink: #c4b5ff;
    --violet-soft: rgb(161 138 255 / 16%);

    --g1: #7fb0ff;
    --g2: #b8a6ff;
    --halo: #3a82f5;

    --ok: #4ade80;
    --ok-soft: rgb(74 222 128 / 14%);
    --warn: #fbbf24;
    --warn-soft: rgb(251 191 36 / 14%);
    --mute-soft: rgb(163 172 186 / 14%);

    --glass: rgb(22 32 52 / 55%);
    --glass-strong: rgb(24 35 56 / 78%);
    --glass-edge: rgb(255 255 255 / 10%);
    --glass-line: rgb(255 255 255 / 7%);
    --glass-sheen: rgb(255 255 255 / 7%);
    --glass-shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px -8px rgb(0 0 0 / 50%),
      0 40px 80px -24px rgb(0 0 0 / 55%);
    --glass-shadow-lg: 0 2px 4px rgb(0 0 0 / 30%), 0 24px 60px -12px rgb(0 0 0 / 60%),
      0 80px 120px -40px rgb(20 40 110 / 50%);

    --blob-a: rgb(31 108 232 / 58%);
    --blob-b: rgb(14 165 233 / 34%);
    --blob-c: rgb(112 72 232 / 50%);
    --cell-line: rgb(150 180 255 / 7%);
    --grain: 0.4;

    --tone-a1: #5b9dff;
    --tone-a2: #1f5fd0;
    --tone-b1: #4cc4f5;
    --tone-b2: #1478b8;
    --tone-c1: #9f84ff;
    --tone-c2: #4f2ec4;
    --av-1: #3a82f5;
    --av-2: #7c5cf0;
    --av-3: #14a3b3;

    --phone-frame: rgb(255 255 255 / 8%);
    --phone-screen: rgb(12 19 33 / 86%);
    --phone-row: rgb(255 255 255 / 6%);
    --mark-bg: rgb(250 204 21 / 30%);
    --mark-ink: #fff7d6;
    --vcnet-filter: invert(1) hue-rotate(180deg) brightness(1.6);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --page: #080e1a;
  --page-tint: #101a2c;
  --surface: #121b2c;
  --surface-sunk: #0e1627;

  --ink: #eef1f7;
  --ink-muted: #a3acba;
  --ink-faint: #6b7686;
  --ink-on-accent: #ffffff;

  --blue: #5e9bff;
  --blue-fill: #1f6ce8;
  --blue-fill-hover: #3a82f5;
  --blue-ink: #9cc2ff;
  --blue-soft: rgb(94 155 255 / 16%);
  --sky: #7dd3fc;
  --violet: #a18aff;
  --violet-fill: #5b36d6;
  --violet-fill-hover: #6d49e6;
  --violet-ink: #c4b5ff;
  --violet-soft: rgb(161 138 255 / 16%);

  --g1: #7fb0ff;
  --g2: #b8a6ff;
  --halo: #3a82f5;

  --ok: #4ade80;
  --ok-soft: rgb(74 222 128 / 14%);
  --warn: #fbbf24;
  --warn-soft: rgb(251 191 36 / 14%);
  --mute-soft: rgb(163 172 186 / 14%);

  --glass: rgb(22 32 52 / 55%);
  --glass-strong: rgb(24 35 56 / 78%);
  --glass-edge: rgb(255 255 255 / 10%);
  --glass-line: rgb(255 255 255 / 7%);
  --glass-sheen: rgb(255 255 255 / 7%);
  --glass-shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px -8px rgb(0 0 0 / 50%),
    0 40px 80px -24px rgb(0 0 0 / 55%);
  --glass-shadow-lg: 0 2px 4px rgb(0 0 0 / 30%), 0 24px 60px -12px rgb(0 0 0 / 60%),
    0 80px 120px -40px rgb(20 40 110 / 50%);

  --blob-a: rgb(31 108 232 / 58%);
  --blob-b: rgb(14 165 233 / 34%);
  --blob-c: rgb(112 72 232 / 50%);
  --cell-line: rgb(150 180 255 / 7%);
  --grain: 0.4;

  --tone-a1: #5b9dff;
  --tone-a2: #1f5fd0;
  --tone-b1: #4cc4f5;
  --tone-b2: #1478b8;
  --tone-c1: #9f84ff;
  --tone-c2: #4f2ec4;
  --av-1: #3a82f5;
  --av-2: #7c5cf0;
  --av-3: #14a3b3;

  --phone-frame: rgb(255 255 255 / 8%);
  --phone-screen: rgb(12 19 33 / 86%);
  --phone-row: rgb(255 255 255 / 6%);
  --mark-bg: rgb(250 204 21 / 30%);
  --mark-ink: #fff7d6;
  --vcnet-filter: invert(1) hue-rotate(180deg) brightness(1.6);
}

/* utucat stock: the same roles in violet, the way the app swaps them while a
   stockroom is on screen. */
[data-kind="stock"] {
  --accent: var(--violet);
  --accent-fill: var(--violet-fill);
  --accent-fill-hover: var(--violet-fill-hover);
  --accent-ink: var(--violet-ink);
  --accent-soft: var(--violet-soft);
  --g1: var(--violet);
  --g2: var(--sky);
  --halo: var(--violet-fill);
}

/* ---------- Scale ---------- */

:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Nunito", "Inter", system-ui, sans-serif;
  --r-sm: 10px;
  --r-lg: 24px;
  --r-xl: 32px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: 76rem;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--r-sm);
  background: var(--accent-fill);
  color: var(--ink-on-accent);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 1rem;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.gradient-text {
  background: linear-gradient(100deg, var(--g1), var(--g2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* The descender of the y would be clipped by the line box otherwise. */
  padding-bottom: 0.08em;
}

/* ---------- Glass ---------- */

/* The backdrop behind every panel is already soft (gradients, no detail to
   blur), so most glass is a translucent fill and a sheen, which costs nothing
   to scroll. A live backdrop blur is re-sampled every frame something moves
   behind it, so it is kept to the few pieces that float over real content:
   the nav, the phone and its chips, pills and glass buttons. */
.glass {
  position: relative;
  background:
    linear-gradient(145deg, var(--glass-sheen), transparent 42%),
    var(--glass);
  border: 1px solid var(--glass-edge);
  box-shadow:
    inset 0 1px 0 var(--glass-sheen),
    var(--glass-shadow);
}

/* ---------- Backdrop ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, var(--page-tint), var(--page) 70%);
}

.aurora {
  position: absolute;
  inset: -20%;
}

.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.blob-a {
  width: 64vw;
  height: 64vw;
  left: 0%;
  top: -6%;
  background: radial-gradient(closest-side, var(--blob-a), transparent);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.blob-b {
  width: 56vw;
  height: 56vw;
  right: -2%;
  top: 8%;
  background: radial-gradient(closest-side, var(--blob-b), transparent);
  animation: drift-b 32s ease-in-out infinite alternate;
}
.blob-c {
  width: 60vw;
  height: 60vw;
  left: 26%;
  top: 38%;
  background: radial-gradient(closest-side, var(--blob-c), transparent);
  animation: drift-c 38s ease-in-out infinite alternate;
}

@keyframes drift-a {
  to {
    transform: translate(18vw, 12vh) scale(1.15);
  }
}
@keyframes drift-b {
  to {
    transform: translate(-22vw, 18vh) scale(0.9);
  }
}
@keyframes drift-c {
  to {
    transform: translate(-14vw, -20vh) scale(1.2);
  }
}

.cells {
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
}
.cells::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cell-line);
  -webkit-mask: url("/cells.svg") 0 0 / 64px 64px repeat;
  mask: url("/cells.svg") 0 0 / 64px 64px repeat;
}

.grain {
  position: absolute;
  inset: 0;
  background: url("/noise.svg") 0 0 / 200px 200px repeat;
  opacity: calc(var(--grain) * 0.45);
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px var(--gutter) 0;
  transition: padding 0.4s var(--ease);
}

.nav-inner {
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  transition:
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.nav:not([data-scrolled]) .nav-inner {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links a,
.nav-signin {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-links a:hover,
.nav-signin:hover {
  color: var(--ink);
  background: var(--glass-line);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}
.icon-btn:hover {
  color: var(--ink);
  background: var(--glass-line);
}
.icon-btn .i {
  width: 20px;
  height: 20px;
}
.i-moon {
  display: none;
}
:root[data-theme="dark"] .i-sun {
  display: none;
}
:root[data-theme="dark"] .i-moon {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun {
    display: none;
  }
  :root:not([data-theme="light"]) .i-moon {
    display: block;
  }
}

@media (max-width: 52rem) {
  .nav-links {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
}
@media (max-width: 26rem) {
  .nav-signin {
    display: none;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.95rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--spring),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn-sm {
  min-height: 38px;
  padding: 0 1rem;
  font-size: 0.88rem;
}
.btn-lg {
  min-height: 54px;
  padding: 0 1.6rem;
  font-size: 1.02rem;
}

.btn-primary {
  position: relative;
  color: var(--ink-on-accent);
  background: linear-gradient(180deg, rgb(255 255 255 / 18%), transparent 55%), var(--accent-fill);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 28%),
    0 1px 2px rgb(0 0 0 / 12%),
    0 10px 28px -8px var(--accent-fill);
}
.btn-primary:hover {
  background: linear-gradient(180deg, rgb(255 255 255 / 18%), transparent 55%), var(--accent-fill-hover);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 28%),
    0 1px 2px rgb(0 0 0 / 12%),
    0 16px 36px -8px var(--accent-fill);
}
.btn-primary .i {
  transition: transform 0.3s var(--spring);
}
.btn-primary:hover .i {
  transform: translateX(3px);
}

.btn-glass {
  color: var(--ink);
  background: var(--glass);
  border-color: var(--glass-edge);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 var(--glass-sheen), 0 6px 20px -8px rgb(30 58 110 / 25%);
}
.btn-glass:hover {
  background: var(--glass-strong);
  transform: translateY(-1px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.pill-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}
.pill-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--ok);
  opacity: 0;
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0% {
    transform: scale(0.5);
    opacity: 0.8;
  }
  80%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ---------- Reveal ---------- */

html:not(.no-js) .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
html:not(.no-js) .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Loops only run while their card is on screen. */
.card-art *,
.privacy-stage *,
.lifecycle *,
.hero-scene *,
.ticker-track,
.beta * {
  animation-play-state: paused;
}
.in-view .card-art *,
.in-view .privacy-stage *,
.lifecycle.in-view *,
.hero-scene.in-view *,
.ticker.in-view .ticker-track,
.beta.in-view * {
  animation-play-state: running;
}

/* ---------- Hero ---------- */

.hero {
  --mx: 0;
  --my: 0;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(7rem, 14vh, 10rem) var(--gutter) clamp(3rem, 8vh, 6rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  min-height: min(100vh, 58rem);
  transition:
    --accent 0.9s var(--ease),
    --accent-fill 0.9s var(--ease),
    --accent-ink 0.9s var(--ease),
    --accent-soft 0.9s var(--ease),
    --g1 0.9s var(--ease),
    --g2 0.9s var(--ease),
    --halo 0.9s var(--ease);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-title {
  font-size: clamp(2.7rem, 5.4vw, 4.9rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}
.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-sub {
  max-width: 34rem;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-proof .i {
  color: var(--accent);
  stroke-width: 2.4;
}

.reveal:nth-child(2) {
  --delay: 0.08s;
}
.reveal:nth-child(3) {
  --delay: 0.16s;
}
.reveal:nth-child(4) {
  --delay: 0.24s;
}
.reveal:nth-child(5) {
  --delay: 0.32s;
}
.reveal:nth-child(6) {
  --delay: 0.4s;
}

/* The scene. Each layer moves with the pointer by its own depth (--d, set
   from data-depth by script.js), which is what makes it read as layered. */

.hero-scene {
  position: relative;
  text-align: left;
  height: clamp(34rem, 62vh, 40rem);
  display: grid;
  place-items: center;
  perspective: 1400px;
}

[data-depth] {
  --d: 0;
  translate: calc(var(--mx) * var(--d) * 26px) calc(var(--my) * var(--d) * 22px);
  transition: translate 0.6s var(--ease);
}

.halo {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 42% 40%, color-mix(in srgb, var(--halo) 50%, transparent), transparent),
    radial-gradient(closest-side at 62% 64%, color-mix(in srgb, var(--g2) 32%, transparent), transparent);
  animation: spin 22s linear infinite;
  opacity: 0.9;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}

.phone {
  position: relative;
  z-index: 2;
  width: 292px;
  height: 590px;
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(160deg, var(--glass-sheen), transparent 40%), var(--phone-frame);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow:
    inset 0 1px 0 var(--glass-sheen),
    inset 0 0 0 1px var(--glass-line),
    var(--glass-shadow-lg);
  transform: rotateY(-14deg) rotateX(6deg) rotate(2deg);
  transform-style: preserve-3d;
  animation: bob 9s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: rotateY(-10deg) rotateX(4deg) rotate(1deg) translateY(-12px);
  }
}

.phone-glass {
  position: relative;
  height: 100%;
  border-radius: 38px;
  padding: 44px 16px 16px;
  background: var(--phone-screen);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  translate: -50% 0;
  background: var(--ink);
  opacity: 0.9;
}

.phone-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
}

.stock-tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--violet-soft);
  color: var(--violet-ink);
  font: 700 0.68rem/1.5 var(--font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  translate: -4px 0;
  transition:
    opacity 0.5s var(--ease),
    translate 0.5s var(--ease);
}
[data-kind="stock"] .stock-tag,
.stock-tag-inline {
  opacity: 1;
  translate: 0 0;
}

.phone-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  color: var(--ink);
  font-size: 0.95rem;
}
.phone-search .i {
  color: var(--ink-faint);
}
.caret {
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.phone-label {
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--glass-line);
  box-shadow: 0 8px 24px -10px rgb(30 58 110 / 30%);
  transition:
    opacity 0.35s var(--ease),
    transform 0.45s var(--spring);
}
.result[data-state="out"] {
  opacity: 0;
  transform: translateY(8px) scale(0.97);
}

.result-thumb {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex: none;
  color: var(--ink-on-accent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 70%, white), var(--accent-fill));
}
.result-thumb .i {
  width: 22px;
  height: 22px;
}

.result-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.result-body strong {
  font-size: 0.9rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.result-body span {
  color: var(--ink-muted);
  font-size: 0.76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.66rem;
  font-weight: 700;
}
.badge:empty {
  display: none;
}

.ghost-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.ghost-rows span {
  height: 58px;
  border-radius: 14px;
  background: var(--phone-row);
}
.ghost-rows span:nth-child(2) {
  opacity: 0.7;
}
.ghost-rows span:nth-child(3) {
  opacity: 0.4;
}

.phone-tabs {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 52px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
}
.phone-tabs span {
  width: 20px;
  height: 6px;
  border-radius: 3px;
  background: var(--ink-faint);
  opacity: 0.45;
}
.phone-tabs .tab-new {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 14px;
  background: var(--accent-fill);
  color: var(--ink-on-accent);
  opacity: 1;
  box-shadow: 0 8px 20px -6px var(--accent-fill);
}

/* Floating chips around the phone */

.float {
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.82rem;
  line-height: 1.3;
  white-space: nowrap;
  animation: hover 7s ease-in-out infinite;
}
.float div {
  display: flex;
  flex-direction: column;
}
.float strong {
  font-size: 0.86rem;
}
.float span {
  color: var(--ink-muted);
}
@keyframes hover {
  50% {
    transform: translateY(-10px);
  }
}

.float-photo {
  top: 58%;
  left: -14%;
  animation-delay: -1s;
}
.float-path {
  bottom: 5%;
  right: -2%;
  color: var(--ink);
  font-weight: 600;
  animation-delay: -3s;
}
.float-path .i {
  color: var(--accent);
}
.float-lock {
  top: 13%;
  right: -9%;
  animation-delay: -5s;
}

.photo-tile {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--ink-on-accent);
}
.lock-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
}

.tone-a {
  background: linear-gradient(145deg, var(--tone-a1), var(--tone-a2));
}
.tone-b {
  background: linear-gradient(145deg, var(--tone-b1), var(--tone-b2));
}
.tone-c {
  background: linear-gradient(145deg, var(--tone-c1), var(--tone-c2));
}

@media (max-width: 60rem) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: 0;
  }
  .hero-copy {
    align-items: center;
  }
  .hero-sub {
    margin: 0 auto;
  }
  .hero-proof {
    justify-content: center;
  }
  .hero-scene {
    height: 36rem;
  }
}
@media (max-width: 30rem) {
  .hero-scene {
    height: 33rem;
  }
  .phone {
    width: 256px;
    height: 520px;
    border-radius: 42px;
  }
  .phone-glass {
    border-radius: 33px;
  }
  .float-photo {
    left: -2%;
    top: 58%;
  }
  .float-path {
    right: 0;
    bottom: -1%;
  }
  .float-lock {
    right: -2%;
    top: -1%;
  }
  .float {
    font-size: 0.75rem;
    padding: 8px 11px;
  }
  .float strong {
    font-size: 0.78rem;
  }
}

/* ---------- Ticker ---------- */

.ticker {
  overflow: hidden;
  padding: 1.4rem 0;
  border-block: 1px solid var(--glass-line);
  background: var(--glass);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ticker span {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--ink-muted);
  opacity: 0.75;
}
.ticker i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(145deg, var(--g1), var(--g2));
  opacity: 0.7;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */

.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 8rem) var(--gutter);
}

.section-head {
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 6vh, 4rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow-mark {
  border-radius: 5px;
}

.section h2 {
  text-wrap: balance;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.lede {
  color: var(--ink-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  max-width: 38rem;
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 var(--glass-sheen),
    var(--glass-shadow-lg);
}

.card-capture {
  grid-column: span 3;
  grid-row: span 2;
}
.card-find,
.card-places {
  grid-column: span 3;
}
.card-enrich,
.card-sell,
.card-share {
  grid-column: span 2;
}

.card-copy {
  padding: 1.5rem 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.card-copy h3 {
  font-size: 1.4rem;
  font-weight: 800;
}
.card-copy p {
  color: var(--ink-muted);
  font-size: 0.97rem;
}
.step {
  font: 700 0.75rem/1 var(--font);
  letter-spacing: 0.1em;
  color: var(--accent-ink);
}

.card-art {
  position: relative;
  min-height: 200px;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: radial-gradient(90% 90% at 50% 100%, var(--accent-soft), transparent 70%);
  border-bottom: 1px solid var(--glass-line);
  overflow: hidden;
}

@media (max-width: 64rem) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-capture {
    grid-column: span 2;
    grid-row: auto;
  }
  .card-find,
  .card-places,
  .card-enrich,
  .card-sell {
    grid-column: span 1;
  }
  .card-share {
    grid-column: span 2;
  }
}
@media (max-width: 40rem) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento > .card {
    grid-column: auto;
  }
}

/* Capture art: three shots fan out, the shutter pulses, the toast lands. */

.art-capture {
  min-height: 320px;
}
.shots {
  position: relative;
  width: 200px;
  height: 200px;
}
.shot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 28px;
  color: rgb(255 255 255 / 90%);
  box-shadow: 0 20px 40px -14px rgb(20 40 100 / 45%), inset 0 1px 0 rgb(255 255 255 / 35%);
  transform: translateX(var(--x)) rotate(var(--rot));
  animation: fan 6s var(--ease) infinite;
}
.shot .i {
  width: 56px;
  height: 56px;
  stroke-width: 1.4;
}
.shot:nth-child(1) {
  --rot: -12deg;
  --x: -58px;
  animation-delay: 0s;
}
.shot:nth-child(2) {
  --rot: 0deg;
  --x: 0px;
  animation-delay: 0.25s;
}
.shot:nth-child(3) {
  --rot: 12deg;
  --x: 58px;
  animation-delay: 0.5s;
}
@keyframes fan {
  0%,
  8% {
    transform: translateY(40px) scale(0.6);
    opacity: 0;
  }
  22%,
  78% {
    transform: translateX(var(--x)) rotate(var(--rot));
    opacity: 1;
  }
  92%,
  100% {
    transform: translateX(var(--x)) rotate(var(--rot)) translateY(-30px) scale(0.9);
    opacity: 0;
  }
}

.shutter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  translate: -50% 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid var(--glass-edge);
  background: var(--glass);
  display: grid;
  place-items: center;
  box-shadow: var(--glass-shadow);
}
.shutter span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-fill);
  animation: press 6s var(--ease) infinite;
}
@keyframes press {
  0%,
  4%,
  14%,
  100% {
    transform: scale(1);
  }
  8% {
    transform: scale(0.8);
  }
}

.saved-toast {
  position: absolute;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  animation: toast 6s var(--spring) infinite;
}
.saved-toast .i {
  color: var(--ok);
  stroke-width: 2.6;
}
@keyframes toast {
  0%,
  30% {
    opacity: 0;
    transform: translateY(-12px) scale(0.9);
  }
  38%,
  80% {
    opacity: 1;
    transform: none;
  }
  90%,
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* Find art */

.art-find {
  align-content: center;
  gap: 10px;
  justify-items: stretch;
}
.art-find > * {
  width: min(100%, 320px);
  justify-self: center;
}
.mini-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  font-size: 0.9rem;
}
.mini-search .i {
  color: var(--ink-faint);
}
.mini-search span {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 1.5px solid var(--accent);
  width: 0;
  animation:
    type-in 5s steps(7) infinite,
    caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink {
  50% {
    border-right-color: transparent;
  }
}
@keyframes type-in {
  0% {
    width: 0;
  }
  30%,
  100% {
    width: 7.2ch;
  }
}
.mini-result {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--glass-line);
  font-size: 0.78rem;
  color: var(--ink-muted);
  animation: rise 5s var(--ease) infinite;
}
.mini-result strong {
  color: var(--ink);
  font-size: 0.9rem;
}
.mini-result em {
  color: var(--accent-ink);
  font-style: normal;
  font-weight: 600;
  font-size: 0.72rem;
}
.mini-result.dim {
  opacity: 0.6;
  animation-delay: 0.12s;
}
.mini-result mark {
  background: linear-gradient(var(--mark-bg), var(--mark-bg)) 0 0 / 0% 100% no-repeat;
  color: var(--mark-ink);
  border-radius: 3px;
  animation: highlight 5s var(--ease) infinite;
}
@keyframes rise {
  0%,
  28% {
    opacity: 0;
    transform: translateY(8px);
  }
  36%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes highlight {
  0%,
  40% {
    background-size: 0% 100%;
  }
  52%,
  100% {
    background-size: 100% 100%;
  }
}

/* Places art */

.tree,
.tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tree ul {
  margin-left: 18px;
  padding-left: 14px;
  border-left: 1.5px dashed var(--ink-faint);
}
.tree li {
  padding: 4px 0;
}
.node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--glass-line);
  font-size: 0.82rem;
  font-weight: 600;
}
.node b {
  padding: 0 6px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.7rem;
}
.node-on {
  animation: target 5s var(--ease) infinite;
}
@keyframes target {
  0%,
  45%,
  75%,
  100% {
    box-shadow: 0 0 0 0 transparent;
    border-color: var(--glass-line);
  }
  55%,
  68% {
    box-shadow: 0 0 0 4px var(--accent-soft);
    border-color: var(--accent);
  }
}
.drag-chip {
  position: absolute;
  top: 26%;
  right: 12%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  animation: drag 5s var(--ease) infinite;
}
.drag-chip .i {
  color: var(--accent);
}
@keyframes drag {
  0%,
  10% {
    transform: none;
    opacity: 0;
  }
  18% {
    opacity: 1;
    transform: none;
  }
  55% {
    transform: translate(-70px, 52px) rotate(-4deg) scale(0.92);
    opacity: 1;
  }
  66%,
  100% {
    transform: translate(-70px, 52px) scale(0.6);
    opacity: 0;
  }
}

/* Enrich art */

.art-enrich {
  align-content: center;
  gap: 8px;
}
.review-row {
  display: grid;
  grid-template-columns: 4.2rem 1fr auto;
  align-items: center;
  gap: 10px;
  width: min(100%, 270px);
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--glass-line);
  font-size: 0.78rem;
  animation: slide 6s var(--ease) infinite;
}
.review-row:nth-child(2) {
  animation-delay: 0.15s;
}
.review-row:nth-child(3) {
  animation-delay: 0.3s;
}
.review-row:nth-child(4) {
  animation-delay: 0.45s;
}
.review-row span {
  color: var(--ink-muted);
}
.review-row i {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.review-row .ok {
  background: var(--ok-soft);
  color: var(--ok);
}
.review-row .edit {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.review-row .ign {
  background: var(--mute-soft);
  color: var(--ink-muted);
}
@keyframes slide {
  0%,
  5% {
    opacity: 0;
    transform: translateX(-16px);
  }
  15%,
  85% {
    opacity: 1;
    transform: none;
  }
  95%,
  100% {
    opacity: 0;
    transform: translateX(16px);
  }
}

/* Sell art */

.art-sell {
  align-content: center;
  gap: 12px;
}
.listing {
  display: flex;
  gap: 12px;
  width: min(100%, 270px);
  padding: 10px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--glass-line);
}
.listing-photo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  flex: none;
  color: rgb(255 255 255 / 90%);
}
.listing-photo .i {
  width: 28px;
  height: 28px;
}
.listing-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.listing-body strong {
  font-size: 0.8rem;
  line-height: 1.25;
}
.price {
  color: var(--accent-ink);
  font-size: 0.74rem;
  font-weight: 700;
}
.line {
  height: 5px;
  border-radius: 3px;
  background: var(--phone-row);
  width: 100%;
}
.line.short {
  width: 60%;
}
.copy-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  font-size: 0.72rem;
  font-weight: 600;
  animation: copied 6s var(--ease) infinite;
}
.copy-btn:nth-child(2) {
  animation-delay: 0.6s;
}
.copy-btn:nth-child(3) {
  animation-delay: 1.2s;
}
.copy-btn .i {
  width: 13px;
  height: 13px;
}
@keyframes copied {
  0%,
  20%,
  40%,
  100% {
    background: var(--glass-strong);
    color: var(--ink);
  }
  25%,
  35% {
    background: var(--accent-fill);
    color: var(--ink-on-accent);
  }
}

/* Share art */

.art-share {
  align-content: center;
  gap: 16px;
}
.avatars {
  display: flex;
  justify-content: center;
}
.av {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-left: -12px;
  border-radius: 50%;
  border: 3px solid var(--surface);
  color: var(--ink-on-accent);
  font: 800 1.1rem/1 var(--font-display);
  box-shadow: 0 10px 20px -8px rgb(20 40 100 / 45%);
  animation: hover 5s ease-in-out infinite;
}
.av-1 {
  margin-left: 0;
  background: var(--av-1);
}
.av-2 {
  background: var(--av-2);
  animation-delay: -1.6s;
}
.av-3 {
  background: var(--av-3);
  animation-delay: -3.2s;
}
.roles {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.roles span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--glass-line);
  font-size: 0.74rem;
  color: var(--ink-muted);
}
.roles b {
  color: var(--accent-ink);
}

/* ---------- Private ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split-copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.ticks {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
}
.ticks .i {
  display: grid;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  stroke-width: 2.6;
}

.privacy-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 0.85fr;
  align-items: center;
  gap: 0.5rem;
}
.panel {
  padding: 1.1rem;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.panel-fields {
  transform: rotate(-2deg);
}
.panel-listing {
  transform: rotate(2deg) translateY(20px);
}
.panel-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field {
  display: grid;
  grid-template-columns: 4.6rem 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--glass-line);
  font-size: 0.8rem;
}
.field span {
  color: var(--ink-muted);
}
.field b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vis {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 700;
  background: var(--warn-soft);
  color: var(--warn);
}
.vis .i {
  width: 11px;
  height: 11px;
  stroke-width: 2.4;
}
.vis.pub {
  background: var(--ok-soft);
  color: var(--ok);
}
.field.is-private {
  background: color-mix(in srgb, var(--surface) 80%, var(--warn-soft));
}

.flow {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.flow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: flow 2.4s var(--ease) infinite;
}
.flow span:nth-child(2) {
  animation-delay: 0.3s;
}
.flow span:nth-child(3) {
  animation-delay: 0.6s;
}
@keyframes flow {
  0% {
    transform: translateX(-14px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(14px);
    opacity: 0;
  }
}

.listing-line {
  font-size: 0.85rem;
}
.listing-line.redacted {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px dashed var(--ink-faint);
  color: var(--ink-muted);
  font-size: 0.74rem;
}

@media (max-width: 56rem) {
  .split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 34rem) {
  .privacy-stage {
    grid-template-columns: 1fr;
  }
  .flow {
    flex-direction: row;
    justify-content: center;
    rotate: 90deg;
    height: 20px;
  }
  .panel-fields,
  .panel-listing {
    transform: none;
  }
}

/* ---------- Stock ---------- */

.section-stock {
  max-width: none;
  padding-inline: var(--gutter);
}
.stock-surface {
  position: relative;
  max-width: calc(var(--wrap) + 4rem);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.1rem, 4vw, 3.5rem);
  border-radius: clamp(28px, 4vw, 44px);
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--glass-edge);
  background:
    radial-gradient(60% 50% at 15% 0%, var(--violet-soft), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, color-mix(in srgb, var(--sky) 16%, transparent), transparent 70%),
    var(--glass);
  box-shadow:
    inset 0 1px 0 var(--glass-sheen),
    var(--glass-shadow-lg);
}
.stock-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cell-line);
  -webkit-mask:
    url("/cells.svg") 0 0 / 48px 48px repeat,
    linear-gradient(transparent, #000 60%);
  -webkit-mask-composite: source-in;
  mask:
    url("/cells.svg") 0 0 / 48px 48px repeat intersect,
    linear-gradient(transparent, #000 60%);
  opacity: 0.9;
}

.stock-tag-inline {
  font-size: 0.72rem;
}

.lifecycle {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  margin-bottom: 1.1rem;
}
.life-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}
.life-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.life-step b {
  font-size: 0.92rem;
}
.life-step small {
  color: var(--ink-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}
.life-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--glass-line);
  color: var(--accent);
  box-shadow: 0 6px 16px -8px rgb(40 20 110 / 35%);
  animation: light 10s var(--ease) infinite;
  animation-delay: calc(var(--n) * 2s - 0.3s);
}
.life-step:nth-child(1) {
  --n: 0;
}
.life-step:nth-child(2) {
  --n: 1;
}
.life-step:nth-child(3) {
  --n: 2;
}
.life-step:nth-child(4) {
  --n: 3;
}
.life-step:nth-child(5) {
  --n: 4;
}
@keyframes light {
  0%,
  6%,
  22%,
  100% {
    background: var(--surface);
    color: var(--accent);
    transform: none;
  }
  10%,
  18% {
    background: var(--accent-fill);
    color: var(--ink-on-accent);
    transform: translateY(-4px) scale(1.06);
  }
}
.life-line {
  position: absolute;
  z-index: 0;
  top: 26px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent), var(--accent-soft));
}
/* A track as long as the line, slid along by transform (a percentage of its
   own length), with the dot painted at its start. Animating left or top
   instead would lay the page out again on every frame. */
.life-dot {
  position: absolute;
  inset: 0;
  animation: travel 10s linear infinite;
}
.life-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 5px var(--accent-soft),
    0 0 20px var(--accent);
}
@keyframes travel {
  0% {
    transform: translateX(0);
  }
  80% {
    transform: translateX(100%);
    opacity: 1;
  }
  90%,
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

.life-unit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--glass-line);
  color: var(--ink-muted);
  font-size: 0.85rem;
  text-align: center;
}
.life-unit-tag {
  padding: 2px 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font: 700 0.8rem/1.6 ui-monospace, "SF Mono", Consolas, monospace;
}

@media (max-width: 44rem) {
  .life-track {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .life-step {
    flex-direction: row;
    text-align: left;
    gap: 12px;
  }
  .life-step small {
    margin-left: auto;
    text-align: right;
  }
  .life-ico {
    margin: 0;
  }
  .life-line {
    top: 26px;
    bottom: 26px;
    left: 25px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--accent-soft), var(--accent), var(--accent-soft));
  }
  .life-dot {
    animation-name: travel-down;
  }
  .life-dot::after {
    top: 0;
    left: 50%;
  }
  @keyframes travel-down {
    0% {
      transform: translateY(0);
    }
    80% {
      transform: translateY(100%);
      opacity: 1;
    }
    90%,
    100% {
      transform: translateY(100%);
      opacity: 0;
    }
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.feature {
  padding: 1.5rem;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.5s var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
}
.feature h3 {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.feature p {
  color: var(--ink-muted);
  font-size: 0.93rem;
}
.f-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.4rem;
  border-radius: 14px;
  color: var(--ink-on-accent);
  background: linear-gradient(145deg, var(--accent), var(--accent-fill));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 30%),
    0 10px 20px -8px var(--accent-fill);
}
.f-ico .i {
  width: 22px;
  height: 22px;
}
.feature-grid .reveal:nth-child(3n + 2) {
  --delay: 0.08s;
}
.feature-grid .reveal:nth-child(3n + 3) {
  --delay: 0.16s;
}

@media (max-width: 60rem) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 36rem) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Trust ---------- */

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.trust {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem;
  border-radius: var(--r-lg);
}
.trust .i {
  width: 28px;
  height: 28px;
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.trust b {
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.trust span {
  color: var(--ink-muted);
  font-size: 0.9rem;
}
@media (max-width: 60rem) {
  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 34rem) {
  .trust-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Beta ---------- */

.beta {
  max-width: 50rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  border-radius: clamp(28px, 4vw, 40px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 var(--glass-sheen),
    var(--glass-shadow-lg);
}
.beta-glow {
  position: absolute;
  z-index: -1;
  inset: -50%;
  background:
    radial-gradient(closest-side at 30% 35%, var(--blob-a), transparent),
    radial-gradient(closest-side at 70% 40%, var(--blob-c), transparent),
    radial-gradient(closest-side at 50% 70%, var(--blob-b), transparent);
  animation: spin 18s linear infinite;
  opacity: 0.8;
}
.beta-mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 20px 40px -12px var(--accent-fill);
  animation: hover 6s ease-in-out infinite;
}
.beta h2 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}
.beta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.email-chip {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0 1.3rem;
  border-radius: 999px;
  color: var(--ink);
  font: 600 1rem/1 var(--font);
  cursor: pointer;
  transition: transform 0.25s var(--spring);
}
.email-chip:hover {
  transform: translateY(-1px);
}
.email-chip .i {
  color: var(--ink-muted);
}
.email-chip .i-done {
  display: none;
  color: var(--ok);
}
.email-chip[data-copied] .i-copy {
  display: none;
}
.email-chip[data-copied] .i-done {
  display: block;
}
.beta-note {
  min-height: 1.4em;
  color: var(--ok);
  font-size: 0.88rem;
  font-weight: 600;
}
.beta-foot {
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.beta-foot a {
  color: var(--accent-ink);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.footer {
  padding: 2.5rem var(--gutter) 3rem;
  border-top: 1px solid var(--glass-line);
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}
.footer-tag {
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}
.footer-links a {
  color: var(--ink-muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--ink);
}
.vcnet {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-muted);
  font-size: 0.8rem;
  text-decoration: none;
}
.vcnet img {
  width: auto;
  height: 20px;
  filter: var(--vcnet-filter);
}
@media (max-width: 44rem) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    margin: 0;
  }
}

/* ---------- Motion off ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html:not(.no-js) .reveal {
    opacity: 1;
    transform: none;
  }
  .mini-search span {
    width: 7.2ch;
  }
  .mini-result mark {
    background-size: 100% 100%;
  }
  .drag-chip {
    display: none;
  }
  [data-depth] {
    translate: none;
  }
}
