/* Fonts: self-hosted from Google Fonts (SIL OFL 1.1), latin and latin-ext only. */
/* Caveat, latin-ext */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/caveat-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Caveat, latin */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/caveat-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Caveat, latin-ext */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/caveat-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Caveat, latin */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/caveat-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Fragment Mono, latin-ext */
@font-face {
  font-family: "Fragment Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/fragment-mono-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Fragment Mono, latin */
@font-face {
  font-family: "Fragment Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/fragment-mono-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Funnel Display, latin-ext */
@font-face {
  font-family: "Funnel Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/funnel-display-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Funnel Display, latin */
@font-face {
  font-family: "Funnel Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/funnel-display-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Funnel Sans, latin-ext */
@font-face {
  font-family: "Funnel Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/funnel-sans-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Funnel Sans, latin */
@font-face {
  font-family: "Funnel Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/funnel-sans-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Instrument Serif, latin-ext */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Serif, latin */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Layout: a calm, centered product page in the brand kit's language: paper, deep green stages lit from one
   corner, Funnel, and a quiet mono quant layer next to numbers. The product sits on one stage, shown on a
   MacBook Pro and an iPhone. little quant, the hexagon mascot, is the logo. Motion: things rise 8-16px and
   settle with a slight overshoot. Green, red and amber only ever mark a result, a warning or a limit. */
:root {
  --bg: #f3f4f0;
  --surface: #ffffff;
  --card: #e7eae4;
  --ink: #0e1612;
  --muted: #57625b;
  --faint: #85908a;
  --line: #d7dcd4;
  --accent: #2c6a4c;
  --primary: linear-gradient(180deg, #24513a 0%, #12291d 100%);
  --on-primary: #eef3ee;
  --gain: #0f7a55;
  --loss: #b4362e;
  --risk: #8f5f00;
  --on-loss: #ffffff;
  --note: #f1e4a6;
  --note-ink: #3b3220;
  --clip: #f8f7f2;
  --clip-ink: #141a16;
  --hl: rgba(147, 199, 166, 0.5);
  --st-bg: #0c1a14;
  --st-surface: #12231b;
  --st-surface-2: #1a2e24;
  --st-ink: #e8eee8;
  --st-muted: #7e9887;
  --st-line: #263b30;
  --st-accent: #93c7a6;
  --st-lineart: #3d634a;
  --st-gain: #4cd69c;
  --st-loss: #ee6b62;
  --st-risk: #e8ae48;
  --g-glow: rgba(44, 106, 76, 0.42);
  --g-top: #0f2019;
  --g-bot: #0b1712;
  --shadow: 0 1px 2px rgba(10, 22, 16, 0.06), 0 16px 40px -18px rgba(10, 22, 16, 0.22);
  --lift: 0 14px 30px -16px rgba(10, 22, 16, 0.38);
  --font: "Funnel Sans", "Helvetica Neue", system-ui, sans-serif;
  --display: "Funnel Display", "Helvetica Neue", system-ui, sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --box: Menlo, "SF Mono", Consolas, "DejaVu Sans Mono", monospace;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --pop: cubic-bezier(0.2, 0.9, 0.3, 1.15);
  --out: cubic-bezier(0.22, 1, 0.36, 1);
  --std: cubic-bezier(0.4, 0, 0.2, 1);
  --in: cubic-bezier(0.55, 0, 0.8, 0.3);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b120e;
    --surface: #111a15;
    --card: #16201a;
    --ink: #e8eee8;
    --muted: #8fa195;
    --faint: #66756b;
    --line: #223029;
    --accent: #8cc2a2;
    --primary: linear-gradient(180deg, #2f7353 0%, #1d553c 100%);
    --on-primary: #f0f5f1;
    --gain: #4fc28f;
    --loss: #e8645c;
    --risk: #e3a944;
    --on-loss: #1a0e0b;
    --note: #3f3a22;
    --note-ink: #f3e9c8;
    --clip: #18201b;
    --clip-ink: #e8eee8;
    --hl: rgba(147, 199, 166, 0.24);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -18px rgba(0, 0, 0, 0.6);
    --lift: 0 14px 30px -16px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b120e;
  --surface: #111a15;
  --card: #16201a;
  --ink: #e8eee8;
  --muted: #8fa195;
  --faint: #66756b;
  --line: #223029;
  --accent: #8cc2a2;
  --primary: linear-gradient(180deg, #2f7353 0%, #1d553c 100%);
  --on-primary: #f0f5f1;
  --gain: #4fc28f;
  --loss: #e8645c;
  --risk: #e3a944;
  --on-loss: #1a0e0b;
  --note: #3f3a22;
  --note-ink: #f3e9c8;
  --clip: #18201b;
  --clip-ink: #e8eee8;
  --hl: rgba(147, 199, 166, 0.24);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -18px rgba(0, 0, 0, 0.6);
  --lift: 0 14px 30px -16px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px / 1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 10px;
}
[hidden] {
  /* biome-ignore lint/complexity/noImportantStyles: hidden must beat every display rule */
  display: none !important;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* motion vocabulary */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes mount {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
}
@keyframes check {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes dot {
  0%,
  55%,
  100% {
    opacity: 0.25;
  }
  25% {
    opacity: 0.85;
  }
}
@keyframes shimmer {
  from {
    background-position: 150% 0;
  }
  to {
    background-position: -150% 0;
  }
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}
@property --a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes beam {
  to {
    --a: 360deg;
  }
}
/* scroll reveal: only when the script runs, so the page never stays blank */
html.js .rv {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.8s var(--out),
    transform 0.9s var(--out);
  transition-delay: var(--d, 0ms);
}
html.js .rv.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    /* biome-ignore lint/complexity/noImportantStyles: reduced motion must beat every animation */
    animation: none !important;
    /* biome-ignore lint/complexity/noImportantStyles: reduced motion must beat every transition */
    transition: none !important;
  }
  html.js .rv {
    opacity: 1;
    transform: none;
  }
}

/* mascot */
.lq {
  display: block;
  overflow: visible;
}
.lq .lq-tilt,
.lq .lq-eyes {
  transform-box: view-box;
}
.lq-floor {
  fill: rgba(14, 14, 16, 0.18);
}

/* nav */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow 0.3s var(--std);
}
.nav.scrolled {
  box-shadow: 0 1px 0 var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand .lq {
  width: 30px;
  height: 28px;
  transition:
    width 0.5s var(--out),
    margin 0.5s var(--out),
    opacity 0.3s var(--std),
    transform 0.5s var(--pop);
}
html.js .nav:not(.mark) .brand .lq {
  width: 0;
  margin-right: -8px;
  opacity: 0;
  transform: scale(0.5);
}
.links {
  display: flex;
  gap: 22px;
  font-size: 14.5px;
  color: var(--muted);
  margin-right: auto;
}
.links a {
  transition: color 0.2s var(--std);
}
.links a:hover {
  color: var(--ink);
}
.nav-cta {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  white-space: nowrap;
  transition:
    background-color 0.2s var(--std),
    transform 0.25s var(--pop);
}
.btn:hover {
  background: color-mix(in srgb, var(--card) 85%, var(--ink));
}
.btn:active {
  transform: scale(0.97);
}
.btn.ink {
  background: var(--ink);
  color: var(--bg);
}
.btn.ink:hover {
  background: color-mix(in srgb, var(--ink) 85%, var(--bg));
}
.btn.lg {
  font-size: 15.5px;
  padding: 13px 22px;
}
@media (max-width: 860px) {
  .links {
    display: none;
  }
}

/* hero */
.hero {
  text-align: center;
  padding-block: 72px 44px;
}
.announce {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  animation: rise 0.8s var(--out) both;
}
.announce b {
  color: var(--ink);
  font-weight: 500;
}
h1 {
  margin: 28px auto 0;
  font-weight: 600;
  font-size: clamp(2.7rem, 7.4vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
  text-wrap: balance;
  animation: rise 0.9s var(--out) 0.06s both;
}
h1 .hero-lq {
  display: inline-block;
  width: 0.98em;
  height: 0.92em;
  vertical-align: -0.16em;
  margin: 0 0.04em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
h1 .hero-lq .lq {
  width: 100%;
  height: 100%;
  transition: transform 0.35s var(--pop);
}
h1 .hero-lq:hover .lq {
  transform: scale(1.06);
}
h1 .hero-lq.hop .lq {
  animation: hop 0.62s var(--pop);
}
@keyframes hop {
  30% {
    transform: translateY(-16%) scale(0.95, 1.06);
  }
  62% {
    transform: translateY(0) scale(1.06, 0.94);
  }
  100% {
    transform: none;
  }
}
.hero .sub {
  margin: 22px auto 0;
  max-width: 540px;
  font-size: 1.15rem;
  color: var(--muted);
  animation: rise 0.9s var(--out) 0.14s both;
}
/* the take field: a slow soft green beam runs around its edge */
.take {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 34px auto 0;
  max-width: 540px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(
      from var(--a),
      var(--line) 0deg,
      var(--line) 230deg,
      var(--accent) 300deg,
      var(--line) 350deg
    )
    border-box;
  animation:
    rise 0.9s var(--out) 0.22s both,
    beam 7s linear infinite;
}
.take:focus-within {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(var(--ink), var(--ink)) border-box;
}
.take input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 1.05rem;
  padding: 9px 0;
}
.take input::placeholder {
  color: var(--faint);
}
.hint {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--faint);
  animation: rise 0.9s var(--out) 0.3s both;
}
.hint button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color 0.2s var(--std);
}
.hint button:hover {
  color: var(--ink);
}

/* stage: the dark app screen */
.stage {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  color: var(--st-ink);
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 8% 0%, var(--g-glow), transparent 70%),
    radial-gradient(60% 55% at 100% 100%, rgba(0, 0, 0, 0.35), transparent 70%),
    linear-gradient(180deg, var(--g-top), var(--g-bot));
}

/* product screens: everything inside a device is sized in em, so it scales with the device */
.demo {
  padding-block: 8px 0;
}
.demo .stage {
  padding: clamp(18px, 5vw, 64px);
  scroll-margin-top: 84px;
  animation: mount 1.1s var(--out) 0.35s both;
}
.scr .me {
  justify-self: end;
  align-self: flex-end;
  background: var(--st-ink);
  color: var(--st-bg);
  padding: 0.7em 1.05em;
  border-radius: 1.2em 1.2em 0.3em 1.2em;
  max-width: 88%;
  transform-origin: 100% 100%;
}
.scr .bot {
  display: grid;
  grid-template-columns: 2em minmax(0, 1fr);
  gap: 0.8em;
  transform-origin: 0 100%;
}
.scr .bot .lq {
  width: 2em;
  height: 1.9em;
  margin-top: 0.1em;
}
.scr .bot-body {
  display: grid;
  gap: 0.75em;
  min-width: 0;
}
.scr .bot-body p {
  margin: 0;
  padding-top: 0.25em;
}
.pop {
  animation: pop 0.34s var(--pop) both;
}
.swap {
  animation: rise 0.4s var(--out) both;
}
.status.shimmer {
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(
    90deg,
    var(--st-muted) 0%,
    var(--st-muted) 38%,
    var(--st-ink) 50%,
    var(--st-muted) 62%,
    var(--st-muted) 100%
  );
  background-size: 250% 100%;
  animation: shimmer 1.8s linear infinite;
}
.dots {
  display: inline-flex;
  gap: 0.3em;
  padding: 0.7em 0.85em;
  border-radius: 1em;
  background: var(--st-surface-2);
  justify-self: start;
}
.dots i {
  width: 0.42em;
  height: 0.42em;
  border-radius: 50%;
  background: var(--st-ink);
  animation: dot 1.2s infinite;
}
.dots i:nth-child(2) {
  animation-delay: 0.16s;
}
.dots i:nth-child(3) {
  animation-delay: 0.32s;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}
.chips span {
  font-family: var(--mono);
  font-size: 0.76em;
  padding: 0.3em 0.7em;
  border-radius: 999px;
  background: var(--st-surface-2);
  color: var(--st-muted);
}
.chips span::before {
  content: "✓";
  display: inline-block;
  margin-right: 0.45em;
  color: var(--st-gain);
}
.chips span.pop::before {
  animation: check 0.4s var(--pop) 0.08s both;
}
.ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65em;
}
.ways > :nth-child(2) {
  animation-delay: 0.09s;
}
.ways > :nth-child(3) {
  animation-delay: 0.18s;
}
.way {
  border: 1px solid var(--st-line);
  border-radius: 0.95em;
  padding: 0.9em;
  display: grid;
  gap: 0.4em;
  align-content: start;
  background: var(--st-bg);
  transition: border-color 0.4s var(--std);
}
.way.rec {
  border-color: var(--st-accent);
}
.way .tag {
  justify-self: start;
  font-family: var(--mono);
  font-size: 0.7em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-muted);
}
.way.rec .tag {
  color: var(--st-accent);
}
.way b {
  font-weight: 600;
  font-size: 1.02em;
  letter-spacing: -0.01em;
}
.way p {
  margin: 0;
  font-size: 0.88em;
  color: var(--st-muted);
}
.way .exit {
  font-family: var(--mono);
  font-size: 0.72em;
  color: var(--st-muted);
}
.run {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-top: 0.3em;
  font-size: 0.82em;
  font-weight: 500;
  padding: 0.4em 0.8em;
  border-radius: 999px;
  background: var(--st-surface-2);
  transition:
    transform 0.14s var(--std),
    background-color 0.35s var(--std),
    color 0.35s var(--std);
}
.way.rec .run {
  background: var(--st-ink);
  color: var(--st-bg);
}
.run.press {
  transform: scale(0.92);
}
.way.rec .run.on,
.run.on {
  background: rgba(76, 214, 156, 0.16);
  color: var(--st-gain);
}
.ldot {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s var(--std) infinite;
}
.side {
  border-right: 1px solid var(--st-line);
  padding: 0.9em 0.65em;
}
.side h4 {
  margin: 0 0.55em 0.7em;
  font-size: 0.85em;
  font-weight: 500;
  color: var(--st-muted);
}
.tl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15em;
}
.tl li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15em 0.6em;
  padding: 0.65em;
  border-radius: 0.65em;
  font-size: 0.88em;
  transition: background-color 0.35s var(--std);
}
.tl li.on {
  background: var(--st-surface-2);
}
.tl b {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tl small {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--st-muted);
}
.tl small.up {
  color: var(--st-gain);
}
.thread {
  padding: 1.7em 1.9em;
  display: grid;
  gap: 1.2em;
  align-content: start;
  min-width: 0;
}

/* sections */
.sec {
  padding-block: 128px 0;
}
.center {
  text-align: center;
}
h2 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.lead {
  margin: 16px auto 0;
  max-width: 440px;
  font-size: 1.1rem;
  color: var(--muted);
}

/* takes: an editorial list; each row plays its take on the laptop above */
.kinds {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
html.js .kinds .rv {
  transform: translateX(-12px);
}
html.js .kinds .rv.in {
  transform: none;
}
.kind {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
  display: grid;
  grid-template-columns: 190px minmax(0, 1.2fr) minmax(0, 0.8fr) 36px;
  align-items: center;
  gap: 6px 28px;
  padding: 26px 14px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: background-color 0.3s var(--std);
}
.kind:hover {
  background: color-mix(in srgb, var(--card) 60%, transparent);
}
.kind:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: 12px;
}
.k-kind {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.k-take {
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.k-does {
  color: var(--muted);
}
.k-go {
  justify-self: end;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  font-size: 15px;
  transition:
    transform 0.35s var(--pop),
    background-color 0.3s var(--std),
    color 0.3s var(--std);
}
.kind:hover .k-go {
  transform: translateX(4px);
}
.kind[aria-pressed="true"] .k-go {
  background: var(--ink);
  color: var(--bg);
}
.kind[aria-pressed="true"] .k-kind {
  color: var(--accent);
}
@media (max-width: 760px) {
  .kind {
    grid-template-columns: minmax(0, 1fr) 36px;
    padding: 20px 4px;
  }
  .k-kind,
  .k-take,
  .k-does {
    grid-column: 1;
  }
  .k-go {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
}

/* little quant: a wall of market numbers drifts behind it, and the middle stays quiet */
.qsec {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 580px;
  padding: clamp(56px, 8vw, 96px) 20px 40px;
}
.qsec h2,
.qsec .lead,
.q-lq {
  position: relative;
}
.qsec .lead {
  color: var(--st-muted);
}
.tape {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    rgba(0, 0, 0, 0.4) 20%,
    rgba(0, 0, 0, 0.04) 36%,
    rgba(0, 0, 0, 0.04) 64%,
    rgba(0, 0, 0, 0.4) 80%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    rgba(0, 0, 0, 0.4) 20%,
    rgba(0, 0, 0, 0.04) 36%,
    rgba(0, 0, 0, 0.04) 64%,
    rgba(0, 0, 0, 0.4) 80%,
    #000 100%
  );
}
.tape div {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1;
  color: rgba(237, 233, 225, 0.17);
  animation: drift 120s linear infinite;
}
.tape div:nth-child(even) {
  animation-direction: reverse;
  animation-duration: 140s;
}
.tape span,
.tape b {
  padding-right: 30px;
  font-weight: 400;
}
.tape b {
  color: rgba(147, 199, 166, 0.75);
}
@keyframes drift {
  to {
    transform: translateX(-50%);
  }
}
.q-lq {
  margin-top: auto;
  padding-top: 36px;
  width: min(220px, 52%);
}
html.js .q-lq.rv {
  transform: translateY(24px) scale(0.9);
  transition-timing-function: var(--out), var(--pop);
  transition-duration: 0.8s, 1s;
}
html.js .q-lq.rv.in {
  transform: none;
}
.q-lq .lq {
  width: 100%;
  height: auto;
}
.q-lq .lq-floor {
  fill: rgba(0, 0, 0, 0.55);
}
.q-lq::before {
  content: "";
  position: absolute;
  left: -60%;
  right: -60%;
  top: 10%;
  bottom: -20%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(147, 199, 166, 0.2), transparent);
}

/* grid of features: each card's content plays once when it scrolls in */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 820px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.f {
  background: var(--card);
  border-radius: 28px;
  padding: 28px;
  display: grid;
  gap: 22px;
  align-content: start;
  min-width: 0;
}
.f h3 {
  margin: 0;
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.f p {
  margin: 6px 0 0;
  color: var(--muted);
}
.f .stage {
  border-radius: 20px;
  padding: 22px;
  min-height: 230px;
  display: grid;
  place-items: center;
}
.mini {
  width: 100%;
  max-width: 380px;
  background: var(--st-surface);
  border: 1px solid var(--st-line);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 10px;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7);
}
html.js .f .mini > * {
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transition:
    opacity 0.45s var(--out),
    transform 0.5s var(--pop);
}
html.js .f.in .mini > * {
  opacity: 1;
  transform: none;
}
.f .mini > :nth-child(1) {
  transition-delay: 0.25s;
}
.f .mini > :nth-child(2) {
  transition-delay: 0.35s;
}
.f .mini > :nth-child(3) {
  transition-delay: 0.45s;
}
.f .mini > :nth-child(4) {
  transition-delay: 0.55s;
}
.mini .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
}
.mini .row span:first-child {
  color: var(--st-muted);
}
.mini .ok {
  color: var(--st-gain);
  font-variant-numeric: tabular-nums;
}
.mini .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-muted);
}
.nodes {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nodes span {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--st-line);
  border-radius: 10px;
  padding: 8px;
  font-size: 12.5px;
  background: var(--st-bg);
}
.nodes span small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-muted);
}
.nodes i {
  flex: none;
  width: 14px;
  height: 1px;
  background: var(--st-muted);
  transform-origin: 0 50%;
}
html.js .f .nodes i {
  transform: scaleX(0);
  transition: transform 0.5s var(--out) 0.7s;
}
html.js .f.in .nodes i {
  transform: none;
}
.nodes b {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.slider {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}
.slider .row output {
  font-family: var(--mono);
  color: var(--st-ink);
}
.slider input {
  width: 100%;
  accent-color: var(--st-accent);
}
.spark {
  width: 100%;
  height: 70px;
  display: block;
}
.spark .a {
  fill: rgba(76, 214, 156, 0.16);
}
.spark .l {
  fill: none;
  stroke: var(--st-gain);
  stroke-width: 2;
}
.spark .e {
  fill: var(--st-gain);
}
html.js .f .spark .l {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--out) 0.45s;
}
html.js .f.in .spark .l {
  stroke-dashoffset: 0;
}
html.js .f .spark .a,
html.js .f .spark .e {
  opacity: 0;
  transition: opacity 0.8s var(--std) 1.4s;
}
html.js .f.in .spark .a,
html.js .f.in .spark .e {
  opacity: 1;
}
.big {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--st-gain);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.push {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
html.js .f .mini.push {
  opacity: 0;
  transform: translateY(-14px) scale(0.96);
  transition:
    opacity 0.5s var(--out) 0.35s,
    transform 0.6s var(--pop) 0.35s;
}
html.js .f.in .mini.push {
  opacity: 1;
  transform: none;
}
html.js .f .mini.push > * {
  opacity: 1;
  transform: none;
}
.push .lq {
  width: 34px;
  height: 32px;
}
.push b {
  font-weight: 600;
  font-size: 14px;
}
.push p {
  margin: 2px 0 0;
  font-size: 13.5px;
  color: var(--st-muted);
}

/* devices */
.illus {
  margin: 18px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--faint);
}
.glare {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0) 32%,
    rgba(255, 255, 255, 0) 72%,
    rgba(255, 255, 255, 0.03) 100%
  );
}
.sb-ic {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.sb-ic svg,
.menubar svg {
  height: 0.78em;
  width: auto;
  fill: currentColor;
}
.bat {
  display: inline-block;
  width: 1.9em;
  height: 0.92em;
  border: 1px solid rgba(237, 233, 225, 0.55);
  border-radius: 0.3em;
  padding: 0.12em;
  position: relative;
}
.bat i {
  display: block;
  height: 100%;
  width: 78%;
  border-radius: 0.15em;
  background: currentColor;
}

/* MacBook Pro 14", silver: aluminum lid edge, black glass with the notch, the base with its thumb scoop */
.devs {
  position: relative;
  container-type: inline-size;
}
.mbp {
  position: relative;
  width: 83%;
  margin: 0 0 3.5% 2%;
}
.mbp-lid {
  border-radius: 2cqw 2cqw 0.5cqw 0.5cqw;
  padding: 0.32cqw;
  background: linear-gradient(180deg, #eeeff0, #c9cbce 60%, #aeb0b4);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 3cqw 6cqw -3cqw rgba(0, 0, 0, 0.6);
}
.mbp-bez {
  container-type: inline-size;
  border-radius: 1.72cqw 1.72cqw 0.3cqw 0.3cqw;
  padding: 1.15cqw 1.15cqw 2.5cqw;
  background: #050506;
  box-shadow: inset 0 0 0 0.12cqw #1d1d21;
}
.mbp-scr {
  position: relative;
  aspect-ratio: 3024 / 1964;
  border-radius: 0.75cqw 0.75cqw 0 0;
  overflow: hidden;
  font-size: 1.55cqw;
  line-height: 1.45;
  color: var(--st-ink);
  background:
    radial-gradient(70% 60% at 8% 0%, var(--g-glow), transparent 70%),
    radial-gradient(60% 55% at 100% 100%, rgba(0, 0, 0, 0.35), transparent 70%),
    linear-gradient(180deg, var(--g-top), var(--g-bot));
}
.mbp-base {
  position: relative;
  height: 1.9cqw;
  margin: 0 -2.2%;
  border-radius: 0.2cqw 0.2cqw 2.4cqw 2.4cqw / 0.2cqw 0.2cqw 1.5cqw 1.5cqw;
  background: linear-gradient(180deg, #f3f4f5 0%, #d6d8db 30%, #b9bbbf 70%, #8e9094 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25),
    0 2cqw 3cqw -1.4cqw rgba(0, 0, 0, 0.7);
}
.mbp-base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 15%;
  height: 50%;
  border-radius: 0 0 1cqw 1cqw;
  background: linear-gradient(180deg, #a5a7ab, #d9dade);
}
.notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10.5cqw;
  height: 3.1cqw;
  border-radius: 0 0 0.9cqw 0.9cqw;
  background: #050506;
  z-index: 5;
}
.notch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.7cqw;
  height: 0.7cqw;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2b3a4a, #0a0d12 70%);
}
.menubar {
  height: 3.1cqw;
  display: flex;
  align-items: center;
  gap: 1.5em;
  padding: 0 1.6em;
  font-size: 1.15cqw;
  background: rgba(0, 0, 0, 0.3);
  color: rgba(237, 233, 225, 0.92);
}
.menubar b {
  font-weight: 700;
}
.menubar .mr {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.2em;
}
.win {
  position: absolute;
  left: 2.4cqw;
  right: 2.4cqw;
  top: 4.4cqw;
  bottom: 2.2cqw;
  display: flex;
  flex-direction: column;
  border-radius: 1em;
  overflow: hidden;
  background: var(--st-surface);
  border: 1px solid var(--st-line);
  box-shadow: 0 2em 4em -1.5em rgba(0, 0, 0, 0.85);
}
.win-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.8em 1em;
  border-bottom: 1px solid var(--st-line);
}
.win-bar i {
  width: 0.85em;
  height: 0.85em;
  border-radius: 50%;
  background: #ff5f57;
}
.win-bar i:nth-child(2) {
  background: #febc2e;
}
.win-bar i:nth-child(3) {
  background: #28c840;
}
.win-bar span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85em;
  font-weight: 500;
  color: var(--st-muted);
}
.win-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 15.5em minmax(0, 1fr);
}
.win .thread {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent 0, #000 3.5em);
  mask-image: linear-gradient(transparent 0, #000 3.5em);
}
.win .thread .me {
  align-self: flex-end;
}
.win .composer {
  flex: none;
  margin-top: 0.4em;
  width: min(100%, 34em);
  align-self: center;
}
.win .thread > * {
  flex: none;
}

/* iPhone 18 Pro, silver: 6.3" screen (2622 x 1206), aluminum frame, smaller Dynamic Island */
.ipw {
  position: relative;
  container-type: inline-size;
}
.ip {
  position: relative;
  border-radius: 17cqw;
  padding: 1.05cqw;
  background: linear-gradient(
    90deg,
    #8f9196 0%,
    #e6e7e9 7%,
    #c3c5c8 22%,
    #f1f2f3 50%,
    #c3c5c8 78%,
    #e6e7e9 93%,
    #8f9196 100%
  );
  box-shadow:
    inset 0 0 0 0.3cqw rgba(255, 255, 255, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 9cqw 14cqw -6cqw rgba(0, 0, 0, 0.55);
}
.ip-btn {
  position: absolute;
  width: 1.2cqw;
  border-radius: 0.6cqw;
  background: linear-gradient(90deg, #8f9196, #dfe0e2);
}
.ip-btn.l {
  left: -0.65cqw;
}
.ip-btn.r {
  right: -0.65cqw;
  background: linear-gradient(90deg, #dfe0e2, #8f9196);
}
.ip-btn.act {
  top: 17%;
  height: 5.5%;
}
.ip-btn.vu {
  top: 25.5%;
  height: 9%;
}
.ip-btn.vd {
  top: 36.5%;
  height: 9%;
}
.ip-btn.pw {
  top: 29%;
  height: 14%;
}
.ip-glass {
  border-radius: 16cqw;
  padding: 2.3cqw;
  background: #050506;
  box-shadow: inset 0 0 0 0.25cqw #1a1a1d;
}
.ip-scr {
  position: relative;
  aspect-ratio: 1206 / 2622;
  border-radius: 13.7cqw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16cqw 5.5cqw 5cqw;
  font-size: 4.1cqw;
  line-height: 1.4;
  color: var(--st-ink);
  background:
    radial-gradient(90% 50% at 30% 0%, var(--g-glow), transparent 70%),
    radial-gradient(70% 45% at 100% 100%, rgba(0, 0, 0, 0.35), transparent 70%),
    linear-gradient(180deg, var(--g-top), var(--g-bot));
}
.island {
  position: absolute;
  top: 2.6cqw;
  left: 50%;
  transform: translateX(-50%);
  width: 25cqw;
  height: 7.1cqw;
  border-radius: 99px;
  background: #000;
  z-index: 5;
}
.home {
  position: absolute;
  bottom: 1.9cqw;
  left: 50%;
  transform: translateX(-50%);
  width: 34cqw;
  height: 1.25cqw;
  border-radius: 99px;
  background: rgba(237, 233, 225, 0.85);
  z-index: 5;
}
.sbar {
  position: absolute;
  top: 2.6cqw;
  height: 7.1cqw;
  left: 9cqw;
  right: 7.5cqw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  z-index: 4;
}
/* the phone chat is anchored to the bottom too, older messages fade out under the status bar */
.chat {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.95em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent 0, #000 3em);
  mask-image: linear-gradient(transparent 0, #000 3em);
}
.chat > * {
  flex: none;
}
.mrows {
  display: grid;
  gap: 0.5em;
}
.mrows > :nth-child(2) {
  animation-delay: 0.09s;
}
.mrows > :nth-child(3) {
  animation-delay: 0.18s;
}
.mrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8em;
  padding: 0.75em 0.9em;
  border-radius: 0.9em;
  border: 1px solid var(--st-line);
  background: var(--st-bg);
}
.mrow b {
  font-weight: 600;
}
.mrow small {
  font-family: var(--mono);
  font-size: 0.72em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-muted);
}
.mrow.rec {
  border-color: var(--st-accent);
}
.mrow.rec small {
  color: var(--st-accent);
}
.mrow small.on {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--st-gain);
}
.composer {
  flex: none;
  margin-top: 0.9em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  padding: 0.45em 0.45em 0.45em 1.1em;
  border-radius: 999px;
  background: var(--st-surface);
  border: 1px solid var(--st-line);
  color: var(--st-muted);
  font-size: 0.92em;
}
.composer i {
  width: 2em;
  height: 2em;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--st-ink);
  color: var(--st-bg);
  font-style: normal;
  font-weight: 600;
}
.lockscr {
  align-items: center;
  text-align: center;
  font-size: 4.6cqw;
  padding-top: 16cqw;
}
.lock-date {
  margin: 0;
  font-weight: 500;
  color: rgba(237, 233, 225, 0.8);
}
.lock-time {
  margin: 0;
  font-size: 5.2em;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.note {
  margin-top: auto;
  width: 100%;
  display: grid;
  grid-template-columns: 2.3em minmax(0, 1fr);
  gap: 0.7em;
  align-items: start;
  padding: 0.8em;
  border-radius: 1.3em;
  text-align: left;
  background: rgba(32, 32, 37, 0.82);
  font-size: 0.95em;
  transition:
    opacity 0.45s var(--out),
    transform 0.6s var(--pop);
}
.note.wait {
  opacity: 0;
  transform: translateY(-1.2em) scale(0.96);
}
.note .lq {
  width: 2.3em;
  height: 2.2em;
}
.note p {
  margin: 0;
}
.note-h {
  display: flex;
  justify-content: space-between;
  gap: 0.6em;
  color: var(--st-muted);
  font-size: 0.9em;
}
.note-h b {
  color: var(--st-ink);
  font-weight: 600;
}
.lk-btns {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 3cqw;
  margin: 5cqw 0 3cqw;
}
.lk-btns i {
  width: 11cqw;
  height: 11cqw;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(32, 32, 37, 0.75);
  color: var(--st-ink);
}
.lk-btns svg {
  height: 4.6cqw;
  width: auto;
}

/* the demo: the laptop, and the phone standing in front of its right edge */
.devs .decor {
  position: absolute;
  right: -2.5%;
  bottom: 0;
  width: 19%;
}
.devs .solo {
  display: none;
}
.devs .solo .ip-scr {
  font-size: 4.5cqw;
}
@container (max-width: 700px) {
  .devs .mbp,
  .devs .decor {
    display: none;
  }
  .devs .solo {
    display: block;
    width: min(86%, 330px);
    margin: 0 auto;
  }
}

/* faq */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 56px;
}
@media (max-width: 860px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 500;
  font-size: 16.5px;
  transition: color 0.2s var(--std);
}
summary:hover {
  color: var(--muted);
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
  color: var(--faint);
  transition: transform 0.35s var(--pop);
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 520px;
}
details[open] p {
  animation: rise 0.45s var(--out) both;
}

/* closing */
.closing {
  padding-block: 128px 40px;
  text-align: center;
}
.close-head .lq {
  width: 96px;
  height: 90px;
  margin: 0 auto 26px;
}
.foot {
  margin-top: 100px;
  border-top: 1px solid var(--line);
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-block: 26px 40px;
  font-size: 13.5px;
  color: var(--muted);
}
.foot p {
  margin: 0;
  flex-basis: 100%;
  font-size: 12.5px;
  color: var(--faint);
}

/* ================ idea 1 and idea 10, shared with the idea lab */
/* ---------------------------------------------------------------- 1. chaos and calm */
.x1-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
  margin-top: 44px;
}
@media (max-width: 880px) {
  .x1-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.x1-mess {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  background: var(--card);
  min-height: 540px;
  isolation: isolate;
}
.x1-mess::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(color-mix(in srgb, var(--loss) 30%, transparent) 1px, transparent 1.4px) 0 0 /
    14px 14px;
  opacity: 0.45;
}
.x1-cap {
  position: absolute;
  top: 18px;
  left: 22px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 3;
}
.x1-noise {
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  height: 140px;
  width: 100%;
  z-index: -1;
  opacity: 0.5;
  overflow: visible;
}
.x1-noise path {
  fill: none;
  stroke: var(--loss);
  stroke-width: 1.2;
  stroke-dasharray: 6 3;
  animation: x1-buzz 1.2s linear infinite;
}
@keyframes x1-buzz {
  to {
    stroke-dashoffset: -18;
  }
}
.x1-pile {
  position: absolute;
  inset: 48px 18px 84px;
}
.x1-c {
  position: absolute;
  left: var(--x);
  top: var(--y);
  max-width: min(232px, 44%);
  transform: rotate(var(--r));
  animation: x1-jit var(--t, 3s) ease-in-out infinite;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 12.5px;
  line-height: 1.35;
  box-shadow: var(--lift);
}
.x1.gone .x1-c {
  animation: none;
}
@keyframes x1-jit {
  0%,
  100% {
    transform: rotate(var(--r)) translate(0, 0);
  }
  33% {
    transform: rotate(calc(var(--r) + 0.7deg)) translate(1.4px, -1px);
  }
  66% {
    transform: rotate(calc(var(--r) - 0.5deg)) translate(-1.2px, 1px);
  }
}
.x1-c small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--faint);
}
.x1-c b {
  font-weight: 600;
}
.x1-tabs {
  display: flex;
  gap: 3px;
  padding: 6px 6px 0;
  max-width: min(330px, 66%);
  background: var(--card);
  border-color: var(--line);
  flex-wrap: nowrap;
  overflow: hidden;
}
.x1-tabs span {
  padding: 5px 8px;
  border-radius: 7px 7px 0 0;
  background: color-mix(in srgb, var(--surface) 55%, var(--card));
  font-size: 10.5px;
  white-space: nowrap;
  color: var(--muted);
}
.x1-tabs span.on {
  background: var(--surface);
  color: var(--ink);
}
.x1-alert {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}
.x1-alert i {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--loss);
  color: var(--on-loss);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}
.x1-alert b {
  color: var(--loss);
}
.x1-bub {
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 16px 16px 16px 4px;
  font-size: 14px;
  padding: 9px 13px;
}
.x1-bub small {
  color: color-mix(in srgb, var(--bg) 60%, transparent);
}
.x1-odds .bar {
  display: flex;
  height: 6px;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 6px;
  background: var(--card);
}
.x1-odds .bar i {
  width: 58%;
  background: var(--gain);
}
.x1-odds b {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.x1-sheet {
  padding: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 10.5px;
}
.x1-sheet table {
  border-collapse: collapse;
}
.x1-sheet td {
  border: 1px solid var(--line);
  padding: 3px 7px;
  white-space: nowrap;
  color: var(--muted);
}
.x1-sheet td.err {
  color: var(--loss);
  font-weight: 600;
}
.x1-news {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.15;
  background: var(--clip);
  color: var(--clip-ink);
}
.x1-cal span {
  display: inline-block;
  margin: 4px 4px 0 0;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--card);
  font-size: 11px;
}
.x1-sticky {
  background: var(--note);
  color: var(--note-ink);
  border: 0;
  border-radius: 2px;
  font-family: var(--hand);
  font-size: 22px;
  line-height: 1.05;
  padding: 12px 14px 16px;
  max-width: 150px;
}
.x1-chart {
  padding: 8px;
}
.x1-chart svg {
  display: block;
  width: 168px;
  height: 58px;
}
.x1-chart path {
  fill: none;
  stroke: var(--loss);
  stroke-width: 1.5;
}
.x1-badge {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--loss);
  color: var(--on-loss);
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1;
}
.x1-badge b {
  font-size: 17px;
}
.x1-badge small {
  color: inherit;
  opacity: 0.85;
  font-size: 8.5px;
}
.x1-hand {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 4;
}
.x1-hand:active {
  transform: translateX(-50%) scale(0.97);
}
.x1-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
  color: var(--muted);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--std) 0.2s;
}
.x1-empty b {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.x1.gone .x1-empty {
  opacity: 1;
  transition-delay: 1.1s;
}
.x1-calm {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  padding: 56px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 540px;
}
.x1-calm .x1-cap {
  color: var(--st-muted);
}
.x1-take {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.x1-take .lq {
  width: 40px;
  height: 38px;
}
.x1-take p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
}
.x1-card {
  border: 1px solid var(--st-accent);
  border-radius: 18px;
  background: var(--st-surface);
  padding: 18px;
  display: grid;
  gap: 12px;
  transition: box-shadow 0.7s var(--out);
}
.x1-card.glow {
  box-shadow:
    0 0 0 6px rgba(147, 199, 166, 0.16),
    0 0 70px rgba(147, 199, 166, 0.28);
}
.x1-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-gain);
}
.x1-card h4 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.x1-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 14px;
  font-size: 14px;
}
.x1-card dt {
  color: var(--st-muted);
}
.x1-card dd {
  margin: 0;
}
.x1-foot {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.x1-foot div {
  border: 1px solid var(--st-line);
  border-radius: 14px;
  padding: 12px 14px;
}
.x1-foot b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.x1-foot b .ldot {
  width: 9px;
  height: 9px;
  color: var(--st-gain);
}
.x1-foot span {
  font-size: 12.5px;
  color: var(--st-muted);
}

/* ---------------------------------------------------------------- 10. what it reads */
.x10-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.x10-top .lead {
  margin: 16px 0 0;
}
.x10-picks {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.x10-picks button {
  border: 0;
  cursor: pointer;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  transition:
    background-color 0.3s var(--std),
    color 0.3s var(--std);
}
.x10-picks button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}
.x10-grid {
  margin-top: 34px;
  padding: clamp(12px, 2.4vw, 24px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  transition: opacity 0.25s var(--std);
}
.x10-grid.swap {
  opacity: 0.25;
}
.w {
  background: var(--st-surface);
  border: 1px solid var(--st-line);
  border-radius: 18px;
  padding: 16px;
  min-width: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}
.w h5 {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--st-muted);
}
.w h5 span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.w-sum {
  grid-column: span 6;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.w-sum div {
  display: grid;
  gap: 2px;
}
.w-sum b {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.w-sum div:last-child b {
  color: var(--st-accent);
}
.w-sum span {
  font-size: 12.5px;
  color: var(--st-muted);
}
.w-odds {
  grid-column: span 2;
}
.w-chart {
  grid-column: span 4;
}
.w-quote {
  grid-column: span 3;
}
.w-news {
  grid-column: span 3;
}
.w-ment {
  grid-column: span 3;
}
.w-corr {
  grid-column: span 3;
}
@media (max-width: 960px) {
  .w-odds,
  .w-chart,
  .w-quote,
  .w-news,
  .w-ment,
  .w-corr {
    grid-column: span 3;
  }
  .w-sum {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .w-odds,
  .w-chart,
  .w-quote,
  .w-news,
  .w-ment,
  .w-corr {
    grid-column: span 6;
  }
  .w-sum {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.odd {
  display: grid;
  gap: 5px;
  font-size: 13px;
}
.odd div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.odd div b {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.odd i {
  display: block;
  height: 5px;
  border-radius: 5px;
  background: var(--st-surface-2);
  overflow: hidden;
}
.odd i::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--v);
  background: var(--st-gain);
  transform-origin: 0 50%;
}
.x10.play .odd i::before {
  animation: x10-grow 1s var(--out) both;
}
@keyframes x10-grow {
  from {
    transform: scaleX(0);
  }
}
.w-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.w-chart .gr {
  stroke: var(--st-line);
  stroke-width: 1;
}
.w-chart .la {
  fill: none;
  stroke: var(--st-gain);
  stroke-width: 2;
  stroke-linejoin: round;
}
.w-chart .lb {
  fill: none;
  stroke: var(--st-muted);
  stroke-width: 2;
  stroke-linejoin: round;
}
.w-chart .gap {
  fill: rgba(76, 214, 156, 0.14);
}
.w-chart text {
  font-family: var(--mono);
  font-size: 11px;
}
.w-chart .ta {
  fill: var(--st-gain);
}
.w-chart .tb {
  fill: var(--st-muted);
}
.w-chart .tx {
  fill: var(--st-muted);
}
.x10.play .w-chart .la,
.x10.play .w-chart .lb {
  stroke-dasharray: 1;
  animation: x10-draw 1.6s var(--out) both;
}
.x10.play .w-chart .gap {
  animation: fade 1s var(--std) 0.9s both;
}
@keyframes x10-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.w-quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--st-ink);
}
.w-quote cite {
  font-style: normal;
  font-size: 12.5px;
  color: var(--st-muted);
}
.nws {
  display: grid;
  gap: 0;
}
.nws div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--st-line);
  font-size: 13.5px;
}
.nws div:first-child {
  border-top: 0;
  padding-top: 0;
}
.nws span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--st-muted);
}
.x10.play .nws div {
  animation: x10-row 0.5s var(--out) both;
}
.x10.play .nws div:nth-child(2) {
  animation-delay: 0.1s;
}
.x10.play .nws div:nth-child(3) {
  animation-delay: 0.2s;
}
@keyframes x10-row {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
}
.mbars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 96px;
}
.mbars i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(var(--st-accent), rgba(147, 199, 166, 0.35));
  transform-origin: 50% 100%;
}
.x10.play .mbars i {
  animation: x10-bar 0.7s var(--pop) both;
  animation-delay: calc(var(--i) * 45ms);
}
@keyframes x10-bar {
  from {
    transform: scaleY(0);
  }
}
.mlab {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--st-muted);
}
.mlab b {
  color: var(--st-accent);
  font-weight: 500;
}
.cor {
  display: grid;
  gap: 7px;
}
.cor div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46% 44px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.cor .bar {
  position: relative;
  height: 6px;
  border-radius: 6px;
  background: var(--st-surface-2);
}
.cor .bar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: calc(var(--v) * 50%);
  border-radius: 6px;
  background: var(--st-gain);
}
.cor .bar.neg::before {
  left: auto;
  right: 50%;
  width: calc(var(--v) * -50%);
  background: var(--st-loss);
}
.cor .bar::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 1px;
  background: var(--st-muted);
  opacity: 0.5;
}
.cor b {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.x10.play .cor div {
  animation: x10-row 0.5s var(--out) both;
  animation-delay: calc(var(--i) * 70ms);
}
.x10-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--faint);
}

/* 1, v2: the calm side reads like one finished card */
.x1-cap span {
  margin-left: 8px;
  letter-spacing: 0.04em;
}
.x1-cap .bad {
  color: var(--loss);
}
.x1-cap .good {
  color: var(--st-gain);
}
.x1-calm {
  padding: 58px 22px 22px;
}
.x1-app {
  display: grid;
  gap: 14px;
}
.x1-take {
  grid-template-columns: 42px minmax(0, 1fr);
}
.x1-take small,
.x1-ch small {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-muted);
}
.x1-take p {
  font-size: 1.1rem;
}
.x1-card {
  gap: 14px;
  padding: 18px;
}
.x1-ch {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.x1-ch small {
  color: var(--st-accent);
}
.x1-ch h4 {
  margin: 2px 0 0;
  font-size: 1.5rem;
}
.x1-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(76, 214, 156, 0.14);
  color: var(--st-gain);
}
.x1-perf {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 18px;
}
.x1-perf b {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--st-gain);
  font-variant-numeric: tabular-nums;
}
.x1-perf span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--st-muted);
}
.x1-perf svg {
  display: block;
  width: 100%;
  height: 44px;
  overflow: visible;
}
.x1-perf .a {
  fill: rgba(76, 214, 156, 0.16);
}
.x1-perf .l {
  fill: none;
  stroke: var(--st-gain);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-linejoin: round;
}
.x1-legs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--st-line);
}
.x1-legs li {
  display: grid;
  grid-template-columns: 30px 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--st-line);
  font-size: 14px;
}
.x1-legs i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
}
.x1-legs i svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.x1-legs .up {
  background: rgba(76, 214, 156, 0.14);
  color: var(--st-gain);
}
.x1-legs .dn {
  background: rgba(238, 107, 98, 0.14);
  color: var(--st-loss);
}
.x1-legs .ex {
  background: rgba(147, 199, 166, 0.16);
  color: var(--st-accent);
}
.x1-legs span {
  color: var(--st-muted);
  font-size: 13px;
}
.x1-legs b {
  font-weight: 500;
}
.x1-legs em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--st-muted);
}
.x1-exit {
  display: grid;
  gap: 10px;
}
.x1-exit-h {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--st-muted);
}
.x1-exit-h b {
  color: var(--st-accent);
  font-weight: 500;
}
.x1-meter {
  position: relative;
  height: 8px;
  border-radius: 8px;
  background: var(--st-surface-2);
  margin-bottom: 24px;
}
.x1-meter .fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 33.3%;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(147, 199, 166, 0.3), var(--st-accent));
  transform-origin: 0 50%;
}
.x1-meter::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  bottom: -5px;
  width: 2px;
  border-radius: 2px;
  background: var(--st-loss);
}
.x1-meter span {
  position: absolute;
  top: calc(100% + 7px);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}
.x1-meter .now {
  left: 33.3%;
  transform: translateX(-50%);
  color: var(--st-accent);
}
.x1-meter .lim {
  right: 0;
  color: var(--st-loss);
}
.x1-note {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--st-muted);
}
.x1-note .ldot {
  flex: none;
  color: var(--st-gain);
}
.x1-note b {
  color: var(--st-ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 520px) {
  .x1-legs li {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    row-gap: 0;
  }
  .x1-legs i {
    grid-row: span 2;
  }
  .x1-legs span,
  .x1-legs b {
    grid-column: 2;
  }
  .x1-legs em {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
  .x1-cap span {
    display: block;
    margin: 4px 0 0;
  }
}

/* 10, v2: a verdict up top, and every widget says what it means for the take */
.x10-grid {
  grid-auto-flow: dense;
}
.w {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.w-verdict {
  grid-column: span 2;
  background:
    linear-gradient(160deg, rgba(147, 199, 166, 0.16), transparent 62%), var(--st-surface);
  border-color: rgba(147, 199, 166, 0.5);
}
.w-verdict .eyebrow {
  color: var(--st-accent);
}
.vd {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.seg {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
}
.seg i {
  height: 10px;
  border-radius: 3px;
}
.seg .sup {
  background: var(--st-gain);
}
.seg .ag {
  background: var(--st-loss);
}
.seg .neu {
  background: var(--st-muted);
  opacity: 0.55;
}
.x10.play .seg i {
  animation: pop 0.45s var(--pop) both;
  animation-delay: calc(var(--i) * 90ms + 250ms);
}
.w-verdict p {
  margin: 0;
  font-size: 13.5px;
  color: var(--st-muted);
}
.w-sum {
  grid-column: span 4;
  display: flex;
}
.w-sum .nums {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.w-sum .nums div {
  display: grid;
  gap: 2px;
}
.w-sum .nums div:last-child b {
  color: inherit;
}
.w-sum h5 span {
  color: var(--st-accent);
}
.srcs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.srcs span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--st-surface-2);
  color: var(--st-muted);
}
.srcs span::before {
  content: "✓ ";
  color: var(--st-gain);
}
.w-odds {
  grid-column: span 2;
}
.odds {
  display: grid;
  gap: 10px;
}
.odd {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.3;
}
.odd b {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.dn {
  display: block;
  width: 40px;
  height: 40px;
}
.dn circle {
  fill: none;
  stroke-width: 5;
}
.dn .bg {
  stroke: var(--st-surface-2);
}
.dn .fg {
  stroke: var(--st-gain);
  stroke-linecap: round;
}
.x10.play .dn .fg {
  animation: x10-donut 1.2s var(--out) both;
}
@keyframes x10-donut {
  from {
    stroke-dasharray: 0 100;
  }
}
.w-chart {
  grid-column: span 4;
}
.w-chart h5 .lg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.lg i {
  display: inline-block;
  width: 12px;
  height: 3px;
  border-radius: 2px;
  margin-left: 8px;
}
.lg i.a {
  background: var(--st-gain);
}
.lg i.b {
  background: var(--st-muted);
}
.w-chart .ar {
  fill: rgba(76, 214, 156, 0.12);
}
.w-chart .da {
  fill: var(--st-gain);
}
.w-chart .db {
  fill: var(--st-muted);
}
.x10.play .w-chart .da,
.x10.play .w-chart .db,
.x10.play .w-chart .ar {
  animation: fade 0.8s var(--std) 1.1s both;
}
.w-quote {
  grid-column: span 2;
}
.w-quote blockquote {
  position: relative;
  font-size: 1.3rem;
  padding-top: 18px;
}
.w-quote blockquote::before {
  content: "“";
  position: absolute;
  top: -14px;
  left: -2px;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--st-accent);
}
.w-news {
  grid-column: span 2;
}
.nws div {
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: baseline;
}
.nws div span {
  font-family: var(--font);
  font-size: 13.5px;
  color: var(--st-ink);
}
.nws i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-1px);
}
.nws i.sup {
  background: var(--st-gain);
}
.nws i.ag {
  background: var(--st-loss);
}
.nws i.neu {
  background: var(--st-muted);
}
.nws time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--st-muted);
}
.w-ment {
  grid-column: span 2;
}
.w-corr {
  grid-column: span 3;
}
.w-risk {
  grid-column: span 3;
  border-color: rgba(238, 107, 98, 0.35);
}
.w-risk h5 span {
  color: var(--st-loss);
}
.rsk {
  display: grid;
}
.rsk div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--st-line);
  font-size: 13.5px;
}
.rsk div:first-child {
  border-top: 0;
  padding-top: 0;
}
.rsk b {
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-weight: 500;
}
.rsk b::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--st-loss);
  transform: translateY(-1px);
}
.rsk span {
  color: var(--st-muted);
}
.rsk span::before {
  content: "→ ";
  color: var(--st-accent);
}
.x10.play .rsk div {
  animation: x10-row 0.5s var(--out) both;
  animation-delay: calc(var(--i) * 90ms + 200ms);
}
.tk {
  margin: auto 0 0;
  display: flex;
  gap: 9px;
  align-items: baseline;
  padding-top: 11px;
  border-top: 1px dashed var(--st-line);
  font-size: 13px;
  color: var(--st-ink);
}
.tk i {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-1px);
}
.tk.sup i {
  background: var(--st-gain);
}
.tk.ag i {
  background: var(--st-loss);
}
.tk.neu i {
  background: var(--st-muted);
}
.x10-key {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}
.x10-key span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.x10-key i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.x10-key .sup {
  background: var(--gain);
}
.x10-key .ag {
  background: var(--loss);
}
.x10-key .neu {
  background: var(--faint);
}
@media (max-width: 960px) {
  .w-verdict,
  .w-sum,
  .w-chart {
    grid-column: span 6;
  }
  .w-odds,
  .w-quote,
  .w-news,
  .w-ment,
  .w-corr,
  .w-risk {
    grid-column: span 3;
  }
}
@media (max-width: 640px) {
  .w-verdict,
  .w-sum,
  .w-chart,
  .w-odds,
  .w-quote,
  .w-news,
  .w-ment,
  .w-corr,
  .w-risk {
    grid-column: span 6;
  }
  .w-sum .nums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rsk div {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 1. the calm side: one neutral card; colour only on the result, amber only on the exit line */
.x1-cap .bad {
  color: var(--muted);
}
.x1-cap .good {
  color: var(--st-accent);
}
.x1-card {
  border-color: var(--st-line);
}
.x1-card.glow {
  box-shadow:
    0 0 0 6px rgba(147, 199, 166, 0.1),
    0 0 60px rgba(147, 199, 166, 0.16);
}
.x1-ch small {
  color: var(--st-muted);
}
.x1-pill {
  background: var(--st-surface-2);
  color: var(--st-muted);
}
.x1-pill .ldot {
  color: var(--st-gain);
}
.x1-perf {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
}
.x1-perf .spark-a {
  grid-column: 3;
  font-size: 22px;
  color: var(--st-accent);
}
.x1-perf small {
  grid-column: 3;
  justify-self: end;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--st-muted);
  margin-top: 4px;
}
.x1-perf > .q {
  display: grid;
  justify-items: end;
  grid-column: 3;
}
.x1-legs i,
.x1-legs .up,
.x1-legs .dn,
.x1-legs .ex {
  background: var(--st-surface-2);
  color: var(--st-ink);
}
.x1-meter .fill {
  background: var(--st-accent);
}
.x1-meter::after {
  background: var(--st-risk);
}
.x1-meter .now {
  color: var(--st-muted);
}
.x1-meter .lim {
  color: var(--st-risk);
}
.x1-exit-h b {
  color: var(--st-ink);
}
.x1-note .ldot {
  color: var(--st-gain);
}

/* 10. what it reads: soft green for support, amber for against */
.w-verdict {
  background:
    linear-gradient(160deg, rgba(147, 199, 166, 0.12), transparent 62%), var(--st-surface);
  border-color: rgba(147, 199, 166, 0.4);
}
.seg .sup,
.tk.sup i,
.nws i.sup {
  background: var(--st-accent);
}
.seg .ag,
.tk.ag i,
.nws i.ag {
  background: var(--st-risk);
}
.x10-key .sup {
  background: var(--accent);
}
.x10-key .ag {
  background: var(--risk);
}
.dn .fg {
  stroke: var(--st-accent);
}
.w-chart .la {
  stroke: var(--st-accent);
}
.w-chart .ta,
.w-chart .da {
  fill: var(--st-accent);
}
.w-chart .ar,
.w-chart .gap {
  fill: rgba(147, 199, 166, 0.12);
}
.lg i.a {
  background: var(--st-accent);
}
.cor .bar::before {
  background: var(--st-accent);
}
.cor .bar.neg::before {
  background: var(--st-muted);
}
.srcs span::before {
  color: var(--st-accent);
}
.w-risk {
  border-color: var(--st-line);
}
.w-risk h5 span {
  color: var(--st-risk);
}
.rsk b::before {
  background: var(--st-risk);
}
.w-quote blockquote {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
}

/* ================ brand kit on the landing */
body {
  letter-spacing: -0.004em;
}
h1,
h2,
.k-take,
.f h3,
.x1-ch h4,
.x1-empty b,
.vd,
.brand span {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.big,
.x1-perf b,
.w-sum b,
.x1-badge b {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.03em;
}
.btn.ink {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.btn.ink:hover {
  background: var(--primary);
  filter: brightness(1.12);
}
.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--faint);
}
.spark-a {
  font-family: var(--box);
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}
.swap {
  animation: rise 0.4s var(--out) both;
}
.spark .a {
  fill: rgba(147, 199, 166, 0.16);
}
.spark .l {
  stroke: var(--st-accent);
}
.spark .e {
  fill: var(--st-accent);
}
.slider input {
  accent-color: var(--st-accent);
}
.kind[aria-pressed="true"] .k-kind {
  color: var(--accent);
}
.x1-c {
  will-change: transform;
}
.x1-mess,
.x1-calm {
  min-height: 580px;
}
.x1-ch {
  flex-wrap: wrap;
}
@media (max-width: 520px) {
  .x1-calm {
    padding-top: 78px;
  }
  .x1-mess .x1-pile {
    top: 70px;
  }
  .x1-ch h4 {
    font-size: 1.35rem;
  }
}
.x1 {
  text-align: left;
}
.x1 .center {
  text-align: center;
}
.x1 .lead {
  margin-inline: auto;
}
/* the exit card in the feature grid */
.xm {
  position: relative;
  height: 8px;
  border-radius: 8px;
  background: var(--st-surface-2);
  margin: 8px 0 22px;
}
.xm .fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 33.3%;
  border-radius: 8px;
  background: var(--st-accent);
  transform-origin: 0 50%;
}
html.js .f .xm .fill {
  transform: scaleX(0);
  transition: transform 1.2s var(--out) 0.6s;
}
html.js .f.in .xm .fill {
  transform: none;
}
.xm::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  bottom: -5px;
  width: 2px;
  border-radius: 2px;
  background: var(--st-risk);
}
.xm span {
  position: absolute;
  top: calc(100% + 7px);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}
.xm .now {
  left: 33.3%;
  transform: translateX(-50%);
  color: var(--st-muted);
}
.xm .lim {
  right: 0;
  color: var(--st-risk);
}
/* the closing: the take field, then what littlequant reads for an example take */
.close-head {
  display: grid;
  justify-items: center;
}
.closing .take {
  margin-top: 30px;
  width: 100%;
}
.closing .x10 {
  margin-top: 64px;
  text-align: left;
}
.x10-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.x10-q {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}
.x10-grid {
  margin-top: 16px;
}
.x10-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--faint);
}
.close-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  margin: 52px 0 0;
  color: var(--muted);
}
.lq.hop {
  animation: hop 0.62s var(--pop);
  transform-origin: 50% 100%;
}
@keyframes check {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}

/* idea 1 and 10: details carried over from the lab */
.x1-c {
  will-change: transform;
}
.x1-noise {
  transition: opacity 0.6s var(--std);
}
.x1.gone .x1-noise {
  opacity: 0;
}
.x10-grid.swap-out {
  opacity: 0.2;
}
.lead {
  text-wrap: pretty;
}
#calm .lead {
  max-width: 540px;
  text-wrap: balance;
}
/* brand kit v0.9: charts are fluid curves, never stepped bars */
.x1-perf .x1-sp {
  grid-column: 3;
  display: block;
  width: 112px;
  height: 32px;
  overflow: visible;
}
.x1-perf .x1-sp .a {
  fill: rgba(147, 199, 166, 0.14);
}
.x1-perf .x1-sp .l {
  fill: none;
  stroke: var(--st-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
}
.x1-perf .x1-sp .e {
  fill: var(--st-accent);
}
.mcurve svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.mcurve .ma {
  fill: rgba(147, 199, 166, 0.14);
}
.mcurve .ml {
  fill: none;
  stroke: var(--st-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mcurve .md {
  fill: var(--st-accent);
}
.x10.play .mcurve .ml {
  stroke-dasharray: 1;
  animation: x10-draw 1.4s var(--out) both;
}
.x10.play .mcurve .ma,
.x10.play .mcurve .md {
  animation: fade 0.6s var(--std) 1s both;
}

/* production: skip link, footer links, the custom-take reply */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  transition: top 0.2s var(--std);
}
.skip:focus {
  top: max(12px, env(safe-area-inset-top, 0px));
}
#main {
  display: block;
  height: 0;
  outline: none;
}
.foot-links {
  display: flex;
  gap: 18px;
  margin-right: auto;
  margin-left: 22px;
}
.foot-links a {
  color: var(--muted);
  transition: color 0.2s var(--std);
}
.foot-links a:hover {
  color: var(--ink);
}
@media (max-width: 560px) {
  .foot-links {
    margin-left: 0;
    order: 3;
    flex-basis: 100%;
  }
}
.tries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}
.tries .run {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.82em;
  color: inherit;
  text-align: left;
}
.tries .run:hover {
  background: var(--st-line);
}

/* 404 */
.nf {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  padding: 40px 20px;
  text-align: center;
}
.nf .lq {
  width: 112px;
  height: 105px;
  margin-bottom: 10px;
}
.nf h1 {
  margin: 0;
}
.nf .lead {
  margin: 14px auto 28px;
}

/* takes: full-sentence takes need a calmer size */
.k-take {
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.kind {
  grid-template-columns: 170px minmax(0, 1.5fr) minmax(0, 0.6fr) 36px;
}
@media (max-width: 760px) {
  .kind {
    grid-template-columns: minmax(0, 1fr) 36px;
  }
}

/* the take wall: the other picks, each one plays in the demo */
.more {
  margin-top: 56px;
}
.more-h {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.tw {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 900px) {
  .tw {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .tw {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tw li {
  display: flex;
}
.tw-c {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid transparent;
  transition:
    transform 0.35s var(--pop),
    border-color 0.3s var(--std),
    background-color 0.3s var(--std);
}
.tw-c:hover {
  transform: translateY(-3px);
  background: color-mix(in srgb, var(--card) 70%, var(--surface));
}
.tw-c:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.tw-c[aria-pressed="true"] {
  border-color: var(--accent);
}
.tw-t {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.tw-f {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.tw-f b {
  font-weight: 500;
  color: var(--ink);
}
.tw-f i {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  font-style: normal;
  transition: transform 0.35s var(--pop);
}
.tw-c:hover .tw-f i {
  transform: translateX(3px);
}
.tw-c[aria-pressed="true"] .tw-f i {
  background: var(--ink);
  color: var(--bg);
}

/* the "Run it" card: a running strategy, no returns */
.live-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--st-gain);
}
