:root {
  --bg: #050506;
  --bg-elevated: #141416;
  --ink: #f4f4f5;
  --ink-muted: #8e8e96;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(7, 7, 8, 0.94);
  --font: Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --max: 1240px;
  --wide: 1320px;
  --display: clamp(2.15rem, 4.8vw, 3.1rem);
  --title: clamp(1.65rem, 3.2vw, 2.15rem);
  /* inset for the hairline rules and card edges under each heading */
  --rule-w: 90%;
  --rule-max: 68rem;
  --facts-gap: clamp(3rem, 6vw, 5.5rem);
}

@media (max-width: 640px) {
  :root { --rule-w: 100%; }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  letter-spacing: 0.01em;
  line-height: 1.55;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(255, 255, 255, 0.045), transparent 55%),
    radial-gradient(900px 500px at 110% 8%, rgba(255, 255, 255, 0.03), transparent 46%),
    #050506;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; }
em, i { font-style: normal; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem clamp(1.2rem, 4vw, 2.4rem);
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  position: relative;
  isolation: isolate;
  font-size: 1.22rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.28rem 0.4rem 0.28rem 0.15rem;
}

.brand::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -0.45rem;
  top: 50%;
  width: 2.6rem;
  height: 2.6rem;
  transform: translateY(-52%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 40%, rgba(255, 255, 255, 0.38), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16), transparent 68%);
  filter: blur(1px);
  pointer-events: none;
}

.brand span,
.footer-brand span { color: var(--ink-muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.5vw, 1.5rem);
  font-size: 0.88rem;
}

.nav-links a:not(.btn) {
  color: var(--ink-muted);
  text-decoration: none;
}

.nav-links a:not(.btn):hover { color: var(--ink); }

@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
}

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.48rem 1.05rem;
  font-size: 0.88rem;
  font-weight: 400;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-lg { padding: 0.7rem 1.35rem; font-size: 0.95rem; }

.btn-solid {
  background: var(--ink);
  border-color: var(--ink);
  color: #0a0a0b;
}

.btn-solid:hover { background: #fff; border-color: #fff; }

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); }

[aria-disabled='true'] { opacity: 0.5; cursor: default; pointer-events: none; }

/* ----------------------------------------------------------------- lead */
.lead {
  position: relative;
  z-index: 2;
  min-height: 72svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 0 8.5rem;
  margin-bottom: -24vh;
  background: linear-gradient(
    180deg,
    #050506 0%,
    #050506 46%,
    rgba(5, 5, 6, 0.78) 64%,
    rgba(5, 5, 6, 0.28) 82%,
    transparent 100%
  );
}

.lead-inner {
  width: min(52rem, calc(100% - 2rem));
}

.lead h1 {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  white-space: nowrap;
  gap: 0.08em 0.28em;
  font-size: clamp(1.45rem, 6.4vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.92;
  padding: 0;
}

.lead-word {
  display: block;
  margin: 0;
  opacity: 0;
  transform: scale(0.96) translateY(18px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 90ms);
}

.lead.is-in .lead-word,
.hero-stage.is-live .lead-word {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.hero-stage.is-leaving .lead-word {
  opacity: 0;
  transform: scale(0.99) translateY(-16px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 55ms);
}

.lead-sub {
  max-width: 28rem;
  margin: 1.15rem auto 0;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 400;
  line-height: 1.45;
  opacity: 0;
  transform: scale(0.985) translateY(10px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.22s,
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.22s;
}

.lead.is-in .lead-sub,
.hero-stage.is-live .lead-sub {
  opacity: 1;
  transform: none;
}

.hero-stage.is-leaving .lead-sub {
  opacity: 0;
  transform: scale(0.99) translateY(-12px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.lead .hero-cta {
  margin-top: 1.9rem;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.34s,
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.34s;
}

.lead.is-in .hero-cta {
  opacity: 1;
  transform: none;
}

.lead .hero-note {
  opacity: 0;
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.42s;
}

.lead.is-in .hero-note { opacity: 1; }

.lead .btn-lg {
  padding: 0.82rem 1.55rem;
  font-size: 1.02rem;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .lead-word,
  .lead-sub,
  .lead .hero-cta,
  .lead .hero-note {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----------------------------------------------------------------- hero */
.hero-stage {
  position: relative;
  isolation: isolate;
}

.hero {
  position: relative;
  min-height: calc(100svh - 3.6rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  text-align: center;
}

.hero-splash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hero-splash.is-away {
  opacity: 0;
  visibility: hidden;
}

.hero-specks {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 8% 14%, rgba(255, 255, 255, 0.42), transparent),
    radial-gradient(1px 1px at 19% 7%, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(1.5px 1.5px at 27% 22%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1px 1px at 39% 11%, rgba(255, 255, 255, 0.18), transparent),
    radial-gradient(1px 1px at 47% 4%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 63% 9%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1.5px 1.5px at 74% 19%, rgba(255, 255, 255, 0.26), transparent),
    radial-gradient(1px 1px at 86% 6%, rgba(255, 255, 255, 0.32), transparent),
    radial-gradient(1px 1px at 93% 28%, rgba(255, 255, 255, 0.18), transparent),
    radial-gradient(1px 1px at 6% 38%, rgba(255, 255, 255, 0.24), transparent),
    radial-gradient(1px 1px at 14% 51%, rgba(255, 255, 255, 0.16), transparent),
    radial-gradient(1.5px 1.5px at 33% 61%, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(1px 1px at 41% 73%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 57% 67%, rgba(255, 255, 255, 0.18), transparent),
    radial-gradient(1px 1px at 69% 81%, rgba(255, 255, 255, 0.26), transparent),
    radial-gradient(1.5px 1.5px at 81% 58%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 91% 87%, rgba(255, 255, 255, 0.28), transparent);
}

.hero-mosaic {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-splash.is-live .hero-mosaic,
.hero-splash.is-leaving .hero-mosaic {
  opacity: 1;
}

.hero-mosaic-port {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.hero-mosaic::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 52% 40% at 50% 58%, rgba(7, 7, 8, 0.7) 0%, rgba(7, 7, 8, 0.28) 50%, transparent 74%),
    linear-gradient(
      180deg,
      #050506 0%,
      rgba(5, 5, 6, 0.88) 18%,
      rgba(5, 5, 6, 0.2) 32%,
      transparent 42%,
      transparent 62%,
      rgba(5, 5, 6, 0.45) 82%,
      #050506 100%
    );
  z-index: 2;
  pointer-events: none;
}

.hero-mosaic-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: min(80rem, 90vw);
  margin: 0 auto;
  padding: clamp(4.5rem, 11vh, 7rem) 1.25rem 8rem;
  min-height: 220%;
  box-sizing: border-box;
}

.hero-splash.is-live .hero-mosaic-inner,
.hero-splash.is-leaving .hero-mosaic-inner {
  animation: hero-inner-scroll 16s linear forwards;
  will-change: transform;
}

/* Promoted only while the reveal wave is running. Holding a layer per tile for
   the whole pan costs more memory than it saves. */
.hero-mosaic-inner.is-waving .hero-tile {
  will-change: opacity, transform;
}

.hero-splash.is-leaving .hero-mosaic-inner {
  animation-play-state: paused;
}

@keyframes hero-inner-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -28%, 0); }
}

.hero-mosaic-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-tile {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  border: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: scale(0.985) translateY(6px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-splash.is-leaving .hero-tile {
  opacity: 0;
  transform: scale(0.99) translateY(-10px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-tile img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: top;
  background: rgba(255, 255, 255, 0.04);
}

.hero-splash.is-live .hero-tile {
  opacity: 0.88;
  transform: scale(1) translateY(0);
}

.hero-chrome {
  position: relative;
  z-index: 2;
  width: min(40rem, calc(100% - 2rem));
  padding: 5.5rem 0 4.5rem;
}

.hero-chrome.is-results::before {
  content: '';
  position: absolute;
  inset: -1.5rem -2.5rem;
  background: radial-gradient(ellipse 88% 78% at 50% 46%, rgba(7, 7, 8, 0.62) 0%, rgba(7, 7, 8, 0.28) 52%, transparent 74%);
  z-index: -1;
  pointer-events: none;
}

.hero-chrome.is-results .hero-title,
.hero-chrome.is-results .hero-sub,
.hero-chrome.is-results .hero-note {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 8px 32px rgba(0, 0, 0, 0.75);
}

.hero-chrome.is-results .hero-search {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 22px 56px rgba(0, 0, 0, 0.82);
}

.hero-chrome.is-results .hero-cta .btn {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.orb,
.pin {
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.45);
}

.orb::after,
.pin::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--grain);
  opacity: 0.18;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.orb {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0.28;
  transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.7s ease;
  display: block;
}

.orb.dust { opacity: 0.16; background: #b8b4b0; }
.orb.warm { background: #d4b8a4; }
.orb.people { background: #c9b4a8; }
.orb.play { background: #c4b0c0; }
.orb.cool { background: #a8b8bc; }

.hero-splash[data-hits] .orb { opacity: 0.1; }
.hero-splash[data-hits='warm'] .orb[data-kind='warm'],
.hero-splash[data-hits='people'] .orb[data-kind='people'],
.hero-splash[data-hits='play'] .orb[data-kind='play'],
.hero-splash[data-hits='cool'] .orb[data-kind='cool'] {
  opacity: 0.95;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translate(-50%, -50%) scale(1.03);
}

.hero-title {
  margin: 0;
  font-size: var(--display);
  font-weight: 300;
  font-style: normal;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--ink);
  white-space: normal;
  overflow-wrap: break-word;
  padding: 0 0.25rem;
}

.hero-sub {
  max-width: 28rem;
  margin: 0.85rem auto 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.45;
}

.hero-search {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 3.05rem;
  margin: 1.8rem auto 0;
  padding: 0.55rem 0.45rem 0.55rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 14px;
  background: #17171a;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 22px 56px rgba(0, 0, 0, 0.62),
    0 0 90px rgba(0, 0, 0, 0.4);
  text-align: left;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.hero-search.is-dropping {
  border-color: rgba(255, 255, 255, 0.5);
  border-style: dashed;
}

/* Thumbnail slot for the drag-an-image search. The slot opens to make room
   while its image flies in from the lifted "mid-drag" transform below. */
.hero-search-shot {
  position: relative;
  flex-shrink: 0;
  width: 0;
  height: 2.1rem;
  margin-right: 0;
  transition:
    width 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    margin-right 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-search-shot[hidden] { display: none; }

.hero-search-shot.is-open {
  width: 2.1rem;
  margin-right: 0.62rem;
}

.hero-search-shot img {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.1rem;
  height: 2.1rem;
  object-fit: cover;
  border-radius: 7px;
  transform: translate(min(13rem, 42vw), -7rem) scale(3.4) rotate(-5deg);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.62);
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.9s ease,
    opacity 0.36s ease;
}

.hero-search-shot.is-closing img { opacity: 0; }

.hero-search-shot.is-seated img {
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-search-q {
  flex: 1;
  min-width: 0;
  font-size: 1.08rem;
  font-weight: 400;
  color: #f4f4f5;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.3s ease;
}

.hero-search-q.is-hint {
  color: rgba(244, 244, 245, 0.5);
}

.hero-caret {
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 1px;
  background: #f4f4f5;
  vertical-align: -0.12em;
  animation: blink 1.05s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.hero-search-tools {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-shrink: 0;
}

.hero-search-tools span {
  display: inline-flex;
  align-items: center;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  color: rgba(244, 244, 245, 0.55);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease;
}

.hero-search-tools span.is-on {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.hero-bubbles {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 2rem;
  margin-top: 0.85rem;
}

.hero-bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem 0.28rem 0.4rem;
  border: 1px solid rgba(244, 244, 245, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.hero-swatch {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: block;
}

@media (max-width: 560px) {
  .hero-search {
    flex-wrap: wrap;
    min-height: 0;
    padding: 0.7rem 0.75rem 0.55rem;
  }

  .hero-search-q { width: 100%; font-size: 1rem; }
  .hero-search-tools { width: 100%; justify-content: flex-end; }
  .hero-mosaic-inner {
    width: min(90vw, 44rem);
  }
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 0.9rem;
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 300;
}

@media (prefers-reduced-motion: reduce) {
  .hero-caret { animation: none; }
  .hero-tile { transition: none; opacity: 1; transform: none; }
  .hero-search-shot,
  .hero-search-shot img { transition: none; }
  .hero-search-shot img { transform: none; }
}

/* ------------------------------------------------------------- sections */
main {
  position: relative;
  z-index: 3;
  background: var(--bg);
}

.section {
  position: relative;
  z-index: 3;
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 8rem) clamp(1.5rem, 4vw, 2.75rem) 0;
  text-align: center;
}

#features {
  position: relative;
  z-index: 3;
  background: var(--bg);
}

#faq {
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.section h2 {
  font-size: var(--title);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.section-sub {
  color: var(--ink-muted);
  margin: 0.85rem auto 0;
  max-width: 44rem;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 300;
  line-height: 1.45;
}

.section#features,
.section#how,
.section#pricing,
.section-boards { max-width: var(--wide); }

.boards-lede {
  max-width: 48rem;
  margin: 1rem auto 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 300;
  line-height: 1.5;
}

.board-demo-host,
.section-boards .board-demo {
  margin-top: 3rem;
}

.board-demo {
  --demo-radius: 14px;
  --demo-ease: cubic-bezier(0.3, 0.0, 0.18, 1);
  position: relative;
  text-align: left;
}

.board-demo-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--demo-radius);
  overflow: hidden;
  background: #0b0b0c;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  min-height: 320px;
}

.board-demo-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 12;
  width: 18px;
  height: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translate(132px, 78px);
  transition:
    transform var(--c-ms, 280ms) cubic-bezier(0.2, 0.78, 0.2, 1),
    opacity 0.22s ease;
}

.board-demo-cursor.is-on {
  opacity: 1;
}

.board-demo-cursor-hand {
  display: block;
  transform-origin: 1px 1px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
  transition: transform 0.08s ease;
}

.board-demo-cursor.is-down .board-demo-cursor-hand {
  transform: scale(0.84);
}

.board-demo-cursor.is-dragging .board-demo-cursor-hand {
  transform: scale(0.9) rotate(-12deg);
}

.board-demo-view--app {
  position: relative;
  z-index: 1;
  transition: opacity 0.5s ease, transform 0.5s var(--demo-ease);
}

.board-demo-toast {
  z-index: 6;
}

.board-demo-view--finder {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transform: translateX(3%);
  pointer-events: none;
  transition: opacity 0.55s var(--demo-ease), transform 0.55s var(--demo-ease), visibility 0s linear 0.55s;
}

.board-demo.show-finder .board-demo-view--app {
  opacity: 0;
  transform: scale(0.985);
  pointer-events: none;
}

.board-demo.show-finder .board-demo-view--finder {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}

.board-demo-chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  background: rgba(12, 12, 14, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.board-demo-chrome--finder {
  background: rgba(240, 240, 242, 0.98);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.board-demo-chrome--finder .board-demo-win-title {
  color: rgba(0, 0, 0, 0.78);
}

.board-demo-dots {
  display: flex;
  gap: 0.35rem;
}

.board-demo-dots span {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.board-demo-chrome--finder .board-demo-dots span:nth-child(1) { background: #ff5f57; }
.board-demo-chrome--finder .board-demo-dots span:nth-child(2) { background: #febc2e; }
.board-demo-chrome--finder .board-demo-dots span:nth-child(3) { background: #28c840; }

.board-demo-win-title {
  flex: 1;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.01em;
}

.board-demo-export-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 0.72rem;
  padding: 0.22rem 0.65rem;
  pointer-events: none;
  transition:
    background 0.35s var(--demo-ease),
    border-color 0.35s var(--demo-ease),
    transform 0.35s var(--demo-ease),
    box-shadow 0.35s var(--demo-ease);
}

.board-demo-canvas {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 280px;
  background: var(--board-bg, #fff);
  transition: background 0.95s var(--demo-ease);
  overflow: hidden;
}

.board-demo.step-type .board-demo-canvas,
.board-demo.step-type-fit .board-demo-canvas,
.board-demo.step-export .board-demo-canvas {
  --board-bg: #5a1013;
  background: #5a1013;
}

.board-demo-grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 31px,
      rgba(0, 0, 0, 0.05) 32px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 31px,
      rgba(0, 0, 0, 0.05) 32px
    );
  pointer-events: none;
}

.board-demo-pins {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.board-demo-canvas.is-red .board-demo-grid {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 31px,
      rgba(255, 255, 255, 0.1) 32px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 31px,
      rgba(255, 255, 255, 0.1) 32px
    );
}

.board-demo-pin {
  position: absolute;
  height: auto;
  left: var(--fx, 10%);
  top: var(--fy, 10%);
  width: var(--fw, 24%);
  overflow: visible;
  background: none;
  transform-origin: center center;
  transform: translate(var(--sx, 0%), var(--sy, 0%)) rotate(var(--fr, 0deg)) scale(var(--fs, 1));
  opacity: var(--fo, 1);
  transition:
    left 0.95s cubic-bezier(0.22, 0.7, 0.2, 1) var(--td, 0ms),
    top 0.95s cubic-bezier(0.22, 0.7, 0.2, 1) var(--td, 0ms),
    width 0.9s cubic-bezier(0.22, 0.7, 0.2, 1) var(--td, 0ms),
    transform 0.9s cubic-bezier(0.22, 0.7, 0.2, 1) var(--td, 0ms),
    opacity 0.4s ease;
  z-index: 1;
}

.board-demo-pin.is-turning { z-index: 5; }

.board-demo-pin.is-hero.is-hero-emphasis { z-index: 3; }

.board-demo-pin img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  background: none;
  border-radius: 3px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.25s ease;
}

.board-demo-pin.is-turning img {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

.board-demo-pin.is-hero.is-hero-emphasis img {
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.board-demo-grid {
  transition: opacity 0.7s var(--demo-ease);
}

.board-demo.step-type-fit .board-demo-grid,
.board-demo.step-export .board-demo-grid {
  opacity: 0;
}

.board-demo-text-wrap {
  position: absolute;
  left: 5.5%;
  top: 4.2%;
  z-index: 40;
  box-sizing: border-box;
  border: 1px dashed transparent;
  padding: 0.1rem 0.35rem;
  opacity: 0;
  width: 42%;
  text-align: left;
  transition:
    opacity 0.5s var(--demo-ease),
    width 0.85s var(--demo-ease),
    border-color 0.45s ease,
    padding 0.85s var(--demo-ease);
}

.board-demo-text {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.72rem;
  text-align: left;
  transition:
    font-size 0.85s var(--demo-ease),
    color 0.45s ease;
}

.board-demo-text-handle {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: #fff;
  border-radius: 1px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.board-demo-text-handle.nw {
  top: -4px;
  left: -4px;
}

.board-demo-text-handle.se {
  right: -4px;
  bottom: -4px;
  transition:
    opacity 0.35s ease,
    right 0.85s var(--demo-ease),
    bottom 0.85s var(--demo-ease);
}

.board-demo.step-type .board-demo-text-wrap {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.3);
}

.board-demo.step-type .board-demo-text-handle {
  opacity: 1;
}

.board-demo.step-type-fit .board-demo-text-wrap,
.board-demo.step-export .board-demo-text-wrap {
  opacity: 1;
  width: 78%;
  padding: 0.1rem 0.2rem;
  border-color: transparent;
}

.board-demo.step-type-fit .board-demo-text-wrap::after,
.board-demo.step-export .board-demo-text-wrap::after {
  content: none;
}

.board-demo.step-type-fit .board-demo-text,
.board-demo.step-export .board-demo-text {
  font-size: clamp(2.15rem, 6.4vw, 3.7rem);
}

.board-demo.step-type-fit .board-demo-text-handle,
.board-demo.step-export .board-demo-text-handle {
  opacity: 0;
}

.board-demo.step-type-fit .board-demo-text-handle.se,
.board-demo.step-export .board-demo-text-handle.se {
  right: -5px;
  bottom: -5px;
}

.board-demo.step-export .board-demo-text-wrap {
  border-color: transparent;
}

.board-demo.step-export .board-demo-text {
  color: rgba(255, 255, 255, 0.95);
}

.board-demo.step-export .board-demo-text-handle {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.92);
}

.board-demo.step-export .board-demo-export-btn {
  background: #f4f4f5;
  color: #111;
  border-color: transparent;
  transform: scale(1.04);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.board-demo.step-export .board-demo-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 6;
  background: rgba(255, 255, 255, 0.28);
  opacity: 0;
  animation: board-export-flash 0.65s ease forwards;
  pointer-events: none;
}

@keyframes board-export-flash {
  0% { opacity: 0; }
  35% { opacity: 1; }
  100% { opacity: 0; }
}

.board-demo-finder {
  display: grid;
  grid-template-columns: 132px 1fr;
  aspect-ratio: 16 / 10;
  min-height: 280px;
  background: #f5f5f7;
  color: rgba(0, 0, 0, 0.78);
}

.board-demo-finder-side {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 0.65rem;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.72rem;
}

.board-demo-finder-side span {
  padding: 0.28rem 0.45rem;
  border-radius: 6px;
  color: rgba(0, 0, 0, 0.55);
}

.board-demo-finder-side span.is-active {
  background: rgba(0, 0, 0, 0.07);
  color: rgba(0, 0, 0, 0.82);
  font-weight: 500;
}

.board-demo-finder-main {
  position: relative;
  padding: 1.1rem 1.25rem;
}

.board-demo-space-hint {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  margin: 0;
  font-size: 0.68rem;
  color: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s var(--demo-ease);
}

.board-demo-space-hint kbd {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.12rem 0.38rem;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 0.62rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.board-demo.step-reveal .board-demo-space-hint {
  opacity: 1;
  transform: translateY(0);
}

.board-demo.step-quicklook .board-demo-space-hint,
.board-demo.step-zoom .board-demo-space-hint {
  opacity: 0;
}

.board-demo-finder-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 5.5rem;
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  transition:
    opacity 0.55s var(--demo-ease),
    transform 0.55s var(--demo-ease);
}

.board-demo.step-reveal .board-demo-finder-file,
.board-demo.step-quicklook .board-demo-finder-file,
.board-demo.step-zoom .board-demo-finder-file,
.board-demo.is-static .board-demo-finder-file {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.board-demo-pdf-icon {
  width: 3.4rem;
  height: 4.2rem;
  border-radius: 8px;
  background: linear-gradient(160deg, #fff 0%, #ececef 100%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #c0392b;
}

.board-demo-pdf-name {
  font-size: 0.68rem;
  text-align: center;
  line-height: 1.25;
  word-break: break-word;
}

.board-demo-quicklook {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.board-demo-quicklook[hidden] {
  display: none;
}

.board-demo.step-quicklook .board-demo-quicklook,
.board-demo.step-zoom .board-demo-quicklook,
.board-demo.is-static .board-demo-quicklook {
  opacity: 1;
}

.board-demo.step-zoom .board-demo-quicklook {
  background: rgba(0, 0, 0, 0.58);
}

.board-demo-ql-panel {
  width: min(86%, 480px);
  border-radius: 12px;
  overflow: hidden;
  background: #1c1c1e;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transform: scale(0.94);
  transition:
    transform 0.5s var(--demo-ease),
    width 0.7s var(--demo-ease),
    box-shadow 0.7s var(--demo-ease);
}

.board-demo.step-quicklook .board-demo-ql-panel,
.board-demo.is-static .board-demo-ql-panel {
  transform: scale(1);
}

.board-demo.step-zoom .board-demo-ql-panel,
.board-demo.is-static .board-demo-ql-panel {
  width: min(97%, 900px);
  transform: scale(1);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.62);
}

.board-demo.step-zoom .board-demo-ql-head,
.board-demo.is-static .board-demo-ql-head {
  padding: 0.7rem 0.95rem;
  font-size: 0.8rem;
}

.board-demo-ql-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    padding 0.7s var(--demo-ease),
    font-size 0.7s var(--demo-ease);
}

.board-demo-ql-badge {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.board-demo-ql-body {
  padding: 0.65rem;
  background: #111;
}

.board-demo-ql-board {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: var(--board-bg, #5a1013);
  container-type: inline-size;
}

.board-demo-ql-pin {
  position: absolute;
  height: auto;
  overflow: visible;
  background: none;
}

.board-demo-ql-pin img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  background: none;
  border-radius: 5px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.board-demo-ql-pin.is-hero {
  z-index: 2;
}

.board-demo-ql-caption {
  position: absolute;
  left: 5.5%;
  top: 4.2%;
  width: 78%;
  margin: 0;
  text-align: left;
  font-size: 6.6cqw;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: rgba(255, 255, 255, 0.95);
  z-index: 40;
}

.board-demo-ql-caption::after {
  content: none;
}

.board-demo-search {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #050506;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.48s ease;
}

.board-demo-search::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4.6rem;
  background: linear-gradient(180deg, #050506 8%, rgba(5, 5, 6, 0.62) 58%, transparent);
  z-index: 2;
  pointer-events: none;
}

.board-demo.is-searching .board-demo-search {
  opacity: 1;
}

.board-demo.is-searching .board-demo-export-btn,
.board-demo.is-swooping .board-demo-export-btn {
  opacity: 0;
}

.board-demo.is-swooping .board-demo-search {
  opacity: 0;
}

.board-demo.step-return .board-demo-search {
  opacity: 1;
  animation: none;
}

.board-demo.step-return .board-demo-quicklook,
.board-demo.step-return .board-demo-view--finder {
  opacity: 0;
  transform: scale(1);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.board-demo.is-swooping .board-demo-pins {
  z-index: 6;
}

.board-demo.is-swooping .board-demo-pin {
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.38));
}

.board-demo.is-swooping .board-demo-hit.is-picked {
  opacity: 0;
}

.board-demo-search-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.7rem;
  width: min(88%, 560px);
  min-height: 4.6rem;
  padding: 1rem 1rem 0.85rem 1.25rem;
  border-radius: 20px;
  background: #17171a;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 28px 70px rgba(0, 0, 0, 0.62);
  color: #f4f4f5;
  transform: translate(-50%, -50%);
  transition:
    opacity 0.55s ease,
    transform 0.6s var(--demo-ease);
}

.board-demo.has-results .board-demo-search-bar,
.board-demo.has-results .board-demo-search::after {
  opacity: 0;
  pointer-events: none;
}

.board-demo.has-results .board-demo-search-bar {
  transform: translate(-50%, -62%) scale(0.9);
}

.board-demo-search-q {
  min-width: 0;
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
}

.board-demo-search-typed {
  display: inline;
}

.board-demo-search-caret {
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  margin-left: 2px;
  background: #f4f4f5;
  vertical-align: -0.12em;
  animation: blink 1.05s steps(1) infinite;
}

.board-demo-search-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
  flex-shrink: 0;
}

.board-demo-search-tools span {
  display: inline-flex;
  align-items: center;
  height: 1.55rem;
  padding: 0 0.42rem;
  border-radius: 999px;
  color: rgba(244, 244, 245, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.board-demo-search-tools span.is-on {
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.1);
}

.board-demo-hits {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.board-demo-hits-track {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 0.4rem 0.4rem 2.4rem;
  transform: translateY(0);
}

.board-demo.has-results .board-demo-hits-track {
  animation: board-mosaic-drift 12s linear forwards;
}

.board-demo.step-swoop.has-results .board-demo-hits-track {
  animation-play-state: paused;
}

.board-demo.step-return.has-results .board-demo-hits-track {
  animation: board-mosaic-return 0.72s cubic-bezier(0.42, 0, 0.2, 1) forwards;
}

@keyframes board-mosaic-drift {
  0% { transform: translateY(0); }
  10% { transform: translateY(-2%); }
  35% { transform: translateY(-10%); }
  62% { transform: translateY(-18%); }
  84% { transform: translateY(-23%); }
  100% { transform: translateY(-26%); }
}

@keyframes board-mosaic-return {
  from { transform: translateY(-6%); }
  to { transform: translateY(-12%); }
}

.board-demo-hits-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.board-demo-hits-col:nth-child(1) { padding-top: 10px; }
.board-demo-hits-col:nth-child(2) { padding-top: 34px; }
.board-demo-hits-col:nth-child(3) { padding-top: 4px; }
.board-demo-hits-col:nth-child(4) { padding-top: 42px; }
.board-demo-hits-col:nth-child(5) { padding-top: 18px; }

.board-demo-hit {
  position: relative;
  width: 100%;
  flex: none;
  border: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition:
    transform 0.5s cubic-bezier(0.22, 0.8, 0.2, 1) var(--in, 0ms),
    opacity 0.42s ease var(--in, 0ms),
    box-shadow 0.22s ease,
    filter 0.28s ease;
}

.board-demo.has-results .board-demo-hit {
  opacity: 1;
  transform: none;
}

.board-demo-hit img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: top;
}

.board-demo.has-results .board-demo-hit.is-picked {
  opacity: 1;
  filter: none;
  transform: none;
  z-index: 1;
}

.board-demo-hit.is-picked::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  box-sizing: border-box;
  border: 2.5px solid #fff;
  border-radius: inherit;
  pointer-events: none;
}

.board-demo-hit.is-picked::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0.3rem;
  right: 0.3rem;
  width: 1.12rem;
  height: 1.12rem;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='none' stroke='%23111' stroke-width='1.8' d='M2.4 6.2 5 8.7 9.6 3.3'/></svg>") center / 0.66rem no-repeat;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.board-demo-toast {
  position: absolute;
  right: 1.05rem;
  bottom: 1.05rem;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 11.5rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.4s var(--demo-ease);
}

.board-demo.step-export .board-demo-toast {
  opacity: 1;
  transform: translateY(0);
}

.board-demo.step-quicklook .board-demo-toast,
.board-demo.step-zoom .board-demo-toast,
.board-demo.step-return .board-demo-toast {
  opacity: 0;
  transform: translateY(8px);
}

.board-demo-toast .board-demo-pdf-icon {
  width: 2.2rem;
  height: 2.7rem;
  font-size: 0.5rem;
}

.board-demo-toast-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.board-demo-toast-copy strong {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.84);
}

.board-demo-toast-copy span {
  font-size: 0.62rem;
  color: rgba(0, 0, 0, 0.45);
}

.board-demo-hint {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 300;
}

.board-demo.is-static .board-demo-hint {
  display: none;
}

@media (max-width: 640px) {
  .board-demo-finder {
    grid-template-columns: 96px 1fr;
  }

  .board-demo-finder-side {
    font-size: 0.64rem;
    padding: 0.65rem 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .board-demo-pin,
  .board-demo-text-wrap,
  .board-demo-text,
  .board-demo-export-btn,
  .board-demo-finder-file,
  .board-demo-quicklook,
  .board-demo-ql-panel,
  .board-demo-canvas,
  .board-demo-view--finder,
  .board-demo-view--app {
    transition: none !important;
  }

  .board-demo-canvas::after,
  .board-demo-hits,
  .board-demo-search-caret {
    animation: none !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.facts {
  list-style: none;
  width: var(--rule-w);
  max-width: var(--rule-max);
  margin: 2.8rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--facts-gap);
  row-gap: 0;
}

.facts li {
  padding: 1.45rem 0.6rem;
  border-top: 1px solid var(--line);
  transition:
    border-color 0.35s ease,
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.facts li:nth-child(1) { --i: 0; }
.facts li:nth-child(2) { --i: 1; }
.facts li:nth-child(3) { --i: 2; }
.facts li:nth-child(4) { --i: 3; }
.facts li:nth-child(5) { --i: 4; }
.facts li:nth-child(6) { --i: 5; }
.facts li:nth-child(7) { --i: 6; }
.facts li:nth-child(8) { --i: 7; }

.facts li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }

.facts li:hover { border-top-color: rgba(255, 255, 255, 0.32); }

.facts h3 {
  margin: 0;
  font-size: clamp(1.14rem, 1.8vw, 1.3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.facts p {
  margin: 0.45rem auto 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.5;
  max-width: 26rem;
  transition: color 0.3s ease;
}

.facts li:hover h3 { color: #fff; }
.facts li:hover p { color: #b4b4bc; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 600px) {
  .facts {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .facts li:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }
  .facts li:nth-last-child(-n + 2) { border-bottom: 0; }
  .facts li:last-child { border-bottom: 1px solid var(--line); }
}

.steps {
  list-style: none;
  width: var(--rule-w);
  max-width: var(--rule-max);
  margin: 2.6rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.8rem, 3vw, 2.6rem);
}

.steps li {
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  transition:
    border-color 0.35s ease,
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.steps li:nth-child(1) { --i: 0; }
.steps li:nth-child(2) { --i: 1; }
.steps li:nth-child(3) { --i: 2; }

.steps li:hover { border-top-color: rgba(255, 255, 255, 0.32); }

.step-num {
  display: block;
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 0.7rem;
}

.steps h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.steps p {
  margin-top: 0.45rem;
  color: var(--ink-muted);
  font-size: 1.02rem;
  font-weight: 300;
}

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 1.15rem 0; }
}


/* pricing — keep three columns, quieter than SaaS cards */
.section#pricing { max-width: var(--wide); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: var(--rule-w);
  max-width: var(--rule-max);
  margin: 2.6rem auto 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

@media (max-width: 700px) {
  .price-grid { grid-template-columns: 1fr; }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: #0b0b0c;
  padding: 1.85rem 1.7rem 1.65rem;
  transition: background 0.35s ease, opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.price-card:nth-child(1) { --i: 0; }
.price-card:nth-child(2) { --i: 1; }
.price-card:nth-child(3) { --i: 2; }

.price-card:hover { background: #121214; }

.price-card.is-featured { background: #141416; }
.price-card.is-featured:hover { background: #1a1a1e; }

/* diagonal ribbon across the card's top-right corner */
.price-flag {
  position: absolute;
  top: 0.9rem;
  right: -3.4rem;
  width: 11rem;
  margin: 0;
  padding: 0.3rem 0;
  transform: rotate(45deg);
  text-align: center;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.price { margin-top: 0.55rem; }

.price strong {
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.price span { color: var(--ink-muted); font-size: 0.88rem; font-weight: 300; }

.price-card ul {
  margin: 1rem auto 1.3rem;
  padding: 0;
  list-style: none;
  justify-items: center;
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 300;
  display: grid;
  gap: 0.35rem;
  flex: 1 1 auto;
}

.price-card .btn { text-align: center; align-self: stretch; }

.price-note {
  max-width: 42rem;
  margin: 1.6rem auto 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

/* download */

.section-download .btn {
  margin-top: 2rem;
  padding: 0.85rem 1.6rem;
  font-size: 1.05rem;
}

/* faq */
/* rules match the width of one column of the feature grid */
.faq {
  width: calc((var(--rule-w) - var(--facts-gap)) / 2);
  max-width: calc((var(--rule-max) - var(--facts-gap)) / 2);
  margin: 2.2rem auto 0;
}

@media (max-width: 600px) {
  .faq {
    width: var(--rule-w);
    max-width: var(--rule-max);
  }
}

.faq details { border-top: 1px solid var(--line); }

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq details {
  transition: border-color 0.3s ease;
}

.faq details:hover { border-top-color: rgba(255, 255, 255, 0.28); }

.faq summary {
  cursor: pointer;
  padding: 1.2rem 0;
  font-size: clamp(1.08rem, 1.8vw, 1.22rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  transition: color 0.25s ease;
}

.faq summary:hover { color: #fff; }

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  color: var(--ink-muted);
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 300;
}

.faq details[open] summary::after { content: '–'; }

.faq details p {
  margin: 0 auto;
  padding: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 1.02rem;
  font-weight: 300;
}

/* --------------------------------------------------------------- footer */
.footer {
  position: relative;
  z-index: 3;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 1.4rem clamp(1.2rem, 4vw, 2.4rem) 2.6rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 300;
}

.footer-brand { color: var(--ink); font-weight: 400; }

.footer-copy { margin-left: 0.7rem; }

.footer a { color: var(--ink-muted); text-decoration: none; }

.footer a:hover { color: var(--ink); }
