/*
 * pebrik.com (decision 256): Pebrik's brand from decision 230. A mortar page, white cards, ink
 * text and brick red, Hanken Grotesk served from this site, and a dark band for the product.
 */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --red: #c2412b;
  --red-hover: #a3361f;
  --night: #e0452b;
  --night-link: #ec5b40;
  --warm: #e2572f;
  --glow: #ffd9a8;
  --tint: #f2d6cf;
  --tint-soft: #fbefec;
  --ink: #18181b;
  --ink-deep: #0f0f11;
  --stone: #5d5d62;
  --mortar: #efefed;
  --canvas: #f8f8f6;
  --white: #ffffff;
  --line: #deded9;
  --line-strong: #c2c2bc;
  --ok: #3f9b68;
  --change: #e3f4ea;
  --change-text: #1f6a43;
  --d-canvas: #141416;
  --d-surface: #18181b;
  --d-raised: #1d1d20;
  --d-line: #2c2c30;
  --d-line-soft: #1f1f23;
  --d-text: #ededea;
  --d-muted: #a9a9ae;
  --d-bubble: #26262a;
  --d-ok: #5cc58c;
  --d-tint: #351c17;
  --shade: #18181b14;
  --shade-deep: #000000b3;
  --font:
    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease-lay: cubic-bezier(0.3, 0.7, 0.4, 1);
  --nav-h: 66px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: calc(var(--nav-h) + 68px);
  /* The demo changes text as it plays; the page shouldn't scroll to follow it. */
  overflow-anchor: none;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  background: var(--mortar);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-anchor: none;
}
h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 8px;
}
.sprite {
  position: absolute;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- Logo, nav and buttons ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: inherit;
}
.logo svg {
  display: block;
  width: 32px;
  height: 18px;
  fill: var(--red);
}
.wordmark {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 24px;
  line-height: 1;
}
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: color-mix(in srgb, var(--mortar) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s,
    background 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 34px;
  height: var(--nav-h);
}
.nav-links {
  display: flex;
  gap: 2px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--stone);
}
.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition:
    color 0.15s,
    background 0.15s;
}
.nav-links a:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  color: var(--ink);
}
/* The part of the site you're in: its link darkens and gets a small brick under it. */
.nav-links a[aria-current] {
  color: var(--ink);
}
.nav-links a[aria-current]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 18px;
  height: 5px;
  border-radius: 2px;
  background: var(--red);
  transform: translateX(-50%);
  animation: marker 0.3s var(--ease-lay) both;
}
@keyframes marker {
  from {
    transform: translateX(-50%) scaleX(0);
  }
}
.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Buttons take the brick's corner: 14 on a 48-unit brick, 29% of their height. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding-inline: 22px;
  border-radius: 14px;
  border: 0;
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    transform 0.15s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-sm {
  height: 38px;
  padding-inline: 15px;
  border-radius: 11px;
  font-size: 14px;
}
.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover {
  background: var(--red-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-ghost:hover {
  background: var(--white);
}
.btn-plain {
  background: transparent;
  color: var(--stone);
}
.btn-plain:hover {
  color: var(--ink);
}
.btn-white {
  background: var(--white);
  color: var(--red-hover);
}
.btn-white:hover {
  background: var(--mortar);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--white) 55%, transparent);
}
.btn-outline:hover {
  background: color-mix(in srgb, var(--white) 12%, transparent);
}
.btn .arrow {
  transition: transform 0.2s var(--ease-lay);
}
.btn:hover .arrow {
  transform: translateX(3px);
}
@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
}
@media (max-width: 420px) {
  .nav-cta .btn-plain {
    display: none;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red);
}
.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--stone);
  max-width: 34em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Brick marks: the app's working animations ---------- */
.mk {
  display: block;
  flex: none;
  width: var(--mk, 22px);
  height: var(--mk, 22px);
  overflow: visible;
}
.mk-16 {
  --mk: 16px;
}
.mk .b {
  fill: var(--red);
}
.mk .h {
  fill: var(--white);
}
.mk .h,
.mk .w {
  transform-box: fill-box;
  transform-origin: center;
}
.mk .s0 {
  stop-color: var(--white);
  stop-opacity: 0;
}
.mk .s1 {
  stop-color: var(--white);
  stop-opacity: 0.6;
}
.mk-pulse .h {
  animation: mk-pulse 1.4s ease-in-out infinite;
}
.mk-pulse .h:nth-of-type(2) {
  animation-delay: 0.18s;
}
.mk-pulse .h:nth-of-type(3) {
  animation-delay: 0.36s;
}
.mk-hop .h {
  animation: mk-hop 1.2s ease-in-out infinite;
}
.mk-hop .h:nth-of-type(2) {
  animation-delay: 0.15s;
}
.mk-hop .h:nth-of-type(3) {
  animation-delay: 0.3s;
}
.mk-seek .sweep {
  animation: mk-seek 1.6s ease-in-out infinite;
}
.mk-count .h {
  animation: mk-count-1 3s ease-in-out infinite;
}
.mk-count .h:nth-of-type(2) {
  animation-name: mk-count-2;
}
.mk-count .h:nth-of-type(3) {
  animation-name: mk-count-3;
}
.mk-knock .w {
  animation: mk-knock 1.8s ease-in-out infinite;
}
.mk-send .ring {
  fill: none;
  stroke: var(--red);
  stroke-width: 4;
  transform-box: fill-box;
  transform-origin: center;
  animation: mk-send 1.8s ease-out infinite both;
}
@keyframes mk-pulse {
  0%,
  100% {
    opacity: 1;
  }
  40% {
    opacity: 0.12;
  }
}
@keyframes mk-hop {
  0%,
  55%,
  100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-8px);
  }
}
@keyframes mk-seek {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(130px);
  }
}
@keyframes mk-count-1 {
  0%,
  8% {
    transform: scale(1);
  }
  16%,
  84% {
    transform: scale(0);
  }
  92%,
  100% {
    transform: scale(1);
  }
}
@keyframes mk-count-2 {
  0%,
  33% {
    transform: scale(1);
  }
  41%,
  84% {
    transform: scale(0);
  }
  92%,
  100% {
    transform: scale(1);
  }
}
@keyframes mk-count-3 {
  0%,
  58% {
    transform: scale(1);
  }
  66%,
  84% {
    transform: scale(0);
  }
  92%,
  100% {
    transform: scale(1);
  }
}
@keyframes mk-knock {
  0%,
  44%,
  100% {
    transform: rotate(0);
  }
  8% {
    transform: rotate(-8deg);
  }
  16% {
    transform: rotate(7deg);
  }
  24% {
    transform: rotate(-5deg);
  }
  32% {
    transform: rotate(3deg);
  }
}
@keyframes mk-send {
  from {
    transform: scale(1);
    opacity: 0.9;
  }
  to {
    transform: scale(1.55);
    opacity: 0;
  }
}

/*
 * ---------- The opening ----------
 * Without the zoom (no script, reduced motion or a short window) the brick, the words and the
 * product band follow one another down the page. With it (`html.zooming`), the stage sticks while
 * the page scrolls, and the script flies through the brick's middle hole into the product.
 */
.zoom {
  position: relative;
}
.cover {
  position: relative;
  padding-block: 28px 64px;
}
.brick {
  display: block;
  width: 100%;
  max-width: 1040px;
  height: auto;
  aspect-ratio: 96 / 64;
  margin-inline: auto;
}
.brick .frame {
  fill: var(--mortar);
}
.brick .red {
  fill: var(--red);
}
.brick .ink {
  fill: var(--ink-deep);
}
.brick .word {
  fill: var(--white);
  font-family: var(--font);
  font-weight: 800;
  font-size: 2.8px;
  letter-spacing: -0.02em;
  text-anchor: middle;
  dominant-baseline: central;
  transform-box: view-box;
  opacity: 0;
  transform: translateY(14px);
  transition:
    transform 0.7s var(--ease-lay),
    opacity 0.5s;
}
.brick .word.on {
  opacity: 1;
  transform: none;
}
.brick .word.out {
  opacity: 0;
  transform: translateY(-14px);
}
/* Under each hole, who does it in small capitals over what they do. */
.brick .cap {
  font-family: var(--font);
  text-anchor: middle;
}
.cap-who {
  fill: var(--stone);
  font-size: 1.9px;
  font-weight: 700;
  letter-spacing: 0.28px;
}
.cap-what {
  fill: var(--ink);
  font-size: 3.2px;
  font-weight: 800;
  letter-spacing: -0.1px;
}
/*
 * The brick settles into place as the page opens. It moves rather than fades: the mortar around
 * it hides the product until the flight, so it must stay solid from the first frame.
 */
.brick-in {
  transform-box: view-box;
  transform-origin: 50px 50px;
  animation: brick-in 0.9s var(--ease-lay) both;
}
@keyframes brick-in {
  from {
    transform: translateY(3px) scale(0.94);
  }
  to {
    transform: none;
  }
}
.hero-copy {
  margin-top: 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 22px 48px;
  align-items: end;
}
.hero-title {
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.048em;
  font-weight: 800;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 6px;
}
.hint {
  display: none;
}

.inside {
  position: relative;
  background: var(--ink-deep);
  color: var(--d-text);
  overflow: hidden;
  padding-block: 56px 48px;
}
.pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 15%, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 15%, transparent 80%);
}
.tile-rect {
  fill: none;
  stroke: var(--d-line-soft);
  stroke-width: 1;
}
.inside-in {
  position: relative;
}

html.zooming .zoom {
  height: 250vh;
  margin-top: calc(-1 * var(--nav-h));
}
html.zooming .stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
html.zooming .inside {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding-block: calc(var(--nav-h) + 12px) 16px;
}
html.zooming .cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  pointer-events: none;
}
html.zooming .hero-copy {
  pointer-events: auto;
}
html.zooming .brick {
  position: absolute;
  inset: 0;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
}
html.zooming .hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
}
html.zooming .hero-copy.compact .lede {
  display: none;
}
html.zooming .hint:not([hidden]) {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}
.hint i {
  position: relative;
  width: 2px;
  height: 22px;
  border-radius: 2px;
  background: var(--line-strong);
  overflow: hidden;
}
.hint i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  width: 2px;
  height: 10px;
  background: var(--red);
  animation: hint 1.6s ease-in-out infinite;
}
@keyframes hint {
  to {
    top: 22px;
  }
}

/* ---------- The product demo ---------- */
.app {
  --a-bg: var(--d-canvas);
  --a-side: var(--d-surface);
  --a-line: var(--d-line);
  --a-text: var(--d-text);
  --a-muted: var(--d-muted);
  --a-raised: var(--d-raised);
  --a-bubble: var(--d-bubble);
  --a-brand: var(--night);
  --a-accent: var(--night-link);
  --a-ok: var(--d-ok);
  --a-tint: var(--d-tint);
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  height: 600px;
  max-width: 1080px;
  margin-inline: auto;
  border-radius: 20px;
  overflow: hidden;
  background: var(--a-bg);
  color: var(--a-text);
  font-size: 14px;
  box-shadow:
    0 0 0 1px var(--a-line),
    0 50px 120px -30px var(--shade-deep);
}
html.zooming .app {
  height: min(600px, calc(100svh - var(--nav-h) - 128px));
  width: 100%;
}
.app .mk .b {
  fill: var(--a-brand);
}
.app .mk-send .ring {
  stroke: var(--a-brand);
}
.app-side {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding: 14px 10px;
  background: var(--a-side);
  border-right: 1px solid var(--a-line);
}
.side-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 9px 14px;
}
.side-top svg {
  width: 24px;
  height: 14px;
  fill: var(--a-brand);
}
.side-top b {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 18px;
  line-height: 1;
}
.side-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.3s;
}
.side-row.on {
  background: var(--a-raised);
  box-shadow: inset 0 0 0 1px var(--a-line);
}
.side-row svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--a-muted);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.new svg {
  stroke: var(--a-brand);
}
.side-row .dim {
  color: var(--a-muted);
}
.side-label {
  padding: 14px 9px 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a-muted);
}
.app-main {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s ease,
    visibility 0s 0.45s;
}
.scene.on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease;
}
.app-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid var(--a-line);
}
.app-head .t {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  overflow: hidden;
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.app-head .chips {
  flex: none;
  display: flex;
  gap: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--a-raised);
  box-shadow: inset 0 0 0 1px var(--a-line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--a-muted);
  white-space: nowrap;
}
.chip .mk {
  --mk: 16px;
}
.chip.live {
  color: var(--a-ok);
}
.chip.live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--a-ok);
}
.thread {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 28px 12px;
}
.thread > * {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}
.js .step {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s var(--ease-lay);
}
.js .step.in {
  opacity: 1;
  transform: none;
}
.step.gone {
  display: none;
}
.u-msg {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  background: var(--a-bubble);
  line-height: 1.5;
}
.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 8px;
  border-radius: 11px;
  background: var(--a-raised);
  box-shadow: inset 0 0 0 1px var(--a-line);
  font-size: 12.5px;
  font-weight: 600;
}
.ft {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--red);
  color: var(--white);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.ft.xl {
  background: var(--ok);
}
.ft.doc {
  background: var(--stone);
}
.file-chip small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--a-muted);
}
.activity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 22px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--a-muted);
}
.activity.indent {
  padding-left: 40px;
}
.shimmer {
  background:
    linear-gradient(
      90deg,
      var(--a-muted) 0%,
      var(--a-muted) 30%,
      var(--a-text) 50%,
      var(--a-muted) 70%,
      var(--a-muted) 100%
    )
    0 0 / 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 2s linear infinite;
}
@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -150% 0;
  }
}
.reply {
  font-size: 14.5px;
  line-height: 1.65;
}
.cite {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin: 0 1px 0 3px;
  padding: 0 5px;
  border-radius: 6px;
  background: var(--a-tint);
  color: var(--a-accent);
  font-size: 11px;
  font-weight: 800;
  vertical-align: 1px;
}
.js .cite.new {
  animation: pop 0.35s var(--ease-lay) both;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.draft {
  border-radius: 14px;
  background: var(--a-raised);
  box-shadow: inset 0 0 0 1px var(--a-line);
  overflow: hidden;
}
.draft-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--a-line);
  font-size: 12.5px;
  font-weight: 700;
}
.draft-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.draft-head .acts {
  gap: 14px;
  color: var(--a-muted);
  font-weight: 600;
}
.draft-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 96px;
  padding: 12px 16px 14px;
  font-size: 13.5px;
  line-height: 1.6;
}
.draft-body b {
  font-size: 15px;
}
.composer {
  flex: none;
  width: calc(100% - 56px);
  max-width: 620px;
  margin: 0 auto 18px;
  padding: 12px 12px 10px 16px;
  border-radius: 18px;
  background: var(--a-raised);
  box-shadow: inset 0 0 0 1px var(--a-line);
}
.comp-text {
  font-size: 14px;
}
.comp-text:empty::before {
  content: attr(data-placeholder);
  color: var(--a-muted);
}
.caret {
  display: inline-block;
  width: 1.5px;
  height: 16px;
  margin-left: 1px;
  vertical-align: -3px;
  background: var(--a-accent);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.comp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.comp-row .plus {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px var(--a-line);
  color: var(--a-muted);
  font-size: 18px;
  line-height: 1;
}
.comp-row .send {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border-radius: 10px;
  background: var(--a-accent);
  transition: transform 0.15s;
}
.send svg,
.mini-composer svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--a-bg);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.comp-row .send.press {
  transform: scale(0.86);
}
.comp-file {
  display: none;
  margin-bottom: 8px;
}
.comp-file.in {
  display: inline-flex;
}
.wa-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--a-muted);
}
.in-msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.in-msg .who {
  font-size: 12px;
  font-weight: 700;
  color: var(--a-muted);
}
.in-msg .bubble,
.agent-msg .bubble {
  border-radius: 16px 16px 16px 4px;
}
.in-msg .bubble {
  background: var(--a-raised);
  box-shadow: inset 0 0 0 1px var(--a-line);
}
.agent-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.agent-msg .av {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--a-tint);
}
.agent-msg .body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.agent-msg .bubble {
  max-width: 100%;
}
.sent {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 40px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--a-muted);
}
.sent .mk {
  --mk: 18px;
}
.next-run {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--a-raised);
  box-shadow: inset 0 0 0 1px var(--a-line);
  font-size: 13px;
}
.next-run .mk {
  --mk: 26px;
}
.next-run b {
  display: block;
  font-size: 13.5px;
}
.next-run span {
  color: var(--a-muted);
}
.flow {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  padding: 26px 28px 60px;
  background-image: radial-gradient(circle at 1px 1px, var(--a-line) 1px, transparent 0);
  background-size: 18px 18px;
}
.nodes {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
}
.node {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--a-raised);
  box-shadow: inset 0 0 0 1px var(--a-line);
  transition: box-shadow 0.3s;
}
.node.run {
  box-shadow: inset 0 0 0 1.5px var(--a-accent);
}
.node .st {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--a-bg);
}
.st .mk {
  --mk: 24px;
}
.tick {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--a-ok);
}
.tick svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--a-bg);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.idle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--a-muted);
}
.node b {
  display: block;
  font-size: 13.5px;
  line-height: 1.3;
}
.node span {
  display: block;
  font-size: 12px;
  color: var(--a-muted);
}
.node small {
  display: inline-block;
  margin-bottom: 2px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a-accent);
}
.link {
  position: relative;
  width: 2px;
  height: 22px;
  margin-left: 28px;
  background: var(--a-line);
  overflow: hidden;
}
.link i {
  position: absolute;
  left: 0;
  top: -8px;
  width: 2px;
  height: 8px;
  background: var(--a-accent);
  opacity: 0;
}
.go > i {
  animation: travel 0.5s ease-in both;
}
@keyframes travel {
  from {
    top: -8px;
    opacity: 1;
  }
  to {
    top: 22px;
    opacity: 1;
  }
}
.approve {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: var(--a-raised);
  box-shadow:
    inset 0 0 0 1px var(--a-line),
    0 20px 40px -20px var(--shade-deep);
}
.approve .ttl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--a-muted);
}
.ttl .mk {
  --mk: 20px;
}
.approve .amt {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.approve dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  margin: 0;
  font-size: 12.5px;
}
.approve dt {
  color: var(--a-muted);
}
.approve dd {
  margin: 0;
  font-weight: 600;
}
.choices {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.choices span {
  flex: 1;
  padding: 8px 0;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--a-line);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.15s;
}
.choices .yes {
  background: var(--a-accent);
  color: var(--a-bg);
  box-shadow: none;
}
.choices .yes.press {
  transform: scale(0.94);
}
.approve .done-line {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--a-ok);
}
.approve.ok .choices {
  display: none;
}
.approve.ok .done-line {
  display: flex;
}
.flow-end {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
}
.flow-end .chip {
  height: 30px;
  padding: 0 12px;
}
.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1080px;
  margin: 16px auto 0;
}
.tab {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 2px 0;
  border: 0;
  background: transparent;
  color: var(--d-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.tab b {
  font-size: 15px;
  font-weight: 700;
}
.tab span {
  font-size: 13.5px;
  color: var(--d-muted);
}
.tab .bar {
  order: -1;
  height: 3px;
  margin-bottom: 10px;
  border-radius: 3px;
  background: var(--d-line);
  overflow: hidden;
}
.bar i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--night);
}
.tab[aria-selected="true"] {
  color: var(--d-text);
}
.tab:focus-visible {
  outline-color: var(--night-link);
}

@media (max-width: 860px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
    height: 540px;
  }
  .app-side {
    display: none;
  }
  .flow {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 18px 60px;
  }
  .approve {
    position: absolute;
    right: 14px;
    bottom: 56px;
    width: min(250px, calc(100% - 28px));
  }
  /* Over the steps on a narrow screen, the card moves aside once it's approved. */
  .js .approve.ok.in {
    opacity: 0;
    transform: translateY(12px);
    transition-delay: 0.8s;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .thread {
    padding-inline: 16px;
  }
  .composer {
    width: calc(100% - 28px);
  }
  .app-head .chips .chip:not(:first-child) {
    display: none;
  }
  .tabs {
    gap: 8px;
  }
  .tab span {
    display: none;
  }
  .tab b {
    font-size: 13.5px;
    line-height: 1.3;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: 112px 24px;
}
.sec-title {
  margin-top: 14px;
  max-width: 17em;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.042em;
  font-weight: 800;
}
.sec-sub {
  margin-top: 16px;
  max-width: 34em;
  font-size: 18px;
  color: var(--stone);
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}
.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  min-width: 0;
  padding: 28px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  transition:
    transform 0.3s var(--ease-lay),
    box-shadow 0.3s;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 var(--line),
    0 18px 40px var(--shade);
}
.tile.wide {
  grid-column: span 2;
}
.tile-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.tile h3 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.tile p {
  max-width: 36em;
  font-size: 15.5px;
  color: var(--stone);
}
.tile-art {
  --a-bg: var(--white);
  font-size: 13px;
  font-weight: 650;
}
.art-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.models,
.art-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.models span,
.art-chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
}
.models .mk {
  --mk: 18px;
}
.mini-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 460px;
  padding: 10px 10px 10px 16px;
  border-radius: 16px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--stone);
  font-weight: 500;
}
.mini-composer i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--red);
}
.art-files {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.art-files > span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 7px;
  border-radius: 11px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
}
.art-files em {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--tint-soft);
  color: var(--red-hover);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.art-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.art-flow > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 11px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
}
.art-flow .wait {
  background: var(--tint-soft);
  box-shadow: inset 0 0 0 1px var(--tint);
  color: var(--red-hover);
}
.art-flow .mk {
  --mk: 18px;
}
.art-flow > i {
  color: var(--line-strong);
  font-style: normal;
  font-weight: 800;
}
.art-report {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
}
.art-report .ln {
  height: 7px;
  border-radius: 4px;
  background: var(--line);
}
.art-report .ln.short {
  width: 64%;
}
.art-report em {
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--tint-soft);
  color: var(--red-hover);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.art-code code {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--d-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 500;
  overflow-x: auto;
  white-space: nowrap;
}
.art-code b {
  color: var(--night-link);
}
.art-code i {
  font-style: normal;
  color: var(--d-muted);
}
.also {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--stone);
}
.also b {
  margin-right: 4px;
  color: var(--ink);
}
.also span {
  padding: 5px 11px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 36px;
  margin-top: 48px;
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillar svg {
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.pillar p {
  font-size: 15.5px;
  color: var(--stone);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 22px;
  margin-bottom: 10px;
  border-radius: 7px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}
.steps h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.steps p {
  font-size: 15.5px;
  color: var(--stone);
}
.steps a,
.faq a {
  color: var(--red-hover);
  font-weight: 650;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px 56px;
  align-items: start;
}
.faq-list {
  border-top: 1.5px solid var(--line);
}
.faq details {
  border-bottom: 1.5px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 2px;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--white);
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.25s var(--ease-lay);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list p {
  max-width: 40em;
  padding: 0 2px 22px;
  font-size: 16px;
  color: var(--stone);
}

.band {
  position: relative;
  margin-top: 112px;
  overflow: hidden;
  background: var(--red);
  color: var(--white);
}
.band-brick {
  position: absolute;
  right: -6%;
  bottom: -32%;
  width: min(58%, 720px);
  fill: var(--red-hover);
  opacity: 0.6;
  pointer-events: none;
}
.band-in {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-block: 88px;
}
.band h2 {
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 800;
}
.band p {
  max-width: 30em;
  font-size: 19px;
  color: var(--tint);
}

.foot {
  padding-block: 56px 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.foot p {
  max-width: 22em;
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--stone);
}
.foot h2 {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}
.foot ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  font-weight: 550;
}
.foot a {
  text-decoration: none;
}
.foot a:hover {
  color: var(--red);
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.foot-legal p {
  max-width: 60em;
  margin: 0;
  font-size: 13px;
}

@media (max-width: 900px) {
  .bento,
  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile.span-md {
    grid-column: span 2;
  }
  .steps,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .section {
    padding-top: 80px;
  }
  .bento,
  .pillar-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile.wide,
  .tile.span-md {
    grid-column: auto;
  }
  .tile {
    padding: 22px;
  }
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Shared bits for the fuller page ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  color: var(--red-hover);
  font-weight: 700;
  text-decoration: none;
}
.more-link:hover {
  text-decoration: underline;
}
.ticks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.ticks li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 8px;
  border-radius: 3px;
  background: var(--night);
}
.ticks-red li::before {
  background: var(--red);
}

/* ---------- Why one workspace ---------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px 64px;
  align-items: start;
}
.compare ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.compare li,
.compare-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.compare-head {
  padding: 0 18px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}
.before,
.after {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.45;
}
.before {
  color: var(--stone);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.after {
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  font-weight: 600;
}
.before svg,
.after svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.before svg {
  stroke: var(--line-strong);
}
.after svg {
  stroke: var(--red);
}

/* ---------- More tiles ---------- */
.art-voice {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--stone);
}
.bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 34px;
}
.bars i {
  width: 5px;
  height: 100%;
  border-radius: 3px;
  background: var(--red);
  transform-origin: center;
  animation: talk 1.1s ease-in-out infinite;
}
.bars i:nth-child(2n) {
  animation-delay: 0.15s;
}
.bars i:nth-child(3n) {
  animation-delay: 0.3s;
}
.bars i:nth-child(4n) {
  animation-delay: 0.45s;
}
@keyframes talk {
  0%,
  100% {
    transform: scaleY(0.25);
  }
  50% {
    transform: scaleY(1);
  }
}
.pick-model {
  background: var(--tint-soft);
  box-shadow: inset 0 0 0 1px var(--tint);
  color: var(--red-hover);
}

/* ---------- Built-in RAG ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 64px;
  align-items: center;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15.5px;
  color: var(--stone);
}
.feature-list li {
  display: flex;
  gap: 12px;
}
.feature-list li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 8px;
  margin-top: 8px;
  border-radius: 3px;
  background: var(--red);
}
.feature-list b {
  color: var(--ink);
}
.rag {
  --a-tint: var(--tint-soft);
  --a-accent: var(--red-hover);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: var(--white);
  box-shadow:
    0 1px 0 var(--line),
    0 30px 60px -30px var(--shade);
}
.rag .q {
  align-self: flex-end;
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  background: var(--bubble);
  font-size: 14.5px;
}
.rag .a {
  font-size: 15px;
  line-height: 1.65;
}
.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  border-radius: 10px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12.5px;
  font-weight: 650;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.source.on {
  background: var(--tint-soft);
  box-shadow: inset 0 0 0 1.5px var(--red);
}
.source b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
}
.passage {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
}
.where {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 700;
}
.where .ft {
  width: 22px;
  height: 22px;
  font-size: 8px;
}
.passage p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stone);
}
.passage mark {
  padding: 0 3px;
  border-radius: 4px;
  background: var(--tint);
  color: var(--ink);
}
/* With the script, the two passages share one place and take turns. */
.js .passage > div {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.4s;
}
.js .passage > div.on {
  opacity: 1;
}

/* ---------- Routing ---------- */
.router {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1000px;
  margin-top: 40px;
}
.route {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(24px, 70px) auto minmax(24px, 70px) minmax(0, 1fr);
  align-items: center;
}
.ask,
.pick {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow 0.3s;
}
.ask {
  font-size: 15px;
  font-weight: 600;
}
.pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 12px;
  font-size: 15px;
  font-weight: 700;
}
.route.on .ask,
.route.on .pick {
  box-shadow:
    0 1px 0 var(--line),
    0 0 0 1.5px var(--red);
}
.tier {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}
.tier.fast {
  color: var(--ok);
}
.tier.top {
  color: var(--red);
}
.cost {
  display: flex;
  gap: 3px;
}
.cost i {
  width: 12px;
  height: 7px;
  border-radius: 2px;
  background: var(--line);
}
.cost .on {
  background: var(--red);
}
.wire {
  position: relative;
  height: 2px;
  background: var(--line-strong);
  overflow: hidden;
}
.wire i {
  position: absolute;
  top: -2px;
  left: -14px;
  width: 14px;
  height: 6px;
  border-radius: 3px;
  background: var(--red);
  opacity: 0;
}
.route.on .wire i {
  animation: wire 0.6s ease-in-out both;
}
.route.on .wire.out i {
  animation-delay: 0.55s;
}
@keyframes wire {
  from {
    left: -14px;
    opacity: 1;
  }
  to {
    left: 100%;
    opacity: 1;
  }
}
.auto {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
}
.auto .mk {
  --mk: 18px;
}
.caption {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--stone);
}
.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 36px;
  margin-top: 48px;
}
.point h3 {
  margin-bottom: 6px;
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.point p {
  font-size: 15px;
  color: var(--stone);
}

/* ---------- Use cases by team ---------- */
.team-tabs {
  display: flex;
  gap: 6px;
  margin-top: 36px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
html:not(.js) .team-tabs {
  display: none;
}
.team-tab {
  flex: none;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  color: var(--stone);
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.team-tab:hover {
  color: var(--ink);
}
.team-tab[aria-selected="true"] {
  background: var(--ink);
  box-shadow: none;
  color: var(--white);
}
.team-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  animation: capin 0.4s var(--ease-lay) both;
}
.team-panel[hidden] {
  display: none;
}
.team-name {
  grid-column: 1 / -1;
  margin-top: 14px;
  font-size: 20px;
  font-weight: 800;
}
.js .team-name {
  display: none;
}
@keyframes capin {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.use {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.use-kind {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.use h4 {
  margin: 0;
  font-size: 18.5px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.use p {
  flex: 1;
  font-size: 15px;
  color: var(--stone);
}
.uses {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.uses span {
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px;
  font-weight: 650;
  color: var(--stone);
}

/* ---------- Pebrik Code on the home page ---------- */
.code-band {
  margin-top: 112px;
  background: var(--ink-deep);
  color: var(--d-text);
}
.code-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px 56px;
  align-items: center;
  padding-block: 96px;
}
.code-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.code-text .sec-title {
  margin: 0;
}
.code-text p {
  max-width: 34em;
  font-size: 17px;
  color: var(--d-muted);
}
.code-text .btn {
  margin-top: 8px;
}
.board {
  padding: 16px;
  border-radius: 20px;
  background: var(--d-canvas);
  box-shadow:
    0 0 0 1px var(--d-line),
    0 40px 100px -30px var(--shade-deep);
  font-size: 13px;
}
.board-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 14px;
  color: var(--d-muted);
}
.board-head b {
  color: var(--d-text);
}
.cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.col {
  min-height: 300px;
  padding: 10px;
  border-radius: 14px;
  background: var(--d-surface);
}
.col h4 {
  margin: 2px 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--d-muted);
}
.col-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.task-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: 11px;
  background: var(--d-raised);
  box-shadow: inset 0 0 0 1px var(--d-line);
  font-weight: 650;
  line-height: 1.3;
}
.task-card.moved {
  animation: capin 0.35s var(--ease-lay) both;
}
.task-card .mk {
  --mk: 18px;
}
.task-card .mk .b {
  fill: var(--night);
}
.task-card small {
  font-size: 11px;
  font-weight: 500;
  color: var(--d-muted);
}

/* ---------- Rollout and coming soon ---------- */
.offer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.offer-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.offer-card h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.offer-card.dark {
  background: var(--ink);
  color: var(--d-text);
}
.offer-card .quiet {
  color: var(--d-muted);
}
.offer-card .more-link {
  margin-top: auto;
}
.offer-card.dark .more-link {
  color: var(--night-link);
}

@media (max-width: 900px) {
  .why-grid,
  .split,
  .code-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .points,
  .team-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile.span-md {
    grid-column: span 2;
  }
}
@media (max-width: 700px) {
  .route {
    grid-template-columns: auto minmax(16px, 1fr) minmax(0, 2fr);
    row-gap: 8px;
  }
  .ask {
    grid-column: 1 / -1;
  }
  .wire.first {
    display: none;
  }
  .offer {
    grid-template-columns: minmax(0, 1fr);
  }
  .cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .col {
    min-height: 150px;
  }
}
@media (max-width: 600px) {
  .compare-head {
    display: none;
  }
  .compare li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .points,
  .team-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile.span-md {
    grid-column: auto;
  }
}

/* ---------- The platform: its overview, chapter bar and chapters ---------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
.chap {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 20px;
  margin-right: 10px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.pcards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.pcard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 24px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.3s var(--ease-lay),
    box-shadow 0.3s;
}
.pcard:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 var(--line),
    0 18px 40px var(--shade);
}
.pcard .chap {
  margin-bottom: 8px;
}
.pcard b {
  font-size: 20px;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.pdesc {
  font-size: 15px;
  color: var(--stone);
}
.subnav {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + var(--nav-h));
  z-index: 25;
  margin-top: 64px;
  background: color-mix(in srgb, var(--mortar) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.subnav-in {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 52px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 11px;
  color: var(--stone);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.subnav a:hover {
  background: var(--white);
  color: var(--ink);
}
.subnav a[aria-current] {
  background: var(--ink);
  color: var(--white);
}
.sub-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--red);
}
.subnav a[aria-current] .sub-num {
  color: var(--night-link);
}
.chapter {
  padding-top: 88px;
}
.agent-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  background: var(--white);
  box-shadow:
    0 1px 0 var(--line),
    0 30px 60px -30px var(--shade);
}
.ac-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.ac-av {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--tint-soft);
}
.ac-av .mk {
  --mk: 26px;
}
.ac-name {
  display: flex;
  flex-direction: column;
  margin-right: auto;
}
.ac-name b {
  font-size: 17px;
}
.ac-meta {
  font-size: 13px;
  color: var(--stone);
}
.ac-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.ac-label {
  padding-top: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}
.ac-text {
  font-size: 14.5px;
  line-height: 1.5;
}
.ac-chips .ft {
  width: 20px;
  height: 20px;
  font-size: 7.5px;
}
.conn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.conn-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.conn-card h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.conn-card p {
  font-size: 15px;
  color: var(--stone);
}
.conn-card .art-code {
  margin-top: auto;
}
@media (max-width: 900px) {
  .pcards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .conn-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .pcards {
    grid-template-columns: minmax(0, 1fr);
  }
  .ac-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .ac-label {
    padding-top: 0;
  }
}

/* ---------- Flows: the canvas, the uses and your own RAG pipeline ---------- */
.code-band .eyebrow,
.dark-hero .eyebrow {
  color: var(--night-link);
}
.canvas {
  margin-top: 40px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow:
    0 1px 0 var(--line),
    0 30px 70px -40px var(--shade);
}
.canvas-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.canvas-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.chip-l {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: 7px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px;
  font-weight: 650;
  color: var(--stone);
}
.live-l {
  color: var(--ok);
}
.live-l::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}
.flow-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--stone);
}
.flow-status::before {
  content: "";
  width: 12px;
  height: 7px;
  border-radius: 2px;
  background: var(--red);
}
.canvas-scroll {
  overflow-x: auto;
  background-color: var(--canvas);
  background-image: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0);
  background-size: 20px 20px;
}
.flow-svg {
  display: block;
  width: 100%;
  min-width: 900px;
  height: auto;
  font-family: var(--font);
}
.fe {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 2;
  transition: stroke 0.3s;
}
.fe.back {
  stroke-dasharray: 5 6;
}
.fe.lit {
  stroke: var(--red);
  stroke-width: 2.5;
  stroke-dasharray: 7 6;
  animation: dash 0.7s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -13;
  }
}
.fe-label rect {
  fill: var(--white);
  stroke: var(--line);
}
.fe-label text {
  font-size: 12px;
  font-weight: 700;
  text-anchor: middle;
  fill: var(--stone);
}
.fn-box {
  fill: var(--white);
  stroke: var(--line);
  stroke-width: 1.5;
  transition:
    fill 0.3s,
    stroke 0.3s;
}
.fn-kind {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  fill: var(--red);
}
.fn-title {
  font-size: 14.5px;
  font-weight: 750;
  fill: var(--ink);
}
.fn-sub {
  font-size: 12px;
  fill: var(--stone);
}
.fn-mark {
  fill: var(--red);
}
.port {
  fill: var(--white);
  stroke: var(--line-strong);
  stroke-width: 1.5;
}
.fn-when .fn-kind {
  fill: var(--ok);
}
.fn-approval .fn-kind {
  fill: var(--red-hover);
}
.fn-skill .fn-kind,
.fn-knowledge .fn-kind,
.fn-action .fn-kind {
  fill: var(--stone);
}
.fn-paths .fn-box {
  fill: var(--ink);
  stroke: var(--ink);
}
.fn-paths .fn-kind {
  fill: var(--night-link);
}
.fn-paths .fn-title {
  fill: var(--white);
}
.fn-paths .fn-sub {
  fill: var(--d-muted);
}
.fn-paths .fn-mark {
  fill: var(--night);
}
.fn.lit .fn-box {
  fill: var(--tint-soft);
  stroke: var(--red);
  stroke-width: 2.5;
}
.fn-paths.lit .fn-box {
  fill: var(--ink);
}
.fn.lit .port {
  stroke: var(--red);
}
.flow-uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin-top: 6px;
}
.chain span {
  position: relative;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px;
  font-weight: 650;
  color: var(--stone);
}
.chain > * + * {
  margin-left: 18px;
}
.chain > * + *::before {
  content: "→";
  position: absolute;
  left: -14px;
  color: var(--line-strong);
}
.pipeline {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px 48px;
  align-items: center;
  margin-top: 14px;
  padding: 34px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--d-text);
}
.pipeline-text .kicker {
  color: var(--night-link);
}
.pipeline-text h3 {
  margin: 8px 0 12px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.pipeline-text p {
  font-size: 16px;
  color: var(--d-muted);
}
.pipe {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pipe li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--d-raised);
  box-shadow: inset 0 0 0 1px var(--d-line);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.3;
  animation: pipe 8s ease-in-out infinite;
}
.pipe li:not(:nth-child(4n))::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translate(50%, -50%);
  font-size: 12px;
  color: var(--d-muted);
}
.pipe small {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--d-muted);
}
.pipe li:nth-child(2) {
  animation-delay: 1s;
}
.pipe li:nth-child(3) {
  animation-delay: 2s;
}
.pipe li:nth-child(4) {
  animation-delay: 3s;
}
.pipe li:nth-child(5) {
  animation-delay: 4s;
}
.pipe li:nth-child(6) {
  animation-delay: 5s;
}
.pipe li:nth-child(7) {
  animation-delay: 6s;
}
.pipe li:nth-child(8) {
  animation-delay: 7s;
}
@keyframes pipe {
  0%,
  14%,
  100% {
    box-shadow: inset 0 0 0 1px var(--d-line);
  }
  4%,
  10% {
    box-shadow:
      inset 0 0 0 1.5px var(--night),
      0 0 0 4px color-mix(in srgb, var(--night) 22%, transparent);
  }
}

/* ---------- Pebrik in Excel and Brik ---------- */
.art-sheet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 380px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.cell {
  padding: 7px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
}
.cell:nth-child(3n) {
  border-right: 0;
}
.cell.h {
  background: var(--canvas);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
}
.cell.new {
  background: var(--change);
  color: var(--change-text);
}
.brik-demo {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.brik-tip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: var(--white);
  box-shadow:
    0 1px 0 var(--line),
    0 24px 50px -28px var(--shade);
}
.brik-face {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--tint-soft);
}
.brik-face svg {
  width: 38px;
  height: 21px;
  overflow: visible;
}
.bf-body {
  fill: var(--red);
}
.bf-eye {
  fill: var(--white);
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 4s ease-in-out infinite;
}
@keyframes blink {
  0%,
  44%,
  50%,
  100% {
    transform: scaleY(1);
  }
  47% {
    transform: scaleY(0.1);
  }
}
.brik-say {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brik-say b {
  font-size: 15px;
}
.brik-say p {
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--stone);
}
.brik-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.brik-card > b {
  font-size: 14.5px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--stone);
}
.check::before {
  content: "";
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.js .check[data-at] {
  opacity: 1;
  transform: none;
}
.check.in {
  color: var(--ink);
}
.check.in::before {
  content: "✓";
  background: var(--red);
  box-shadow: none;
}
.bar-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}
.row-name {
  font-style: normal;
  font-weight: 650;
}
.bar-row em {
  font-style: normal;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--stone);
}
.meter {
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
}
.meter span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--red);
  transition: width 1s var(--ease-lay);
}
.m86 {
  width: 86%;
}
.m74 {
  width: 74%;
}
.m38 {
  width: 38%;
}
.js .admin-card:not(.in) .meter > * {
  width: 0;
}
.suggest {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--red-hover);
}
.suggest .mk {
  --mk: 18px;
}
@media (max-width: 900px) {
  .flow-uses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pipeline {
    grid-template-columns: minmax(0, 1fr);
    padding: 26px;
  }
}
@media (max-width: 600px) {
  .flow-uses {
    grid-template-columns: minmax(0, 1fr);
  }
  .pipe {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pipe li:not(:nth-child(4n))::after {
    content: none;
  }
}

/* ---------- The other pages: Pebrik Code and the trust centre ---------- */
.page-hero {
  padding-block: 72px 24px;
}
.dark-hero {
  margin-top: calc(-1 * var(--nav-h));
  padding-block: calc(var(--nav-h) + 72px) 96px;
  background: var(--ink-deep);
  color: var(--d-text);
}
.page-hero-in {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.page-title {
  max-width: 14em;
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 800;
}
.page-lede {
  max-width: 36em;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--stone);
}
.dark-hero .page-lede {
  color: var(--d-muted);
}
.dark-hero .btn-ghost {
  color: var(--d-text);
  box-shadow: inset 0 0 0 1.5px var(--d-line);
}
.dark-hero .btn-ghost:hover {
  background: var(--d-raised);
}
.desk {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) minmax(0, 0.9fr);
  height: 500px;
  margin-top: 56px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--d-canvas);
  box-shadow:
    0 0 0 1px var(--d-line),
    0 50px 120px -30px var(--shade-deep);
  font-size: 13.5px;
}
.desk .mk .b {
  fill: var(--night);
}
.desk-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 10px;
  background: var(--d-surface);
  border-right: 1px solid var(--d-line);
}
.desk-side .side-top svg {
  fill: var(--night);
}
.desk-label {
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--d-muted);
}
.desk-task {
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 650;
}
.desk-task.on {
  background: var(--d-raised);
  box-shadow: inset 0 0 0 1px var(--d-line);
}
.desk-task small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--d-muted);
}
.desk-chat,
.desk-changes {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.desk-changes {
  gap: 8px;
  padding-bottom: 16px;
  border-left: 1px solid var(--d-line);
}
.desk-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 16px;
  border-bottom: 1px solid var(--d-line);
  color: var(--d-muted);
  white-space: nowrap;
  overflow: hidden;
}
.desk-head b {
  margin-right: auto;
  color: var(--d-text);
}
.desk .chip {
  height: 24px;
  padding: 0 9px;
  border-radius: 7px;
  background: var(--d-raised);
  box-shadow: inset 0 0 0 1px var(--d-line);
  font-size: 12px;
  color: var(--d-muted);
}
.desk-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}
.you {
  align-self: flex-end;
  max-width: 85%;
  padding: 9px 13px;
  border-radius: 14px 14px 4px 14px;
  background: var(--d-bubble);
}
.dstep {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--d-muted);
  font-weight: 550;
}
.dstep .mk {
  --mk: 20px;
}
.dsay {
  line-height: 1.6;
}
.desk-changes .file {
  margin-inline: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--d-raised);
  box-shadow: inset 0 0 0 1px var(--d-line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}
.desk-changes .file span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.desk-changes .file em {
  font-style: normal;
  color: var(--d-ok);
}
.diff {
  margin-inline: 14px;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-radius: 10px;
  background: var(--d-surface);
  overflow: hidden;
}
.diff code {
  padding: 1px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: var(--d-muted);
  white-space: pre;
}
.diff code.add {
  background: color-mix(in srgb, var(--d-ok) 12%, transparent);
  color: var(--d-text);
}
.keep {
  margin-inline: 14px;
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.btn-quiet {
  background: var(--d-raised);
  color: var(--d-muted);
}
.js [data-at] {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s ease,
    transform 0.4s var(--ease-lay);
}
.js [data-at].in {
  opacity: 1;
  transform: none;
}
.stages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
  box-shadow:
    0 1px 0 var(--line),
    0 30px 60px -30px var(--shade);
}
.stage-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}
.role {
  align-self: center;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}
.agent {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 11px 12px;
  border-radius: 13px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.3;
}
.agent.wide-agent {
  grid-column: span 2;
}
.agent .mk {
  --mk: 18px;
}
.agent small {
  flex-basis: 100%;
  padding-left: 26px;
  font-size: 12px;
  font-weight: 500;
  color: var(--stone);
}
.pillar code {
  font-size: 0.9em;
}
.fits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 24px;
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.fact b {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.fact-note {
  font-size: 14px;
  color: var(--stone);
}
.doc {
  padding-top: 48px;
}
.doc-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.doc-nav {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  font-weight: 600;
}
.doc-nav a {
  padding: 6px 10px;
  border-radius: 9px;
  color: var(--stone);
  text-decoration: none;
}
.doc-nav a:hover {
  background: var(--white);
  color: var(--ink);
}
.doc-body {
  display: flex;
  flex-direction: column;
  gap: 44px;
  max-width: 720px;
}
.doc-body section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.doc-body h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.doc-body p,
.doc-list {
  font-size: 16.5px;
  color: var(--stone);
}
.doc-body a {
  color: var(--red-hover);
  font-weight: 650;
}
.doc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.doc-list li {
  display: flex;
  gap: 12px;
}
.doc-list li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 7px;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--red);
}
.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}
.table th,
.table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.table th {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}
.table tr:last-child td {
  border-bottom: 0;
}
.table td:first-child {
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .desk {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }
  .desk-side {
    display: none;
  }
}
@media (max-width: 900px) {
  .doc-grid,
  .fits {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc-nav {
    display: none;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .desk {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }
  .desk-changes {
    border-left: 0;
    border-top: 1px solid var(--d-line);
  }
  .stage-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .role {
    grid-column: 1 / -1;
  }
}

/* Over the dark product band, the nav turns dark too. */
.nav.on-dark {
  background: color-mix(in srgb, var(--ink-deep) 78%, transparent);
  border-bottom-color: var(--d-line);
  color: var(--d-text);
}
.nav.on-dark .logo svg {
  fill: var(--night);
}
.nav.on-dark .nav-links,
.nav.on-dark .btn-plain {
  color: var(--d-muted);
}
.nav.on-dark .nav-links a:hover,
.nav.on-dark .btn-plain:hover {
  color: var(--d-text);
}
.nav.on-dark .nav-links a:hover {
  background: color-mix(in srgb, var(--white) 9%, transparent);
}
.nav.on-dark .nav-links a[aria-current] {
  color: var(--d-text);
}
.nav.on-dark .nav-links a[aria-current]::after {
  background: var(--night);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    /* biome-ignore lint/complexity/noImportantStyles: stillness wins over every animation */
    animation: none !important;
    /* biome-ignore lint/complexity/noImportantStyles: and over every transition */
    transition: none !important;
  }
}

/* ---------- The page for a missing address ---------- */
.missing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-block: 56px 96px;
}
.missing .sec-title {
  margin-top: 64px;
}
.missing .cta-row {
  margin-top: 12px;
}
