/* ==========================================================================
   mate. — landing
   Section order follows the reference site; every surface is the navy
   design system from base.css.
   ========================================================================== */

html.landing { background-image: var(--bg-landing); background-attachment: fixed; background-size: cover; }

body.landing { overflow-x: hidden; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.wrap--wide { max-width: 1400px; }

section { position: relative; }

/* ——— shared section furniture ——————————————————————————— */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: rgba(var(--tint),0.10);
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute-74);
  white-space: nowrap;
}
.eyebrow__dia { color: var(--pos); }

.h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.06;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
/* The italic accent is set in a display serif — the sans/serif pair is what
   makes the line read as considered rather than generic. */
.h2 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.lede {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--mute-70);
  max-width: 62ch;
  text-wrap: pretty;
}

.sechead { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.sechead--center { align-items: center; text-align: center; }
.sechead--center .lede { text-align: center; }

/* ——— buttons ————————————————————————————————————————————— */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.cta--primary { background: var(--cream); color: var(--ink-on-cream); }
.cta--primary:hover { background: #fff; color: var(--ink-on-cream); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(2,6,14,.5); }
.cta--ghost { background: rgba(var(--tint),0.10); border: 1px solid var(--rule); color: var(--ink-3); }
.cta--ghost:hover { background: rgba(var(--tint),0.18); color: #fff; }
.cta:active { transform: scale(.97); }

/* ==========================================================================
   Navigation
   ========================================================================== */

.topbar { position: sticky; top: 0; z-index: 60; padding: 16px 0; }
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 9px 9px 22px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--edge-strong);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  transition: background .3s ease, box-shadow .3s ease;
}
.topbar.is-stuck .topbar__inner { background: rgba(11,18,30,0.92); box-shadow: 0 16px 40px rgba(2,6,14,.5); }
.topbar__nav { display: flex; gap: 2px; margin-left: 24px; }
.topbar__link {
  padding: 10px 15px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  color: var(--mute-74);
  transition: background .2s ease, color .2s ease;
}
.topbar__link:hover { background: rgba(var(--tint),0.10); color: var(--ink-3); }
.topbar__spacer { flex: 1 1 auto; }
.topbar__signin { padding: 10px 14px; font-size: 14.5px; color: var(--mute-74); }
.topbar__signin:hover { color: var(--ink-3); }
.topbar__cta { padding: 11px 20px; font-size: 14.5px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(30px, 4vw, 46px); text-align: center; }
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero__title {
  font-size: clamp(46px, 8.2vw, 108px);
  line-height: 0.96;
  font-weight: 200;
  letter-spacing: -0.045em;
  color: var(--ink);
  max-width: 15ch;
  text-wrap: balance;
  font-feature-settings: 'ss01' 1;
}
.hero__title em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.hero__lede { font-weight: 300; letter-spacing: -0.005em; }
.h2 { font-weight: 200; }
.hero__lede { font-size: clamp(16px, 1.8vw, 20px); line-height: 1.55; color: var(--mute-74); max-width: 60ch; }
.hero__lede b { font-weight: 500; color: var(--ink-3); }

.scan {
  width: 100%;
  max-width: 560px;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: var(--r-pill);
  background: var(--dark-deep);
  border: 1px solid var(--dark-line);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.scan:focus-within { border-color: rgba(var(--tint),0.38); box-shadow: 0 0 0 4px rgba(204, 255, 0,0.07); }
.scan__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 8px 0 16px;
  font-size: 15px;
  color: var(--ink-3);
}
.scan__input::placeholder { color: var(--mute-45); }
.scan__note { font-size: 12.5px; color: var(--mute-50); }
.scan__note b { font-weight: 400; color: var(--pos); }

.hero__alt { font-size: 14.5px; color: var(--mute-60); }
.hero__alt a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(var(--tint),0.4); }

.netstats {
  display: flex;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 14px;
}
.netstat { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.netstat__v { font-family: var(--mono); font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; color: var(--ink); }
.netstat__k { font-size: 12.5px; color: var(--mute-55); }

/* ==========================================================================
   Dashboard preview
   ========================================================================== */

.preview { padding: 20px 0 clamp(40px, 6vw, 70px); }
.frame {
  border-radius: 20px;
  overflow: hidden;
  background: var(--dark-deep);
  border: 1px solid var(--glass-edge);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  box-shadow: var(--edge-strong), 0 50px 120px rgba(2,6,14,.62);
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule-soft);
  background: rgba(var(--tint),0.05);
}
.frame__dots { display: flex; gap: 6px; }
.frame__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(var(--tint),0.22); }
.frame__url {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mute-55);
}
.frame__media { display: block; position: relative; background: #0b1220; }
.frame__media img, .frame__media video { display: block; width: 100%; height: auto; }
/* A video dropped in here needs no other change. */

/* ==========================================================================
   Logo marquee
   ========================================================================== */

.marquee { padding: clamp(30px, 5vw, 54px) 0; }
.marquee__head { text-align: center; font-size: 14.5px; color: var(--mute-55); margin-bottom: 24px; }
.marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee__mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--mute-45);
  white-space: nowrap;
  transition: color .2s ease;
}
.marquee__item:hover { color: var(--ink-3); }

/* ==========================================================================
   A teammate, not a tool
   ========================================================================== */

.teammate { padding: clamp(50px, 8vw, 100px) 0; }
.teammate__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: 44px;
  align-items: stretch;
}
.flowcard {
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.flowcard--in  {
  box-shadow: var(--edge);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost); background: var(--dark); border: 1px solid var(--dark-line); }
.flowcard--out {
  box-shadow: var(--edge);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost); background: var(--glass); border: 1px solid var(--glass-line); }
.flowcard__k { font-family: var(--mono); font-size: 11px; color: var(--mute-55); letter-spacing: .06em; text-transform: uppercase; }

.signal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(var(--tint),0.07);
  border: 1px solid rgba(var(--tint),0.09);
}
.signal__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); flex: none; }
.signal__t { flex: 1; font-size: 13.5px; color: var(--ink-4); }
.signal__m { font-family: var(--mono); font-size: 11px; color: var(--mute-55); white-space: nowrap; }

.sale {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 14px;
  background: rgba(var(--tint),0.07);
}
.sale__av {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #c8daf2, #61748c);
  font-size: 11.5px; font-weight: 600; color: #0f1a28;
}
.sale__who  { font-size: 13.5px; color: var(--ink-4); }
.sale__item { font-size: 11.5px; color: var(--mute-55); }
.sale__amt  { margin-left: auto; font-family: var(--mono); font-size: 13.5px; color: var(--pos); }

.flowcard__total {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.flowcard__total b { font-family: var(--mono); font-size: 22px; font-weight: 400; color: var(--ink); }
.flowcard__total span { font-size: 12.5px; color: var(--mute-55); }

.quote {
  box-shadow: var(--edge);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  margin-top: var(--gap);
  border-radius: var(--r-lg);
  padding: 30px 32px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote__text { font-size: clamp(17px, 2vw, 22px); line-height: 1.5; font-weight: 300; color: var(--ink-2); text-wrap: pretty; }
.quote__by { display: flex; align-items: center; gap: 12px; }
.quote__av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(140deg, #c8daf2, #61748c); flex: none; }
.quote__name { font-size: 13.5px; color: var(--ink-4); }
.quote__role { font-size: 12px; color: var(--mute-55); }

/* ==========================================================================
   How it works
   ========================================================================== */

.works { padding: clamp(50px, 8vw, 100px) 0; }
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--rule-soft);
}
.step:nth-child(even) .step__copy { order: 2; }
.step__copy { display: flex; flex-direction: column; gap: 18px; }
.step__n { font-family: var(--mono); font-size: 12px; color: var(--pos); letter-spacing: .1em; }
.step__title { font-size: clamp(24px, 3vw, 36px); font-weight: 300; letter-spacing: -0.02em; color: var(--ink); }
.step__body { font-size: 15px; line-height: 1.65; color: var(--mute-70); text-wrap: pretty; }
.step__lede { font-size: 16px; line-height: 1.55; color: var(--ink-3); font-weight: 400; }
.step__visual { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

/* — shopper profile card ————————————————————————————————— */
.profile {
  box-shadow: var(--edge);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  border-radius: var(--r-lg);
  padding: 22px;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.profile__top { display: flex; align-items: center; gap: 13px; }
.profile__av {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(70% 70% at 35% 30%, #e8f1fc, #8fa8c4);
  font-size: 14px; font-weight: 600; color: #16233a;
}
.profile__name { font-size: 15px; color: var(--ink-3); }
.profile__status { font-size: 12px; color: var(--mute-55); }
.profile__rows { display: flex; flex-direction: column; gap: 9px; }
.profile__next {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-top: 13px; border-top: 1px solid var(--rule);
}
.profile__next b { font-family: var(--mono); font-size: 19px; font-weight: 400; color: var(--pos); }

.creator {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
}
.creator__av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(140deg, #d8c8e8, #7a6f9c); flex: none; }
.creator__h { font-size: 13.5px; color: var(--ink-4); }
.creator__r { font-size: 11.5px; color: var(--mute-55); }
.creator__go {
  margin-left: auto;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(var(--tint),0.14);
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
  transition: background .18s ease;
}
.creator__go:hover { background: rgba(var(--tint),0.24); }

/* — campaign approval cards ————————————————————————————— */
.camp {
  box-shadow: var(--edge);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 6px 16px;
  align-items: center;
  padding: 17px 19px;
  border-radius: var(--r-sm);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  transition: border-color .2s ease, transform .2s ease;
}
.camp:hover { border-color: rgba(var(--tint),0.3); transform: translateX(3px); }
.camp__kind { font-family: var(--mono); font-size: 10.5px; color: var(--mute-50); }
.camp__title { grid-column: 1; font-size: 14px; line-height: 1.4; color: var(--ink-3); }
.camp__value { grid-row: 1 / -1; grid-column: 2; font-family: var(--mono); font-size: 17px; color: var(--pos); text-align: right; }
.camp__go {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 6px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: var(--cream);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-on-cream);
  transition: background .18s ease;
}
.camp__go:hover { background: #fff; }

/* — live orders ————————————————————————————————————————— */
.liveorders {
  box-shadow: var(--edge);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lo {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(var(--tint),0.07);
}
.lo:last-of-type { border-bottom: 0; }
.lo__av { grid-row: 1 / -1; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(140deg, #c8daf2, #61748c); }
.lo__who { font-size: 13.5px; color: var(--ink-4); }
.lo__item { grid-column: 2; font-size: 11.5px; color: var(--mute-55); }
.lo__val { grid-row: 1 / -1; grid-column: 3; text-align: right; }
.lo__val b { display: block; font-family: var(--mono); font-size: 14px; color: var(--pos); }
.lo__val span { font-family: var(--mono); font-size: 10.5px; color: var(--mute-45); }
.lo__total {
  margin-top: 10px; padding-top: 14px;
  border-top: 1px solid var(--rule);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.lo__total b { font-family: var(--mono); font-size: 20px; color: var(--ink); }
.lo__total span { font-size: 12px; color: var(--mute-55); }

/* ==========================================================================
   Everlane proof
   ========================================================================== */

.proof { padding: clamp(50px, 8vw, 100px) 0; }
.proof__card {
  box-shadow: var(--edge);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  border-radius: var(--r-shell);
  padding: clamp(32px, 5vw, 60px);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
}
.proof__brand { font-size: 20px; font-weight: 600; letter-spacing: .22em; color: var(--ink-3); }
.proof__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); width: 100%; }
.proof__stat {
  border-radius: var(--r-md);
  padding: 24px;
  background: var(--dark-deep);
  border: 1px solid var(--dark-line);
  display: flex; flex-direction: column; gap: 8px;
}
.proof__v { font-family: var(--mono); font-size: clamp(26px, 3.4vw, 40px); font-weight: 400; color: var(--pos); }
.proof__k { font-size: 12.5px; color: var(--mute-60); }

/* ==========================================================================
   Agents
   ========================================================================== */

.agentsec { padding: clamp(50px, 8vw, 100px) 0; }
.agentgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 44px;
}
.featured {
  box-shadow: var(--edge);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  grid-column: span 3;
  border-radius: var(--r-lg);
  padding: 28px 30px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 18px 32px;
  align-items: center;
}
.featured__rows { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.featured__row { display: flex; flex-direction: column; gap: 4px; }
.featured__k { font-family: var(--mono); font-size: 10.5px; color: var(--mute-50); }
.featured__v { font-size: 14px; color: var(--ink-3); }
.featured__side { grid-row: 1 / -1; grid-column: 2; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.featured__proj { font-family: var(--mono); font-size: clamp(26px, 3vw, 36px); color: var(--pos); }

.agentcard {
  box-shadow: var(--edge);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  border-radius: var(--r-lg);
  padding: 24px;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s var(--ease-out, cubic-bezier(.22,.84,.28,1)), border-color .25s ease;
}
.agentcard:hover { transform: translateY(-4px); border-color: rgba(var(--tint),0.26); }
.agentcard__n { font-family: var(--mono); font-size: 10.5px; color: var(--mute-45); }
.agentcard__name { font-size: 17px; font-weight: 400; color: var(--ink-2); }
.agentcard__body { font-size: 13.5px; line-height: 1.55; color: var(--mute-62); }
.agentcard__chip {
  margin-top: auto;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(var(--tint),0.08);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute-70);
  line-height: 1.5;
}
.bars { margin-top: auto; display: flex; flex-direction: column; gap: 9px; }
.bar { display: grid; grid-template-columns: 64px 1fr 34px; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--mute-55); }
.bar__track { height: 6px; border-radius: 3px; background: rgba(var(--tint),0.14); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #7fa300, #ccff00); transition: width .9s cubic-bezier(.2,.8,.3,1); }
.bar__v { text-align: right; color: var(--mute-70); }

.agentsec__note { margin-top: 26px; text-align: center; font-size: 14.5px; color: var(--mute-60); }

/* ==========================================================================
   Slack
   ========================================================================== */

.slack { padding: clamp(50px, 8vw, 100px) 0; }
.slack__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: 40px; }
.slack__copy { display: flex; flex-direction: column; gap: 22px; }
.feat { display: flex; flex-direction: column; gap: 5px; padding-left: 16px; border-left: 2px solid rgba(204, 255, 0,0.4); }
.feat__k { font-size: 14px; color: var(--ink-3); }
.feat__v { font-size: 13px; line-height: 1.55; color: var(--mute-60); }

.thread {
  box-shadow: var(--edge);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--dark-deep);
  border: 1px solid var(--dark-line);
}
.thread__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule-soft);
  background: rgba(var(--tint),0.05);
}
.thread__ch { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.thread__mem { font-size: 11.5px; color: var(--mute-50); }
.thread__body { padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.tmsg { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; }
.tmsg__av { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.tmsg__av--bot { background: linear-gradient(140deg, #ccff00, #7fa300); color: #08131c; }
.tmsg__av--you { background: linear-gradient(140deg, #c8daf2, #61748c); color: #0f1a28; }
.tmsg__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tmsg__who { font-size: 13.5px; font-weight: 500; color: var(--ink-3); }
.tmsg__bot { padding: 1px 6px; border-radius: 4px; background: rgba(var(--tint),0.18); font-size: 9.5px; letter-spacing: .06em; color: var(--mute-70); }
.tmsg__time { font-size: 11px; color: var(--mute-45); }
.tmsg__text { font-size: 13.5px; line-height: 1.55; color: var(--body-76); margin-top: 3px; }
.tmsg__text b { color: var(--ink); font-weight: 500; }
.tmsg__rows { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.trow { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--mute-70); }
.trow b { font-family: var(--mono); font-weight: 400; color: var(--ink-4); }
.tmsg__more { margin-top: 6px; font-size: 11.5px; color: var(--mute-45); }
.tmsg__src { margin-top: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--mute-45); }
.tmsg__react { margin-top: 8px; display: flex; gap: 5px; }
.react { padding: 2px 8px; border-radius: 999px; background: rgba(var(--tint),0.12); border: 1px solid var(--rule); font-size: 12px; }

/* ==========================================================================
   Checkmate
   ========================================================================== */

.checkmate { padding: clamp(50px, 8vw, 100px) 0; }
.cm__grid { display: grid; grid-template-columns: 380px minmax(0,1fr); gap: clamp(30px, 5vw, 64px); align-items: center; margin-top: 40px; }

.phone {
  width: 300px;
  margin: 0 auto;
  border-radius: 34px;
  padding: 12px;
  background: var(--dark-deep);
  border: 1px solid var(--glass-line);
  box-shadow: 0 40px 90px rgba(2,6,14,.6);
}
.phone__screen {
  border-radius: 24px;
  overflow: hidden;
  background: #0a1220;
  padding: 20px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 420px;
}
.phone__top { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--mute-50); }
.phone__offer {
  border-radius: 18px;
  padding: 18px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  display: flex; flex-direction: column; gap: 12px;
}
.phone__brand { display: flex; align-items: center; gap: 10px; }
.phone__logo { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(140deg, #c8daf2, #61748c); }
.phone__name { font-size: 14px; color: var(--ink-3); }
.phone__verified { font-size: 11px; color: var(--pos); }
.phone__deal { font-size: 22px; font-weight: 300; color: var(--ink); letter-spacing: -0.02em; }
.phone__sub { font-size: 12px; color: var(--mute-60); line-height: 1.5; }
.phone__btn { margin-top: 4px; padding: 12px; border-radius: var(--r-pill); background: var(--cream); text-align: center; font-size: 13.5px; font-weight: 500; color: var(--ink-on-cream); }
.phone__foot { margin-top: auto; text-align: center; font-family: var(--mono); font-size: 10px; color: var(--mute-45); }

.cm__copy { display: flex; flex-direction: column; gap: 24px; }
.cm__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cm__stat {
  box-shadow: var(--edge);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost); padding: 18px; border-radius: var(--r-md); background: var(--dark); border: 1px solid var(--dark-line); display: flex; flex-direction: column; gap: 6px; }
.cm__v { font-family: var(--mono); font-size: 24px; color: var(--ink); }
.cm__k { font-size: 11.5px; line-height: 1.4; color: var(--mute-55); }
.cm__channels { display: flex; flex-wrap: wrap; gap: 8px; }
.chip2 {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(var(--tint),0.09);
  border: 1px solid var(--rule);
  font-size: 12.5px;
  color: var(--mute-74);
}
.cm__lift { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px; color: var(--pos); }

/* ==========================================================================
   Case studies
   ========================================================================== */

.cases { padding: clamp(50px, 8vw, 100px) 0; }
.cases__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cases__nav { display: flex; gap: 8px; }
.arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(var(--tint),0.10);
  border: 1px solid var(--rule);
  color: var(--ink-3);
  transition: background .18s ease, transform .18s ease;
}
.arrow:hover { background: rgba(var(--tint),0.2); }
.arrow:active { transform: scale(.94); }
.arrow[disabled] { opacity: .35; cursor: not-allowed; }

.rail {
  margin-top: 30px;
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.casecard {
  box-shadow: var(--edge);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  flex: 0 0 330px;
  scroll-snap-align: start;
  border-radius: var(--r-lg);
  padding: 26px;
  background: var(--dark);
  border: 1px solid var(--dark-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 250px;
  transition: transform .25s ease, border-color .25s ease;
}
.casecard:hover { transform: translateY(-4px); border-color: rgba(var(--tint),0.26); }
.casecard__brand { font-size: 14px; font-weight: 600; letter-spacing: .14em; color: var(--ink-3); }
.casecard__title { font-size: 15px; line-height: 1.45; color: var(--mute-74); }
.casecard__metric { margin-top: auto; font-family: var(--mono); font-size: 15px; color: var(--pos); }
.casecard__link { font-size: 13px; color: var(--mute-60); }
.casecard:hover .casecard__link { color: var(--ink-3); }

/* ==========================================================================
   Final CTA + footer
   ========================================================================== */

.final { padding: clamp(50px, 8vw, 110px) 0; text-align: center; }
.final__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final__acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.foot { padding: clamp(40px, 5vw, 64px) 0 40px; border-top: 1px solid var(--rule-soft); }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.foot__brand { display: flex; flex-direction: column; gap: 16px; }
.foot__tag { font-size: 13.5px; line-height: 1.6; color: var(--mute-60); max-width: 34ch; }
.foot__social { display: flex; gap: 8px; }
.sociallink {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(var(--tint),0.09);
  border: 1px solid var(--rule);
  font-size: 12px;
  color: var(--mute-70);
  transition: background .18s ease, color .18s ease;
}
.sociallink:hover { background: rgba(var(--tint),0.2); color: var(--ink-3); }
.foot__col h3 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute-45); margin-bottom: 14px; }
.foot__col ul { display: flex; flex-direction: column; gap: 10px; }
.foot__col a { font-size: 13.5px; color: var(--mute-70); }
.foot__col a:hover { color: var(--ink-3); }
.foot__bottom {
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.foot__copy { font-size: 12.5px; color: var(--mute-45); }
.foot__promise { font-size: 13.5px; color: var(--pos); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .teammate__grid, .slack__grid { grid-template-columns: 1fr; }
  .cm__grid { grid-template-columns: 1fr; }
  .agentgrid { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-column: span 2; }
  .step { grid-template-columns: 1fr; gap: 28px; }
  .step:nth-child(even) .step__copy { order: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .topbar__nav { display: none; }
  .topbar__signin { display: none; }
  .topbar__inner { padding: 8px 8px 8px 16px; }
  .scan { flex-direction: column; border-radius: 22px; }
  .scan__input { padding: 12px 10px; }
  .scan .cta { justify-content: center; }
  .proof__stats { grid-template-columns: 1fr; }
  .agentgrid { grid-template-columns: 1fr; }
  .featured { grid-column: span 1; grid-template-columns: 1fr; }
  .featured__side { grid-row: auto; grid-column: 1; align-items: flex-start; }
  .cm__stats { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .casecard { flex-basis: 270px; }
  .marquee__track { gap: 34px; }
  .marquee__item { font-size: 16px; }
}

/* ==========================================================================
   Light bands
   The reference alternates dark and cream. Rather than restyle every
   component twice, a light band redefines the design tokens for its subtree
   — surfaces, ink, rules, the tint behind translucent fills and the primary
   button all invert, and everything inside inherits.
   ========================================================================== */

.band { position: relative; }

.band--light {
  --tint: 34, 26, 14;
  --edge: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --edge-strong: inset 0 1px 0 rgba(255, 255, 255, 1);
  --frost: none;

  --ink:          #14110b;
  --ink-2:        #1d1810;
  --ink-3:        #2a2318;
  --ink-4:        #3a3122;

  --mute-80: rgba(28, 22, 13, 0.92);
  --mute-74: rgba(28, 22, 13, 0.84);
  --mute-70: rgba(28, 22, 13, 0.78);
  --mute-66: rgba(28, 22, 13, 0.74);
  --mute-62: rgba(28, 22, 13, 0.70);
  --mute-60: rgba(28, 22, 13, 0.68);
  --mute-55: rgba(28, 22, 13, 0.62);
  --mute-50: rgba(28, 22, 13, 0.58);
  --mute-45: rgba(28, 22, 13, 0.54);

  --body-76: rgba(28, 22, 13, 0.80);
  --body-90: rgba(20, 17, 11, 0.94);

  --dark:        #fffdf8;
  --dark-deep:   #f1ece0;
  --dark-solid:  #fffdf8;
  --dark-line:   rgba(34, 26, 14, 0.13);

  --glass:       #fffdf8;
  --glass-strong:#fffdf8;
  --glass-flat:  #fffdf8;
  --glass-line:  rgba(34, 26, 14, 0.13);
  --glass-edge:  rgba(34, 26, 14, 0.17);

  --cream:        #14110b;
  --cream-soft:   #14110b;
  --ink-on-cream: #fbf8f1;
  --pill-dark:    rgba(34, 26, 14, 0.09);

  --rule:      rgba(34, 26, 14, 0.13);
  --rule-soft: rgba(34, 26, 14, 0.10);
  --rule-firm: rgba(34, 26, 14, 0.18);

  /* lime disappears on cream — the light band takes it down to olive */
  --pos:   #556f00;
  --pos-2: #6d8c00;
  --warn:  #8a5c07;
  --neg:   #9d3a26;

  background: #f7f3ea;
  color: var(--ink-2);
}

/* Cards need a real edge on a light ground — the dark theme leaned on the
   fill for separation, which a white-on-near-white pair cannot do. */
.band--light .profile,
.band--light .liveorders,
.band--light .agentcard,
.band--light .casecard,
.band--light .camp,
.band--light .flowcard,
.band--light .quote,
.band--light .proof__card,
.band--light .proof__stat,
.band--light .featured,
.band--light .creator,
.band--light .cm__stat,
.band--light .thread {
  box-shadow: 0 1px 2px rgba(40, 30, 14, 0.05), 0 10px 26px rgba(40, 30, 14, 0.08);
}

.band--light .agentcard:hover,
.band--light .casecard:hover {
  border-color: rgba(34, 26, 14, 0.24);
  box-shadow: 0 2px 4px rgba(40, 30, 14, 0.06), 0 18px 40px rgba(40, 30, 14, 0.13);
}

.band--light .h2 em,
.band--light .hero__title em { color: var(--ink); }

.band--light .bar__fill { background: linear-gradient(90deg, #556f00, #8fb800); }
.band--light .bar__track { background: rgba(34, 26, 14, 0.12); }

.band--light .signal,
.band--light .sale,
.band--light .agentcard__chip { background: #f4efe3; }

.band--light .cta--ghost { border-color: rgba(34, 26, 14, 0.22); }
.band--light .cta--primary:hover { background: #2a2318; box-shadow: 0 16px 34px rgba(40, 30, 14, 0.26); }

.band--light .step { border-top-color: rgba(34, 26, 14, 0.12); }
.band--light .step__n { color: #556f00; }

.band--light .proof__card { background: #fffdf8; }
.band--light .proof__stat { background: #f4efe3; }

.band--light .marquee__item { color: rgba(28, 22, 13, 0.68); }
.band--light .marquee__item:hover { color: var(--ink); }
.band--light .marquee__mask {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.band--light .arrow { background: #fffdf8; border-color: rgba(34, 26, 14, 0.16); }
.band--light .arrow:hover { background: #efe8da; }

.band--light .chip2 { background: #fffdf8; }

/* The bands butt directly against each other, so each one owns its own
   vertical rhythm rather than relying on the section's own padding. */
.band--light > section:first-child { padding-top: clamp(46px, 6vw, 84px); }
.band--light > section:last-child  { padding-bottom: clamp(46px, 6vw, 84px); }

.quoteband { padding: clamp(30px, 5vw, 60px) 0 clamp(18px, 3vw, 34px); }
.quoteband .quote { margin-top: 0; }

/* A hairline where a light band meets a dark one, so the seam reads as
   intentional rather than as a rendering artefact. */
.band--light { border-block: 1px solid rgba(34, 26, 14, 0.2); }

/* — brand marks in the marquee —————————————————————————— */
.marquee__item--mark { display: inline-flex; align-items: center; gap: 9px; }
.marquee__mark { flex: none; }

/* — the preview is a wide desktop capture; shrunk to a phone it is an
     illegible strip. On small screens show a legible crop of it instead. — */
@media (max-width: 760px) {
  /* Zoom into the top-left of the capture rather than shrink the whole
     desktop to an illegible strip — at phone width the full-width version
     renders the KPI figures at about 4px tall. */
  .frame__media { aspect-ratio: 4 / 4.6; overflow: hidden; }
  .frame__media img { width: 215%; max-width: none; height: auto; }
  .frame__url { font-size: 10px; }
}
@media (max-width: 480px) {
  .frame__media { aspect-ratio: 4 / 5.2; }
  .frame__media img { width: 260%; }
}

/* — product shots ————————————————————————————————————
   Real crops of dashboard.html. On the cream band a dark shot needs a real
   edge and a grounded shadow, or it floats. */
.shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  background: #0b1220;
  border: 1px solid rgba(34, 26, 14, 0.16);
  box-shadow:
    0 1px 2px rgba(30, 22, 10, 0.10),
    0 18px 44px rgba(30, 22, 10, 0.16),
    0 40px 90px rgba(30, 22, 10, 0.10);
  transform: translateZ(0);
  transition: transform .4s cubic-bezier(.22,.84,.28,1), box-shadow .4s ease;
}
.shot img { display: block; width: 100%; height: auto; }
.step:hover .shot {
  transform: translateY(-4px);
  box-shadow:
    0 2px 4px rgba(30, 22, 10, 0.12),
    0 26px 60px rgba(30, 22, 10, 0.20),
    0 60px 120px rgba(30, 22, 10, 0.12);
}

/* — brand marks ——————————————————————————————————— */
.foot__brand .wordmark__svg { width: 96px; height: 28px; }
.band--light .wordmark { color: var(--ink); }

/* — "Why Robinhood Chain?" ————————————————————————————
   A disclosure, not a link: the answer belongs on this page, and hiding it
   behind a click keeps the hero to one idea. */
.why { width: 100%; max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 14px; }

.why__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 14px;
  border-radius: var(--r-pill);
  background: rgba(var(--tint), 0.10);
  border: 1px solid var(--rule);
  font-size: 14px;
  color: var(--mute-74);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.why__btn:hover { background: rgba(var(--tint), 0.18); color: var(--ink-3); border-color: rgba(var(--tint), 0.26); }
.why__mark { width: 17px; height: 21px; flex: none; color: var(--ink-3); }
.why__chev { flex: none; opacity: .6; transition: transform .28s var(--ease-both, cubic-bezier(.62,.02,.28,1)); }
.why__btn[aria-expanded="true"] { background: rgba(var(--tint), 0.18); color: var(--ink-3); }
.why__btn[aria-expanded="true"] .why__chev { transform: rotate(180deg); }

.why__panel {
  width: 100%;
  text-align: left;
  border-radius: var(--r-lg);
  padding: 26px 28px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--edge);
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: why-in .42s cubic-bezier(.22, .84, .28, 1);
}
.why__panel[hidden] { display: none; }
@keyframes why-in { from { opacity: 0; transform: translateY(-10px); } }

.why__lede { font-size: 14.5px; line-height: 1.6; color: var(--body-76); }
.why__list { counter-reset: why; display: flex; flex-direction: column; gap: 15px; }
.why__list li {
  position: relative;
  padding-left: 34px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mute-70);
}
.why__list li::before {
  counter-increment: why;
  content: counter(why, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--pos);
}
.why__list b { display: block; font-weight: 500; color: var(--ink-3); margin-bottom: 3px; }
.why__foot { font-size: 11.5px; line-height: 1.5; color: var(--mute-50); padding-top: 4px; border-top: 1px solid var(--rule-soft); }

@media (max-width: 700px) {
  .why__panel { padding: 20px 18px; }
  .why__btn { font-size: 13.5px; }
}

/* — partner marks —————————————————————————————————
   The real artwork arrives in mixed inks — some white, some black, one an
   embedded raster pattern. `brightness(0)` flattens any of them to a single
   silhouette while keeping the alpha, so the strip reads as one wall of
   logos instead of a patchwork. */
.marquee__item--logo { display: inline-flex; align-items: center; }
.marquee__logo {
  height: 26px;
  width: auto;
  max-width: 152px;
  object-fit: contain;
  filter: brightness(0);
  opacity: .58;
  transition: opacity .2s ease;
}
.marquee__item--logo:hover .marquee__logo { opacity: .92; }

/* on a dark band the same silhouette has to go the other way */
.marquee:not(.band--light *) .marquee__logo { filter: brightness(0) invert(1); }
.band--light .marquee__logo { filter: brightness(0); }

.marquee__item--mark { color: rgba(28, 22, 13, 0.72); }
.band--light .marquee__item--mark { color: rgba(28, 22, 13, 0.72); }
.marquee__item--mark:hover { color: var(--ink); }
.marquee__mark { width: 21px; height: 26px; }
