/* JPX Desk site. The app's own design system (docs/DESIGN_SYSTEM.md in the
   jpxfinance repo), carried to a marketing page:
   flat, black / white / grey, amber and green only for money state, red only
   for danger, the system font, one 12px gutter so seams line up, and motion
   on the app's own curves. The one display face is Climate Crisis, used for
   the wordmark only, exactly as in the app.
   Layout: one 1360px column, 12px gutters, a 4-up grid whose 50/50 split
   lands on the same seam. Dark is canonical; the public screens of the app
   never switch theme, so neither does this site. */

@font-face {
  font-family: "Climate Crisis";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("data:font/woff2;base64,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") format("woff2");
  unicode-range: U+20, U+43-44, U+49-4A, U+4C, U+4F-50, U+53-55, U+58, U+64-65,
    U+69, U+6B, U+6F, U+73-75;
}

:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #171717;
  --surface-3: #1f1f1f;
  --line: #232323;
  --line-2: #2f2f2f;
  --text: #f5f5f5;
  --text-2: #a3a3a3;
  --text-3: #6b6b6b;
  --ink: #f5f5f5;
  --ink-fg: #0a0a0a;
  --ink-soft: rgba(255, 255, 255, 0.07);
  --amber: #f5b142;
  --amber-soft: rgba(245, 177, 66, 0.12);
  --green: #4ade80;
  --green-soft: rgba(74, 222, 128, 0.12);
  --red: #f87171;
  --red-soft: rgba(248, 113, 113, 0.12);
  --pulse-ring: rgba(74, 222, 128, 0.45);
  --scrim: rgba(10, 10, 10, 0.65);
  --radius: 10px;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Geist Mono", Menlo, Consolas, monospace;
  --font-logo: "Climate Crisis", var(--font-sans);

  --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 140ms;
  --dur-fast: 150ms;
  --dur-base: 200ms;
  --dur-sheet-in: 240ms;
  --dur-reveal: 720ms;

  --col: 1360px;
  --gap: 12px;
  --pad: 32px;
  --hdr-h: 60px;
}

@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 180ms;
  animation-timing-function: var(--ease-enter);
}
.hdr {
  view-transition-name: hdr;
}
.ft-mark {
  view-transition-name: mark;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html {
  background: var(--bg);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overscroll-behavior-x: none;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection {
  background: var(--ink);
  color: var(--ink-fg);
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--ink-fg);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus {
  top: calc(env(safe-area-inset-top, 0px) + 12px);
}

/* ─── Column ─── */
.wrap {
  width: 100%;
  max-width: calc(var(--col) + 2 * var(--pad));
  margin-inline: auto;
  padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
}
.narrow {
  max-width: 760px;
}
.sec {
  padding-block: clamp(72px, 10vw, 140px);
}
.sec-tight {
  padding-block: clamp(48px, 6vw, 88px);
}
.sec + .sec {
  border-top: 1px solid var(--line);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* ─── Type ─── */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.display {
  font-size: clamp(44px, 7.4vw, 104px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}
.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--text-2);
  margin: 0;
  max-width: 62ch;
  text-wrap: pretty;
}
.body {
  color: var(--text-2);
  margin: 0;
  max-width: 64ch;
  text-wrap: pretty;
}
.body strong,
.lead strong {
  color: var(--text);
  font-weight: 600;
}
.small {
  font-size: 13.5px;
  color: var(--text-2);
  margin: 0;
}
.cap {
  font-size: 12px;
  color: var(--text-3);
  margin: 0;
}
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.cents {
  font-size: 0.5em;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0;
}
.muted {
  color: var(--text-3);
}
.sec-hd {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-hd > :first-child {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sec-hd > .lead {
  grid-column: span 2;
}

/* ─── Controls ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform var(--dur-press) var(--ease-enter), border-color var(--dur-fast),
    opacity var(--dur-fast), background var(--dur-fast);
}
.btn:hover {
  border-color: var(--line-2);
}
.btn:active {
  transform: scale(0.97);
  transition-duration: 0ms;
}
.btn svg {
  width: 15px;
  height: 15px;
  transition: transform var(--dur-base) var(--ease-enter);
}
.btn:hover svg {
  transform: translateX(2px);
}
.btn-ink {
  background: var(--ink);
  color: var(--ink-fg);
  border-color: var(--ink);
}
.btn-ink:hover {
  opacity: 0.9;
  border-color: var(--ink);
}
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-2);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--line);
}
.btn-lg {
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--text);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-base) var(--ease-enter);
}
.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ─── Header ─── */
.hdr {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base), background var(--dur-base);
}
.hdr.is-over {
  background: transparent;
}
.hdr.is-scrolled {
  border-bottom-color: var(--line);
  background: var(--bg);
}
.hdr-in {
  max-width: calc(var(--col) + 2 * var(--pad));
  margin-inline: auto;
  padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-logo);
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0;
  flex: none;
}
.lockup-bar {
  width: 1px;
  height: 16px;
  background: var(--line-2);
}
.lockup-word {
  color: var(--text-2);
  transition: color var(--dur-base);
}
.lockup:hover .lockup-word {
  color: var(--text);
}
.hdr-nav {
  display: flex;
  gap: 2px;
}
.hdr-nav a {
  position: relative;
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.hdr-nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.hdr-nav a[aria-current="page"] {
  color: var(--text);
}
.hdr-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: -11px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.hdr-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.show-sm {
  display: none;
}

/* Sheet: the app's phone drawer, from the right on the iOS sheet curve. */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.sheet-scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim);
  opacity: 0;
  transition: opacity var(--dur-sheet-in) var(--ease-sheet);
}
.sheet-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  padding: calc(env(safe-area-inset-top, 0px) + 10px) max(20px, env(safe-area-inset-right, 0px))
    calc(env(safe-area-inset-bottom, 0px) + 20px) 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur-sheet-in) var(--ease-sheet);
}
.sheet.is-open .sheet-scrim {
  opacity: 1;
}
.sheet.is-open .sheet-panel {
  transform: none;
}
.sheet-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
}
.sheet-nav {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.sheet-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}
.sheet-nav a[aria-current="page"] {
  color: var(--text);
}
.sheet-foot {
  margin-top: auto;
  font-size: 13px;
  color: var(--text-3);
}

/* ─── Chips and tags (the app's .chip family and HoldTag tones) ─── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid var(--line);
  color: var(--text-2);
  background: var(--surface);
  line-height: 1.4;
  transition: color var(--dur-base), background var(--dur-base), border-color var(--dur-base);
}
.chip-amber {
  color: var(--amber);
  background: var(--amber-soft);
  border-color: transparent;
}
.chip-green {
  color: var(--green);
  background: var(--green-soft);
  border-color: transparent;
}
.chip-ink {
  color: var(--text);
  background: var(--ink-soft);
  border-color: transparent;
}
.chip-red {
  color: var(--red);
  background: var(--red-soft);
  border-color: transparent;
}
.chip-solid {
  color: var(--ink-fg);
  background: var(--ink);
  border-color: var(--ink);
  font-weight: 600;
}
.chip-dashed {
  border-style: dashed;
  border-color: var(--line-2);
}
.chip-ex {
  font-size: 10.5px;
  color: var(--text-3);
  border: 1px dashed var(--line-2);
  background: transparent;
  padding: 1px 7px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
  background: currentColor;
}
.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--pulse-ring);
  }
  100% {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
}
kbd {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 1px 5px;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  color: var(--text-3);
  background: var(--surface);
}

/* ─── Cards, cells, rows (the app's card grammar) ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.card-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  min-height: 46px;
}
.card-hd h3,
.card-title {
  font-size: 13.5px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.card-hd .n {
  color: var(--text-3);
  font-weight: 500;
  font-size: 13px;
}
.card-hd .more {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-3);
}
.card-body {
  padding: 16px;
}
.card-foot {
  margin-top: auto;
  padding: 9px 16px;
  font-size: 12px;
  color: var(--text-3);
  border-top: 1px solid var(--line);
}
.cells {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cell {
  padding: 16px 20px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.cell-v {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}
.cell-v.num {
  letter-spacing: -0.05em;
}
.cell-d {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-fast);
}
.row:last-child {
  border-bottom: 0;
}
.row:hover {
  background: var(--surface-2);
}
.row .p {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row .s {
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row .amt {
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}
.av {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-2);
}
.av.unread {
  border-color: var(--ink);
  color: var(--text);
}
.ic {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--ink-soft);
  color: var(--text);
  flex: none;
}
.ic svg {
  width: 15px;
  height: 15px;
}

/* ─── Grids that share one set of seams ─── */
.g4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.g2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.g3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.span2 {
  grid-column: span 2;
}
.span3 {
  grid-column: span 3;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  transition: border-color var(--dur-base), background var(--dur-base);
}
a.tile:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
}
.tile .h3 {
  font-size: 18px;
}
.tile .small {
  font-size: 14px;
}
.tile-foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ─── Hero with the studio footage ─── */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--hdr-h));
  padding-top: calc(var(--hdr-h) + clamp(56px, 9vw, 120px));
  padding-bottom: clamp(48px, 7vw, 96px);
  min-height: clamp(600px, 88svh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-desk {
  padding-bottom: clamp(140px, 15vw, 220px);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg) center / cover no-repeat;
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-settle 2.4s var(--ease-enter) both;
}
@keyframes hero-settle {
  from {
    transform: scale(1.14);
    opacity: 0;
  }
  to {
    transform: scale(1.06);
    opacity: 1;
  }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--scrim);
}
.hero-in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  align-items: end;
}
.hero-copy {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 6px;
}
.wordmark {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: clamp(44px, 13vw, 200px);
  line-height: 0.86;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(14px, 2vw, 22px) -0.04em;
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.22em;
}
.wordmark .w {
  display: inline-flex;
  overflow: hidden;
  padding-block: 0.04em;
}
.wordmark .ch {
  display: inline-block;
  animation: ch-up 900ms var(--ease-enter) both;
  animation-delay: calc(var(--i) * 55ms + 120ms);
}
.wordmark .w + .w {
  color: var(--text-2);
}
@keyframes ch-up {
  from {
    transform: translateY(104%);
  }
  to {
    transform: none;
  }
}
.rise {
  animation: rise 900ms var(--ease-enter) both;
  animation-delay: calc(var(--d, 0) * 1ms + 380ms);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--text-2);
  font-size: 13px;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 1px;
  height: 36px;
  background: var(--line-2);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text);
  animation: cue 2.2s var(--ease-enter) infinite;
}
@keyframes cue {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(100%);
  }
}

/* Page heroes without footage */
.phero {
  padding-top: clamp(64px, 9vw, 132px);
  padding-bottom: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}
.phero-in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  align-items: end;
}
.phero-in > :first-child {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.phero-in > .phero-aside {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ─── Reveal on scroll ───
   Content is visible at rest. Only blocks that start below the fold are
   lowered by script, then raised as they arrive: the app's row-enter (fade +
   lift) at a longer marketing length. */
.js [data-reveal].is-pending {
  opacity: 0;
  transform: translateY(18px);
}
[data-reveal] {
  transition: opacity var(--dur-reveal) var(--ease-enter),
    transform var(--dur-reveal) var(--ease-enter);
  transition-delay: calc(var(--stagger, 0) * 70ms);
}

/* ─── The desk preview (Home) ─── */
.desk {
  position: relative;
  margin-top: clamp(-120px, -9vw, -64px);
  z-index: 2;
}
.desk-frame {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.desk-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.desk-bar .lights {
  display: flex;
  gap: 6px;
}
.desk-bar .lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--line-2);
}
.desk-url {
  margin-inline: auto;
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-mono);
  padding: 3px 12px;
  border-radius: 6px;
  background: var(--surface-2);
}
.desk-app {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 560px;
}
.desk-side {
  border-right: 1px solid var(--line);
  background: var(--surface);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.desk-side .lockup {
  font-size: 15px;
  padding: 2px 8px 16px;
}
.desk-side a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}
.desk-side a.on {
  background: var(--surface-2);
  color: var(--text);
}
.desk-side a.on::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 7px;
  bottom: 7px;
  width: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.desk-side svg {
  width: 15px;
  height: 15px;
  opacity: 0.8;
  flex: none;
}
.desk-side .count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-3);
}
.desk-side .count.hot {
  color: var(--ink-fg);
  background: var(--ink);
  padding: 0 6px;
  border-radius: 999px;
  font-weight: 600;
  line-height: 16px;
}
.desk-side .nav-label {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 14px 10px 6px;
}
.desk-clock {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--bg);
}
.desk-clock .t {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 500;
}
.desk-clock .src {
  font-size: 11px;
  color: var(--text-2);
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 3px;
}
.desk-main {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.desk-top {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.desk-top h4 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 2px 0 0;
}
.desk-top .sub {
  font-size: 12.5px;
  color: var(--text-2);
}
.desk-top .right {
  margin-left: auto;
  display: flex;
  gap: 6px;
}
.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
}
.mini-btn.ink {
  background: var(--ink);
  color: var(--ink-fg);
  border-color: var(--ink);
}
.attn {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.acard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.acard .h {
  display: flex;
  align-items: center;
  gap: 8px;
}
.acard .tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.acard .age {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-3);
}
.acard .p {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acard .s {
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bars {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: end;
  gap: 6px;
  height: 120px;
  padding: 14px 16px 6px;
}
.bars i {
  display: block;
  background: var(--ink);
  border-radius: 3px 3px 0 0;
  opacity: 0.85;
  height: var(--h);
  transform-origin: bottom;
}
.bars i.lo {
  opacity: 0.32;
}
.is-live .bars i {
  animation: grow 900ms var(--ease-enter) both;
  animation-delay: calc(var(--i) * 40ms);
}
@keyframes grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: none;
  }
}
.axis {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
  padding: 0 16px 12px;
  font-size: 10.5px;
  color: var(--text-3);
  text-align: center;
}

/* ─── The journey: one job moving from inquiry to paid ─── */
.journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: stretch;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text-3);
  transition: color var(--dur-base), background var(--dur-base);
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.step:last-child {
  border-bottom: 0;
}
.step .k {
  font-family: var(--font-mono);
  font-size: 12px;
}
.step .t {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.step .d {
  font-size: 13px;
  margin-top: 2px;
  display: block;
}
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ink);
  transform: scaleY(0);
  transition: transform var(--dur-base) var(--ease-enter);
}
.step.is-on {
  color: var(--text);
  background: var(--surface-2);
}
.step.is-on .d {
  color: var(--text-2);
}
.step.is-on::before {
  transform: none;
}
.step.is-done {
  color: var(--text-2);
}
.step .bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(0);
}
.step.is-on .bar {
  animation: fill var(--step-ms, 2800ms) linear both;
}
.journey.is-paused .step.is-on .bar {
  animation-play-state: paused;
}
@keyframes fill {
  to {
    transform: scaleX(1);
  }
}
.stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 460px;
  overflow: hidden;
}
.stage-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.job {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.job-hd {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.job-hd .p {
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
}
.job-hd .s {
  font-size: 12.5px;
  color: var(--text-3);
}
.job-hd .chip {
  margin-left: auto;
}
.kv {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 6px 12px;
  padding: 14px 16px;
  font-size: 13px;
}
.kv dt {
  color: var(--text-3);
}
.kv dd {
  margin: 0;
  color: var(--text);
  min-width: 0;
}
.panel-swap {
  position: relative;
  flex: 1;
}
.panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 360ms var(--ease-enter), transform 360ms var(--ease-enter);
  pointer-events: none;
}
.panel.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mail .from {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}
.mail .from .when {
  margin-left: auto;
  font-weight: 400;
  font-size: 11.5px;
  color: var(--text-3);
}
.timer-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-2);
}
.cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.cal div {
  aspect-ratio: 1.25;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 5px;
  font-size: 10.5px;
  color: var(--text-3);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
}
.cal .h {
  aspect-ratio: auto;
  border: 0;
  background: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 9.5px;
  padding: 0 0 2px;
}
.cal .tag {
  font-size: 9.5px;
  border-radius: 999px;
  padding: 0 5px;
  border: 1px dashed var(--line-2);
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal .tag.solid {
  background: var(--ink);
  color: var(--ink-fg);
  border: 1px solid var(--ink);
  font-weight: 600;
}
.cal .tag.out {
  border-style: solid;
}
.cal .off {
  opacity: 0.4;
}
.sum {
  display: flex;
  flex-direction: column;
}
.sum > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.sum > div:last-child {
  border-bottom: 0;
}
.sum dt {
  color: var(--text-2);
}
.sum dd {
  margin: 0;
  font-weight: 600;
}
.sigline {
  height: 64px;
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.sigline svg {
  position: absolute;
  inset: 8px 16px;
  width: calc(100% - 32px);
  height: calc(100% - 16px);
}
.sigline path {
  fill: none;
  stroke: var(--text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}
.panel.is-on .sigline path {
  animation: draw 1400ms var(--ease-enter) 250ms forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.paid-big {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.05em;
}
.check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
}
.check svg {
  width: 20px;
  height: 20px;
}
.check path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}
.panel.is-on .check path {
  animation: draw 600ms var(--ease-enter) 200ms forwards;
}

/* ─── Feature tiles with a small live glyph ─── */
.fx {
  height: 74px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}
.fx .chip {
  font-size: 11px;
}
.fx-line {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--line-2);
}
.fx-run {
  display: flex;
  gap: 6px;
  animation: run 14s linear infinite;
}
@keyframes run {
  to {
    transform: translateX(-50%);
  }
}

/* ─── AI: conversation with an approval card ─── */
.convo {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}
.convo-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-2);
}
.convo-hd .chip {
  margin-left: auto;
}
.convo-body {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}
.msg {
  max-width: 86%;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 12px;
}
.msg-you {
  align-self: flex-end;
  background: var(--ink);
  color: var(--ink-fg);
  border-bottom-right-radius: 4px;
}
.msg-ai {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.tool {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.tool .ok {
  color: var(--green);
}
.approve {
  align-self: stretch;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.approve-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
}
.approve-hd .chip {
  margin-left: auto;
}
.approve .kv {
  padding: 0;
  grid-template-columns: 70px minmax(0, 1fr);
  font-size: 12.5px;
}
.approve-acts {
  display: flex;
  gap: 8px;
}
.approve-acts .mini-btn {
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
}
.approve-acts .mini-btn.is-press {
  transform: scale(0.97);
}
.js .convo [data-beat] {
  display: none;
}
.js .convo [data-beat].is-in {
  display: flex;
  animation: rise 420ms var(--ease-enter) both;
  animation-delay: 0ms;
}
.js .convo .msg[data-beat].is-in,
.js .convo .tool[data-beat].is-in {
  display: block;
}
.js .convo .tool[data-beat].is-in {
  display: inline-flex;
}
.typing {
  display: none;
  align-self: flex-start;
  gap: 4px;
  padding: 12px 14px;
}
.typing.is-in {
  display: inline-flex;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  animation: blink 1s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes blink {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}
.convo-in {
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 13px;
}

/* ─── Client view: a phone showing the studio's own page ─── */
.phone {
  width: min(330px, 100%);
  margin-inline: auto;
  border: 1px solid var(--line-2);
  border-radius: 42px;
  padding: 10px;
  background: var(--surface);
}
.phone-screen {
  border-radius: 33px;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  height: 620px;
  position: relative;
}
.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 50px;
  background: linear-gradient(var(--bg) 62%, transparent);
  z-index: 1;
  pointer-events: none;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  border-radius: 999px;
  background: var(--ink-fg);
  border: 1px solid var(--line);
  z-index: 2;
}
.phone-scroll {
  padding: 52px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: phone-scroll 16s var(--ease-sheet) infinite alternate;
}
@keyframes phone-scroll {
  0%,
  18% {
    transform: none;
  }
  82%,
  100% {
    transform: translateY(-300px);
  }
}
.studio-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-family: var(--font-logo);
  font-size: 12px;
  margin: 0 auto;
}
.p-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12.5px;
}
.opt .r {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  flex: none;
}
.opt.on {
  border-color: var(--ink);
}
.opt.on .r {
  border: 4px solid var(--ink);
}
.pay-btn {
  height: 40px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--ink-fg);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13.5px;
}

/* ─── Principles, facts, lists ─── */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.fact {
  padding: 22px 20px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.fact + .fact {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.fact-v {
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.ticks li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--text-2);
}
.ticks li:last-child {
  border-bottom: 0;
}
.ticks li strong {
  color: var(--text);
  font-weight: 600;
}
.ticks svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--text);
}
.ticks.no svg {
  color: var(--text-3);
}
.rule {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.rule:first-child {
  border-top: 1px solid var(--line);
}
.rule .area {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.rule p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text);
  max-width: 70ch;
}

/* Product index: sticky contents beside long sections */
.chapters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: var(--gap);
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + var(--hdr-h) + 28px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 24px;
}
.toc a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 13.5px;
  color: var(--text-3);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.toc a .k {
  font-family: var(--font-mono);
  font-size: 11px;
}
.toc a:hover {
  color: var(--text);
}
.toc a.is-on {
  color: var(--text);
  background: var(--surface-2);
}
.toc a.is-on::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.chapter {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: clamp(64px, 8vw, 120px);
  scroll-margin-top: calc(var(--hdr-h) + 24px);
}
.chapter + .chapter {
  padding-top: clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--line);
}
.chapter-hd {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

/* How it works: a vertical line that draws as you read */
.track {
  position: relative;
  display: flex;
  flex-direction: column;
}
.track::before,
.track-fill {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.track-fill {
  background: var(--ink);
  transform-origin: top;
  transform: scaleY(var(--p, 0));
}
.tstep {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  padding-bottom: clamp(56px, 7vw, 96px);
}
.tstep:last-child {
  padding-bottom: 0;
}
.tstep-k {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  position: relative;
  z-index: 1;
  transition: background var(--dur-base), color var(--dur-base), border-color var(--dur-base);
}
.tstep.is-past .tstep-k {
  background: var(--ink);
  color: var(--ink-fg);
  border-color: var(--ink);
}
.tstep-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 2px;
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  margin-left: auto;
  width: 12px;
  height: 12px;
  flex: none;
  background: linear-gradient(var(--text-2), var(--text-2)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--text-2), var(--text-2)) center / 1.5px 12px no-repeat;
  transition: transform var(--dur-base) var(--ease-enter);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: -4px 0 22px;
  color: var(--text-2);
  max-width: 70ch;
}

/* Pricing */
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.plan.feature {
  border-color: var(--line-2);
  background: var(--surface-2);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}
.plan-price small {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--text-3);
  font-weight: 500;
}

/* Forms */
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 10px 14px;
  font-size: 16px;
  transition: border-color var(--dur-fast);
}
.field textarea {
  min-height: 108px;
  resize: vertical;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--line-2);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-3);
}
.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seg label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  font-size: 13.5px;
  cursor: pointer;
  transition: all var(--dur-fast);
}
.seg input:checked + label {
  background: var(--ink);
  color: var(--ink-fg);
  border-color: var(--ink);
}
.seg input:focus-visible + label {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.note {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.note-ok {
  color: var(--green);
  background: var(--green-soft);
  border-color: transparent;
}

/* Video band */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.band-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.band-media video,
.band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(var(--py, 0)) scale(1.12);
}
.band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
}

/* Timeline (Company) */
.tl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 52px) var(--gap);
}
.tl-item {
  border-top: 1px solid var(--line-2);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.tl-item::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}
.tl-item .when {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.tl-item .what {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* CTA */
.cta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  align-items: end;
}
.cta > :first-child {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cta .btn-row {
  justify-content: flex-end;
}

/* ─── Footer ─── */
.ft {
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  overflow: hidden;
}
.ft-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.ft-lead {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.ft-line {
  font-size: 18px;
  color: var(--text-2);
  margin: 0;
  max-width: 34ch;
  text-wrap: pretty;
}
.ft-cols {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.ft-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ft-col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color var(--dur-fast);
}
.ft-col a:hover {
  color: var(--text);
}
.ft-mark {
  font-family: var(--font-logo);
  font-size: clamp(44px, 13vw, 210px);
  line-height: 0.8;
  letter-spacing: -0.01em;
  margin: clamp(56px, 7vw, 96px) 0 20px -0.04em;
  white-space: nowrap;
  color: var(--surface-3);
  user-select: none;
  background: linear-gradient(90deg, var(--text) 0 var(--wp, 0%), var(--surface-3) var(--wp, 0%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ft-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-3);
}
.ft-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


/* ─── Product menu in the header ─── */
.hdr-menu {
  position: relative;
}
.hdr-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 9px 7px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.hdr-menu-btn svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-base) var(--ease-enter);
}
.hdr-menu-btn:hover,
.hdr-menu.is-open .hdr-menu-btn,
.hdr-menu-btn[data-current] {
  color: var(--text);
}
.hdr-menu-btn:hover,
.hdr-menu.is-open .hdr-menu-btn {
  background: var(--surface-2);
}
.hdr-menu.is-open .hdr-menu-btn svg {
  transform: rotate(180deg);
}
.hdr-pop {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  width: min(640px, calc(100vw - 40px));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-base) var(--ease-enter), transform var(--dur-base) var(--ease-enter),
    visibility 0s linear var(--dur-base);
  z-index: 60;
}
.hdr-menu.is-open .hdr-pop {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.hdr-pop-in {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 14px;
}
.hdr-pop-list {
  display: flex;
  flex-direction: column;
}
.hdr-pop-list a,
.hdr-pop-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 9px;
  transition: background var(--dur-fast);
}
.hdr-pop-list a:hover,
.hdr-pop-list a[aria-current="page"] {
  background: var(--surface-2);
}
.hdr-pop .t {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hdr-pop .d {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.45;
}
.hdr-pop-card {
  gap: 8px;
  justify-content: flex-end;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.hdr-pop-card .chip {
  align-self: flex-start;
}
.hdr-pop-card:hover {
  background: var(--surface-3);
}

/* ─── Announcement pill above a hero title ─── */
.announce {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: 13px;
  color: var(--text-2);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.announce .chip {
  font-weight: 600;
}
.announce svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-base) var(--ease-enter);
}
.announce:hover {
  color: var(--text);
  border-color: var(--text-3);
}
.announce:hover svg {
  transform: translateX(2px);
}

/* ─── Assistants: the AI apps JPX Desk runs inside ─── */
.ai-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.ai-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  min-height: 260px;
  overflow: hidden;
  transition: border-color var(--dur-base), transform var(--dur-base) var(--ease-enter);
}
a.ai-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.ai-card .ai-hd {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-card .ai-hd .chip {
  margin-left: auto;
}
.ai-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}
.ai-mark svg {
  width: 20px;
  height: 20px;
}
.ai-name {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.ai-card .small {
  color: var(--text-2);
}
.ai-card .tile-foot {
  margin-top: auto;
}
.ai-card.is-soon {
  background: transparent;
  border-style: dashed;
  border-color: var(--line-2);
}
.ai-card.is-soon .ai-name,
.ai-card.is-soon .small {
  color: var(--text-3);
}
.ai-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 70%;
  background: radial-gradient(closest-side, var(--ink-soft), transparent);
  opacity: 0;
  transition: opacity var(--dur-slow, 400ms) var(--ease-enter);
  pointer-events: none;
}
a.ai-card:hover::after {
  opacity: 1;
}

/* A strip of the other services JPX Desk connects to */
.also {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 18px;
  color: var(--text-3);
  font-size: 13px;
}
.also .chip {
  font-size: 12.5px;
  padding: 5px 11px;
}

/* Same desk, every assistant */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--surface);
}
.compare table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}
.compare th,
.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare tr:last-child td {
  border-bottom: 0;
}
.compare thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--surface-2);
}
.compare td:first-child {
  color: var(--text);
}
.compare td:not(:first-child),
.compare thead th:not(:first-child) {
  text-align: center;
  width: 17%;
}
.compare .y {
  color: var(--text);
}
.compare .y {
  display: inline-flex;
}
.compare .y svg {
  width: 16px;
  height: 16px;
}
.hdr-pop-marks {
  display: flex;
  gap: 6px;
  margin-bottom: auto;
}
.hdr-pop-marks .ai-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.hdr-pop-marks .ai-mark svg {
  width: 16px;
  height: 16px;
}
.hdr-pop-marks .ai-mark.soon {
  background: transparent;
  border-style: dashed;
  color: var(--text-3);
}
.compare .soon {
  color: var(--text-3);
  font-size: 12.5px;
}

/* A Claude Duet task list and a ChatGPT Dot schedule, drawn as example data */
.tasks .row,
.dot-sched .row {
  grid-template-columns: 26px minmax(0, 1fr) auto;
}
.av svg {
  width: 13px;
  height: 13px;
}
.dot-sched .when {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
}
.toggle {
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  position: relative;
  flex: none;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-3);
  transition: transform var(--dur-base) var(--ease-enter), background var(--dur-base);
}
.toggle.on {
  background: var(--ink);
  border-color: var(--ink);
}
.toggle.on::after {
  transform: translateX(12px);
  background: var(--ink-fg);
}
.rule-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-2);
}
.rule-line .toggle {
  margin-left: auto;
}

/* Anchored sections clear the sticky header */
[id] {
  scroll-margin-top: calc(var(--hdr-h) + 24px);
}

/* ─── Phone and narrow ─── */
@media (max-width: 1100px) {
  .hdr-nav {
    display: none;
  }
  .show-sm {
    display: grid;
  }
  .desk-app {
    grid-template-columns: minmax(0, 1fr);
  }
  .desk-side {
    display: none;
  }
  .chapters {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    display: none;
  }
}
@media (max-width: 900px) {
  :root {
    --pad: 20px;
    --hdr-h: 56px;
  }
  .hide-sm {
    display: none;
  }
  .sec-hd,
  .hero-in,
  .phero-in,
  .cta,
  .ft-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .sec-hd > :first-child,
  .sec-hd > .lead,
  .hero-copy,
  .phero-in > :first-child,
  .cta > :first-child,
  .ft-lead,
  .ft-cols {
    grid-column: auto;
  }
  .cta .btn-row {
    justify-content: flex-start;
  }
  .g4,
  .attn {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .g3,
  .g2,
  .journey {
    grid-template-columns: minmax(0, 1fr);
  }
  .span2,
  .span3 {
    grid-column: auto;
  }
  .cells {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cells .cell:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    margin-top: 18px;
  }
  .tl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }
  .tstep {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 18px;
  }
  .tstep > :nth-child(3) {
    grid-column: 2;
  }
  .rule {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .rule .chip {
    justify-self: start;
  }
  .ai-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .ai-card {
    min-height: 0;
  }
  .stage {
    min-height: 470px;
  }
  .desk-main {
    padding: 16px;
  }
  .hero {
    min-height: clamp(560px, 86svh, 760px);
  }
}
@media (max-width: 560px) {
  :root {
    --pad: 16px;
  }
  .g4,
  .attn,
  .ft-cols,
  .tl,
  .form {
    grid-template-columns: minmax(0, 1fr);
  }
  .cell-v {
    font-size: 24px;
  }
  .cell {
    padding: 14px 14px 13px;
  }
  .row {
    grid-template-columns: 26px minmax(0, 1fr) auto;
  }
  .row .amt {
    display: none;
  }
  .attn .acard:nth-child(n + 3) {
    display: none;
  }
  .desk-top .right {
    display: none;
  }
  .hdr-cta .btn-ink {
    padding: 0 12px;
  }
  .compare table {
    min-width: 0;
    font-size: 13px;
  }
  .compare th,
  .compare td {
    padding: 12px 10px;
  }
  .compare thead th {
    font-size: 10.5px;
    letter-spacing: 0.04em;
  }
  .ft-cols {
    row-gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal].is-pending {
    opacity: 1;
    transform: none;
  }
  .fx-run,
  .phone-scroll {
    animation: none !important;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

.ft-legal{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 16px}.ft-legal a{color:var(--text-2);text-decoration:none}.ft-legal a:hover{color:var(--text)}
.legal{display:grid;grid-template-columns:minmax(0,1fr);gap:32px}
@media (min-width:1000px){.legal{grid-template-columns:240px minmax(0,760px);gap:64px}.legal-toc{position:sticky;top:96px;align-self:start;max-height:calc(100vh - 120px);overflow:auto}}
@media (max-width:999px){.legal .legal-toc{display:none}}
.legal-toc{display:flex;flex-direction:column;gap:2px}.legal-toc .eyebrow{margin-bottom:10px}.legal-toc a{font-size:13px;line-height:1.4;color:var(--text-3);text-decoration:none;padding:5px 0}.legal-toc a:hover{color:var(--text)}
.legal-body{max-width:760px;font-size:15.5px;line-height:1.72;color:var(--text-2)}
.legal-body h2{font-size:clamp(20px,2.2vw,24px);line-height:1.25;letter-spacing:-.01em;color:var(--text);margin:56px 0 14px;scroll-margin-top:96px}
.legal-body h3{font-size:16px;line-height:1.35;color:var(--text);margin:30px 0 8px;scroll-margin-top:96px}
.legal-body p{margin:0 0 14px}.legal-body ul{margin:0 0 16px;padding-left:20px}.legal-body li{margin:0 0 8px}
.legal-body strong{color:var(--text);font-weight:600}.legal-body a{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.legal-meta{font-size:13px;color:var(--text-3)}
.legal-callout{border:1px solid var(--line-2);background:var(--surface);border-radius:var(--radius);padding:18px 20px;margin:20px 0 8px}.legal-callout p:last-child{margin:0}
.legal-caps{font-size:13.5px;line-height:1.7;letter-spacing:.01em}

.ft-mark{padding-top:.04em;padding-bottom:.16em;margin-bottom:calc(20px - .16em)}

.phero-photo{position:relative;isolation:isolate;overflow:hidden}.phero-bg{position:absolute;inset:0;z-index:-1}.phero-bg img{width:100%;height:100%;object-fit:cover;object-position:center 35%;display:block}.phero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,10,10,.9) 0%,rgba(10,10,10,.74) 50%,rgba(10,10,10,.5) 100%),linear-gradient(0deg,rgba(10,10,10,.7),rgba(10,10,10,0) 45%)}
