/* Tervel for companies: dataset marketplace, data broker and the partner strip on the home page.
   Builds on styles.css (tokens, nav, buttons, accordion, footer). */

/* ---------- Nav additions ---------- */
.nav__cta--text { width: auto; padding: 0 18px; border-radius: var(--r-pill); font-family: var(--display); font-weight: 700; font-size: 14px; gap: 6px; white-space: nowrap; }
.nav.is-page .nav__cta--text { transform: none; }
.nav.is-page .nav__cta--text:hover { transform: translateY(-1px); }
.nav__link--biz { display: inline-flex; align-items: center; gap: 6px; }
.menu a:nth-child(5) { transition-delay: .2s } .menu a:nth-child(6) { transition-delay: .25s } .menu a:nth-child(7) { transition-delay: .3s }

/* ---------- Shared bits ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px 0 6px; width: max-content; max-width: 100%;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); font-size: 13px; font-weight: 700; color: var(--white); }
.kicker .orb { width: 22px; height: 22px; }
.kicker--ink { background: var(--white); border-color: var(--border-2); color: var(--ink); box-shadow: var(--surface-shadow); }
.grad-text { background: linear-gradient(90deg, var(--lime), var(--mint), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.biz-section { padding: 112px 0; }
.biz-section--tight { padding: 72px 0; }
.biz-section .section-head { margin-bottom: 44px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: var(--note); color: var(--body-2); font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill--lime { background: var(--lime); color: var(--forest-deep); }
.pill--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(14, 138, 80, .18); animation: livepulse 2s ease-in-out infinite; }
@keyframes livepulse { 50% { box-shadow: 0 0 0 6px rgba(14, 138, 80, 0); } }

/* ---------- Page hero (the app's forest header) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--header-grad); color: var(--white);
  border-radius: 0 0 var(--r-panel) var(--r-panel); padding: 148px 0 92px; }
/* Same backdrop as the home hero: the line pattern, the two soft lights and the shade (.hero__bg in styles.css) */
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.page-hero__text { display: grid; gap: 22px; align-content: start; }
.page-hero h1 { font-size: 66px; line-height: 70px; letter-spacing: -1.8px; color: var(--white); }
.page-hero__lead { color: rgba(255, 255, 255, .82); font-size: 18px; line-height: 28px; max-width: 540px; }
.page-hero .btn-row { margin-top: 4px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 10px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-stats div { display: grid; gap: 2px; min-width: 88px; }
.hero-stats b { font-family: var(--display); font-size: 34px; line-height: 38px; font-weight: 700; letter-spacing: -0.8px; color: var(--lime); font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .64); }

/* Marketplace hero visual: live records floating over the orbs */
.rv { position: relative; height: 470px; }
.rv__orb { position: absolute; border-radius: 50%; box-shadow: 0 24px 50px rgba(4, 24, 15, .45); animation: floatB 10s ease-in-out infinite; }
.rv__orb img { width: 100%; height: 100%; border-radius: 50%; }
.rv__orb--1 { width: 150px; height: 150px; right: 2%; top: 0; }
.rv__orb--2 { width: 92px; height: 92px; left: 2%; top: 30%; animation-delay: -3s; }
.rv__orb--3 { width: 70px; height: 70px; right: 14%; bottom: 2%; animation-delay: -6s; }
.rv__card { position: absolute; border-radius: 22px; padding: 16px 18px; color: var(--ink); background: rgba(255, 255, 255, .94); border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 30px 60px rgba(4, 24, 15, .45); backdrop-filter: blur(18px); display: grid; gap: 10px; }
.rv__card--a { left: 6%; top: 4%; width: 330px; transform: rotate(-3deg); animation: floatA2 9s ease-in-out infinite; }
.rv__card--b { right: 0; bottom: 0; width: 250px; transform: rotate(4deg); animation: floatB 11s ease-in-out -2s infinite; }
@keyframes floatA2 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.rv__head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.rv__head .pill { margin-left: auto; height: 22px; font-size: 11px; }
.rv__wave { display: flex; align-items: center; gap: 3px; height: 34px; }
.rv__wave i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, var(--teal), var(--leaf)); animation: wave 1.4s ease-in-out infinite; }
@keyframes wave { 50% { transform: scaleY(.45); } }
.rv__code { margin: 0; padding: 10px 12px; border-radius: 12px; background: #0f2a1f; color: #d9f5c4; font: 12px/18px ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow: hidden; }
.rv__code .k { color: #9fe0c9; } .rv__code .s { color: var(--lime); }
.rv__photo { height: 112px; border-radius: 14px; background: url(/assets/art/p-azure-blur.jpg) center / cover; position: relative; overflow: hidden; }
.rv__photo::after { content: "receipt"; position: absolute; left: 22%; top: 18%; width: 52%; height: 64%; border: 2px solid var(--lime); border-radius: 8px;
  font: 700 10px/1 var(--body-font); color: var(--forest-deep); padding: 3px 5px; box-sizing: border-box; background: linear-gradient(var(--lime), var(--lime)) top left / 44px 16px no-repeat; }
.rv__meta { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- Catalogue ---------- */
.market-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--border); background: var(--white); font-weight: 700; font-size: 14px; color: var(--body-2);
  display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--forest); color: var(--ink); }
.chip.is-on { background: var(--forest); border-color: var(--forest); color: var(--lime); }
.chip .orb { width: 18px; height: 18px; }
.chip small { font-size: 12px; opacity: .7; }
.search { position: relative; width: min(320px, 100%); }
.search input { width: 100%; height: 44px; padding: 0 14px 0 40px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--white); font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.search input:focus { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(201, 241, 88, .35); }
.search svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); }
.ds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.ds-card { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 14px; padding: 22px;
  border-radius: 24px; background: var(--white); border: 1px solid var(--border-2); box-shadow: var(--surface-shadow);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s; }
.ds-card::before { content: ""; position: absolute; right: -60px; top: -60px; z-index: -1; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow, rgba(201, 241, 88, .45)), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.ds-card:hover { transform: translateY(-3px); box-shadow: var(--surface-shadow), 0 22px 50px rgba(23, 21, 15, .1); border-color: var(--border); }
.ds-card[data-modality="Voice"] { --glow: rgba(233, 106, 76, .28); } .ds-card[data-modality="Photo"] { --glow: rgba(94, 224, 184, .38); }
.ds-card[data-modality="Text"] { --glow: rgba(177, 76, 240, .2); } .ds-card[data-modality="Video"] { --glow: rgba(124, 156, 255, .32); }
.ds-card[data-modality="Conversations"] { --glow: rgba(201, 241, 88, .5); } .ds-card[data-modality="Annotations"] { --glow: rgba(255, 196, 107, .45); }
.ds-card__top { display: flex; align-items: center; gap: 10px; }
.ds-card__top .orb { width: 36px; height: 36px; }
.ds-card__mod { font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.ds-card__top .pill { margin-left: auto; }
.ds-card h3 { font-size: 23px; line-height: 28px; letter-spacing: -0.5px; }
.ds-card > p { color: var(--body); font-size: 15px; line-height: 22px; }
.ds-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 12px 0 0; border-top: 1px solid var(--hairline); }
.ds-stats div { display: grid; gap: 1px; }
.ds-stats div + div { padding-left: 12px; border-left: 1px solid var(--hairline); }
.ds-stats dt { font-size: 10.5px; line-height: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-2); order: 2; }
.ds-stats dd { margin: 0; font-family: var(--display); font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.4px; font-variant-numeric: tabular-nums; }
.ds-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ds-card__foot { display: flex; gap: 8px; flex-wrap: wrap; }
.ds-card__foot .btn { flex: 1 1 auto; }
.ds-card--custom { background: var(--header-grad); color: var(--white); border: 0; box-shadow: 0 24px 50px rgba(10, 61, 44, .3); align-content: start; grid-template-rows: none; }
.ds-card--custom h3 { color: var(--white); } .ds-card--custom > p { color: rgba(255, 255, 255, .8); }
.ds-card--custom .ds-card__mod { color: rgba(255, 255, 255, .66); }
.ds-card--custom::before { --glow: rgba(201, 241, 88, .35); }
.ds-empty { grid-column: 1 / -1; padding: 48px 20px; text-align: center; color: var(--muted); border: 1.5px dashed var(--border); border-radius: 24px; }
.ds-skeleton { height: 330px; border-radius: 24px; background: linear-gradient(100deg, var(--note) 30%, #f5f1e6 50%, var(--note) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.market-note { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }

/* Dataset detail */
.ds-dialog { width: min(780px, calc(100% - 24px)); max-height: min(90vh, 920px); padding: 0; border: 0; border-radius: 28px; background: var(--cream); color: var(--ink);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .35); overflow: hidden; }
.ds-dialog[open] { display: flex; flex-direction: column; animation: dlgIn .35s var(--ease-out); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.ds-dialog::backdrop { background: rgba(8, 30, 21, .55); backdrop-filter: blur(6px); }
.ds-dialog__head { position: relative; padding: 28px 28px 24px; background: var(--header-grad); color: var(--white); display: grid; gap: 10px; }
.ds-dialog__head h2 { color: var(--white); font-size: 34px; line-height: 40px; letter-spacing: -0.8px; padding-right: 40px; }
.ds-dialog__head p { color: rgba(255, 255, 255, .82); }
.ds-dialog__close { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: var(--white); font-size: 22px; line-height: 1; }
.ds-dialog__close:hover { background: rgba(255, 255, 255, .24); }
.ds-dialog__body { overflow-y: auto; padding: 24px 28px 8px; display: grid; gap: 22px; }
.ds-dialog__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ds-dialog__stats div { padding: 12px 14px; border-radius: 16px; background: var(--white); border: 1px solid var(--border-2); display: grid; gap: 2px; }
.ds-dialog__stats b { font-family: var(--display); font-size: 24px; line-height: 30px; letter-spacing: -0.4px; }
.ds-dialog__stats span { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-2); }
.ds-facts { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px 16px; margin: 0; font-size: 15px; }
.ds-facts dt { color: var(--muted); font-weight: 600; } .ds-facts dd { margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.ds-sample h3 { font-size: 16px; line-height: 22px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.ds-sample pre { margin: 0; padding: 16px 18px; border-radius: 16px; background: #0f2a1f; color: #d9f5c4; font: 12.5px/20px ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; }
.ds-sample small { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.ds-dialog__foot { padding: 16px 28px 22px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; border-top: 1px solid var(--border-2); background: var(--white); }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--body-2); }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- Steps + trust cards ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pstep { position: relative; overflow: hidden; isolation: isolate; padding: 26px 24px; border-radius: 24px; background: var(--white); border: 1px solid var(--border-2); box-shadow: var(--surface-shadow); display: grid; gap: 10px; align-content: start; }
.pstep::before { content: ""; position: absolute; right: -50px; top: -50px; z-index: -1; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, var(--glow, rgba(201, 241, 88, .45)), rgba(255, 255, 255, 0) 70%); }
.pstep:nth-child(2) { --glow: rgba(94, 224, 184, .4); } .pstep:nth-child(3) { --glow: rgba(124, 156, 255, .32); } .pstep:nth-child(4) { --glow: rgba(233, 106, 76, .28); }
.pstep__n { width: 42px; height: 42px; border-radius: 13px; background: var(--note); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--forest); }
.pstep h3 { font-size: 22px; line-height: 28px; letter-spacing: -0.4px; }
.pstep p { color: var(--body); font-size: 15px; line-height: 22px; }
.pstep ul { display: grid; gap: 6px; margin-top: 4px; }
.pstep li { display: flex; gap: 8px; font-size: 14px; line-height: 20px; color: var(--body-2); }
.pstep li svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--green); margin-top: 1px; }
.pstep--dark { background: var(--header-grad); color: var(--white); border: 0; box-shadow: 0 24px 50px rgba(10, 61, 44, .28); }
.pstep--dark h3 { color: var(--white); } .pstep--dark p, .pstep--dark li { color: rgba(255, 255, 255, .82); } .pstep--dark li svg { color: var(--lime); }
.pstep--dark .pstep__n { background: var(--lime); color: var(--forest-deep); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-card { padding: 22px; border-radius: 22px; background: var(--white); border: 1px solid var(--border-2); display: grid; gap: 8px; align-content: start; }
.trust-card svg { width: 26px; height: 26px; color: var(--green); }
.trust-card h3 { font-size: 18px; line-height: 24px; letter-spacing: -0.3px; }
.trust-card p { color: var(--body); font-size: 14px; line-height: 21px; }

/* ---------- Contact ---------- */
.contact { padding: 40px 0 120px; scroll-margin-top: 80px; }
.contact__box { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border-radius: var(--r-panel); overflow: hidden; background: var(--white); border: 1px solid var(--border-2); box-shadow: 0 24px 60px rgba(23, 21, 15, .08); }
.contact__side { position: relative; overflow: hidden; isolation: isolate; background: var(--header-grad); color: var(--white); padding: 44px; display: grid; gap: 18px; align-content: start; }
.contact__side::after { content: ""; position: absolute; right: -80px; bottom: -80px; z-index: -1; width: 300px; height: 300px; border-radius: 50%; background: url(assets/orbs/orb-brand.png) center / cover; opacity: .55; filter: blur(1px); }
.contact__side h2 { color: var(--white); font-size: 40px; line-height: 46px; letter-spacing: -1px; }
.contact__side p { color: rgba(255, 255, 255, .8); }
.contact__side ul { display: grid; gap: 10px; margin-top: 6px; }
.contact__side li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .88); font-size: 15px; line-height: 22px; }
.contact__side li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--lime); margin-top: 2px; }
.contact__form { padding: 40px 44px; }
.form { display: grid; gap: 14px; }
[hidden] { display: none !important; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; line-height: 18px; font-weight: 700; color: var(--body-2); }
.field label small { font-weight: 500; color: var(--muted); }
.input, .select, .textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--white); font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.select { padding-right: 36px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237a7462' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center no-repeat; }
.textarea { height: auto; min-height: 118px; padding: 12px 14px; resize: vertical; line-height: 22px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(201, 241, 88, .35); }
.form__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.form__note { font-size: 12.5px; line-height: 18px; color: var(--muted); max-width: 340px; }
.form__error { color: var(--coral); font-size: 14px; font-weight: 600; min-height: 0; }
.form__error:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: grid; gap: 12px; justify-items: start; padding: 20px 0; }
.form-done .orb { width: 56px; height: 56px; }
.form-done h3 { font-size: 28px; line-height: 34px; letter-spacing: -0.6px; }
.form-done p { color: var(--body); }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Partner logos ---------- */
.logo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; }
.plogo { height: 104px; border-radius: 22px; background: var(--white); border: 1px solid var(--border-2); box-shadow: var(--surface-shadow); display: grid; place-items: center; padding: 0 22px; transition: transform .3s var(--ease-out), box-shadow .3s; }
.plogo:hover { transform: translateY(-2px); box-shadow: var(--surface-shadow), 0 16px 40px rgba(23, 21, 15, .08); }
.plogo img { max-height: 34px; max-width: min(170px, 100%); width: auto; height: auto; }
.plogo__word { font-family: var(--display); font-weight: 800; font-size: 27px; line-height: 1; letter-spacing: -0.8px; color: var(--ink); white-space: nowrap; }
.plogo:has(img) .plogo__word { display: none; }
.plogo--sm { height: 58px; border-radius: 16px; padding: 0 14px; box-shadow: none; }
.plogo--sm img { max-height: 24px; }
.plogo--sm .plogo__word { font-size: 18px; }
/* Real partner logos: each image carries its own optical height; never stretch, never overflow the tile */
.plogo img { object-fit: contain; max-width: 100%; }
.logo-row--wall { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.logo-row--wall .plogo { height: 92px; padding: 0 18px; border-radius: 20px; }
.logo-row--wall .plogo img { max-height: 36px; }
.partners__inner .logo-row--wall { max-width: 1120px; }
.logo-note { font-size: 14px; line-height: 21px; color: var(--muted); max-width: 640px; }
.pipe__more { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--forest); padding: 2px 4px; border-radius: 8px; }
.pipe__more:hover { background: var(--note); }
@media (max-width: 1199.98px) { .logo-row--wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 809.98px) { .logo-row--wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .logo-row--wall .plogo { height: 68px; padding: 0 10px; border-radius: 16px; } .logo-row--wall .plogo img { max-height: 24px; } }

/* Home: who we collect for */
.partners { padding: 24px 0 110px; }
.partners__inner { display: grid; gap: 28px; justify-items: center; text-align: center; }
.partners__inner h2 { max-width: 720px; }
.partners__inner .logo-row { max-width: 900px; }
.biz-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 900px; margin-top: 8px; }
.biz-link { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 22px; text-align: left;
  background: var(--header-grad); color: var(--white); box-shadow: 0 18px 44px rgba(10, 61, 44, .22); transition: transform .3s var(--ease-out); }
.biz-link:hover { transform: translateY(-2px); }
.biz-link .orb { width: 46px; height: 46px; }
.biz-link b { display: block; font-family: var(--display); font-size: 20px; line-height: 26px; letter-spacing: -0.3px; }
.biz-link > span:not(.orb) > span { display: block; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .78); }
.biz-link b { color: var(--white); }
.biz-link i { margin-left: auto; font-style: normal; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--forest-deep); font-weight: 800; }

/* ---------- Data broker ---------- */
.pipe { position: relative; display: grid; gap: 12px; }
.pipe::before { content: ""; position: absolute; left: 33px; top: 34px; bottom: 34px; width: 2px; background: linear-gradient(180deg, rgba(255, 255, 255, .15), var(--lime), rgba(255, 255, 255, .15)); }
.pipe__row { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.pipe__row .orb { width: 36px; height: 36px; box-shadow: 0 0 0 5px rgba(18, 43, 31, .9); }
.pipe__row b { display: block; font-family: var(--display); font-size: 17px; line-height: 22px; }
.pipe__row small { display: block; font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .72); }
.pipe__row--last { background: rgba(255, 255, 255, .96); color: var(--ink); border-color: var(--white); box-shadow: 0 24px 50px rgba(4, 24, 15, .4); flex-wrap: wrap; }
.pipe__row--last small { color: var(--muted); }
.pipe__logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.type-card { padding: 22px; border-radius: 22px; background: var(--white); border: 1px solid var(--border-2); display: grid; gap: 8px; align-content: start; box-shadow: var(--surface-shadow); }
.type-card .orb { width: 34px; height: 34px; }
.type-card h3 { font-size: 19px; line-height: 24px; letter-spacing: -0.3px; }
.type-card p { font-size: 14px; line-height: 21px; color: var(--body); }
.type-card p b { color: var(--ink); }
.pack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 48px; border-radius: var(--r-panel); background: var(--header-grad); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.pack::before { content: ""; position: absolute; inset: -20% -10%; z-index: -1; background: radial-gradient(40% 50% at 80% 10%, rgba(201, 241, 88, .22), transparent 70%), radial-gradient(35% 45% at 10% 100%, rgba(124, 156, 255, .2), transparent 70%); }
.pack h2 { color: var(--white); }
.pack > div > p { color: rgba(255, 255, 255, .8); margin-top: 14px; }
.pack ul { display: grid; gap: 12px; margin-top: 22px; }
.pack li { display: flex; gap: 10px; color: rgba(255, 255, 255, .9); }
.pack li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--lime); }
.report { border-radius: 22px; background: var(--white); color: var(--ink); padding: 22px; display: grid; gap: 12px; box-shadow: 0 30px 60px rgba(4, 24, 15, .45); transform: rotate(2deg); }
.report__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.report__head b { font-family: var(--display); font-size: 18px; }
.report__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hairline); font-size: 14px; }
.report__row span:first-child { color: var(--body-2); }
.report small { color: var(--muted); font-size: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .page-hero h1 { font-size: 52px; line-height: 58px; letter-spacing: -1.4px; }
  .page-hero__grid { gap: 32px; }
  .rv { height: 440px; } .rv__card--a { left: 0; width: 300px; } .rv__card--b { width: 230px; }
  .steps4, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__side, .contact__form { padding: 36px; }
  .pack { padding: 40px; }
}
@media (max-width: 1023.98px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .rv { height: 400px; max-width: 520px; width: 100%; justify-self: center; }
  .pipe { max-width: 520px; }
  .contact__box { grid-template-columns: minmax(0, 1fr); }
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack { grid-template-columns: minmax(0, 1fr); }
  .report { transform: none; }
}
@media (max-width: 809.98px) {
  .nav__cta--text { display: none; }
  .page-hero { padding: 116px 0 56px; }
  .page-hero h1 { font-size: 40px; line-height: 44px; letter-spacing: -1.1px; }
  .page-hero__lead { font-size: 16px; line-height: 24px; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; } .hero-stats b { font-size: 28px; line-height: 32px; }
  .rv { height: 360px; } .rv__card--a { width: min(300px, 86%); left: 0; top: 10%; } .rv__card--b { width: 210px; }
  .rv__orb--1 { width: 100px; height: 100px; } .rv__orb--2 { display: none; }
  .biz-section { padding: 80px 0; } .biz-section--tight { padding: 56px 0; }
  .steps3, .steps4, .trust-grid, .types { grid-template-columns: minmax(0, 1fr); }
  .search { width: 100%; }
  .market-bar .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; width: calc(100% + var(--gutter) * 2); }
  .market-bar .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .ds-dialog__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-facts { grid-template-columns: minmax(0, 1fr); gap: 4px; } .ds-facts dd { margin-bottom: 8px; }
  .ds-dialog__head, .ds-dialog__body, .ds-dialog__foot { padding-left: 18px; padding-right: 18px; }
  .ds-dialog__head h2 { font-size: 28px; line-height: 34px; }
  .contact { padding: 24px 0 96px; }
  .contact__side, .contact__form { padding: 28px 20px; }
  .contact__side h2 { font-size: 32px; line-height: 38px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form__row .btn { width: 100%; }
  .logo-row { gap: 10px; } .plogo { height: 76px; padding: 0 12px; border-radius: 18px; } .plogo img { max-height: 24px; } .plogo__word { font-size: 19px; }
  .biz-links { grid-template-columns: minmax(0, 1fr); }
  .partners { padding: 8px 0 80px; }
  .pack { padding: 28px 20px; }
}
/* ---------- Live app collections (pages.js, /api/public/sourcing/stream) ---------- */
.hero-live { display: inline-flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; margin-top: 4px; padding: 8px 16px 8px 12px; border-radius: var(--r-pill);
  background: rgba(201, 241, 88, .12); border: 1px solid rgba(201, 241, 88, .3); color: rgba(255, 255, 255, .86); font-size: 14px; font-weight: 600; transition: background .25s, border-color .25s; }
.hero-live:hover { background: rgba(201, 241, 88, .2); border-color: rgba(201, 241, 88, .55); }
.hero-live b { color: var(--lime); font-variant-numeric: tabular-nums; }
.hero-live i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: srcping 1.8s ease-out infinite; }
@keyframes srcping { 0% { box-shadow: 0 0 0 0 rgba(201, 241, 88, .6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(201, 241, 88, 0); } }
@keyframes srcflow { to { background-position: 18px 0; } }
.is-bump { animation: srcbump 1.1s var(--ease-out); }
@keyframes srcbump { 0% { color: var(--green); text-shadow: 0 0 14px rgba(143, 203, 59, .9); } 100% { text-shadow: 0 0 0 rgba(143, 203, 59, 0); } }

/* Marketplace tabs: Datasets | Collecting now */
.anchor { position: relative; top: -96px; display: block; height: 0; visibility: hidden; }
.mk-tabs { display: inline-flex; gap: 4px; max-width: 100%; margin-bottom: 22px; padding: 5px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--border-2); box-shadow: var(--surface-shadow); }
.mk-tab { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--r-pill); font-size: 15px; font-weight: 700; color: var(--body-2); white-space: nowrap; transition: background .25s, color .25s; }
.mk-tab:hover { color: var(--ink); }
.mk-tab.is-on { background: var(--forest); color: var(--lime); }
.mk-tab small { font-size: 12px; font-weight: 700; opacity: .7; font-variant-numeric: tabular-nums; }
.mk-tab__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(14, 138, 80, .18); animation: livepulse 2s ease-in-out infinite; }
.mk-tab.is-on .mk-tab__dot { background: var(--lime); box-shadow: 0 0 0 3px rgba(201, 241, 88, .25); }
.mk-panel[hidden] { display: none !important; }

/* live line above the Collecting now grid */
.src-live-bar { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.src-live { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: #e9f5d3; color: var(--forest);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: background .3s, color .3s; }
.src-live i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(14, 138, 80, .18); animation: livepulse 2s ease-in-out infinite; }
.src-live.is-off { background: var(--note); color: var(--muted); }
.src-live.is-off i { background: #f5b547; box-shadow: none; animation: none; }
.src-sum { font-size: 14px; line-height: 20px; color: var(--body-2); }
.src-sum b { color: var(--ink); font-variant-numeric: tabular-nums; }
.src-pulse { margin-left: auto; font-size: 14px; line-height: 20px; color: var(--muted); }
.src-pulse b { color: var(--green); }

/* Collecting now cards: the dataset card, plus a live state, the dataset it feeds and a target bar */
.src-card { grid-template-rows: auto auto 1fr auto auto auto auto auto; }
.src-card.is-now { border-color: rgba(143, 203, 59, .75); box-shadow: var(--surface-shadow), 0 0 0 3px rgba(201, 241, 88, .35); }
.pill--now { background: var(--lime); color: var(--forest-deep); }
.pill--now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--forest); animation: livepulse 1.2s ease-in-out infinite; }
.src-feeds { font-size: 13px; line-height: 18px; color: var(--muted); }
.src-feeds button { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--forest); text-align: left; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.src-target { display: grid; gap: 6px; }
.src-target__bar { height: 6px; overflow: hidden; border-radius: 99px; background: var(--note); }
.src-target__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), #8fcb3b); transition: width .9s var(--ease-out); }
.src-target--open .src-target__bar i { width: 100%; opacity: .5; background: repeating-linear-gradient(90deg, #8fcb3b 0 10px, transparent 10px 18px); animation: srcflow 1.4s linear infinite; }
.src-target small { font-size: 12px; line-height: 16px; color: var(--muted); }
.src-target small b { color: var(--ink); font-variant-numeric: tabular-nums; }
.src-card .ds-card__foot .btn:disabled { opacity: .45; cursor: default; }
.src-more-row { display: flex; justify-content: center; margin-top: 22px; }

/* Dataset cards: "Actively sourcing" line, a shortcut into the Collecting now tab */
.ds-card { grid-template-rows: auto auto 1fr auto auto auto auto; }
.ds-live { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--forest); }
.ds-live::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(14, 138, 80, .18); animation: livepulse 2s ease-in-out infinite; }
.ds-live button { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ds-live button:hover { text-decoration: underline; text-underline-offset: 2px; }
.ds-live small { font-size: 13px; font-weight: 600; color: var(--muted); }
.ds-live.is-now { color: var(--green); }

@media (max-width: 809.98px) {
  .mk-tabs { display: flex; width: 100%; }
  .mk-tab { flex: 1; justify-content: center; padding: 0 12px; font-size: 14px; }
  .src-pulse { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .rv__orb, .rv__card, .rv__wave i, .pill--live::before, .pill--now::before, .ds-skeleton, .hero-live i, .src-live i, .mk-tab__dot, .src-target__bar i, .ds-live::before, .is-bump { animation: none !important; } }

/* ---------- Data cleaning: worked examples ---------- */
:root { --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.types--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.steps5 .pstep { padding: 24px 20px; }
.steps5 .pstep h3 { font-size: 20px; line-height: 26px; }
.steps5 .pstep:nth-child(5) { --glow: rgba(201, 241, 88, .3); }

.ex-list { display: grid; gap: 20px; }
.ex { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding: 44px; border-radius: var(--r-panel); background: var(--white); border: 1px solid var(--border-2); box-shadow: var(--surface-shadow); }
.ex--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.ex--flip .ex__text { order: 2; }
.ex__text { display: grid; gap: 14px; align-content: start; }
.ex__text h3 { font-size: 32px; line-height: 38px; letter-spacing: -0.8px; }
.ex__text p { color: var(--body); font-size: 16px; line-height: 25px; }
.ex__text ul { display: grid; gap: 8px; margin-top: 2px; }
.ex__text li { display: flex; gap: 8px; font-size: 15px; line-height: 22px; color: var(--body-2); }
.ex__text li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--green); margin-top: 2px; }
.ex-note { margin-top: 18px; font-size: 13px; line-height: 19px; color: var(--muted); text-align: center; }

/* Original beside stand-in: two cards whose rows share one grid, so each pair lines up */
.swap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 22px; margin: 0; }
.swap__card { display: grid; grid-row: span var(--rows, 7); grid-template-rows: subgrid; border-radius: 16px; background: var(--bg); border: 1px solid var(--border); }
.swap__card--new { background: var(--white); border-color: var(--forest); box-shadow: 0 16px 34px rgba(10, 61, 44, .16); }
.swap__head { padding: 10px 14px; border-radius: 15px 15px 0 0; font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.swap__card--new .swap__head { background: var(--forest); color: var(--lime); }
.swap__row { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 14px; border-top: 1px solid var(--border-2); }
.swap__card--new .swap__row { border-top-color: var(--hairline); }
.swap__row > svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted-2); }
.swap__card--new .swap__row > svg { color: var(--green); }
.swap__row > span { display: grid; gap: 1px; min-width: 0; }
.swap__row small { font-size: 10.5px; line-height: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.swap__row code { font-family: var(--mono); font-size: 12.5px; line-height: 18px; color: var(--ink); overflow-wrap: anywhere; }
.swap__card--new .swap__row::before { content: ""; position: absolute; left: -23px; top: 50%; width: 22px; border-top: 1.5px dotted var(--forest); opacity: .55; }
.swap__card--new .swap__row::after { content: ""; position: absolute; left: -4px; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--forest); }
.swap--one .swap__card--new .swap__row::before, .swap--one .swap__card--new .swap__row::after { display: none; }
.swap__badge { position: absolute; left: 50%; top: 50%; z-index: 1; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 13px; display: grid; place-items: center; background: var(--lime); color: var(--forest-deep); box-shadow: 0 0 0 4px var(--white), 0 8px 18px rgba(10, 61, 44, .22); }
.swap__badge svg { width: 20px; height: 20px; }
.swap mark, .ba mark, .cmp mark { padding: 1px 3px; margin: 0 -1px; border-radius: 4px; background: rgba(201, 241, 88, .55); color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.swap .same { font-weight: 800; color: var(--forest); box-shadow: inset 0 -2px 0 var(--lime); }

/* Smaller examples: one line before, the same line after */
.minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.mini { padding: 30px; border-radius: 24px; background: var(--white); border: 1px solid var(--border-2); box-shadow: var(--surface-shadow); display: grid; gap: 10px; align-content: start; }
.mini .orb { width: 34px; height: 34px; }
.mini h3 { font-size: 22px; line-height: 28px; letter-spacing: -0.4px; }
.mini p { font-size: 15px; line-height: 22px; color: var(--body); }
.ba { display: grid; gap: 8px; margin-top: 8px; }
.ba__row { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border-2); }
.ba__row--new { background: var(--white); border-color: var(--forest); }
.ba__tag, .cmp__line small { font-size: 10.5px; line-height: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.ba__row--new .ba__tag { color: var(--green); }
.ba code, .cmp code { font-family: var(--mono); font-size: 12.5px; line-height: 20px; color: var(--ink); overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 8px; background: var(--note); font-family: var(--mono); font-size: 11px; color: var(--body-2); white-space: nowrap; }
.tag b { color: var(--forest); font-weight: 700; }
.tag--yours { background: #e9f5d3; }

/* The same lines three ways */
.cmp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cmp__col { display: grid; grid-template-rows: auto 1fr auto; gap: 16px; padding: 26px; border-radius: 24px; background: var(--white); border: 1px solid var(--border-2); box-shadow: var(--surface-shadow); }
.cmp__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cmp__head b { font-family: var(--display); font-size: 21px; line-height: 26px; letter-spacing: -0.3px; }
.cmp__lines { display: grid; gap: 10px; align-content: start; }
.cmp__line { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border-2); }
.cmp .hot { padding: 1px 3px; margin: 0 -1px; border-radius: 4px; background: rgba(233, 106, 76, .16); }
.cmp .bar { display: inline-block; width: var(--w, 6ch); height: 13px; border-radius: 3px; background: var(--ink); vertical-align: -2px; }
.cmp__verdict { display: flex; gap: 8px; font-size: 14px; line-height: 20px; color: var(--body-2); }
.cmp__verdict svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--muted-2); }
.cmp__col--win { background: var(--header-grad); color: var(--white); border: 0; box-shadow: 0 24px 50px rgba(10, 61, 44, .28); }
.cmp__col--win .cmp__head b { color: var(--white); }
.cmp__col--win .cmp__line { background: rgba(255, 255, 255, .96); border-color: var(--white); }
.cmp__col--win .cmp__verdict { color: rgba(255, 255, 255, .9); }
.cmp__col--win .cmp__verdict svg { color: var(--lime); }

@media (max-width: 1199.98px) {
  .types--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ex { gap: 36px; padding: 36px; }
  .ex__text h3 { font-size: 28px; line-height: 34px; }
}
@media (max-width: 1023.98px) {
  .ex, .ex--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ex--flip .ex__text { order: 0; }
  .cmp { grid-template-columns: minmax(0, 1fr); }
  .steps5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 809.98px) {
  .types--4, .steps5, .minis { grid-template-columns: minmax(0, 1fr); }
  .ex { padding: 24px 18px; border-radius: 24px; }
  .ex__text h3 { font-size: 26px; line-height: 32px; }
  .mini { padding: 24px 20px; }
  .cmp__col { padding: 22px 18px; }
}
@media (max-width: 599.98px) {
  /* Too narrow for two cards side by side: stand-in under original */
  .swap { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .swap__card { grid-row: auto; grid-template-rows: none; }
  .swap__card--new .swap__row::before, .swap__card--new .swap__row::after { display: none; }
  .swap__badge { display: none; }
  .swap__card--new { position: relative; }
  .swap__card--new::before { content: "becomes"; position: absolute; left: 50%; top: -21px; transform: translateX(-50%); font-size: 10.5px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
}
