:root {
  --rose-strong: var(--rose);
  --t-feature: #9b6bff;
  --t-bug: #ff7276;
  --t-design: #3ec9b8;
  --t-pri: #f5a623;
  --board-bg: #101014;
  --rose-tint: rgba(255, 92, 138, .10);
  --rose-glow: rgba(255, 92, 138, .7);
  --cta-grad: linear-gradient(135deg, #7c4dff, #6a37ff);
  --cta-shadow: 0 8px 26px rgba(120, 70, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .28);
  --cta-shadow-hover: 0 10px 32px rgba(120, 70, 255, .62), inset 0 1px 0 rgba(255, 255, 255, .28);

  /* rem-based so the scale honours the reader's browser font-size, not just zoom */
  --fs-h1: clamp(2.25rem, 5.2vw, 4.375rem);
  --fs-h2: clamp(1.875rem, 4vw, 2.875rem);
  --fs-lead: clamp(1.25rem, 2.4vw, 1.5625rem);
  --fs-lede: clamp(1.0625rem, 1.8vw, 1.3125rem);
  --fs-body: clamp(1rem, 1.5vw, 1.125rem);
  --fs-cap: 0.875rem;
  --fs-label: 0.71875rem;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  /* the cat's nose from the logo, reused as the recurring marker */
  --nose-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='862 500 74 48'%3E%3Cpath d='M886.14 500.55 L911.92 500.55 Q935.56 500.55 921.11 519.25 L904.28 541.02 Q899.03 547.83 893.78 541.02 L876.95 519.25 Q862.5 500.55 886.14 500.55 Z'/%3E%3C/svg%3E");

  --s1: 8px;
  --s2: 12px;
  --s3: 16px;
  --s4: 20px;
  --s5: 24px;
  --s6: 32px;
  --sec-y: clamp(64px, 10vh, 120px);
  --pad-x: clamp(22px, 5vw, 48px);
  --pad-card: clamp(28px, 4vw, 52px);
  --col-gap: clamp(32px, 5vw, 60px);
  --block-gap: clamp(28px, 4vh, 40px);

  --r-1: 6px;
  --r-2: 10px;
  --r-3: 12px;
  --r-4: 16px;
  --r-5: 20px;
  --r-pill: 999px;

  --w-wide: 1120px;
  --w-read: 880px;
  --w-narrow: 720px;
}
/* Dark is the base (tokens above). Page-local muted/help, brightened for dark. */
:root { --muted: rgba(246, 244, 248, .66); --help: rgba(246, 244, 248, .62); }

/* Light defaults live in a plain media query (no :has), so browsers without
   :has() support still theme correctly. Only the manual toggle needs :has. */
@media (prefers-color-scheme: light) {
  :root {
    --t-feature: #6a37ff; --t-bug: #d92d33; --t-design: #0f766e; --t-pri: #b45309;
    --board-bg: #efece4; --rose-tint: rgba(194, 24, 91, .08); --rose-glow: rgba(194, 24, 91, .5);
    --muted: rgba(28, 24, 34, .66); --help: rgba(28, 24, 34, .70);
  }
}
@media (prefers-color-scheme: dark) {
  :root:has(.theme-flip:checked) {
    --t-feature: #6a37ff; --t-bug: #d92d33; --t-design: #0f766e; --t-pri: #b45309;
    --board-bg: #efece4; --rose-tint: rgba(194, 24, 91, .08); --rose-glow: rgba(194, 24, 91, .5);
    --muted: rgba(28, 24, 34, .66); --help: rgba(28, 24, 34, .70);
  }
}
@media (prefers-color-scheme: light) {
  :root:has(.theme-flip:checked) {
    --t-feature: #9b6bff; --t-bug: #ff7276; --t-design: #3ec9b8; --t-pri: #f5a623;
    --board-bg: #101014; --rose-tint: rgba(255, 92, 138, .10); --rose-glow: rgba(255, 92, 138, .7);
    --muted: rgba(246, 244, 248, .66); --help: rgba(246, 244, 248, .62);
  }
}

.stage.doc {
  min-height: 0;
  display: block;
  justify-content: normal;
  text-align: left;
  padding: 0;
  animation: none;
}

.skip-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: var(--r-2);
  background: var(--pop-bg);
  border: 1px solid var(--panel-bd);
  color: var(--ink);
  font-size: var(--fs-cap);
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus-visible { top: 12px; outline: 2px solid var(--rose); outline-offset: 2px; }

.site-head {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding-block: var(--s3);
  padding-inline: max(var(--pad-x), env(safe-area-inset-left)) max(var(--pad-x), env(safe-area-inset-right));
}
.site-logo-link { display: inline-flex; padding: 12px; margin: -12px; border-radius: var(--r-2); }
.site-logo { display: block; width: auto; height: clamp(20px, 2.4vw, 24px); }
.site-logo path { fill: var(--ink); }
.site-logo .nose { fill: var(--rose); }
.site-logo-link:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.site-head .theme-toggle { position: static; width: 44px; height: 44px; }

.wrap { width: 100%; max-width: var(--w-wide); margin: 0 auto; padding-inline: max(var(--pad-x), env(safe-area-inset-left)) max(var(--pad-x), env(safe-area-inset-right)); }
.sec { padding-block: var(--sec-y); }

.keyline {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin: 0 0 var(--s4);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.keyline::before {
  content: "";
  width: 1.05em; height: .66em;
  background: var(--rose-strong);
  -webkit-mask: var(--nose-mark) center / contain no-repeat;
          mask: var(--nose-mark) center / contain no-repeat;
}

.hero { padding-block: clamp(40px, 6vh, 72px) var(--sec-y); overflow: hidden; }
.hero-grid {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding-left: max(var(--pad-x), env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: var(--col-gap);
  align-items: center;
}
.hero-copy { text-align: left; }
/* KISS Tasks product wordmark (recreated from the app: rose nose + "tasks") */
.hero-logo { display: inline-flex; align-items: center; gap: .34em; margin: 0 0 var(--s4); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.hero-logo__mark { height: .74em; width: auto; fill: var(--rose-strong); }
.hero-logo__word { font-weight: 500; letter-spacing: -0.01em; line-height: 1; color: var(--ink); }
.hero h1 { margin: 0; max-width: 13ch; font-size: var(--fs-h1); line-height: 1.03; }
.hero .lede { margin: var(--s4) 0 0; max-width: 42ch; font-size: var(--fs-lede); font-weight: 400; line-height: 1.55; color: var(--muted); }
.hero .cta-row { justify-content: flex-start; }

/* full-bleed marquee under the hero */
.ticker { overflow: hidden; }
.ticker__track { display: flex; width: max-content; }
.ticker__group { display: flex; align-items: center; flex: none; gap: clamp(18px, 2.8vw, 38px); padding: clamp(20px, 3vw, 34px) 0; padding-right: clamp(18px, 2.8vw, 38px); }
.ticker .ti { font-size: clamp(13px, 1.6vw, 18px); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ticker .sep {
  flex: none;
  width: .85em; height: .53em;
  background: var(--rose-strong);
  -webkit-mask: var(--nose-mark) center / contain no-repeat;
          mask: var(--nose-mark) center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker-scroll 72s linear infinite; }
}
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* pausable on hover/focus (WCAG 2.2.2); also paused off-screen via checklist.js */
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track,
.ticker__track.is-paused { animation-play-state: paused; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: var(--s2) var(--s3);
  margin-top: var(--block-gap);
}
.cta-note { font-size: var(--fs-cap); color: var(--help); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 14px 26px;
  border: 0;
  border-radius: var(--r-3);
  background: var(--cta-grad);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--cta-shadow);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn .arw { transition: transform .15s ease; }
.btn:hover { filter: brightness(1.06); box-shadow: var(--cta-shadow-hover); }
.btn:hover .arw { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.hero-vis { position: relative; perspective: 1800px; }
.hero-board {
  width: 760px;
  max-width: none;
  padding: var(--s3);
  border: 1px solid var(--panel-bd);
  border-radius: var(--r-4);
  background: var(--board-bg);
  box-shadow: var(--panel-shadow);
  text-align: left;
  transform: rotateY(-11deg) rotateX(3deg);
  transform-origin: left center;
}
.hero-vis::after { content: ""; position: absolute; top: 0; right: 0; width: 90px; height: 100%; pointer-events: none; background: linear-gradient(90deg, transparent, var(--bg)); }
.hb-scroll { display: flex; gap: var(--s2); }
.hb-col { flex: 1; min-width: 0; }
.hb-col-head { display: flex; align-items: center; gap: 8px; margin: 2px 2px 12px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hb-count { font-size: 10.5px; font-weight: 600; color: var(--muted); background: var(--in-bg); border-radius: var(--r-pill); padding: 1px 8px; }
.hb-card { padding: 12px; border: 1px solid var(--panel-bd); border-radius: var(--r-3); background: var(--pop-bg); }
.hb-card + .hb-card { margin-top: var(--s1); }
.hb-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hb-ref { font-size: 11px; letter-spacing: .04em; color: var(--muted); }
.hb-type { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.hb-type.t-feature { color: var(--t-feature); }
.hb-type.t-bug { color: var(--t-bug); }
.hb-type.t-chore { color: var(--muted); }
.hb-type.t-design { color: var(--t-design); }
.hb-pri {
  width: 13px; height: 13px; background: var(--t-pri);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='13' width='4' height='7' rx='1'/%3E%3Crect x='10' y='9' width='4' height='11' rx='1'/%3E%3Crect x='16' y='5' width='4' height='15' rx='1'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='13' width='4' height='7' rx='1'/%3E%3Crect x='10' y='9' width='4' height='11' rx='1'/%3E%3Crect x='16' y='5' width='4' height='15' rx='1'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hb-title { margin-top: 9px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.hb-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; margin-top: 11px; font-size: 12.5px; color: var(--muted); }
.hb-chunk { display: inline-flex; align-items: center; gap: 7px; }
.hb-edot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.e-onboarding { background: #8b8b9a; }
.e-board { background: #4f8ff7; }
.e-publicapi { background: #e5484d; }
.e-agents { background: #7c4dff; }
.hb-check { display: inline-flex; align-items: center; gap: 6px; }
.hb-tick {
  width: 14px; height: 14px; border-radius: var(--r-1); background: var(--rose-strong);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4 4 10-10'/%3E%3C/svg%3E") center / 10px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: destination-out;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4 4 10-10'/%3E%3C/svg%3E") center / 10px no-repeat, linear-gradient(#000 0 0);
          mask-composite: exclude;
}
.hb-av { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: var(--r-1); font-size: 9px; font-weight: 700; letter-spacing: .02em; }
.hb-av.human { background: #6a37ff; color: #fff; }
.hb-av.agent { background: var(--in-bg); border: 1px solid var(--rose-strong); color: var(--rose-strong); }
.hb-agent { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--tag); }
@media (max-width: 899.98px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-inline: max(var(--pad-x), env(safe-area-inset-left)) max(var(--pad-x), env(safe-area-inset-right)); gap: var(--col-gap); }
  .hero-copy, .hero-vis { min-width: 0; }
  .hero h1 { max-width: 16ch; }
  .hero-vis { perspective: none; }
  .hero-board { width: 100%; transform: none; }
  .hero-vis::after { display: none; }
  .hb-scroll { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .hb-scroll::-webkit-scrollbar { display: none; }
  .hb-col { flex: 0 0 240px; scroll-snap-align: start; }
}

.why { padding-top: calc(var(--sec-y) * 0.5); }
.why-card {
  position: relative;
  max-width: var(--w-narrow);
  margin-inline: auto;
  padding: var(--pad-card);
  border: 1px solid var(--panel-bd);
  border-left: 3px solid var(--rose-strong);
  border-radius: var(--r-4);
  background: var(--pop-bg);
  box-shadow: var(--panel-shadow);
}
.why-card h2 { font-size: var(--fs-h2); line-height: 1.1; }
.why-card p:not(.keyline):not(.why-sign) { margin-top: var(--s3); max-width: 62ch; font-size: var(--fs-body); line-height: 1.6; color: var(--tag); }
.why-sign { display: flex; align-items: center; gap: 10px; margin-top: var(--s5); font-size: var(--fs-cap); color: var(--muted); }
.why-sign .jm { display: grid; place-items: center; width: 22px; height: 22px; border-radius: var(--r-1); background: #6a37ff; color: #fff; font-size: 10px; font-weight: 700; }

.feat { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--col-gap); align-items: center; }
.feat__text, .feat__visual { min-width: 0; }
.feat + .feat { margin-top: var(--sec-y); }
@media (min-width: 900px) {
  .feat { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .feat--rev .feat__visual { order: -1; }
}
.feat__text { max-width: 46ch; }
.feat h2 { font-size: var(--fs-h2); line-height: 1.1; }
.feat p:not(.keyline) { margin-top: var(--s3); max-width: 62ch; font-size: var(--fs-body); line-height: 1.6; color: var(--tag); }

.agents { padding-top: 0; }
.agents-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--col-gap); align-items: start; }
@media (min-width: 900px) { .agents-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.agents h2 { max-width: 20ch; font-size: var(--fs-h2); line-height: 1.1; }
.agents .sub { max-width: 42ch; margin: var(--s4) 0 0; font-size: var(--fs-lede); line-height: 1.55; color: var(--tag); }
.agents-note { max-width: 42ch; margin: var(--s3) 0 0; font-size: var(--fs-body); line-height: 1.5; color: var(--muted); }
.agents-copy, .agents-vis { min-width: 0; }
.agents-vis .taskcard { max-width: 440px; margin-left: auto; }
@media (max-width: 899.98px) { .agents-vis .taskcard { max-width: none; margin-left: 0; } }
/* steps: a light numbered list beneath the copy (no boxes) */
.agents .sub + .sub { margin-top: var(--s3); }
/* task-detail demo cards — Agents / Plan / Collaborate mockups */
.taskcard {
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--panel-bd);
  border-radius: var(--r-4);
  background: var(--pop-bg);
  box-shadow: var(--panel-shadow);
  text-align: left;
}
.taskcard--split { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(20px, 3vw, 40px); }
.taskcard--split .tc-right { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 36px); }
@media (max-width: 820px) {
  .taskcard--split { grid-template-columns: 1fr; gap: 22px; }
  .taskcard--split .tc-right { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
}
@media (max-width: 480px) {
  :root { --pad-card: 20px; }
  .taskcard { padding: 16px; }
}
.tc-ref { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--muted); }
.tc-ref .live { width: 7px; height: 7px; border-radius: 50%; background: var(--rose-strong); }
.tc-title { margin: 11px 0 0; font-size: clamp(19px, 2vw, 23px); font-weight: 650; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); }
.tc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tc-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: var(--r-2); border: 1px solid var(--panel-bd); background: var(--in-bg); font-size: 12.5px; font-weight: 600; color: var(--tag); }
.tc-pill .k { color: var(--muted); font-weight: 500; }
.tc-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.tc-dot.d-grey { background: #8b8b9a; }
.tc-dot.d-prog { background: #4f8ff7; }
.tc-dot.d-pri { background: var(--t-pri); }
.tc-who { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 16px; font-size: 13px; color: var(--tag); }
.tc-av { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: var(--r-1); font-size: 9.5px; font-weight: 700; }
.tc-av.human { background: #6a37ff; color: #fff; }
.tc-av.agent { background: var(--in-bg); border: 1px solid var(--rose-strong); color: var(--rose-strong); }
.tc-who .via { color: var(--muted); }
.tc-feedhead { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.tc-mcp { padding: 2px 8px; border-radius: var(--r-pill); border: 1px solid var(--rose-strong); color: var(--rose-strong); background: var(--rose-tint); letter-spacing: .06em; }
.tc-feed { list-style: none; margin: 0; padding: 0; margin-left: 10px; border-left: 1px solid var(--line); }
.tc-feed li { position: relative; padding: 0 0 18px 22px; }
.tc-feed li:last-child { padding-bottom: 0; }
.tc-feed li::before { content: ""; position: absolute; left: -5px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--pop-bg); border: 2px solid #4f8ff7; }
.tc-feed li.ev-check::before { border-color: var(--rose-strong); }
.tc-feed li.ev-comment::before { border-color: var(--t-feature); }
.tc-feed li.ev-pr::before { border-color: var(--t-design); }
.tc-fhead { font-size: 12.5px; color: var(--tag); }
.tc-fhead .who { font-weight: 650; }
.tc-fhead .t { color: var(--muted); }
.tc-fbody { margin-top: 4px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.tc-fbody code { font-family: var(--font-mono); font-size: .88em; background: var(--in-bg); padding: 1px 5px; border-radius: 5px; color: var(--tag); }
.tc-pr { display: inline-flex; align-items: center; gap: 9px; margin-top: 6px; padding: 8px 12px; border: 1px solid var(--panel-bd); border-radius: var(--r-2); background: var(--in-bg); font-size: 12.5px; color: var(--tag); }
.tc-pr .glyph { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--t-design); flex: none; }
.tc-pr .num { font-family: var(--font-mono); color: var(--t-design); }
.tc-dot.d-feat { background: var(--t-feature); }
.tc-dot.d-done { background: var(--t-design); }
.tc-av.human2 { background: #3f6fd8; color: #fff; }
.tc-av.tc-av--sm { width: 16px; height: 16px; font-size: 8px; }
.tc-sec { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }

/* agent plan (Agents) — the living spec, written by the agent */
.tc-plan { list-style: none; margin: 0; padding: 0; }
.tc-plan li { display: grid; grid-template-columns: 22px 1fr; gap: 13px; align-items: start; padding: 11px 0; }
.tc-plan li:first-child { padding-top: 0; }
.tc-plan li + li { border-top: 1px solid var(--line); }
.tc-plan .pn { display: grid; place-items: center; width: 22px; height: 22px; border-radius: var(--r-1); background: var(--rose-tint); border: 1px solid var(--rose-strong); font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--rose-strong); }
.tc-plan .tx { padding-top: 3px; font-size: 13px; line-height: 1.5; color: var(--tag); }

/* epic card (Plan) */
.epic-name { display: flex; align-items: center; gap: 9px; margin: 11px 0 0; font-size: clamp(19px, 2vw, 23px); font-weight: 650; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); }
.epic-name .tc-dot { width: 9px; height: 9px; }
.epic-desc { margin-top: 10px; max-width: 54ch; font-size: 13px; line-height: 1.55; color: var(--muted); }
.epic-prog { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.epic-prog .done { color: var(--ink); font-weight: 650; }
.epic-bar { margin-top: 8px; height: 6px; border-radius: var(--r-pill); background: var(--in-bg); overflow: hidden; }
.epic-bar span { display: block; height: 100%; width: 50%; border-radius: var(--r-pill); background: var(--rose-strong); }
.epic-tasks { margin: 18px 0 0; list-style: none; padding: 0; }
.epic-tasks li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.epic-tasks .ref { flex: none; width: 56px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.epic-tasks .ttl { flex: 1; min-width: 0; font-size: 13.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.epic-tasks .st { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.epic-tasks li.is-done .ttl { color: var(--muted); }

/* comments (Collaborate) */
.tc-comment { display: grid; grid-template-columns: auto 1fr; gap: 11px; }
.tc-comment + .tc-comment { margin-top: 16px; }
.tc-comment .tc-av { width: 26px; height: 26px; font-size: 10px; }
.tc-cmeta { font-size: 12.5px; color: var(--tag); }
.tc-cmeta .who { font-weight: 650; }
.tc-cmeta .t { color: var(--muted); }
.tc-cbody { margin-top: 3px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.mention { color: var(--rose-strong); font-weight: 600; }

.suite h2 { font-size: var(--fs-h2); line-height: 1.1; }
.suite .intro { margin-top: var(--s4); max-width: 50ch; font-size: var(--fs-lede); line-height: 1.55; color: var(--muted); }
.suite em { font-style: italic; color: var(--ink); }
.suite-rows { margin-top: var(--block-gap); max-width: var(--w-narrow); list-style: none; display: grid; gap: 0; }
.suite-rows li {
  display: grid;
  grid-template-columns: 128px 1fr auto;
  align-items: center;
  gap: var(--s2) var(--s4);
  padding: var(--s4) 6px;
  border-top: 1px solid var(--line);
}
.suite-rows li:last-child { border-bottom: 1px solid var(--line); }
.suite-rows .name { font-size: var(--fs-body); font-weight: 650; color: var(--ink); }
.suite-rows .desc { font-size: var(--fs-cap); color: var(--muted); }
.suite-rows li.is-live .name { color: var(--rose-strong); }
@media (max-width: 620px) {
  .suite-rows li { grid-template-columns: 1fr auto; }
  .suite-rows .desc { grid-column: 1 / -1; order: 3; }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill--live { color: var(--rose-strong); border: 1px solid var(--rose-strong); background: var(--rose-tint); }
.pill--live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rose-strong);
  box-shadow: 0 0 9px 1px var(--rose-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
.pill--soon { color: var(--muted); border: 1px solid var(--panel-bd); background: var(--in-bg); }

.endcta { text-align: center; }
.endcta__head { font-size: var(--fs-lead); font-weight: 650; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); }
.endcta__sub { margin-top: var(--s2); font-size: var(--fs-lede); line-height: 1.5; color: var(--muted); }
.endcta .cta-row { justify-content: center; margin-top: var(--block-gap); }

.faq h2 { font-size: var(--fs-h2); line-height: 1.1; }
.faq-list { margin-top: var(--block-gap); max-width: var(--w-read); display: grid; gap: var(--s6) var(--col-gap); grid-template-columns: 1fr; }
@media (min-width: 720px) { .faq-list { grid-template-columns: 1fr 1fr; } }
.faq-q { margin: 0; font-size: var(--fs-body); font-weight: 650; letter-spacing: -0.01em; color: var(--ink); }
.faq-a { margin-top: var(--s1); font-size: var(--fs-body); line-height: 1.6; color: var(--muted); }
.faq-a a { color: var(--rose-strong); text-decoration: none; border-bottom: 1px solid var(--panel-bd); }
.faq-a a:hover { border-color: var(--rose-strong); }

.foot { border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); padding-block: var(--s6); }
.foot__mark { display: inline-flex; padding: 12px; margin: -12px; border-radius: var(--r-2); }
.foot__mark svg { height: 20px; width: auto; }
.foot__mark path { fill: var(--muted); }
.foot__mark .nose { fill: var(--rose-strong); }
.foot__mark:hover path { fill: var(--ink); }
.foot__mark:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.foot__note { font-size: var(--fs-cap); color: var(--muted); }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-cap); color: var(--muted); text-decoration: none; }
.foot__links a:hover { color: var(--ink); }
.foot__links a:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; border-radius: 3px; }

.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero { animation: rise-hero .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-board { animation: hd-in .8s cubic-bezier(.2, .7, .2, 1) .2s both; }
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 36%;
    }
  }
}
@keyframes rise-hero { from { transform: translateY(10px); } to { transform: none; } }
@keyframes hd-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes reveal-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .pill--live::before { animation: none; }
}

/* centred lower portion — why, faq and suite share a centred spine;
   card / list internals stay left-aligned. Product sections above keep their asymmetry. */
.faq .wrap { text-align: center; }
.faq .faq-list { margin-inline: auto; text-align: left; }
.suite .wrap { text-align: center; }
.suite .intro { margin-inline: auto; }
.suite .suite-rows { margin-inline: auto; text-align: left; }
