/* munch landing page (Figma: "Hero 16 · Colour · dusk").
   Plain CSS, no build step. Design tokens first, then layout top to bottom. */

/* Fonts, colour swatches and the Button component come from ds.css (the design system). */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --font-sans: var(--ds-font-sans);
  --font-serif: var(--ds-font-serif);
  --font-brand: var(--ds-font-brand);
  --font-mono: var(--ds-font-mono);

  --bg: #ffffff;
  --bg-muted: var(--ds-chip);
  --ink: var(--ds-ink);
  --ink-strong: #0b0b10;
  --ink-logo: #1c1b19;
  --btn: #111111;
  --text-muted: var(--ds-muted);
  --text-nav: #5f5a54;
  --text-faint: #9a9692;
  --text-tab: #787572; /* Figma #a8a49f is 2.5:1 on white; AA needs 4.5:1 */
  --accent: var(--ds-violet);
  --accent-soft: #efeafe;
  --accent-avatar: #f1effc;
  --row-divider: #f0efed;

  --line: rgba(16, 19, 33, 0.1);
  --line-card: rgba(16, 19, 33, 0.12);
  --line-soft: rgba(16, 19, 33, 0.08);
  --line-marker: rgba(16, 19, 33, 0.35);

  --code-bg: #111827;
  --code-ink: #c9cdd6;
  --code-str: #7fd3cc;
  --code-dim: #8a8f9c;
  --code-key: #ff9fb0;

  --footer-bg: #0a0b0f;
  --footer-line: #23252a;
  --footer-head: #f7f8f8;
  --footer-link: #8a8f98;
  --footer-legal: #7a7f87; /* Figma #62666d is 3.4:1 on the footer; AA needs 4.5:1 */

  --frame: 1282px;
  --gutter: 32px;
  --focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
pre {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--btn);
  color: #fff;
  font-size: 14px;
}
.skip-link:focus {
  top: 16px;
}

/* ---------- Page frame + rules ---------- */
.frame {
  width: min(var(--frame), 100% - 32px); /* keeps the side borders and rule markers on screen */
  margin-inline: auto;
  border-inline: 1px solid var(--line);
}

/* Horizontal rule with a square marker sitting on each side border of the frame. */
.rule {
  position: relative;
  height: 1px;
  background: var(--line);
  margin-inline: -1px;
}
.rule::before,
.rule::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--bg);
  border: 1px solid var(--line-marker);
}
.rule::before {
  left: -3px;
}
.rule::after {
  right: -3px;
}

/* ---------- Nav ---------- */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-inline: var(--gutter);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-strong);
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.logo__mark {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
}
.logo__mark img {
  position: absolute;
  left: 0;
  top: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-nav);
  font-size: 15px;
  letter-spacing: -0.02em;
  transition: color 120ms ease;
}
.nav__link:hover,
.nav__link[aria-expanded="true"] {
  color: var(--ink);
}
.nav__link img {
  transition: transform 150ms ease;
}
.nav__link[aria-expanded="true"] img {
  transform: rotate(180deg);
}

.nav__item {
  position: relative;
}
.nav__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -12px;
  z-index: 20;
  min-width: 200px;
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--line-card);
  box-shadow: 0 12px 32px rgba(18, 15, 51, 0.12);
}
.nav__menu[hidden] {
  display: none;
}
.nav__menu a {
  display: block;
  padding: 8px 10px;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -0.015em;
}
.nav__menu a:hover {
  background: var(--bg-muted);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__login { margin-right: 4px; }
.nav__phone { display: none; }

.nav__mobile {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav__toggle {
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 150ms ease;
}
.nav__toggle span {
  position: relative;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav__toggle span::before {
  top: -5px;
}
.nav__toggle span::after {
  top: 5px;
}
.nav__toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav__toggle[aria-expanded="true"] span::before {
  transform: translateY(5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 32px;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px var(--gutter) 72px;
  text-align: center;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero__title span {
  display: block;
}
.hero__sub {
  padding: 14px 0 26px;
  color: var(--text-muted);
  font-size: 18px;
  letter-spacing: -0.02em;
}

/* Gradient box holding the product preview. */
.grain {
  position: relative;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: calc(100% - 2 * var(--gutter));
  max-width: 1216px;
  height: 570px;
  padding: 0 16px 64px;
}
.grain__bg,
.grain__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.corner {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--bg);
  border: 1px solid var(--btn);
}
.corner--tl {
  left: -5px;
  top: -5px;
}
.corner--tr {
  right: -4px;
  top: -5px;
}
.corner--bl {
  left: -5px;
  bottom: -4px;
}
.corner--br {
  right: -4px;
  bottom: -4px;
}

/* Product preview. Drawn at 79.2% of its native size: 1em = 10 native px, so every size below is
   (native px / 10) em, and the whole widget scales down on small screens by changing font-size. */
.widget {
  --u: 7.92px;
  position: relative;
  width: 72em;
  font-size: var(--u);
  background: var(--bg);
  border: 0.1em solid rgba(16, 19, 33, 0.18);
  box-shadow: 1em 1em 0 rgba(91, 63, 224, 0.22);
  text-align: left;
  user-select: none;
}
.widget__input {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  padding: 1.4em 1.4em 1em;
  border-bottom: 0.1em solid var(--line-card);
}
.widget__query {
  font-size: 1.5em;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.widget__controls {
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.widget__mode {
  display: flex;
  align-items: center;
  height: 2.8em;
  padding-inline: 1em;
  border: 0.1em solid var(--line-card);
  color: var(--text-muted);
}
.widget__mode span,
.widget__seg span,
.widget__chip span {
  letter-spacing: -0.02em;
}
.widget__mode span {
  font-size: 1.3em;
}
.widget__mode--on {
  border-color: var(--btn);
  color: var(--ink);
}
.widget__spacer {
  flex: 1;
}
.widget__clear {
  color: var(--text-faint);
  font-size: 1.6em;
  letter-spacing: -0.02em;
}
.widget__run {
  position: relative;
  width: 2.8em;
  height: 2.8em;
  background: var(--accent);
}
.widget__run img {
  position: absolute;
  left: 0.7em;
  top: 0.7em;
  width: 1.4em;
  height: 1.4em;
}
.widget__panes {
  display: flex;
}
.widget__filters {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  width: 22em;
  flex: none;
  padding: 1.4em;
  border-right: 0.1em solid var(--line-card);
}
.widget__label {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 1.05em;
  letter-spacing: 0.06em;
}
.widget__seg {
  display: flex;
  border: 0.1em solid var(--line-card);
}
.widget__seg > div {
  flex: 1;
  display: flex;
  justify-content: center;
  padding-block: 0.4em;
  color: var(--text-muted);
}
.widget__seg > div + div {
  border-left: 0.1em solid var(--line-card);
}
.widget__seg span {
  font-size: 1.2em;
}
.widget__seg .is-on {
  background: var(--btn);
  color: #fff;
}
.widget__chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 0.1em solid var(--line-card);
  border-left: 0.1em solid var(--line-card);
}
.widget__chip {
  display: flex;
  justify-content: center;
  padding-block: 0.5em;
  border-right: 0.1em solid var(--line-card);
  border-bottom: 0.1em solid var(--line-card);
  color: var(--text-muted);
}
.widget__chip span {
  font-size: 1.2em;
}
.widget__chip.is-on {
  background: var(--accent-soft);
  color: var(--accent);
}
.widget__results {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.4em;
}
.widget__results .widget__label {
  margin-bottom: 0.76em; /* 0.8em at the label's own 1.05em size: 8 native px */
}
.widget__results .widget__seg {
  width: 20em;
  height: 2.4em;
}
.widget__person {
  display: flex;
  align-items: center;
  gap: 1em;
  padding-block: 0.9em;
  border-bottom: 0.1em solid var(--row-divider);
}
.widget__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8em;
  height: 2.8em;
  flex: none;
  background: var(--accent-avatar);
  color: var(--accent);
}
.widget__avatar span {
  font-size: 1.05em;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.widget__who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}
.widget__name {
  font-size: 1.35em;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.widget__role {
  font-size: 1.25em;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}
.widget__score {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.2em;
  letter-spacing: -0.02em;
}
.widget__meta {
  display: flex;
  justify-content: space-between;
  padding-top: 1em;
  color: var(--text-faint);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.widget__meta > * {
  font-size: 1.15em;
}
.widget__meta strong {
  margin-left: 0.4em;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Section headings ---------- */
.section-heading {
  padding: 64px var(--gutter) 32px;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* ---------- Integrations grid ---------- */
.logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.logos__item {
  display: flex;
}
.logos__cell {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 150px;
  color: var(--ink-logo);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: background-color 120ms ease;
}
.logos__item + .logos__item {
  border-left: 1px solid var(--line);
}
.logos__cell:hover {
  background: #faf9f8;
}
.logos__arrow {
  position: absolute;
  top: 12px;
  right: 11px;
}
.logos__item:last-child .logos__arrow {
  right: 12px;
}

/* ---------- Use cases ---------- */
.usecases {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  padding: 0 var(--gutter) 64px;
}
.usecases__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 760px;
  flex: none;
  height: 430px;
  padding: 16px;
  overflow: hidden;
}
.usecases__bg,
.usecases__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prompt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: min(480px, 100%);
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--line-card);
  box-shadow: 0 12px 32px rgba(18, 15, 51, 0.12);
}
.prompt__text {
  font-size: 15px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.prompt__caret {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -0.15em;
  background: var(--ink);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.prompt__tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--line-card);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--ink);
}

.tabs {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
}
.tab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.tab__head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 19px;
  width: 100%;
  color: var(--text-tab);
  text-align: left;
  transition: color 120ms ease;
}
.tab__head:hover,
.tab.is-active .tab__head {
  color: var(--ink);
}
.tab__num {
  width: 15px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.tab__label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.tab__desc {
  padding-left: 31px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 22px;
  letter-spacing: -0.015em;
}
.tab__desc[hidden] {
  display: none;
}
.tab__progress {
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(var(--progress, 0.3));
}
.tab:not(.is-active) .tab__progress {
  display: none;
}

/* ---------- Feature rows ---------- */
.feature {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 64px var(--gutter);
}
.feature__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 400px;
  flex: none;
}
.feature__title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: -0.025em;
}
.feature__body {
  margin-right: -4px; /* browser Inter sets ~0.5% wider than Figma; keeps the designed line breaks */
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 22px;
  letter-spacing: -0.015em;
}
.feature__cta {
  padding-top: 10px;
}
.feature__visual {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 290px;
  padding: 16px;
  background: var(--bg-muted);
  overflow: hidden;
}

.card {
  width: 520px;
  max-width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-card);
}
.card__query {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  letter-spacing: -0.015em;
}
.card__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  white-space: nowrap;
}
.card__left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.card__name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.card__meta {
  color: var(--text-muted);
  font-size: 12.5px;
  letter-spacing: -0.015em;
}
.card__price {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 440px;
  max-width: 100%;
}
.stack .card {
  width: 100%;
}
.card--investors {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
}
.card__label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  padding: 4px 8px;
  background: var(--bg-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}
.card__head {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.card__row {
  display: flex;
  flex-wrap: wrap; /* the "via" label drops under the name on very narrow screens instead of being cut */
  align-items: center;
  justify-content: space-between;
  gap: 2px 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--line-soft);
  white-space: nowrap;
}
.card__row > :first-child {
  font-size: 14px;
  letter-spacing: -0.015em;
}
.card__via {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.code {
  width: 520px;
  max-width: 100%;
  padding: 18px 24px;
  overflow-x: auto;
  background: var(--code-bg);
  color: var(--code-ink);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 21px;
  tab-size: 2;
}
.code code {
  font: inherit;
}
.code .s {
  color: var(--code-str);
}
.code .d {
  color: var(--code-dim);
}
.code .k {
  color: var(--code-key);
}

.spacer {
  height: 64px;
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-direction: column;
  min-height: 494px;
  padding: 55px 16px 56px 80px;
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-line);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -0.01em;
}
.footer__inner {
  display: grid;
  grid-template-columns: repeat(6, 224px);
  align-items: start;
}
.footer .logo {
  margin-top: -1px;
  gap: 8px;
  color: #fff;
  font-size: 18px;
}
.footer .logo__mark {
  width: 22px;
  height: 22px;
}
.footer__col h2 {
  margin-bottom: 24px;
  color: var(--footer-head);
  font-size: inherit;
  font-weight: 500;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a,
.footer__legal a {
  white-space: nowrap;
  transition: color 120ms ease;
}
.footer__col a {
  color: var(--footer-link);
}
.footer__col a:hover,
.footer__legal a:hover {
  color: var(--footer-head);
}
.footer__legal {
  display: flex;
  gap: 20px;
  margin-top: auto;
  margin-left: 224px;
  padding-top: 48px;
  color: var(--footer-legal);
}
.footer :focus-visible {
  box-shadow: 0 0 0 2px var(--footer-bg), 0 0 0 4px #9f8cff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1439px) {
  .footer {
    padding-inline: max(32px, (100% - 1280px) / 2);
  }
  .footer__inner {
    grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr));
    gap: 24px;
  }
  .footer__legal {
    margin-left: 0;
  }
}

@media (max-width: 1240px) {
  .usecases {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .usecases__visual {
    width: 100%;
    height: auto;
    max-height: 400px;
    aspect-ratio: 76 / 43;
  }
  .feature {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .feature__text {
    width: auto;
    max-width: 560px;
  }
  .feature--reverse .feature__text {
    order: -1;
  }
}

@media (max-width: 1023px) {
  .nav__links,
  .nav__actions {
    display: none;
  }
  .nav.is-open .nav__phone { display: block; }
  .nav__mobile,
  .nav__toggle {
    display: inline-flex;
  }
  .nav.is-open .nav__links {
    position: absolute;
    top: 72px;
    left: -1px;
    right: -1px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-top: 0;
    box-shadow: 0 12px 32px rgba(18, 15, 51, 0.08);
  }
  .nav.is-open .nav__link {
    justify-content: space-between;
    width: 100%;
    padding-block: 12px;
  }
  .nav.is-open .nav__menu {
    position: static;
    min-width: 0;
    padding: 0 0 8px 12px;
    border: 0;
    box-shadow: none;
  }
  .logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .logos__item + .logos__item {
    border-left: 0;
  }
  .logos__item:not(:nth-child(3n + 1)) {
    border-left: 1px solid var(--line);
  }
  .logos__item:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
  .footer__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 40px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }
  .hero__copy {
    padding-top: 64px;
    padding-bottom: 48px;
  }
  .hero__title {
    font-size: clamp(36px, 10vw, 64px);
  }
  .hero__title span {
    display: inline;
  }
  .hero__sub {
    font-size: 16px;
  }
  .grain {
    height: auto;
    padding: 96px 12px 32px;
  }
  /* Narrow screens: drop the filter pane and size the preview to the box, so its text stays >= ~9px at 320px. */
  .widget {
    width: 40em;
    font-size: min(var(--u), (100cqw - 24px) / 40);
  }
  .widget__filters {
    display: none;
  }
  .widget__controls .widget__mode:nth-child(3) {
    display: none;
  }
  .section-heading {
    padding-top: 48px;
    padding-bottom: 24px;
    font-size: 32px;
  }
  .logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .logos__cell {
    height: 96px;
    font-size: 15px;
  }
  .logos__item:not(:nth-child(3n + 1)) {
    border-left: 0;
  }
  .logos__item:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .logos__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .usecases {
    padding-bottom: 48px;
  }
  .usecases__visual {
    aspect-ratio: auto;
    height: 260px; /* fixed, so a longer prompt on another tab does not push the page down */
  }
  .feature {
    padding-block: 48px;
  }
  .feature__visual {
    height: auto;
    min-height: 240px;
    padding: 24px 12px;
  }
  .card__query {
    font-size: 13.5px;
  }
  .code {
    padding-inline: 16px;
    font-size: 12px;
  }
  .footer {
    min-height: 0;
    padding: 48px 16px 40px;
  }
  .footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* =====================================================================
   Inner pages: Pricing, product pages, Contact, Docs (built from src/)
   ===================================================================== */
.nav__link[aria-current="page"],
.nav__link[data-current="true"] {
  color: var(--ink);
}

.eyebrow {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.muted {
  color: var(--text-muted);
}
.small {
  font-size: 12px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: var(--bg-muted);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
}
.tag--accent {
  background: var(--accent-soft);
  color: var(--accent);
}
.badge-cost {
  display: inline-flex;
  padding: 4px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
}

/* ---------- Page hero ---------- */
.page-hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 88px var(--gutter) 64px;
}
.page-hero--center {
  align-items: center;
  text-align: center;
}
.page-hero__title {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 60px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.page-hero__sub {
  max-width: 660px;
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.cta-pair {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
}

/* ---------- Sections ---------- */
.section {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 64px var(--gutter);
}
.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.06em;
  text-wrap: balance;
}
.section-lead {
  margin: -12px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Product visual ---------- */
.product-visual {
  display: flex;
  justify-content: center;
  margin: 0 var(--gutter) 64px;
  padding: 56px 16px;
  background: url("assets/hero-grain-1x.webp") center / cover, #50288c;
}
.search-card {
  width: 640px;
  max-width: 100%;
  margin: 0;
  background: var(--bg);
  border: 1px solid rgba(16, 19, 33, 0.18);
  box-shadow: 10px 10px 0 rgba(91, 63, 224, 0.22);
}
.search-card__query {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  letter-spacing: -0.015em;
}
.search-card__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 8px 16px 4px;
  list-style: none;
}
.search-card__rows--flat {
  padding: 0;
}
.result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line-card);
  background: var(--bg);
}
.result__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.result__name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.result__sub {
  color: var(--text-muted);
  font-size: 12.5px;
}
.result__score {
  flex: none;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
}
.search-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px 14px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}
.search-card__meta strong {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Steps, key/value, code pair ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line-card);
}
.step__num {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
}
.step h3,
.guarantees h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.step p,
.guarantees p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 22px;
}
.split {
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
}
.split__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 400px;
  flex: none;
}
.split__intro p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 22px;
}
.kv {
  flex: 1;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line-card);
}
.kv__row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 20px;
}
.kv__row + .kv__row {
  border-top: 1px solid var(--line-soft);
}
.kv dt {
  font-family: var(--font-mono);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.kv dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}
.code-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.codeblock {
  min-width: 0;
  margin: 0;
  background: var(--code-bg);
}
.codeblock__label {
  padding: 14px 20px 0;
  color: #8a8f9c;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.codeblock pre {
  margin: 0;
  padding: 12px 20px 18px;
  overflow-x: auto;
  color: var(--code-ink);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 21px;
}
.codeblock code {
  font: inherit;
}
.codeblock .s {
  color: var(--code-str);
}
.codeblock .d {
  color: var(--code-dim);
}
.codeblock .k {
  color: var(--code-key);
}
.price-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line-card);
}
.price-strip p {
  flex: 1;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 var(--gutter) 72px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line-card);
}
.plan--highlight {
  border-color: var(--accent);
}
.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.plan__head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}
.plan__price {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.plan__price span {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 44px;
  letter-spacing: -0.06em;
}
.plan__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 22px;
}
.plan__feats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
  font-size: 14px;
}
.plan__feats li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan__feats li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--accent);
}
.plan__cta {
  margin-top: auto;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-card);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th,
.table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: middle;
}
.table thead th {
  padding-block: 12px;
  background: #fafaf9;
  color: var(--text-nav);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.table tbody tr {
  border-top: 1px solid var(--line-soft);
}
.table tbody th {
  font-weight: 400;
}
.table td {
  color: var(--text-muted);
}
.table code,
.kv code,
.docs__content code {
  font-family: var(--font-mono);
  font-size: 13px;
}
.guarantees {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.guarantees li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line-card);
}
.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
  margin: 0;
}
.faq dt {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
}
.faq dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 22px;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 96px;
  padding: 88px var(--gutter) 64px;
}
.contact__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact__intro .page-hero__title {
  font-size: 56px;
}
.bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bullets li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 18px;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}
.bullets strong {
  font-size: 15px;
  font-weight: 500;
}
.bullets span {
  color: var(--text-muted);
  font-size: 14px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: start;
  padding: 28px;
  border: 1px solid var(--line-card);
}
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field label {
  font-size: 13px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--ds-line-strong);
  border-radius: 0;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.field textarea {
  resize: vertical;
  line-height: 21px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.field [aria-invalid="true"] {
  border-color: #b4232f;
}
.form__status {
  margin: 0;
  font-size: 14px;
}
.form__status:empty {
  display: none;
}
.form__status.is-error {
  color: #b4232f;
}

/* ---------- Docs ---------- */
.docs {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 180px;
  gap: 48px;
  padding: 48px var(--gutter) 32px;
}
.docs__nav,
.docs__toc {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: start;
  font-size: 14px;
}
.docs__group {
  margin: 18px 0 6px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.docs__group:first-child {
  margin-top: 0;
}
.docs__nav a,
.docs__toc a {
  padding: 5px 10px;
  border-left: 2px solid transparent;
  color: var(--text-nav);
}
.docs__toc a {
  padding-left: 0;
  border: 0;
}
.docs__nav a:hover,
.docs__toc a:hover {
  color: var(--ink);
}
.docs__nav a[aria-current="page"] {
  border-left-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.legal-page {
  display: flex;
  justify-content: center;
  padding: 48px var(--gutter) 32px;
}
.docs__content ul {
  margin: 0;
  padding-left: 20px;
}
.docs__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  min-width: 0;
  font-size: 15px;
  line-height: 24px;
  color: #4b4845;
}
.docs__content h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.05em;
}
.docs__content h2 {
  margin: 24px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.04em;
  scroll-margin-top: 24px;
}
.docs__content p {
  margin: 0;
}
.docs__content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.crumb {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lead {
  font-size: 17px;
  line-height: 27px;
  color: var(--text-muted);
}
.callout {
  padding: 14px 16px;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 14px;
  line-height: 22px;
}
.method {
  padding: 3px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
}
.method--post {
  background: var(--accent-soft);
  color: var(--accent);
}
.method--get {
  background: var(--bg-muted);
  color: var(--ink);
}
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid var(--line-card);
  color: var(--ink) !important;
  text-decoration: none !important;
}
.pager a:last-child:not(:first-child),
.pager span + a {
  align-items: flex-end;
}
.pager small {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

/* ---------- Inner pages: responsive ---------- */
@media (max-width: 1100px) {
  .docs {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .docs__toc {
    display: none;
  }
  .contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
}
@media (max-width: 900px) {
  .steps,
  .guarantees,
  .plans,
  .code-pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .split {
    flex-direction: column;
    gap: 24px;
  }
  .split__intro {
    width: auto;
  }
  .docs {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .docs__nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .docs__nav .docs__group {
    display: none;
  }
  .docs__nav a {
    border: 1px solid var(--line-card);
  }
  .docs__nav a[aria-current="page"] {
    border-color: var(--accent);
  }
}
@media (max-width: 767px) {
  .page-hero {
    padding-top: 56px;
    padding-bottom: 40px;
  }
  .page-hero__title,
  .contact__intro .page-hero__title {
    font-size: clamp(34px, 9.5vw, 48px);
  }
  .page-hero__sub {
    font-size: 16px;
  }
  .section {
    padding-block: 40px;
    gap: 22px;
  }
  .section-title {
    font-size: 30px;
  }
  .product-visual {
    margin-bottom: 40px;
    padding: 24px 12px;
  }
  .search-card__query {
    flex-wrap: wrap;
  }
  .kv__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .price-strip {
    flex-wrap: wrap;
  }
  .price-strip p {
    flex-basis: 100%;
  }
  .faq,
  .form__row,
  .pager {
    grid-template-columns: minmax(0, 1fr);
  }
  .plans {
    padding-bottom: 40px;
  }
  .contact {
    padding-top: 56px;
  }
  .form {
    padding: 20px;
  }
  .docs__content h1 {
    font-size: 34px;
  }
  .codeblock pre {
    font-size: 12px;
  }
  /* Tables become one card per row. */
  .table-wrap {
    overflow: visible;
  }
  .table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .table tr {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
  }
  .table tbody tr:first-child {
    border-top: 0;
  }
  .table th,
  .table td {
    padding: 0;
  }
  .table td:empty {
    display: none;
  }
}

/* ---------- Docs: tool reference ---------- */
.split__link {
  align-self: flex-start;
  margin-top: 4px;
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.docs__h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.params {
  border: 1px solid var(--line-card);
}
.param {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
  scroll-margin-top: 24px;
}
.param + .param {
  border-top: 1px solid var(--line-soft);
}
.param__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.param__head code {
  color: var(--text-muted);
  font-size: 12px !important;
}
.param__head .param__name {
  color: var(--ink);
  font-size: 13.5px !important;
  font-weight: 500;
}
.param__meta {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
}
.param p {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
}
.param__enum {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.param__enum code {
  padding: 2px 6px;
  background: var(--bg-muted);
  color: var(--ink);
  font-size: 12px !important;
}
details.param__enum {
  display: block;
  font-size: 13px;
}
details.param__enum summary {
  cursor: pointer;
  color: var(--accent);
  margin-bottom: 6px;
}
details.param__enum code {
  display: inline-block;
  margin: 0 4px 4px 0;
}
.params--compact .param {
  padding-block: 10px;
}
.docs__content h1 code {
  font-family: var(--font-mono);
  font-size: 34px !important;
  letter-spacing: -0.03em;
}
.param p,
.param__head code,
.kv dd,
.docs__content p {
  overflow-wrap: anywhere;
}
.docs__content h1 {
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .docs__content h1 code {
    font-size: 24px !important;
  }
}

/* ======================================================================
   Landing (Figma "Crunch · Product pages" > Landing): one section per search,
   each with its own example. Colours of the hero query match the searches.
   ====================================================================== */
.section-label {
  padding: 48px var(--gutter) 16px;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero query: one chip per kind of search. */
.widget__query {
  line-height: 2.05;
}
.q {
  padding: 0.12em 0.45em;
  border: 0.06em solid currentColor;
  border-radius: 0.3em;
  white-space: nowrap;
}
.q--people {
  color: #c2417a;
  background: rgba(194, 65, 122, 0.08);
}
.q--companies {
  color: var(--accent);
  background: rgba(91, 63, 224, 0.08);
}
.q--intros {
  color: #8f5e12;
  background: rgba(183, 121, 31, 0.1);
}
.q--intent {
  color: #17785a;
  background: rgba(31, 138, 102, 0.08);
}

/* One section per search. */
.show {
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding: 120px var(--gutter);
}
.show__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.show__title {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 50px;
  letter-spacing: -0.03em;
}
.show__body {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.015em;
}
.show__visual {
  margin: 0;
  min-width: 0;
}

/* Image-backed stage for a product preview. */
.panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.panel__bg,
.panel__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.panel--violet {
  padding: 36px;
}
.panel--dusk {
  padding: 48px;
}
.shadow-card {
  box-shadow: 0 24px 48px -18px rgba(20, 10, 80, 0.45);
}

/* Company search preview: filters + ranked table. */
.tapp {
  position: relative;
  display: flex;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-card);
  box-shadow: 0 24px 48px -18px rgba(20, 10, 80, 0.45);
}
.tapp__filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 272px;
  flex: none;
  padding: 20px;
  background: #f7f6f3;
  border-right: 1px solid var(--line-card);
}
.tapp__label {
  margin-top: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tapp__label:first-child {
  margin-top: 0;
}
.tapp__field {
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line-card);
  font-size: 13px;
  line-height: 18px;
}
.tapp__field--row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
}
.tapp__unit {
  color: var(--text-muted);
}
.tapp__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tapp__chips span {
  padding: 4px 8px;
  background: var(--bg);
  border: 1px solid var(--line-card);
  font-family: var(--font-mono);
  font-size: 11px;
}
.tapp__chips .is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tapp__range {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tapp__track {
  position: relative;
  height: 4px;
  background: #e3e1de;
}
.tapp__track span {
  position: absolute;
  left: 20%;
  width: 40%;
  height: 100%;
  background: var(--accent);
}
.tapp__ends {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
}
.tapp__main {
  flex: 1;
  min-width: 0;
}
.tapp__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-card);
  font-size: 15px;
  letter-spacing: -0.015em;
}
.tapp__meta,
.pcard__meta,
.net__meta,
.chart__meta {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}
.tapp__meta strong,
.pcard__meta strong,
.chart__meta strong {
  margin-left: 8px;
  color: var(--ink);
  font-weight: 500;
}
.t {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.t th {
  padding: 10px 20px;
  background: #faf9f8;
  border-bottom: 1px solid var(--line-card);
  color: var(--text-nav);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}
.t td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--row-divider);
  white-space: nowrap;
}
.t tr:last-child td {
  border-bottom: 0;
}
.t__co {
  font-weight: 500;
}
.t__dom {
  margin-left: 6px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}
.t__stage {
  padding: 3px 7px;
  background: var(--bg-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
}
.t .t__fit {
  text-align: right;
}
.t td.t__fit {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
}

/* Two-up visuals. */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 656fr) minmax(0, 544fr);
  gap: 16px;
}
.duo--intent {
  grid-template-columns: minmax(0, 744fr) minmax(0, 456fr);
}

/* People search preview. */
.pcard {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: var(--bg);
  border: 1px solid var(--line-card);
  box-shadow: 0 24px 48px -18px rgba(20, 10, 80, 0.45);
}
.pcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-card);
  font-size: 15px;
  letter-spacing: -0.015em;
}
.pcard__titles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f7f6f3;
  border-bottom: 1px solid var(--line-card);
}
.pcard__titles span {
  padding: 3px 8px;
  background: var(--bg);
  border: 1px solid var(--line-card);
  font-family: var(--font-mono);
  font-size: 11.5px;
}
.pcard__titles .pcard__k {
  padding: 0;
  background: none;
  border: 0;
  color: var(--text-muted);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pcard__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  list-style: none;
}
.pcard__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line-card);
}
.pcard__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pcard__name {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.pcard__sub {
  color: var(--text-muted);
  font-size: 12.5px;
}
.pcard__fit {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.pcard__meta {
  display: flex;
  justify-content: space-between;
  padding: 4px 16px 14px;
}

/* Funnel: how many rows survive each check. */
.funnel {
  display: flex;
  flex-direction: column;
  list-style: none;
  background: #f7f6f3;
  border: 1px solid var(--line-card);
}
.funnel__step {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  align-items: end;
  gap: 10px 12px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line-soft);
}
.funnel__step:last-child {
  border-bottom: 0;
}
.funnel__label {
  font-size: 15px;
  letter-spacing: -0.015em;
}
.funnel__num {
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1;
}
.funnel__track {
  grid-column: 1 / -1;
  height: 8px;
  background: rgba(16, 19, 33, 0.08);
}
.funnel__bar {
  display: block;
  height: 100%;
}
.funnel__bar--f1 {
  background: rgba(91, 63, 224, 0.25);
}
.funnel__bar--f2 {
  background: rgba(91, 63, 224, 0.5);
}
.funnel__bar--f3 {
  background: rgba(91, 63, 224, 0.75);
}
.funnel__bar--f4 {
  background: var(--ink);
}

/* Warm intros: you -> your investors -> startups they also back. */
.net {
  padding: 48px max(40px, (100% - 1040px) / 2) 40px;
  background-color: #0b0b0f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
  color: #fff;
}
.net__cols {
  display: grid;
  grid-template-columns: 320fr 460fr 260fr;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.net__svg {
  display: block;
  width: 100%;
  height: auto;
}
.net__name {
  fill: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}
.net__dom {
  fill: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 11px;
}
.net__tag {
  fill: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
}
.net__tag--hi {
  fill: var(--ink);
}
.net__list {
  display: none;
  list-style: none;
}
.net__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}
.net__list .net__inv {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 12px;
}
.net__chip {
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 11px;
}
.net__chip--hi {
  background: var(--ds-pink);
  color: var(--ink);
}
.net__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
}
.net__meta strong {
  color: #fff;
  font-weight: 500;
}

/* Intent: sixty days of engagement on a topic. */
.chart {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: 32px;
  background: #f8f7f6;
}
.chart__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.chart__topic {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.chart__topic span {
  padding: 4px 8px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
}
.chart__topic .chart__k {
  padding: 0 4px 0 0;
  background: none;
  color: var(--text-muted);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 12.5px;
}
.chart__key::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  vertical-align: -1px;
}
.chart__key--all::before {
  background: rgba(16, 19, 33, 0.14);
}
.chart__key--you::before {
  background: var(--accent);
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 220px;
}
.bars__day {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.bars__all {
  background: rgba(16, 19, 33, 0.14);
}
.bars__you {
  background: var(--accent);
}
.chart__axis {
  display: flex;
  justify-content: space-between;
  margin-top: -14px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}
.chart__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.signals {
  display: flex;
  flex-direction: column;
  list-style: none;
  border: 1px solid var(--line-card);
}
.signals li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.signals li:last-child {
  border-bottom: 0;
}
.signals strong {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
}

/* Closing band, full width between the page frame and the footer. */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.cta-band__bg,
.cta-band__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin-inline: auto;
  padding: 88px var(--gutter);
}
.cta-band__title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cta-band__ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.cta-band__ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1023px) {
  .tapp__filters {
    display: none;
  }
  .duo,
  .duo--intent {
    grid-template-columns: minmax(0, 1fr);
  }
  .funnel__step,
  .signals li {
    padding-block: 20px;
  }
  .net__cols,
  .net__svg {
    display: none;
  }
  .net__list {
    display: block;
  }
}

@media (max-width: 767px) {
  .widget__controls .widget__mode:nth-child(4) {
    display: none;
  }
  .section-label {
    padding-top: 40px;
  }
  .show {
    gap: 32px;
    padding-block: 72px;
  }
  .show__title {
    font-size: 32px;
    line-height: 38px;
  }
  .show__body {
    font-size: 16px;
    line-height: 25px;
  }
  .panel--violet,
  .panel--dusk {
    padding: 24px 12px;
  }
  .t__opt {
    display: none;
  }
  .t th,
  .t td {
    padding-inline: 12px;
  }
  .t__dom {
    display: none;
  }
  .net {
    padding: 24px 20px;
  }
  .chart {
    padding: 20px;
  }
  .bars {
    gap: 2px;
    height: 160px;
  }
  .cta-band__inner {
    padding-block: 56px;
  }
  .cta-band__title {
    font-size: 34px;
  }
}
.net__meta,
.chart__meta {
  flex-wrap: wrap;
}
.net__meta > *,
.tapp__meta,
.chart__meta > * {
  white-space: nowrap;
}
