html {
  scroll-behavior: smooth;
}
body {
  background: var(--cream);
  color: var(--ink);
  font-family:
    "Space Grotesk",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
::selection {
  background: var(--sunny);
}
a {
  color: var(--violet);
}
code,
pre,
.mono {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.blob-a {
  width: 44vw;
  height: 44vw;
  background: var(--coral);
  opacity: 0.28;
  top: -16vw;
  right: -12vw;
}
.blob-b {
  width: 38vw;
  height: 38vw;
  background: var(--violet);
  opacity: 0.18;
  top: 38vh;
  left: -14vw;
}
.blob-c {
  width: 26vw;
  height: 26vw;
  background: var(--sunny);
  opacity: 0.3;
  bottom: -10vw;
  right: 8vw;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 236, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 21, 35, 0.08);
}
.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: auto;
  height: 38px;
  flex: none;
  transition: transform 340ms var(--ease-spring);
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
}
.nav-links a.plain {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 160ms var(--ease-out);
}
.nav-links a.plain:hover {
  color: var(--ink);
}
.gh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition:
    background 180ms var(--ease-out),
    transform 280ms var(--ease-spring);
}
.gh-btn:hover {
  background: #2c2438;
}
.gh-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
@media (max-width: 720px) {
  .nav-links a.plain {
    display: none;
  }
}

/* ---------- hero ---------- */
header.hero {
  padding: 84px 0 40px;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 999px;
  transform: rotate(-2deg);
}
.badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
}
h1 {
  margin: 30px auto 0;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.marker {
  position: relative;
  white-space: nowrap;
}
.marker::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.06em;
  height: 0.32em;
  background: var(--sunny);
  border-radius: 8px;
  z-index: -1;
  transform: rotate(-1deg);
}
.hero-sub {
  margin: 24px auto 0;
  max-width: 600px;
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 500;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  justify-content: center;
}
/* First-impression entrance, gated to motion-friendly users only. */
@media (prefers-reduced-motion: no-preference) {
  .hero .badge,
  .hero h1,
  .hero .hero-sub,
  .hero .hero-ctas {
    opacity: 0;
    transform: translateY(14px);
    animation: hero-rise 550ms var(--ease-out) forwards;
  }
  .hero h1 {
    animation-delay: 60ms;
  }
  .hero .hero-sub {
    animation-delay: 140ms;
  }
  .hero .hero-ctas {
    animation-delay: 220ms;
  }
  .marker::after {
    transform: scaleX(0) rotate(-1deg);
    transform-origin: left center;
    animation: marker-draw 500ms var(--ease-out) 420ms forwards;
  }
}
@keyframes hero-rise {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes marker-draw {
  to {
    transform: scaleX(1) rotate(-1deg);
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 280ms var(--ease-spring);
}
.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(108, 77, 246, 0.55);
}
.btn-primary svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.btn-code {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13.5px;
  font-weight: 700;
}
.btn-code .copy-hint {
  color: var(--ink-faint);
  font-size: 12px;
}

/* ---------- demo scene ---------- */
/* The demo has two beats: a large centered console for startup and results, then a review
   beat where it moves left into the browser's empty lower edge. The fixed scene height
   keeps the console clear of the Verdict controls while both pieces transition. */
.scene {
  position: relative;
  max-width: 820px;
  margin: 70px auto 0;
  min-height: 560px;
}
.browser {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: min(640px, 100%);
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(26, 21, 35, 0.4);
  border: 1px solid rgba(26, 21, 35, 0.08);
  opacity: 0;
  transform: translateX(-50%) translateY(18px) scale(0.97);
  transition:
    opacity 500ms var(--ease-out),
    transform 650ms var(--ease-spring);
}
.scene.review .browser {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #faf7ff;
  border-bottom: 1px solid var(--card-border);
}
.lights {
  display: flex;
  gap: 7px;
}
.lights span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.lights span:nth-child(1) {
  background: var(--coral);
}
.lights span:nth-child(2) {
  background: var(--sunny);
}
.lights span:nth-child(3) {
  background: var(--mint);
}
.url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: left;
}
/* Extra bottom padding: the cornered console must land on empty stage, not the buttons. */
.stage {
  padding: 26px 26px 90px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.stage-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.stage-progress {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.candidate {
  transition:
    transform 340ms var(--ease-in-out),
    opacity 340ms var(--ease-in-out);
}
.candidate.leaving {
  transform: translateX(-46px) rotate(-3deg);
  opacity: 0;
}
.candidate.entering {
  transform: translateX(46px);
  opacity: 0;
}
.candidate-preview {
  height: 128px;
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  padding: 13px;
}
.candidate-preview .file-chip {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
}
.candidate-note {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.verdicts {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}
.verdict {
  flex: 1;
  padding: 13px 0;
  border-radius: 15px;
  border: 2px solid var(--card-border);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-faint);
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background 160ms var(--ease-out),
    color 160ms var(--ease-out);
}
.verdict.pressed,
.verdict:active {
  transform: scale(0.94);
}
.verdict.v-pass.pressed {
  background: #efe9f7;
  color: var(--ink-soft);
}
.verdict.v-keep.pressed {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink);
}
.verdict.v-love.pressed {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}
.thanks {
  display: none;
  text-align: center;
  padding: 40px 0 30px;
}
.thanks.show {
  display: block;
  animation: pop-in 450ms var(--ease-out) both;
}
.thanks .big {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.thanks .small {
  margin-top: 8px;
  color: var(--ink-faint);
  font-size: 14px;
}
.thanks .heart {
  color: var(--coral);
}
.terminal {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(580px, 92%);
  background: var(--terminal);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(23, 18, 33, 0.65);
  transform: translate(-50%, -50%) rotate(-1.2deg);
  transition:
    transform 650ms var(--ease-in-out),
    width 650ms var(--ease-in-out),
    left 650ms var(--ease-in-out),
    top 650ms var(--ease-in-out);
}
/* Keep the console below the controls; it overlaps only the browser's generous bottom padding. */
.scene.review .terminal {
  left: 0;
  top: calc(100% - 12px);
  width: min(430px, 80%);
  transform: translate(0, -100%) rotate(-1.2deg);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: #221a31;
  color: #9b90b3;
  font-size: 12px;
}
.terminal-body {
  height: 148px;
  overflow: hidden;
  padding: 16px 18px 18px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.8px;
  line-height: 1.75;
  color: #efe9f7;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
}
.t-prompt {
  color: var(--violet);
  font-weight: 700;
}
.t-url {
  color: var(--mint);
}
.t-dim {
  color: #9b90b3;
}
.t-love {
  color: var(--coral);
}
.t-keep {
  color: var(--mint);
}
.caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--mint);
  vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.cursor {
  position: absolute;
  z-index: 10;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  transition:
    transform 550ms var(--ease-out),
    opacity 300ms var(--ease-out);
  filter: drop-shadow(0 4px 8px rgba(26, 21, 35, 0.35));
}
.cursor svg {
  display: block;
  transition: transform 0.12s ease;
}
.cursor.clicking svg {
  transform: scale(0.78);
}
@media (max-width: 640px) {
  /* The two-beat choreography degrades to a simple stack on phones. */
  .scene {
    min-height: 0;
  }
  .browser {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    opacity: 1;
    transform: none;
  }
  .scene.review .browser {
    transform: none;
  }
  .terminal {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin-top: 18px;
    transform: rotate(-1.2deg);
  }
  .scene.review .terminal {
    transform: rotate(-1.2deg);
  }
}

/* ---------- sections ---------- */
section {
  padding: 88px 0 24px;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.coral {
  background: rgba(255, 90, 122, 0.14);
  color: #d63d5e;
}
.eyebrow.violet {
  background: rgba(108, 77, 246, 0.13);
  color: var(--violet);
}
.eyebrow.mint {
  background: rgba(62, 221, 180, 0.2);
  color: #0f8a68;
}
.eyebrow.sunny {
  background: rgba(255, 197, 49, 0.25);
  color: #8a6400;
}
h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.section-sub {
  margin-top: 14px;
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 48px -32px rgba(26, 21, 35, 0.25);
  transition:
    transform 320ms var(--ease-spring),
    box-shadow 320ms var(--ease-out);
}
.card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 16px;
}
.card p {
  margin-top: 9px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.card .glyph {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  transition: transform 320ms var(--ease-spring);
}
.glyph.v {
  background: var(--violet);
  transform: rotate(-4deg);
}
.glyph.c {
  background: var(--coral);
  transform: rotate(3deg);
}
.glyph.m {
  background: #19b58c;
  transform: rotate(-2deg);
}
.glyph.s {
  background: #e0a400;
  transform: rotate(4deg);
}
.card code {
  background: #f4effc;
  padding: 2px 7px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--violet);
}

/* steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 44px;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr 1.1fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 26px 28px;
  box-shadow: 0 24px 48px -36px rgba(26, 21, 35, 0.3);
  transition:
    transform 320ms var(--ease-spring),
    box-shadow 320ms var(--ease-out);
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  font-weight: 700;
  transform: rotate(-3deg);
  transition: transform 340ms var(--ease-spring);
}
.step:nth-child(2) .step-num {
  background: var(--coral);
  color: #fff;
  transform: rotate(3deg);
}
.step:nth-child(3) .step-num {
  background: var(--violet);
  color: #fff;
  transform: rotate(-2deg);
}
.step h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
}
.step p {
  margin-top: 7px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.step .mock {
  background: var(--terminal);
  border-radius: 16px;
  padding: 15px 17px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.3px;
  line-height: 1.8;
  color: #efe9f7;
  overflow-x: auto;
  white-space: nowrap;
}
.step .mock.light {
  background: #faf7ff;
  border: 1px solid var(--card-border);
}
.mock-verdicts {
  display: flex;
  gap: 8px;
}
.mock-verdict {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 12px;
  border: 2px solid var(--card-border);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-faint);
  white-space: nowrap;
}
.mock-verdict.love {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}
@media (max-width: 860px) {
  .step {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-num {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

/* install */
.install-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.install-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 30px 60px -30px rgba(26, 21, 35, 0.55);
}
.install-card.skill {
  background: var(--violet);
  box-shadow: 0 30px 60px -30px rgba(108, 77, 246, 0.6);
}
.install-card h3 {
  font-size: 21px;
  letter-spacing: -0.01em;
}
.install-card > p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  opacity: 0.82;
}
.cmd {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cmd code {
  flex: 1;
  font-size: 12.2px;
  color: #fff;
  overflow-x: auto;
  white-space: nowrap;
  background: none;
  scrollbar-width: none;
}
.cmd code .p {
  color: var(--mint);
}
.copy-btn {
  flex: none;
  background: var(--cream);
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 180ms var(--ease-out),
    transform 220ms var(--ease-spring);
}
.copy-btn:hover {
  background: #fff;
}
.install-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 246, 236, 0.9);
}

/* docs table */
.docs-table {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 48px -36px rgba(26, 21, 35, 0.3);
}
.docs-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.docs-table th {
  text-align: left;
  padding: 14px 20px;
  background: #faf7ff;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.docs-table td {
  padding: 14px 20px;
  border-top: 1px solid #f3edf9;
  vertical-align: top;
}
.docs-table td:first-child {
  white-space: nowrap;
}
.docs-table code {
  background: #f4effc;
  padding: 2.5px 8px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--violet);
}
.docs-table tr:nth-child(even) td {
  background: #fdfcfa;
}
.docs-more {
  margin-top: 24px;
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* oss */
.oss-panel {
  margin-top: 44px;
  background: linear-gradient(135deg, var(--violet), var(--coral));
  border-radius: 28px;
  padding: 46px 40px;
  color: #fff;
  text-align: center;
  box-shadow: 0 40px 70px -35px rgba(255, 90, 122, 0.55);
  transform: rotate(-0.4deg);
}
.oss-panel h2 {
  color: #fff;
}
.oss-panel p {
  margin: 16px auto 0;
  max-width: 540px;
  font-size: 16.5px;
  line-height: 1.65;
  opacity: 0.94;
}
.oss-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}
.oss-links a {
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 999px;
  transition:
    background 200ms var(--ease-out),
    transform 280ms var(--ease-spring);
}
.oss-links a:hover {
  background: rgba(255, 255, 255, 0.3);
}
.oss-links a.solid {
  background: var(--ink);
  border-color: var(--ink);
}

/* footer */
/* public sessions / tunnel */
.tunnel {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  margin-top: 44px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .tunnel {
    grid-template-columns: 1fr;
  }
}
.tunnel-cmd {
  background: var(--terminal);
  border-radius: 24px;
  padding: 28px 30px;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 30px 60px -30px rgba(23, 18, 33, 0.55);
}
.tunnel-cmd .line {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13.5px;
  line-height: 1.9;
}
.tunnel-cmd .gap {
  height: 8px;
}
.tunnel-provs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.tunnel-provs .prov {
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--cream);
}

/* Slack-ish message mock: recognizable enough to read as "posted in a channel". */
.slack {
  background: #fff;
  border: 1px solid #e6e1e9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(26, 21, 35, 0.3);
  display: flex;
  min-height: 290px;
}
.slack-rail {
  width: 48px;
  flex: none;
  background: #3f0e40;
  color: #c8b8cc;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}
.slack-rail .ws {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--coral), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
}
.slack-rail .h {
  font-size: 16px;
  opacity: 0.55;
}
.slack-rail .h.on {
  opacity: 1;
  color: #fff;
}
.slack-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.slack-ch {
  padding: 13px 16px;
  border-bottom: 1px solid #ece6f0;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.slack-ch .hash {
  color: #8b8496;
}
.slack-ch .members {
  color: #8b8496;
  font-weight: 500;
  font-size: 12.5px;
  margin-left: 4px;
}
.slack-msgs {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
}
.msg {
  display: flex;
  gap: 12px;
}
.msg .av {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.msg .av.s {
  background: #fef0d3;
}
.msg .av.a {
  background: #d9ecff;
}
.msg .body {
  min-width: 0;
}
.msg .who {
  font-size: 13.5px;
  font-weight: 700;
}
.msg .when {
  font-size: 12px;
  color: #8b8496;
  margin-left: 7px;
  font-weight: 500;
}
.msg .text {
  font-size: 14px;
  line-height: 1.5;
  color: #2a2336;
  margin-top: 2px;
}
.msg .text a {
  color: #1264a3;
  text-decoration: none;
  font-weight: 600;
  word-break: break-all;
}
.reactions {
  display: flex;
  gap: 6px;
  margin-top: 9px;
  flex-wrap: wrap;
}
.reaction {
  font-size: 12px;
  background: #f4f0f8;
  border: 1px solid #ece6f0;
  border-radius: 999px;
  padding: 2px 9px;
  color: #4a4257;
  font-weight: 600;
}
.reaction.me {
  background: #fde7ef;
  border-color: #fbcfdd;
  color: #d63d5e;
}
.typing {
  font-size: 12.5px;
  color: #8b8496;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 48px;
}
.typing .dots {
  display: inline-flex;
  gap: 3px;
}
.typing .dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b6afc2;
  animation: tdot 1.2s infinite ease-in-out;
}
.typing .dots span:nth-child(2) {
  animation-delay: 0.15s;
}
.typing .dots span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes tdot {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

footer {
  margin-top: 100px;
  border-top: 1px solid rgba(26, 21, 35, 0.1);
  padding: 40px 0 48px;
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-faint);
}
.foot-inner a {
  color: var(--ink-soft);
  transition: color 160ms var(--ease-out);
}
.foot-inner a:hover {
  color: var(--ink);
}
.foot-note {
  width: 100%;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-faint);
}
.heart {
  color: var(--coral);
}

/* Hover & press motion: real pointers with a motion preference only.
   Touch devices fire hover on tap; reduced-motion users get color feedback only. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn:hover {
    transform: translateY(-3px);
  }
  .btn:active {
    transition-duration: 140ms;
    transition-timing-function: var(--ease-out);
    transform: scale(0.97);
  }
  .btn-code.copied {
    transform: scale(1.03);
  }
  .gh-btn:hover {
    transform: translateY(-2px);
  }
  .gh-btn:active {
    transition-duration: 140ms;
    transition-timing-function: var(--ease-out);
    transform: scale(0.96);
  }
  .copy-btn:hover {
    transform: translateY(-1px);
  }
  .copy-btn:active {
    transition-duration: 140ms;
    transition-timing-function: var(--ease-out);
    transform: scale(0.95);
  }
  .copy-btn.copied {
    transform: scale(1.08);
  }
  /* The skewed set straightens out when a link invites you in. */
  .logo:hover .logo-mark {
    transform: scale(1.09);
  }
  .card:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 0 34px 60px -30px rgba(26, 21, 35, 0.32);
  }
  .card:hover .glyph {
    transform: rotate(0deg) scale(1.08);
  }
  .step:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 56px -34px rgba(26, 21, 35, 0.35);
  }
  .step:hover .step-num {
    transform: rotate(0deg) scale(1.05);
  }
  .oss-links a:hover {
    transform: translateY(-2px);
  }
  .oss-links a:active {
    transition-duration: 140ms;
    transition-timing-function: var(--ease-out);
    transform: scale(0.96);
  }
  .verdict:hover {
    transform: translateY(-2px);
  }
}

/* Scroll reveal — armed by JS only, so no-JS and reduced-motion stay fully visible. */
[data-reveal].reveal-armed {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}
[data-reveal].reveal-armed.revealed {
  opacity: 1;
  transform: none;
}
/* The OSS panel keeps its tilt while revealing. */
.oss-panel.reveal-armed {
  transform: translateY(18px) rotate(-0.4deg);
}
.oss-panel.reveal-armed.revealed {
  transform: rotate(-0.4deg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cursor,
  .caret {
    display: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  /* Keep color/opacity feedback; kill the movement in the demo pieces. */
  .candidate {
    transition-property: opacity;
  }
  .verdict {
    transition-property: background, color, border-color;
    transform: none !important;
  }
}
