/* Lytmark landing. Light theme only. */

/* Self-hosted fonts, latin subset. DM Sans is one variable file (wght 400-700, opsz). */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/dm-mono-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/dm-mono-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --text: #061b31;
  --text-2: #425466;
  --muted: #5b6478;
  --nav-link: #2a3a4f;
  --accent: #533AFD;
  --accent-soft: #efecff;
  --accent-ink: #3d27d6;
  --love: #7B66FF;
  --good: #21A68F;
  --meh: #CC7433;
  --bg: #f4f5fa;
  --surface: #fff;
  --line: #e1e5ee;

  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --r-card: 18px;
  --r-panel: 24px;
  --r-btn: 12px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 200ms var(--ease);
  --nav-h: 76px;
}

@property --sx {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 50%;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.045em; margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
/* Scroll boxes (and links that run edge to edge) draw the ring inside,
   where a clipping parent can't cut it off. */
:is(.wtabs, .tr-tabs, .tr-scroll, .st-pre, .pr-table-wrap, .fd-ship a):focus-visible { outline-offset: -2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--surface); color: var(--text);
  padding: 10px 16px; border-radius: var(--r-btn);
  box-shadow: 0 6px 20px -8px rgba(6, 27, 49, .3);
  transition: top var(--t);
}
.skip-link:focus { top: 12px; }

.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 8px; pointer-events: none; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: var(--r-btn); border: 1px solid transparent;
  font: 600 15px/1 var(--font); letter-spacing: -0.01em; white-space: nowrap;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background-color var(--t), border-color var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 16px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 26px -10px rgba(83, 58, 253, .75);
}
.btn-primary:hover { background: var(--accent-ink); box-shadow: 0 14px 30px -10px rgba(83, 58, 253, .8); }
.btn-sm.btn-primary { box-shadow: 0 6px 16px -8px rgba(83, 58, 253, .7); }
.btn-secondary {
  background: var(--surface); color: var(--text); border-color: var(--line);
  box-shadow: 0 1px 2px rgba(6, 27, 49, .06), 0 8px 20px -14px rgba(6, 27, 49, .25);
}
.btn-secondary:hover { border-color: #d3d8e4; box-shadow: 0 1px 2px rgba(6, 27, 49, .06), 0 12px 24px -14px rgba(6, 27, 49, .3); }

/* ── Nav ──────────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t), border-color var(--t), backdrop-filter var(--t);
}
.site-nav.is-scrolled {
  background: rgba(244, 245, 250, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(6, 27, 49, .06);
}
.nav-inner {
  max-width: 1240px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--nav-link); transition: color var(--t); }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 20px; justify-self: end; }
.nav-login { font-size: 15px; font-weight: 500; color: var(--nav-link); transition: color var(--t); }
.nav-login:hover { color: var(--accent); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
/* Pulled up under the transparent nav so the dot grid runs behind it. */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  height: calc(1000px + var(--nav-h));
  margin-top: calc(-1 * var(--nav-h));
  padding-top: var(--nav-h);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg > * { position: absolute; }

.hero-dots, .hero-spot {
  inset: 0;
  background-image: radial-gradient(circle, rgba(6, 27, 49, .15) 1.1px, transparent 1.6px);
  background-size: 22px 22px;
}
.hero-dots {
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 35%, transparent 100%);
}
.hero-spot {
  background-image: radial-gradient(circle, rgba(83, 58, 253, .75) 1.1px, transparent 1.6px);
  -webkit-mask-image: radial-gradient(circle 280px at var(--sx) 42%, #000, transparent 70%);
  mask-image: radial-gradient(circle 280px at var(--sx) 42%, #000, transparent 70%);
  animation: spot-sweep 14s ease-in-out infinite alternate;
}
@keyframes spot-sweep { from { --sx: 8%; } to { --sx: 92%; } }

.hero-glow {
  inset: 0;
  background:
    radial-gradient(ellipse 1100px 520px at 50% 108%, rgba(33, 166, 143, .14), transparent 70%),
    radial-gradient(ellipse 1900px 1000px at 50% 112%, rgba(111, 91, 255, .50) 0%, rgba(111, 91, 255, .34) 36%, rgba(111, 91, 255, .15) 56%, transparent 70%);
  transform-origin: 50% 100%;
  animation: glow-breathe 9s ease-in-out infinite;
}
@keyframes glow-breathe { 50% { opacity: .75; transform: scale(1.04); } }

.hero-blob { border-radius: 50%; filter: blur(80px); }
.hero-blob--teal {
  width: 560px; height: 420px; left: -140px; bottom: 140px;
  background: rgba(33, 166, 143, .30);
  animation: blob-a 22s ease-in-out infinite alternate;
}
.hero-blob--orange {
  width: 520px; height: 400px; right: -120px; top: 380px;
  background: rgba(232, 89, 12, .18);
  animation: blob-b 26s ease-in-out infinite alternate;
}
@keyframes blob-a { to { transform: translate(120px, -70px) scale(1.15); } }
@keyframes blob-b { to { transform: translate(-110px, 60px) scale(.9); } }

/* Blends the hero into the page below. */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  height: 160px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(244, 245, 250, 0), var(--bg));
}

.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  padding: 48px 24px 0; text-align: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font: 400 12px/1.4 var(--mono); color: var(--text-2);
  box-shadow: 0 4px 14px -8px rgba(6, 27, 49, .2);
}
.hero-pill-badge {
  padding: 3px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink);
  font-weight: 500; letter-spacing: .04em;
}
.hero-title {
  max-width: 1000px;
  font-size: clamp(44px, 6.2vw, 66px); line-height: 1.02; letter-spacing: -0.05em;
  text-wrap: balance;
}
.hero-title .accent { color: var(--accent); }
.hero-sub { max-width: 640px; font-size: 19px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.hero-micro { font-size: 14px; color: var(--muted); }

/* Sits over the bottom-left of the shell (its sidebar), clear of the real
   widget launcher in the viewport's bottom-right corner. The shell runs past
   the hero's bottom edge, so this tracks the shell's left edge instead. */
.hero-demo {
  position: absolute; z-index: 4; bottom: 22px;
  left: calc(max(min(160px, 11vw), (100% - 1240px) / 2) + 22px);
  font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}

/* Load-in. Starts from a shift and a blur, never from opacity 0, so the
   text is readable with no JS and no animation. */
.hero-in { animation: hero-rise 900ms cubic-bezier(.2, .7, .2, 1) var(--d, 0ms) both; }
@keyframes hero-rise {
  from { transform: translateY(18px); filter: blur(6px); }
  to { transform: none; filter: none; }
}

/* ── Product preview ──────────────────────────────────────────────────── */
.hero-preview {
  position: absolute; z-index: 1;
  left: min(160px, 11vw); right: min(160px, 11vw);
  top: calc(var(--nav-h) + 570px);
  height: 520px; max-width: 1240px; margin: 0 auto;
  animation: shell-rise 1200ms cubic-bezier(.2, .7, .2, 1) 400ms both;
}
@keyframes shell-rise { from { transform: translateY(70px) scale(.97); } to { transform: none; } }

.shell {
  display: flex; gap: 10px; height: 100%;
  padding: 10px; border-radius: var(--r-panel);
  background: #e6e8f2;
  box-shadow: 0 60px 100px -60px rgba(50, 50, 93, .55), 0 1px 0 rgba(255, 255, 255, .6) inset;
  font-size: 13px; line-height: 1.4; text-align: left;
}

/* Sidebar */
.side { flex: 0 0 190px; padding: 8px 6px; color: var(--nav-link); }
.hp-proj { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; }
.hp-proj-logo {
  display: grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 9px;
  background: #1f2a44; color: #fff; font-weight: 700; font-size: 14px;
}
.hp-proj-text { display: flex; flex-direction: column; }
.hp-proj-text b { font-size: 14px; font-weight: 600; color: var(--text); }
.hp-proj-text small { font-size: 12px; color: var(--muted); }
.hp-group { padding: 12px 10px 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hp-nav li {
  display: flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 10px; border-radius: 10px;
  font-weight: 500;
}
.hp-nav li.is-active { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(6, 27, 49, .06), 0 6px 14px -8px rgba(6, 27, 49, .2); }
.hp-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; opacity: .8; }
.hp-count { margin-left: auto; font-size: 12px; color: var(--muted); }
.hp-new { margin-left: auto; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 11px; font-weight: 600; }
.hp-live { position: relative; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.hp-live::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--good);
  animation: live-pulse 2s ease-out infinite;
}
@keyframes live-pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(2.8); opacity: 0; } }

/* Panel */
.panel {
  flex: 1; min-width: 0; overflow: hidden;
  padding: 22px 24px; border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(6, 27, 49, .05);
}
.hp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.hp-title { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.hp-meta { color: var(--muted); font-size: 12.5px; }
.hp-btn {
  flex: none; padding: 8px 12px; border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 12.5px;
}
.hp-seg {
  display: inline-flex; gap: 2px; margin: 16px 0 10px; padding: 3px;
  border-radius: 10px; background: var(--bg);
  font-size: 12.5px; font-weight: 500; color: var(--muted);
}
.hp-seg span { padding: 5px 12px; border-radius: 8px; }
.hp-seg b { font-weight: 600; margin-left: 2px; }
.hp-seg .is-active { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(6, 27, 49, .1); }

/* Room for the widget that overlaps the shell's right edge. */
.hp-posts { padding-right: 230px; }
.hp-post {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(170px, 220px);
  align-items: center; gap: 14px;
  padding: 12px 0; border-top: 1px solid #eef0f5;
}
.hp-post:first-child { border-top: 0; }
.hp-thumb { width: 48px; height: 36px; border-radius: 8px; }
.hp-thumb--1 { background: linear-gradient(135deg, #7B66FF, #533AFD); }
.hp-thumb--2 { background: linear-gradient(135deg, #1f2a44, #533AFD); }
.hp-thumb--3 { background: linear-gradient(135deg, #21A68F, #8fdccb); }
.hp-thumb--4 { background: linear-gradient(135deg, #CC7433, #f2b680); }
.hp-post-main { display: flex; flex-direction: column; min-width: 0; }
.hp-post-main b { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-post-main small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.hp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.hp-stats { display: flex; flex-direction: column; gap: 5px; }
.hp-stats small { color: var(--muted); font-size: 11.5px; }
.hp-bar {
  display: flex; gap: 2px; height: 7px; overflow: hidden; border-radius: 99px;
  transform-origin: left center;
  animation: bar-fill 1200ms cubic-bezier(.2, .7, .2, 1) 1100ms both;
}
.hp-bar i:nth-child(1) { background: var(--love); }
.hp-bar i:nth-child(2) { background: var(--good); }
.hp-bar i:nth-child(3) { background: var(--meh); }
@keyframes bar-fill { from { transform: scaleX(0); } to { transform: none; } }

/* Widget, floating over the shell's right edge */
.hp-widget {
  position: absolute; right: -60px; top: 80px; z-index: 2; width: 300px;
  animation: widget-in 900ms cubic-bezier(.2, .7, .2, 1) 1300ms both;
}
@keyframes widget-in { from { transform: translateY(30px) scale(.96); filter: blur(4px); } to { transform: none; filter: none; } }
.hp-widget-card {
  padding: 16px; border-radius: 20px;
  background: var(--surface); border: 1px solid rgba(6, 27, 49, .06);
  box-shadow: 0 40px 70px -30px rgba(50, 50, 93, .45), 0 12px 24px -16px rgba(6, 27, 49, .2);
  font-size: 12.5px; line-height: 1.45;
  animation: widget-float 6s ease-in-out 2200ms infinite;
}
@keyframes widget-float { 50% { transform: translateY(-10px); } }
.hp-w-head { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.hp-w-head .hp-proj-logo { width: 26px; height: 26px; border-radius: 8px; font-size: 12px; }
.hp-w-head b { font-weight: 600; }
.hp-w-tabs { display: flex; gap: 16px; margin: 12px 0 10px; border-bottom: 1px solid #eef0f5; color: var(--muted); font-weight: 500; }
.hp-w-tabs span { padding-bottom: 8px; margin-bottom: -1px; }
.hp-w-tabs .is-active { color: var(--accent-ink); border-bottom: 2px solid var(--accent); }
.hp-w-post { padding: 12px; border-radius: 14px; border: 1px solid #eef0f5; }
.hp-w-post + .hp-w-post { margin-top: 8px; }
.hp-w-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.hp-w-top small { color: var(--muted); font-size: 11.5px; }
.hp-w-post b { display: block; font-weight: 600; font-size: 13.5px; letter-spacing: -0.01em; }
.hp-w-post p { margin-top: 2px; color: var(--text-2); }
.hp-tag { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.hp-tag--new { background: var(--accent-soft); color: var(--accent-ink); }
.hp-tag--improved { background: #e3f5f1; color: #11715f; }
.hp-w-react { display: flex; gap: 6px; margin-top: 10px; }
.hp-w-react span { padding: 3px 8px; border-radius: 999px; background: var(--bg); font-size: 11.5px; color: var(--text-2); }

/* Notification chips, one at a time on a 12s loop */
.hp-chips { position: absolute; left: -90px; top: 70px; z-index: 2; width: 270px; height: 64px; }
.hp-chip {
  position: absolute; inset: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px 10px 10px; border-radius: 16px;
  background: var(--surface); border: 1px solid rgba(6, 27, 49, .06);
  box-shadow: 0 24px 40px -22px rgba(50, 50, 93, .45), 0 6px 14px -10px rgba(6, 27, 49, .2);
  font-size: 12.5px; line-height: 1.35;
  opacity: 0;
  animation: chip-cycle 12s var(--ease) infinite both;
}
.hp-chip:nth-child(1) { opacity: 1; animation-delay: 1.6s; }
.hp-chip:nth-child(2) { animation-delay: 4.6s; }
.hp-chip:nth-child(3) { animation-delay: 7.6s; }
.hp-chip:nth-child(4) { animation-delay: 10.6s; }
@keyframes chip-cycle {
  0% { opacity: 0; transform: translateY(10px); }
  4%, 22% { opacity: 1; transform: none; }
  26%, 100% { opacity: 0; transform: translateY(-8px); }
}
.hp-chip-icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 20px;
}
.hp-chip-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hp-chip b { display: block; font-weight: 600; }
.hp-chip small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-links, .hp-chips { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .hero-preview { left: 20px; right: 20px; }
  .hp-widget { right: 16px; top: 210px; }
  .hp-posts { padding-right: 0; }
  .hero-demo { left: 42px; }
}

@media (max-width: 720px) {
  .nav-inner { padding: 0 16px; gap: 12px; }
  .nav-actions { gap: 14px; }
  .hero { height: auto; padding-bottom: 0; }
  .hero-inner { padding: 40px 16px 0; gap: 18px; }
  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 17px; }
  /* On phones the blobs and the glow meet behind this line. */
  .hero-micro { color: var(--nav-link); }
  .hero-pill { border-radius: 16px; text-align: left; font-size: 11px; }
  .hero-preview {
    position: relative; left: auto; right: auto; top: auto;
    height: 440px; margin: 44px 16px 0;
  }
  .hero-preview .side, .hp-widget { display: none; }
  .hero-preview .panel { padding: 18px 16px; }
  .hp-btn { display: none; }
  .hp-post { grid-template-columns: 40px minmax(0, 1fr); gap: 6px 12px; }
  .hp-thumb { width: 40px; height: 32px; }
  .hp-stats { grid-column: 1 / -1; }
  .hero-demo { bottom: 16px; left: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover { transform: none; }
  .hp-chip { opacity: 0; }
  .hp-chip:nth-child(1) { opacity: 1; }
}

/* === FAZA 2 === */

/* ── Shared helpers ───────────────────────────────────────────────────── */
.sec { position: relative; isolation: isolate; overflow: clip; padding: 120px 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.lbl { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.h2 { font-size: 50px; line-height: 1.05; letter-spacing: -0.045em; font-weight: 600; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin-bottom: 56px; }
.head.c { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.card {
  background: var(--surface); border-radius: 20px;
  border: 1px solid rgba(6, 27, 49, .07);
  box-shadow: 0 24px 48px -36px rgba(50, 50, 93, .4);
}
.blob {
  position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  animation: drift 20s ease-in-out infinite alternate;
}
/* Background layers fade out toward the section's top and bottom, so a
   blob or glow never ends in a hard line where the section clips it. */
.sec-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sec-bg, .how-bg, .tour-bg {
  -webkit-mask-image: linear-gradient(transparent, #000 140px, #000 calc(100% - 140px), transparent);
  mask-image: linear-gradient(transparent, #000 140px, #000 calc(100% - 140px), transparent);
}
.blob.b2 { animation-duration: 26s; animation-delay: -8s; }
.blob.b3 { animation-duration: 23s; animation-delay: -14s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, -50px) scale(1.15); }
  100% { transform: translate(-60px, 40px) scale(.92); }
}

/* Scroll reveal. Uses `translate` so a card's hover `transform` still works.
   Visible by default; only a scroll timeline or the JS fallback hides it. */
@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
}
@keyframes reveal-up { from { translate: 0 40px; opacity: 0; } to { translate: none; opacity: 1; } }
.reveal.will-reveal {
  translate: 0 40px; opacity: 0;
  transition: translate 800ms cubic-bezier(.2, .7, .2, 1), opacity 800ms var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.will-reveal.in-view { translate: none; opacity: 1; }

/* ── Marquee ──────────────────────────────────────────────────────────── */
.mq-band { display: flex; flex-direction: column; gap: 12px; padding: 8px 0 26px; overflow: hidden; }
.mqwrap {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* The trailing padding equals the gap, so -50% lands exactly on the copy. */
.mq {
  display: flex; gap: 14px; width: max-content; padding-right: 14px;
  animation: mq 46s linear infinite;
}
.mq--rev { animation-duration: 54s; animation-direction: reverse; }
.mq-band:hover .mq { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mqi {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  height: 48px; padding: 0 18px 0 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid #e3e6ef;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 10px 24px -18px rgba(50, 50, 93, .4);
}
.mqi i {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ib); color: var(--accent-ink);
  font-style: normal; font-size: 15px;
}

/* ── Problems ─────────────────────────────────────────────────────────── */
.problems { background: #f4f5fa; }
.pb-1 { width: 520px; height: 520px; left: -140px; top: 120px; background: rgba(123, 102, 255, .22); }
.pb-2 { width: 460px; height: 460px; right: -120px; top: 34%; background: rgba(33, 166, 143, .18); }
.pb-3 { width: 360px; height: 360px; left: calc(50% - 180px); bottom: 80px; background: rgba(232, 89, 12, .12); }

.chaos { position: relative; height: 600px; margin-top: 8px; }
.chaos-inbox {
  position: absolute; top: 20px; left: 50%; margin-left: -210px;
  width: 420px; height: 500px; border-radius: 26px;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 50px 90px -50px rgba(50, 50, 93, .55);
}
.chaos-inbox-head {
  display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px;
  border-bottom: 1px solid rgba(6, 27, 49, .06);
  font-size: 14px;
}
.chaos-inbox-head b { font-weight: 600; }
.chaos-inbox-head span { margin-left: auto; font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--accent-ink); }

.msg {
  position: absolute; left: 50%; margin-left: -180px; width: 360px;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid rgba(6, 27, 49, .06);
  box-shadow: 0 14px 28px -20px rgba(50, 50, 93, .45);
}
.msg-src {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--sb); color: var(--sc);
  font: 700 11px/1 var(--mono);
}
.msg-main { display: flex; flex-direction: column; min-width: 0; }
.msg-main b { font-size: 13.5px; font-weight: 600; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-main small { font-size: 11.5px; color: var(--muted); }
.msg-tag {
  margin-left: auto; flex: none; padding: 3px 9px; border-radius: 999px;
  background: var(--tb); color: var(--tc); font-size: 11px; font-weight: 600;
}

/* Chaos to order. The resting state is ordered; the scroll timeline (or the
   JS fallback below) is what scatters the cards first. */
@supports (animation-timeline: view()) {
  .chaos { view-timeline: --chaos block; }
  .msg {
    animation: chaos-in linear both;
    animation-timeline: --chaos;
    animation-range: entry 10% cover 40%;
  }
  .chaos-inbox {
    animation: inbox-in linear both;
    animation-timeline: --chaos;
    animation-range: entry 20% cover 40%;
  }
}
@keyframes chaos-in {
  from { transform: translate(var(--fx), var(--fy)) rotate(var(--fr)); }
  to { transform: none; }
}
@keyframes inbox-in { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }

.chaos.is-chaos .msg {
  transform: translate(var(--fx), var(--fy)) rotate(var(--fr));
  transition: transform 900ms cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 70ms);
}
.chaos.is-chaos .chaos-inbox {
  transform: scale(.92); opacity: 0;
  transition: transform 900ms cubic-bezier(.2, .7, .2, 1), opacity 600ms var(--ease);
}
.chaos.is-chaos.is-ordered .msg,
.chaos.is-chaos.is-ordered .chaos-inbox { transform: none; opacity: 1; }

.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.pcard {
  padding: 22px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform var(--t), box-shadow var(--t);
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -36px rgba(50, 50, 93, .5); }
.pcard h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 6px; }
.pcard h3 i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.pcard li { padding: 14px 0; border-top: 1px solid #eef0f4; }
.pcard li:last-child { padding-bottom: 0; }
.pq { font-size: 13.5px; font-style: italic; color: var(--muted); line-height: 1.5; }
.ps { display: flex; gap: 8px; margin-top: 6px; font-size: 14px; line-height: 1.5; }
.ps svg { width: 16px; height: 16px; flex: none; margin-top: 3px; fill: none; stroke: var(--good); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ── How it works ─────────────────────────────────────────────────────── */
/* No clip here: it would break the sticky stage. The blobs clip themselves. */
.how {
  overflow: visible;
  background: radial-gradient(circle, rgba(6, 27, 49, .12) 1.1px, transparent 1.6px) 0 0 / 22px 22px, #eef0fa;
}
.how-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hb-1 { width: 600px; height: 600px; left: -200px; top: 18%; background: rgba(111, 91, 255, .35); }
.hb-2 { width: 520px; height: 520px; right: -160px; top: 40%; background: rgba(33, 166, 143, .22); }
.hb-3 { width: 420px; height: 420px; left: 34%; bottom: -120px; background: rgba(204, 116, 51, .16); }

.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.story-vis { position: sticky; top: 110px; }
.stage { position: relative; isolation: isolate; height: 560px; }
.stage::before {
  content: ''; position: absolute; inset: 14% 8%; z-index: -1;
  background: radial-gradient(closest-side, rgba(111, 91, 255, .45), transparent);
  filter: blur(30px);
}
.layer {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center;
  opacity: 0; transform: translateY(24px) scale(.97);
  transition: opacity 450ms var(--ease), transform 450ms var(--ease);
  pointer-events: none;
}
.stage[data-active="1"] .layer[data-step="1"],
.stage[data-active="2"] .layer[data-step="2"],
.stage[data-active="3"] .layer[data-step="3"],
.stage[data-active="4"] .layer[data-step="4"] { opacity: 1; transform: none; }

.sdots { display: flex; justify-content: center; gap: 2px; margin-top: 14px; }
.sdot {
  display: grid; place-items: center;
  height: 24px; min-width: 24px; padding: 0;
  border: 0; background: none; cursor: pointer;
}
.sdot::before {
  content: ''; width: 8px; height: 8px; border-radius: 999px;
  background: rgba(6, 27, 49, .15);
  transition: width 300ms var(--ease), background-color 300ms var(--ease);
}
.sdot[aria-current="step"]::before { width: 24px; background: var(--accent); }
.sdot:hover::before { background: rgba(83, 58, 253, .5); }
.sdot[aria-current="step"]:hover::before { background: var(--accent); }

/* Widget mock */
.mw {
  width: 360px; max-width: 100%; padding: 16px;
  border-radius: 22px; background: #f4f5f8;
  box-shadow: 0 40px 80px -30px rgba(50, 50, 93, .45), 0 0 0 1px rgba(6, 27, 49, .05);
  font-size: 13px; line-height: 1.45;
}
.mw-head { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.mw-head b { font-weight: 600; }
.mw-logo {
  display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 8px;
  background: #1f2a44; color: #fff; font-weight: 700; font-size: 13px;
}
.mw-badge { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: #d92d3a; color: #fff; font-size: 11px; font-weight: 600; }
.mw-tabs { display: flex; gap: 18px; margin: 14px 0 12px; border-bottom: 1px solid #e4e7ef; color: var(--muted); font-weight: 500; }
.mw-tabs span { padding-bottom: 8px; margin-bottom: -1px; }
.mw-tabs .is-active { color: var(--accent-ink); border-bottom: 2px solid var(--accent); }
.mw-post { padding: 14px; border-radius: 16px; background: var(--surface); }
.mw-post + .mw-post { margin-top: 10px; }
.mw-post.is-hl { box-shadow: 0 0 0 2px var(--accent), 0 16px 30px -20px rgba(83, 58, 253, .6); }
.mw-post.is-faded { opacity: .55; }
.mw-post p { color: var(--text-2); }
.mw-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.mw-top small { color: var(--muted); font-size: 11.5px; }
.mw-tag { padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 11px; font-weight: 600; }
.mw-tag--imp { background: #e2f4f0; color: #157a69; }
.mw-title { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.mw-img { height: 80px; margin: 10px 0; border-radius: 12px; background: linear-gradient(135deg, #7B66FF, #533AFD 55%, #21A68F); }
.mw-post.is-faded .mw-title { font-size: 15px; }

.mw-back { margin-bottom: 12px; font-size: 12.5px; font-weight: 500; color: var(--accent-ink); }
.mw-text { margin-top: 4px; color: var(--text-2); }
.mw-q { margin: 16px 0 8px; font-weight: 600; }
.mw-react { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mw-react span {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 4px; border-radius: 12px;
  background: var(--surface); border: 2px solid transparent;
  font-size: 12px; font-weight: 600;
  filter: grayscale(1); opacity: .5;
}
.mw-react i { font-style: normal; font-size: 22px; line-height: 1.2; }
.mw-react .is-picked { border-color: var(--accent); background: #f1eeff; color: var(--accent-ink); filter: none; opacity: 1; }
.mw-dash { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #f5f3ff; border: 1px solid #e6e1ff; }
.mw-dash small { display: block; font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; color: var(--accent-ink); }
.mw-dash b { display: block; margin: 4px 0 8px; font-size: 14px; font-weight: 600; }
.mw-bar { display: flex; gap: 2px; height: 8px; overflow: hidden; border-radius: 99px; }
.mw-bar i:nth-child(1) { background: var(--love); }
.mw-bar i:nth-child(2) { background: var(--good); }
.mw-bar i:nth-child(3) { background: var(--meh); }

.mw-group { margin-bottom: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; color: var(--muted); }
.mw-rm { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface); }
.mw-rm + .mw-rm { margin-top: 8px; }
.mw-rm.is-hl { box-shadow: 0 0 0 2px var(--good), 0 16px 30px -20px rgba(33, 166, 143, .6); }
.mw-rm.is-idea { background: transparent; border: 1.5px dashed #c6cbe0; }
.mw-rm-main { display: flex; flex-direction: column; min-width: 0; }
.mw-rm-main b { font-weight: 600; font-size: 13.5px; }
.mw-rm-main small { font-size: 11.5px; color: var(--muted); }
.mw-rm-main small.is-up { color: #157a69; font-weight: 500; }
.mw-vote {
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 46px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 13px; font-weight: 700; line-height: 1.1;
}
.mw-vote i { font-style: normal; font-size: 10px; }
.mw-vote.is-voted { background: var(--accent); color: #fff; }
.mw-idea-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; background: #fff6db; font-size: 20px; }

.mail-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; width: 380px; max-width: 100%; }
.mail {
  width: 100%; padding: 22px; border-radius: 20px;
  background: var(--surface); border: 1px solid rgba(6, 27, 49, .06);
  box-shadow: 0 40px 80px -30px rgba(50, 50, 93, .45);
  font-size: 13.5px; line-height: 1.5;
}
.mail-from { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mail-from small { font-size: 12.5px; color: var(--muted); }
.mail-title { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.mail p { margin: 8px 0 16px; color: var(--text-2); }
.mail-btn {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 13.5px;
}
.mail-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid #eef0f4;
  font-size: 12.5px; color: var(--muted);
}
.mail-foot span { font-size: 17px; letter-spacing: 4px; }
.mail-pill {
  padding: 8px 14px; border-radius: 999px;
  background: #e2f4f0; color: #157a69; font-size: 13px; font-weight: 600;
  box-shadow: 0 12px 24px -18px rgba(33, 166, 143, .7);
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  min-height: 560px; max-width: 460px;
  transition: opacity 300ms var(--ease);
}
.step:first-child { min-height: 440px; }
.step:last-child { min-height: 520px; }
.story.is-live .step:not(.is-active) { opacity: .3; }
.step-n { font: 500 13px/1.4 var(--mono); letter-spacing: .04em; color: var(--c); }
.step h3 { font-size: 34px; line-height: 1.1; }
.step p:last-of-type { font-size: 17px; line-height: 1.6; color: var(--text-2); }
/* "Learn more" links from #how and #features to the feature pages. */
.lm-more { display: inline-flex; align-items: center; min-height: 24px; margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--accent-ink); }
.lm-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.bn .lm-more { margin-top: 2px; font-size: 14px; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The sticky story keeps two columns while the widget still fits beside
   the steps (down to small laptops and tablets in landscape). */
@media (max-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .story-vis { position: relative; top: auto; }
  .stage { height: 520px; }
  .step, .step:first-child, .step:last-child { min-height: auto; max-width: 620px; padding: 24px 0; }
  /* The stage isn't beside the steps any more, so don't dim the text. */
  .story.is-live .step:not(.is-active) { opacity: 1; }
}

@media (max-width: 720px) {
  .sec { padding: 76px 0; }
  .wrap { padding: 0 16px; }
  .h2 { font-size: 34px; }
  .lead { font-size: 17px; }
  .head { margin-bottom: 36px; }
  .pgrid { grid-template-columns: minmax(0, 1fr); }

  /* Big blurs are the costliest paint on phones: softer, and two per section. */
  .blob, .hero-blob { filter: blur(50px); }
  .blob.b3 { display: none; }
  .pcard { -webkit-backdrop-filter: none; backdrop-filter: none; }

  .chaos { display: flex; flex-direction: column; gap: 10px; height: auto; }
  .chaos-inbox { display: none; }
  .msg, .chaos.is-chaos .msg {
    position: static; width: 100%; margin: 0;
    transform: none !important; animation: none !important; transition: none;
  }

  .stage { height: 500px; }
  .step h3 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal.will-reveal { translate: none; opacity: 1; }
  .pcard:hover { transform: none; }
}

/* === FAZA 3 === */

/* Zoom reveal, same contract as .reveal: visible unless a scroll timeline
   or the JS fallback hides it first. */
@supports (animation-timeline: view()) {
  .zoom {
    animation: zoom-in linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
}
@keyframes zoom-in { from { scale: .88; opacity: 0; } to { scale: 1; opacity: 1; } }
.zoom.will-reveal {
  scale: .88; opacity: 0;
  transition: scale 900ms cubic-bezier(.2, .7, .2, 1), opacity 700ms var(--ease);
}
.zoom.will-reveal.in-view { scale: 1; opacity: 1; }

@keyframes pop {
  0% { transform: scale(.6) rotate(-14deg); }
  55% { transform: scale(1.3) rotate(8deg); }
  100% { transform: none; }
}
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Widget section ───────────────────────────────────────────────────── */
.wsec { background: linear-gradient(180deg, #f1efff 0%, #f4f5fa 60%); }
.wsec-dots {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(6, 27, 49, .14) 1.1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000 20%, transparent 80%);
}
.wb-1 { width: 560px; height: 560px; right: -120px; top: 18%; background: rgba(123, 102, 255, .32); }
.wb-2 { width: 380px; height: 380px; left: 30%; bottom: -80px; background: rgba(33, 166, 143, .22); }

.wgrid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px; align-items: center;
}
.wcopy .head { margin-bottom: 32px; }

.wtabs { display: flex; flex-direction: column; gap: 8px; }
.wtab {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px; border-radius: 16px; border: 0;
  background: rgba(255, 255, 255, .35);
  font: inherit; color: var(--text); text-align: left; cursor: pointer;
  transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease), transform 300ms var(--ease);
}
.wtab:hover { background: rgba(255, 255, 255, .6); }
.wtab[aria-selected="true"] {
  background: var(--surface); transform: translateX(6px);
  box-shadow: 0 20px 40px -24px rgba(50, 50, 93, .5), 0 0 0 1px rgba(6, 27, 49, .06);
}
.wtab-n {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 10px;
  background: #e9ebf2; color: var(--text-2);
  font: 500 13px/1 var(--mono);
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
.wtab[aria-selected="true"] .wtab-n { background: var(--accent); color: #fff; }
.wtab-txt { display: flex; flex-direction: column; gap: 2px; padding-top: 1px; }
.wtab-txt b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.wtab-txt small { font-size: 14px; line-height: 1.45; color: var(--text-2); }

.wdemo { display: flex; flex-direction: column; align-items: center; }
.wd-theme {
  display: inline-flex; gap: 2px; margin-bottom: 18px; padding: 3px;
  border-radius: 11px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
}
.wd-theme button {
  height: 32px; padding: 0 16px; border: 0; border-radius: 8px;
  background: none; font: 500 13px/1 var(--font); color: var(--muted); cursor: pointer;
  transition: background-color var(--t), color var(--t);
}
.wd-theme [aria-pressed="true"] { background: var(--text); color: #fff; }

/* The demo widget. Its state lives on the root: data-tab, data-theme,
   data-reaction, data-rxstep and .is-sent; votes are aria-pressed. */
.wd {
  --w-bg: #f4f5f8; --w-head: #fff; --w-card: #fff; --w-text: #061b31; --w-body: #425466;
  --w-muted: #5b6478; --w-border: #eceef3; --w-seg: #f0f2f6; --w-seg-on: #fff; --w-input: #f8f9fb;
  --w-link: #3d27d6; --w-pick: #f1eeff; --w-vote: #efecff; --w-vote-ink: #3d27d6;
  --t-new-bg: #efecff; --t-new: #3d27d6; --t-imp-bg: #e2f4f0; --t-imp: #157a69; --t-fix-bg: #fbeee4; --t-fix: #a2541a;
  width: 400px; max-width: 100%; overflow: hidden;
  border-radius: 22px; background: var(--w-bg); color: var(--w-text);
  box-shadow: 0 50px 90px -30px rgba(15, 23, 41, .55), 0 0 0 1px rgba(6, 27, 49, .05);
  font-size: 13.5px; line-height: 1.45; text-align: left;
}
.wd[data-theme="dark"] {
  --w-bg: #1b1e29; --w-head: #22263a; --w-card: #2c3044; --w-text: #f1f3f8; --w-body: #c3cad8;
  --w-muted: #9ca4b6; --w-border: rgba(255, 255, 255, .12); --w-seg: rgba(0, 0, 0, .25); --w-seg-on: #41465e; --w-input: #23273a;
  --w-link: #b3a8ff; --w-pick: rgba(123, 102, 255, .22); --w-vote: rgba(123, 102, 255, .2); --w-vote-ink: #c9c0ff;
  --t-new-bg: rgba(123, 102, 255, .22); --t-new: #c9c0ff; --t-imp-bg: rgba(33, 166, 143, .2); --t-imp: #7fe0cc; --t-fix-bg: rgba(204, 116, 51, .22); --t-fix: #f3b07c;
}
:where(.wd, .wd *) { transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease); }
.wd button { font: inherit; color: inherit; cursor: pointer; }

.wd-head { padding: 14px 16px 12px; background: var(--w-head); border-bottom: 1px solid var(--w-border); }
.wd-bar { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.wd-bar b { font-weight: 600; }
.wd-logo {
  display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 13px;
}
.wd-x { margin-left: auto; font-size: 20px; line-height: 1; color: var(--w-muted); }
.wd-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 12px; padding: 3px; border-radius: 10px; background: var(--w-seg); }
.wd .wd-seg button { height: 30px; border: 0; border-radius: 8px; background: none; font-size: 13px; font-weight: 500; color: var(--w-muted); }
.wd[data-tab="updates"] .wd-seg [data-go="updates"],
.wd[data-tab="post"] .wd-seg [data-go="updates"],
.wd[data-tab="roadmap"] .wd-seg [data-go="roadmap"],
.wd[data-tab="ideas"] .wd-seg [data-go="ideas"] {
  background: var(--w-seg-on); color: var(--w-text); box-shadow: 0 1px 3px rgba(6, 27, 49, .12);
}

.wd-body { position: relative; height: 470px; overflow: hidden; }
.wd-scr {
  position: absolute; inset: 0; overflow: hidden; padding: 16px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 450ms var(--ease), transform 450ms var(--ease), visibility 0s linear 450ms;
}
.wd[data-tab="updates"] [data-scr="updates"],
.wd[data-tab="post"] [data-scr="post"],
.wd[data-tab="roadmap"] [data-scr="roadmap"],
.wd[data-tab="ideas"] [data-scr="ideas"] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.wd-tag { padding: 2px 8px; border-radius: 999px; background: var(--t-new-bg); color: var(--t-new); font-size: 11px; font-weight: 600; }
.wd-tag--imp { background: var(--t-imp-bg); color: var(--t-imp); }
.wd-tag--fix { background: var(--t-fix-bg); color: var(--t-fix); }

/* Updates */
.wd-div { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 500 11px/1 var(--mono); letter-spacing: .04em; color: var(--w-link); }
.wd-div::before, .wd-div::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .35; }
.wd .wd-card {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 14px; border-radius: 16px; border: 1px solid var(--w-border);
  background: var(--w-card); text-align: left;
}
.wd-card + .wd-card { margin-top: 10px; }
.wd .wd-card:hover { border-color: rgba(83, 58, 253, .45); }

.wd-desc { font-size: 13px; color: var(--w-body); }

/* Post + reactions */
.wd .wd-back { margin-bottom: 12px; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 500; color: var(--w-link); }
.wd-title { margin-top: 6px; font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
.wd-img {
  display: grid; place-items: center;
  height: 96px; margin: 12px 0; border-radius: 14px;
  background: linear-gradient(135deg, #ece9ff, #e5f5f1);
}
.wd-search {
  display: flex; align-items: center; gap: 8px;
  width: 64%; height: 34px; padding: 0 12px; border-radius: 10px;
  background: #fff; box-shadow: 0 8px 18px -10px rgba(50, 50, 93, .4);
}
.wd-search svg { width: 14px; height: 14px; flex: none; fill: none; stroke: #8a93a8; stroke-width: 2.2; stroke-linecap: round; }
.wd-typed {
  height: 8px; width: 0; border-radius: 4px; background: #c9c0ff;
  animation: typing 2.4s steps(10, end) infinite;
}
@keyframes typing { 0% { width: 0; } 55%, 85% { width: 72%; } 100% { width: 0; } }
.wd-text { font-size: 13.5px; color: var(--w-body); }
.wd-q { margin: 16px 0 8px; font-weight: 600; }
.wd-q small { margin-left: 4px; font-weight: 400; font-size: 12px; color: var(--w-muted); }
.wd-rx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wd .wd-rx button {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 9px 4px; border-radius: 12px;
  background: var(--w-card); border: 1.5px solid var(--w-border);
  font-size: 12.5px; font-weight: 600;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease), opacity 300ms var(--ease), filter 300ms var(--ease);
}
.wd-rx i { display: inline-block; font-style: normal; font-size: 22px; line-height: 1.2; }
.wd[data-reaction="love"] .wd-rx [data-r="love"],
.wd[data-reaction="good"] .wd-rx [data-r="good"],
.wd[data-reaction="meh"] .wd-rx [data-r="meh"] { border-color: var(--accent); background: var(--w-pick); }
.wd[data-reaction="love"] [data-r="love"] i,
.wd[data-reaction="good"] [data-r="good"] i,
.wd[data-reaction="meh"] [data-r="meh"] i { animation: pop 520ms cubic-bezier(.3, 1.4, .5, 1); }
.wd[data-reaction="love"] .wd-rx button:not([data-r="love"]),
.wd[data-reaction="good"] .wd-rx button:not([data-r="good"]),
.wd[data-reaction="meh"] .wd-rx button:not([data-r="meh"]) { filter: grayscale(1); opacity: .7; }

.wd input, .wd textarea {
  width: 100%; padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--w-border); background: var(--w-input); color: var(--w-text);
  font: 400 13.5px/1.4 var(--font); resize: none;
}
.wd input::placeholder, .wd textarea::placeholder { color: var(--w-muted); }
.wd input:focus-visible, .wd textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }

/* Roadmap */
.wd-group { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--w-muted); }
.wd-group i { width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
.wd-rm + .wd-group { margin-top: 18px; }
.wd-rm { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--w-card); border: 1px solid var(--w-border); }
.wd-rm + .wd-rm { margin-top: 8px; }
.wd-rm-main { display: flex; flex-direction: column; min-width: 0; }
.wd-rm-main b { font-size: 14px; font-weight: 600; }
.wd-rm-main small { font-size: 12.5px; color: var(--w-body); }
.wd .wd-vote {
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none;
  width: 50px; height: 52px; padding: 0; border-radius: 12px; border: 0;
  background: var(--w-vote); color: var(--w-vote-ink);
  font-size: 14px; line-height: 1.1;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 300ms cubic-bezier(.3, 1.4, .5, 1);
}
.wd-vote svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.wd-vote b { font-weight: 700; }
.wd-vote .n1 { display: none; }
.wd .wd-vote[aria-pressed="true"] { background: var(--accent); color: #fff; transform: scale(1.06); }
.wd-vote[aria-pressed="true"] .n0 { display: none; }
.wd-vote[aria-pressed="true"] .n1 { display: block; }

/* Ideas */
.wd-form { display: flex; flex-direction: column; gap: 12px; }
.wd-field { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; }
.wd-field span { font-weight: 400; color: var(--w-muted); }
.wd-field input, .wd-field textarea { font-weight: 400; }
.wd .wd-send, .wd .wd-again {
  height: 42px; margin-top: 4px; border: 0; border-radius: 11px;
  background: var(--accent); color: #fff; font-weight: 600;
}
.wd .wd-send:hover, .wd .wd-again:hover { background: var(--accent-ink); }
.wd-sent { display: none; flex-direction: column; align-items: center; gap: 8px; padding: 48px 16px 0; text-align: center; }
.wd-sent p { font-size: 13.5px; color: var(--w-body); }
.wd-sent b { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.wd .wd-again { padding: 0 20px; margin-top: 12px; }
.wd-check { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 50%; background: #21A68F; }
.wd-check svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.wd.is-sent .wd-form { display: none; }
.wd.is-sent .wd-sent { display: flex; }
.wd.is-sent .wd-check { animation: pop 520ms cubic-bezier(.3, 1.4, .5, 1); }

.wd-note { margin-top: 14px; font: 400 11px/1.4 var(--mono); letter-spacing: .04em; color: var(--text-2); text-align: center; }

/* ── Tour ─────────────────────────────────────────────────────────────── */
.tour { background: #eef0fa; }
.tour-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.tour-bg > * { position: absolute; }
.tour-dots {
  inset: 0;
  background-image: radial-gradient(circle, rgba(6, 27, 49, .12) 1.1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 90%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 90%);
}
.tour-glow {
  inset: 0;
  background: radial-gradient(ellipse 1700px 900px at 50% 112%, rgba(111, 91, 255, .55), rgba(111, 91, 255, .30) 36%, rgba(111, 91, 255, .10) 56%, transparent 70%);
  transform-origin: 50% 100%;
  animation: glow-breathe 9s ease-in-out infinite;
}
.tour-ray {
  top: -20%; width: 2px; height: 140%; opacity: .7;
  background: linear-gradient(transparent, rgba(83, 58, 253, .30), transparent);
  animation: ray 7s linear infinite;
}
@keyframes ray { from { transform: translateY(-30%); } to { transform: translateY(30%); } }

.tr-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 28px; }
.tr-tab {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--nav-link);
  font: 500 14.5px/1 var(--font); white-space: nowrap; cursor: pointer;
  transition: background-color var(--t), color var(--t), border-color var(--t);
}
.tr-tab:hover { border-color: #c9cfdd; }
.tr-tab[aria-selected="true"] { background: #0f1729; border-color: #0f1729; color: #fff; }
.tr-n { font: 400 11.5px/1 var(--mono); color: var(--muted); }
.tr-tab[aria-selected="true"] .tr-n { color: rgba(255, 255, 255, .7); }
.tr-prog { display: none; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #a497ff; transform-origin: left; }
.tour.is-auto .tr-tab[aria-selected="true"] .tr-prog { display: block; animation: tr-prog 7s linear both; }
.tour.is-paused .tr-prog { animation-play-state: paused !important; }
@keyframes tr-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.tr-shell { height: auto; min-height: 600px; }
.tr-shell .hp-nav li { transition: background-color var(--t), color var(--t), box-shadow var(--t); }
.tr-shell[data-tab="write"] [data-nav="write"],
.tr-shell[data-tab="listen"] [data-nav="listen"],
.tr-shell[data-tab="plan"] [data-nav="plan"],
.tr-shell[data-tab="measure"] [data-nav="measure"],
.tr-shell[data-tab="yours"] [data-nav="yours"],
.tr-shell[data-tab="live"] [data-nav="live"] {
  background: var(--surface); color: var(--text);
  box-shadow: 0 1px 2px rgba(6, 27, 49, .06), 0 6px 14px -8px rgba(6, 27, 49, .2);
}
.tr-panel { position: relative; }
.tp:not([hidden]) { animation: fade-in 450ms var(--ease); }
.tp:focus-visible { outline-offset: 6px; }

/* Panel kit */
.tp-title { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.tp-meta { color: var(--muted); font-size: 12.5px; }

.tp-seg {
  display: inline-flex; gap: 2px; padding: 3px; flex: none;
  border-radius: 10px; background: var(--bg);
  font-size: 12.5px; font-weight: 500; color: var(--muted);
}
.tp-seg :is(span, button) { padding: 5px 12px; border-radius: 8px; white-space: nowrap; }
.tp-seg b { font-weight: 600; margin-left: 2px; }
.tp-seg .is-on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(6, 27, 49, .1); }
.tp-btn {
  display: inline-flex; align-items: center; flex: none;
  height: 32px; padding: 0 12px; border-radius: 9px;
  background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.tp-btn--ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.tp-search svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tp-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 14px; }
.tp-search {
  display: inline-flex; align-items: center; gap: 8px;
  width: 220px; height: 34px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--line); color: var(--muted); font-size: 12.5px;
}

/* 3 · Plan */
@keyframes modal-pop { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }

/* 4 · Measure */
/* Drawn with a dash offset; restarts each time the panel is un-hidden. */
.tm-line {
  fill: none; stroke: #7B66FF; stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  animation: draw 1400ms cubic-bezier(.4, 0, .2, 1) 200ms both;
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* 5 · Make it yours */
.tc-sws { display: flex; gap: 10px; }
.tc-sw {
  width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 0;
  background: var(--c); cursor: pointer;
  transition: box-shadow var(--t), transform var(--t);
}
.tc-sw:hover { transform: scale(1.08); }
.tc-sw[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); }
.tc-ok { margin-top: 10px; font-size: 12.5px; color: #157a69; font-weight: 500; }

/* 6 · Go live */
.ti-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #e2f4f0; color: #157a69; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ti-live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.ti-live i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--good); animation: live-pulse 2s ease-out infinite; }
.ti-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ti-chips button { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.ti-chips .is-on { background: #0f1729; border-color: #0f1729; color: #fff; }

/* Caption */
.tr-caps { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.tr-cap { display: flex; align-items: center; justify-content: center; gap: 12px 32px; flex-wrap: wrap; }
.tr-cap[hidden] { display: none; }
.tr-cap:not([hidden]) { animation: fade-in 450ms var(--ease); }
.tr-cap h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.tr-cap ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
/* The captions sit on the glow, so they use the darker ink. */
.tr-cap li { display: flex; align-items: center; gap: 7px; font-size: 15px; color: var(--nav-link); }
.tr-cap li::before { content: '✓'; font-weight: 700; color: var(--good); }
.tr-demo { font: 400 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--nav-link); text-align: center; }

/* Third marquee */
.mq-band--solo {
  padding: 22px 0;
  border-top: 1px solid rgba(6, 27, 49, .06);
  border-bottom: 1px solid rgba(6, 27, 49, .06);
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .wgrid { grid-template-columns: minmax(0, 1fr); }
  .wtab[aria-selected="true"] { transform: none; }

}

@media (max-width: 720px) {
  .wtabs { flex-direction: row; gap: 6px; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 8px; scrollbar-width: none; }
  .wtabs::-webkit-scrollbar { display: none; }
  .wtab { flex: none; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; }
  .wtab-n { width: 28px; height: 28px; border-radius: 50%; font-size: 11.5px; }
  .wtab-txt small { display: none; }
  .wtab-txt b { font-size: 14.5px; }

  .tr-tabs {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin: -4px -16px 18px; padding: 4px 16px; scroll-padding: 0 16px; scrollbar-width: none;
  }
  .tr-tabs::-webkit-scrollbar { display: none; }
  .tr-tab { flex: none; scroll-snap-align: start; }
  .tr-scroll { overflow-x: auto; margin: 0 -16px; padding: 0 16px 8px; }
  .tr-shell { min-width: 760px; }
  .tr-shell .side { display: none; }
  .tr-cap { flex-direction: column; align-items: flex-start; }
  .tr-cap ul { flex-direction: column; }
  .tr-demo { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .zoom.will-reveal { scale: 1; opacity: 1; }
  .tour-ray { display: none; }
  .wd-typed { width: 60%; }
  .wtab[aria-selected="true"] { transform: none; }
}

/* === FAZA 4 === */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Inline links, and trigger buttons that should read as links. */
.link {
  padding: 0; border: 0; background: none; font: inherit; cursor: pointer;
  color: var(--accent-ink); text-decoration: underline;
  text-decoration-color: rgba(61, 39, 214, .35); text-underline-offset: 3px;
  transition: text-decoration-color var(--t);
}
.link:hover { text-decoration-color: currentColor; }

.feat-dots, .pricing-dots, .ct-dots {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(6, 27, 49, .13) 1.1px, transparent 1.6px);
  background-size: 22px 22px;
}

summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
/* The + that turns into × when its <details> opens. */
.plus {
  position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); transition: transform 250ms var(--ease);
}
.plus::before, .plus::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--text);
}
.plus::after { transform: rotate(90deg); }
details[open] > summary .plus { transform: rotate(45deg); }

/* ── Features (bento) ─────────────────────────────────────────────────── */
.feat { background: #f4f5fa; }
.feat-dots {
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.fb-1 { width: 520px; height: 520px; right: -160px; top: 80px; background: rgba(123, 102, 255, .18); }
.fb-2 { width: 480px; height: 480px; left: -160px; bottom: 80px; background: rgba(232, 89, 12, .12); }

.bento {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px; gap: 16px;
  grid-template-areas: "a a b b" "a a c d" "e f f g" "e h i i";
}
.bn-a { grid-area: a; } .bn-b { grid-area: b; } .bn-c { grid-area: c; }
.bn-d { grid-area: d; } .bn-e { grid-area: e; } .bn-f { grid-area: f; }
.bn-g { grid-area: g; } .bn-h { grid-area: h; } .bn-i { grid-area: i; }

.bn {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px; overflow: hidden;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.bn:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -34px rgba(50, 50, 93, .5); }
.bn h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; }
.bn > p, .bn-txt > p { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.bn-demo {
  position: relative; flex: 1; min-height: 0; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
}
.bn--h { flex-direction: row; gap: 22px; }
.bn--h .bn-txt { flex: 0 0 40%; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.bn--h .bn-demo { margin: 0; }
.bn .bn-mono {
  margin-bottom: auto;
  font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink);
}

/* a · Accent and theme cycle through registered colors, so they tween. */
@property --ba-acc { syntax: '<color>'; inherits: true; initial-value: #533AFD; }
@property --ba-bg { syntax: '<color>'; inherits: true; initial-value: #eceaf9; }
@property --ba-card { syntax: '<color>'; inherits: true; initial-value: #ffffff; }
@property --ba-ink { syntax: '<color>'; inherits: true; initial-value: #061b31; }
@property --ba-sub { syntax: '<color>'; inherits: true; initial-value: #5b6478; }
@property --ba-line { syntax: '<color>'; inherits: true; initial-value: #e6e8f0; }
@property --ba-on { syntax: '<color>'; inherits: true; initial-value: #ffffff; }

.bn-a { background: linear-gradient(180deg, #fff, #f4f2ff); }
.bn-a .bn-demo {
  align-items: flex-start; overflow: hidden;
  padding: 18px 18px 0; border-radius: 16px; background: var(--ba-bg);
  animation: ba-accent 10s linear infinite, ba-theme 10s ease-in-out infinite;
}
/* --ba-on is the text on the accent: dark on the light accents, like the
   real widget, so it stays readable. */
@keyframes ba-accent {
  0%, 20% { --ba-acc: #533AFD; --ba-on: #ffffff; }
  25%, 45% { --ba-acc: #21A68F; --ba-on: #061b31; }
  50%, 70% { --ba-acc: #E8590C; --ba-on: #061b31; }
  75%, 95% { --ba-acc: #0F1729; --ba-on: #ffffff; }
  100% { --ba-acc: #533AFD; --ba-on: #ffffff; }
}
@keyframes ba-theme {
  0%, 22%, 82%, 100% { --ba-bg: #eceaf9; --ba-card: #ffffff; --ba-ink: #061b31; --ba-sub: #5b6478; --ba-line: #e6e8f0; }
  38%, 66% { --ba-bg: #0b1222; --ba-card: #151e33; --ba-ink: #f2f4fa; --ba-sub: #a3adc2; --ba-line: #26314a; }
}
.ba-w {
  width: 300px; max-width: 100%; padding: 14px;
  border-radius: 16px; border: 1px solid var(--ba-line);
  background: var(--ba-card); color: var(--ba-ink);
  box-shadow: 0 24px 40px -24px rgba(50, 50, 93, .45);
  font-size: 12px; line-height: 1.4;
}
.ba-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.ba-logo {
  display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--ba-acc); color: var(--ba-on); font-weight: 700; font-size: 11px;
}
.ba-x { margin-left: auto; color: var(--ba-sub); }
.ba-tabs {
  display: flex; gap: 2px; margin: 12px 0 6px; padding: 3px;
  border-radius: 9px; background: var(--ba-bg); color: var(--ba-sub); font-weight: 500;
}
.ba-tabs span { flex: 1; padding: 4px 0; border-radius: 7px; text-align: center; }
.ba-tabs .is-on { background: var(--ba-card); color: var(--ba-ink); box-shadow: 0 1px 3px rgba(6, 27, 49, .12); }
.ba-post { padding: 10px 0; border-top: 1px solid var(--ba-line); }
.ba-tabs + .ba-post { border-top: 0; }
.ba-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.ba-top small { font-size: 11px; color: var(--ba-sub); }
.ba-tag {
  padding: 2px 7px; border-radius: 99px; font-size: 10.5px; font-weight: 600;
  color: var(--ba-acc); background: var(--accent-soft);
  color: color-mix(in srgb, var(--ba-acc) 65%, var(--ba-ink));
  background: color-mix(in srgb, var(--ba-acc) 14%, transparent);
}
.ba-post b { display: block; font-size: 13px; font-weight: 600; }
.ba-post p { margin-top: 2px; color: var(--ba-sub); }
.ba-rx { display: flex; gap: 5px; margin-top: 9px; }
.ba-rx span {
  flex: 1; padding: 5px 0; border-radius: 8px; border: 1.5px solid var(--ba-line);
  font-size: 11px; font-weight: 500; text-align: center; white-space: nowrap;
}
.ba-rx .is-on { border-color: var(--ba-acc); }
.ba-launch {
  position: absolute; right: 16px; bottom: 16px;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ba-acc); color: var(--ba-on);
  box-shadow: 0 10px 20px -8px rgba(6, 27, 49, .45);
}
.ba-launch svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* b · Public changelog page */
.bb-page {
  display: flex; gap: 12px; width: 100%; height: 100%; overflow: hidden;
  padding: 14px; border-radius: 14px; background: #f7f8fc; border: 1px solid #eceef5;
  font-size: 11px; color: var(--muted);
}
.bb-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.bb-search {
  display: flex; align-items: center; gap: 6px; flex: none;
  height: 26px; padding: 0 9px; border-radius: 8px; background: #fff; border: 1px solid #e6e8f0;
}
.bb-search svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bb-tags { display: flex; gap: 4px; }
.bb-tags i { padding: 2px 7px; border-radius: 99px; background: #fff; border: 1px solid #e6e8f0; font-style: normal; font-size: 10px; }
.bb-tags i:first-child { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.bb-h { width: 60%; height: 9px; margin-top: 4px; border-radius: 4px; background: #cfd4e2; flex: none; }
.bb-l { height: 6px; border-radius: 3px; background: #e3e6ef; flex: none; }
.bb-rx { font-size: 12px; letter-spacing: 2px; }
.bb-toc { position: relative; flex: 0 0 92px; display: flex; flex-direction: column; padding-left: 10px; border-left: 2px solid #e6e8f0; }
.bb-toc small { margin-bottom: 8px; font: 500 9.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.bb-toc span { height: 22px; line-height: 22px; white-space: nowrap; }
.bb-toc .bb-ind {
  position: absolute; left: -2px; top: 17.5px; width: 2px;
  border-radius: 2px; background: var(--accent);
  animation: bb-jump 6s var(--ease) infinite;
}
@keyframes bb-jump {
  0%, 28%, 100% { transform: none; }
  33%, 61% { transform: translateY(22px); }
  66%, 95% { transform: translateY(44px); }
}

/* c · Voter email */
.bc-mail {
  width: 100%; max-width: 220px; padding: 12px;
  border-radius: 12px; background: #fff; border: 1px solid #e3e6ef;
  box-shadow: 0 14px 28px -18px rgba(50, 50, 93, .5);
  font-size: 12px;
  animation: bc-drop 6s var(--ease) infinite;
}
.bc-from { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); }
.bc-from .ba-logo { width: 20px; height: 20px; border-radius: 6px; font-size: 10px; }
.bc-mail b { display: block; margin: 7px 0 3px; font-size: 13px; }
.bc-rx { font-size: 13px; letter-spacing: 3px; }
@keyframes bc-drop {
  0% { transform: translateY(-140%); opacity: 0; }
  14%, 78% { transform: none; opacity: 1; }
  90%, 100% { transform: translateY(10px); opacity: 0; }
}

/* d · Size */
.bn-d .bn-demo { flex-direction: column; align-items: flex-start; gap: 14px; }
.bd-kb { font-size: 46px; font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--accent); }
.bd-bar { width: 100%; height: 8px; overflow: hidden; border-radius: 99px; background: #eceef5; }
.bd-bar i {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--good), var(--accent));
  transform-origin: left center;
  animation: bd-fill 2.4s var(--ease) infinite;
}
@keyframes bd-fill { 0% { transform: scaleX(0); } 70%, 100% { transform: none; } }

/* e · Phone */
.bn-e { background: linear-gradient(180deg, #fff, #eef6f4); }
.be-phone {
  position: relative; flex: none; width: 170px; height: 300px;
  display: flex; flex-direction: column; gap: 8px; padding: 26px 10px 10px;
  border: 6px solid #0f1729; border-radius: 30px; background: #f7f8fc;
  box-shadow: 0 30px 50px -30px rgba(15, 23, 41, .6);
}
.be-notch { position: absolute; top: 6px; left: 50%; width: 54px; height: 14px; margin-left: -27px; border-radius: 99px; background: #0f1729; }
.be-hi { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.be-notes { display: flex; flex-direction: column; gap: 6px; }
.be-notes li {
  display: flex; align-items: center; gap: 6px; padding: 7px 8px;
  border-radius: 10px; background: #fff; box-shadow: 0 6px 14px -8px rgba(6, 27, 49, .35);
  font-size: 10.5px; font-weight: 500; line-height: 1.25; color: var(--text);
  animation: be-pop 8s var(--ease) var(--d, 0s) infinite both;
}
.be-notes i {
  display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent-ink); font-style: normal; font-size: 10px;
}
.be-l { height: 6px; border-radius: 3px; background: #e3e6ef; flex: none; }
@keyframes be-pop {
  0% { opacity: 0; transform: translateY(-8px) scale(.94); }
  6%, 82% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(-4px); }
}

/* f · Claude */
.bn-f { background: linear-gradient(180deg, #fff, #eef6f4); }
.bf-chat { display: flex; flex-direction: column; gap: 8px; width: 100%; font-size: 13px; line-height: 1.4; }
.bf-me {
  align-self: flex-end; max-width: 100%; overflow: hidden;
  padding: 8px 12px; border-radius: 14px 14px 4px 14px;
  background: #0f1729; color: #fff; white-space: nowrap;
}
.bf-me span { display: block; animation: bf-type 7s steps(44) infinite; }
@keyframes bf-type {
  0% { clip-path: inset(0 100% 0 0); }
  40%, 100% { clip-path: inset(0 0 0 0); }
}
.bf-ai {
  align-self: flex-start; padding: 8px 12px; border-radius: 14px 14px 14px 4px;
  background: #efecff; color: var(--accent-ink); font-weight: 500;
  animation: bf-reply 7s var(--ease) infinite;
}
@keyframes bf-reply {
  0%, 46% { opacity: 0; transform: translateY(8px); }
  52%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

/* g · Own button */
.bg-btn {
  position: relative; display: inline-flex; align-items: center;
  height: 40px; padding: 0 18px; border-radius: 11px;
  background: #fff; border: 1px solid #e1e5ee;
  box-shadow: 0 10px 22px -14px rgba(50, 50, 93, .5);
  font-size: 14px; font-weight: 600;
}
.bg-btn i {
  position: absolute; top: -9px; right: -9px;
  display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px;
  border-radius: 99px; border: 2px solid #fff; background: #d92d3a; color: #fff;
  font: 700 11px/1 var(--font); font-style: normal;
  animation: bg-pop 3s var(--ease) infinite;
}
@keyframes bg-pop { 0%, 12%, 100% { transform: none; } 6% { transform: scale(1.35); } }

/* h · Privacy */
.bn-h .bn-demo { gap: 18px; }
.bh-shield {
  width: 46px; height: 46px; fill: var(--accent-soft); stroke: var(--accent);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  animation: bh-pulse 2.4s ease-in-out infinite;
}
@keyframes bh-pulse { 50% { transform: scale(1.07); } }
.bh-tg {
  position: relative; width: 44px; height: 26px; border-radius: 99px; background: var(--good);
  animation: bh-track 4s var(--ease) infinite;
}
.bh-tg i {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(6, 27, 49, .25);
  transform: translateX(18px);
  animation: bh-knob 4s var(--ease) infinite;
}
@keyframes bh-track { 0%, 40%, 100% { background: #cfd4e0; } 50%, 90% { background: var(--good); } }
@keyframes bh-knob { 0%, 40%, 100% { transform: none; } 50%, 90% { transform: translateX(18px); } }

/* i · Shadow DOM */
.bi-code {
  display: flex; flex-direction: column; gap: 6px; width: 100%; overflow: hidden;
  padding: 16px 18px; border-radius: 12px; background: #f3f4f8; border: 1px solid #e6e8f0;
  font: 400 12.5px/1.5 var(--mono); color: var(--muted); white-space: nowrap;
}
.bi-tag { padding-left: 14px; color: var(--accent-ink); }
.bi-ok { padding-left: 14px; color: #157a69; }

/* ── Setup ────────────────────────────────────────────────────────────── */
.sb-1 { width: 520px; height: 360px; left: -200px; top: calc(50% - 180px); background: rgba(33, 166, 143, .16); }
.st-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 56px; }
.st-copy { margin-bottom: 0; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.st-chips li {
  padding: 7px 14px; border-radius: 99px; background: var(--surface); border: 1px solid #e3e6ef;
  font-size: 14px; font-weight: 500; box-shadow: 0 6px 14px -12px rgba(50, 50, 93, .4);
}
.st-chips a { display: block; margin: -7px -14px; padding: 7px 14px; border-radius: 99px; transition: color var(--t); }
.st-chips a:hover { color: var(--accent-ink); }
.st-vis { display: flex; flex-direction: column; gap: 14px; }
.st-code {
  overflow: hidden; border-radius: 18px; background: var(--surface); border: 1px solid #e3e6ef;
  box-shadow: 0 40px 70px -40px rgba(50, 50, 93, .45);
}
.st-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid #eef0f5; }
.st-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe2ea; }
.st-bar span { margin-left: 10px; font: 400 12px/1 var(--mono); color: var(--muted); }
.st-pre { margin: 0; padding: 22px 18px 24px; overflow-x: auto; font: 400 12px/1.9 var(--mono); letter-spacing: -0.02em; color: var(--muted); }
.st-pre code { font: inherit; }
.st-type { display: inline-block; vertical-align: bottom; white-space: pre; color: var(--accent-ink); }
/* JS arms the line (hides it) and types it once it's on screen. */
.st-type.is-armed { width: 0; overflow: hidden; border-right: 2px solid var(--accent); }
.st-type.is-typing { animation: st-type 3.2s steps(var(--n, 70)) forwards, st-caret .8s step-end infinite; }
@keyframes st-type { to { width: calc(var(--n, 70) * 1ch); } }
@keyframes st-caret { 50% { border-right-color: transparent; } }

.st-status { position: relative; height: 50px; font-size: 14px; font-weight: 500; }
.st-status p {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 10px;
  padding: 0 18px; border-radius: 14px; border: 1px solid;
}
.st-status i { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.st-wait { opacity: 0; background: var(--surface); border-color: #e3e6ef; color: var(--muted); animation: st-wait 6s var(--ease) infinite; }
.st-wait i { background: #9aa3b5; animation: st-dot 1.2s ease-in-out infinite; }
.st-live { background: #e9f7f3; border-color: #cdebe2; color: #0f5c50; animation: st-live 6s var(--ease) infinite; }
.st-live i { background: var(--good); box-shadow: 0 0 0 4px rgba(33, 166, 143, .18); }
@keyframes st-wait { 0%, 45%, 100% { opacity: 1; } 52%, 94% { opacity: 0; } }
@keyframes st-live { 0%, 45%, 100% { opacity: 0; } 52%, 94% { opacity: 1; } }
@keyframes st-dot { 50% { opacity: .3; } }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.pricing { background: linear-gradient(180deg, #f4f5fa, #efecff 40%, #f4f5fa); }
.pricing-dots {
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 20%, #000, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 50% at 50% 20%, #000, transparent 100%);
}
.prb-1 { width: 600px; height: 600px; left: 50%; top: 240px; margin-left: -300px; background: rgba(83, 58, 253, .22); }

.pr-calc { max-width: 880px; margin: 0 auto; padding: 30px; border-radius: 24px; }
.pr-calc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pr-calc-top label { font-size: 16px; font-weight: 600; }
.pr-mau { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.pr-range { display: block; width: 100%; margin: 16px 0 8px; accent-color: var(--accent); cursor: pointer; }
.pr-ticks { display: flex; justify-content: space-between; padding: 0 2px; font: 400 12px/1 var(--mono); color: var(--muted); }
.pr-bars { display: flex; flex-direction: column; gap: 10px; margin: 26px 0 22px; }
.pr-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: center; gap: 14px; }
.pr-name { font-size: 14px; font-weight: 600; }
.pr-track { display: block; min-width: 0; }
.pr-fill {
  display: flex; align-items: center; justify-content: flex-end;
  height: 36px; min-width: 14%; padding: 0 12px; border-radius: 10px;
  transition: width 500ms cubic-bezier(.2, .7, .2, 1);
}
.pr-fill b { font-size: 14px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pr-row--us .pr-fill { background: var(--accent); color: #fff; }
.pr-row--ak .pr-fill { background: #e8eaf1; color: var(--text); }
.pr-row--bm .pr-fill { background: #dfe2ea; color: var(--text); }
.pr-save { font-size: 17px; font-weight: 500; }
.pr-save b { color: var(--accent-ink); font-weight: 600; }
.pr-fine { margin-top: 6px; font-size: 12.5px; color: var(--muted); }

.pr-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; margin-top: 28px; }
.pr-plan {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 30px 28px; border-radius: 22px;
}
.card.pr-plan, .pr-pro { transition: transform 250ms var(--ease), box-shadow 250ms var(--ease); }
.card.pr-plan:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -34px rgba(50, 50, 93, .5); }
.pr-plan h3 { font-size: 22px; letter-spacing: -0.02em; }
.pr-for { font-size: 14.5px; color: var(--text-2); }
.pr-price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 18px; }
.pr-price b { font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.pr-price span { font-size: 15px; color: var(--muted); }
.pr-plan .btn { width: 100%; }
.pr-list {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 22px; padding-top: 22px; border-top: 1px solid #eef0f5; font-size: 14.5px;
}
.pr-list li { position: relative; padding-left: 27px; }
.pr-list li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%;
  background: #e2f4f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23157a69' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.pr-list li.is-off { color: var(--muted); }
.pr-list li.is-off::before { left: 3px; top: 11px; width: 11px; height: 2px; border-radius: 2px; background: #c4c9d6; }
.pr-pro {
  padding: 2px; border-radius: 24px;
  background: linear-gradient(160deg, #533AFD, #7B66FF 40%, #21A68F);
  box-shadow: 0 40px 70px -40px rgba(83, 58, 253, .7);
}
.pr-pro:hover { transform: translateY(-4px); box-shadow: 0 48px 80px -40px rgba(83, 58, 253, .8); }
.pr-pro .pr-plan { height: 100%; background: var(--surface); }
.pr-badge {
  position: absolute; top: 30px; right: 24px; padding: 5px 10px; border-radius: 99px;
  background: var(--accent-soft); color: var(--accent-ink);
  font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.pr-note { margin-top: 20px; font-size: 14px; color: var(--text-2); text-align: center; }

.pr-cmp {
  max-width: 1120px; margin: 40px auto 0; border-radius: 18px;
  background: var(--surface); border: 1px solid rgba(6, 27, 49, .07);
  box-shadow: 0 24px 48px -36px rgba(50, 50, 93, .4);
}
.pr-cmp summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-radius: 18px; font-size: 16px; font-weight: 600;
}
.pr-table-wrap { overflow-x: auto; padding: 0 24px; }
.pr-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14px; }
.pr-table th, .pr-table td { padding: 13px 14px; border-top: 1px solid #eef0f5; text-align: left; vertical-align: top; }
.pr-table thead th, .pr-table thead td { border-top: 0; font-weight: 600; }
.pr-table tbody th { width: 180px; font-weight: 500; color: var(--text-2); }
.pr-table .is-us { background: #f5f3ff; font-weight: 600; }
.pr-cmp-note { padding: 14px 24px 22px; font-size: 12.5px; color: var(--muted); }

/* ── Founder ──────────────────────────────────────────────────────────── */
.fdb-1 { width: 520px; height: 520px; right: -120px; top: 60px; background: rgba(123, 102, 255, .18); }
.fd-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: 48px; }
.fd-card { position: relative; overflow: hidden; padding: 40px; border-radius: 26px; }
.fd-mark { position: absolute; top: 6px; right: 28px; font: 400 180px/1 Georgia, 'Times New Roman', serif; color: #f1eeff; pointer-events: none; }
.fd-card > :not(.fd-mark) { position: relative; }
.fd-who { display: flex; align-items: center; gap: 16px; }
.fd-av {
  display: grid; place-items: center; flex: none; width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, #533AFD, #7B66FF); color: #fff;
  font-size: 24px; font-weight: 600; letter-spacing: -0.02em;
}
.fd-name { display: flex; flex-direction: column; }
.fd-name b { font-size: 19px; font-weight: 600; }
.fd-name small { font-size: 14px; color: var(--muted); }
.fd-h { margin-top: 28px; font-size: 38px; line-height: 1.1; letter-spacing: -0.04em; text-wrap: balance; }
.fd-q { margin: 18px 0 0; }
.fd-q p { font-size: 17px; line-height: 1.65; color: #2a3a4f; }
.fd-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.fd-side { display: flex; flex-direction: column; gap: 36px; padding-top: 8px; }
.fd-lbl { margin-bottom: 10px; font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.fd-ship li + li { border-top: 1px solid rgba(6, 27, 49, .07); }
.fd-ship a {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  margin: 0 -14px; padding: 13px 14px; border-radius: 12px;
  transition: background-color var(--t);
}
.fd-ship a:hover { background: rgba(83, 58, 253, .06); }
.fd-ship time { font: 400 12.5px/1 var(--mono); color: var(--muted); }
.fd-t { overflow: hidden; font-size: 15px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.fd-tag { padding: 3px 9px; border-radius: 99px; background: #eef0f5; color: var(--text-2); font-size: 12px; font-weight: 600; }
.fd-tag--new { background: var(--accent-soft); color: var(--accent-ink); }
.fd-tag--improved { background: #e2f4f0; color: #157a69; }
.fd-tag--fixed { background: #fbeee4; color: #a2541a; }
.fd-next { display: flex; flex-direction: column; gap: 10px; }
.fd-next li {
  display: flex; align-items: center; gap: 14px; padding: 10px;
  border-radius: 14px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(6, 27, 49, .06);
}
.fd-vote {
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; font-weight: 600; line-height: 1.15;
}
.fd-vote i { font-style: normal; font-size: 10px; }
.fd-rm { display: flex; flex-direction: column; min-width: 0; }
.fd-rm b { font-size: 15px; font-weight: 600; }
.fd-rm small { font-size: 13px; color: var(--muted); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.fqb-1 { width: 520px; height: 520px; left: 50%; top: 140px; margin-left: -620px; background: rgba(33, 166, 143, .14); }
.fq-wrap { max-width: 920px; }
.fq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.fq-tab {
  height: 40px; padding: 0 18px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--surface); color: var(--nav-link);
  font: 500 14.5px/1 var(--font); cursor: pointer;
  transition: background-color var(--t), color var(--t), border-color var(--t);
}
.fq-tab:hover { border-color: #cfd5e2; }
.fq-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.fq-card {
  padding: 6px 28px; border-radius: 22px;
  background: var(--surface); border: 1px solid rgba(6, 27, 49, .07);
  box-shadow: 0 24px 48px -36px rgba(50, 50, 93, .4);
}
.fq-item + .fq-item { border-top: 1px solid #eef0f5; }
.fq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
}
.fq-item p { padding: 0 44px 22px 0; font-size: 15.5px; line-height: 1.65; color: var(--text-2); }

/* ── CTA ──────────────────────────────────────────────────────────────── */
.cta { padding-top: 40px; }
.ct-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 110px 40px; border-radius: 32px; text-align: center;
  background: linear-gradient(180deg, #fff, #f1efff); border: 1px solid rgba(6, 27, 49, .06);
}
.ct-bg, .ct-float { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ct-dots {
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
}
.ct-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 1100px 560px at 50% 120%, rgba(111, 91, 255, .65), rgba(111, 91, 255, .22) 45%, transparent 70%);
  transform-origin: 50% 100%;
  animation: glow-breathe 9s ease-in-out infinite;
}
.ctb-1 { width: 420px; height: 340px; left: -110px; top: -60px; background: rgba(33, 166, 143, .22); }
.ctb-2 { width: 400px; height: 320px; right: -110px; top: 40px; background: rgba(232, 89, 12, .14); }
.ct-f {
  position: absolute; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 16px; background: var(--surface); border: 1px solid #e3e6ef;
  box-shadow: 0 18px 36px -20px rgba(50, 50, 93, .45);
  font-size: 14px; font-weight: 600; color: var(--text);
  animation: ct-float 8s ease-in-out infinite alternate;
}
.ct-f1 { left: 9%; top: 16%; width: 58px; height: 58px; font-size: 28px; animation-duration: 7s; }
.ct-f2 { right: 11%; top: 20%; width: 52px; height: 52px; font-size: 24px; animation-duration: 8s; animation-delay: -3s; }
.ct-f3 { right: 8%; bottom: 18%; padding: 10px 14px; animation-duration: 9s; animation-delay: -5s; }
.ct-f3 b { color: var(--accent-ink); }
.ct-f4 { left: 7%; bottom: 20%; padding: 10px 14px; animation-duration: 8.5s; animation-delay: -2s; }
.ct-f4 small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
@keyframes ct-float { from { transform: none; } to { transform: translateY(-18px) rotate(4deg); } }
.ct-h { max-width: 760px; font-size: 58px; line-height: 1.03; letter-spacing: -0.05em; text-wrap: balance; }
.ct-p { margin-top: 18px; font-size: 19px; color: var(--text-2); text-wrap: balance; }
.ct-btn { height: 56px; margin-top: 30px; padding: 0 28px; font-size: 17px; }
/* Sits on the strongest part of the glow, so it's darker than --muted. */
.ct-micro { margin-top: 16px; font-size: 14px; color: var(--nav-link); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.ft { padding: 52px 0 40px; border-top: 1px solid rgba(6, 27, 49, .08); }
.ft-grid { display: flex; justify-content: space-between; gap: 48px; }
.ft-brand { display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
.ft-brand p { font-size: 14.5px; color: var(--text-2); }
.ft-cols { display: flex; gap: 64px; }
.ft-col h2 { margin-bottom: 14px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ft-col ul { display: flex; flex-direction: column; gap: 10px; }
.ft-col a, .ft-col button {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: 500 14.5px/1.4 var(--font); color: var(--nav-link);
  transition: color var(--t);
}
.ft-col a:hover, .ft-col button:hover { color: var(--accent); }
.ft-bottom { margin-top: 44px; font-size: 13.5px; color: var(--muted); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "a a" "b b" "c d" "e f" "e g" "h i"; }
  .bn-i { flex-direction: column; gap: 6px; }
  .bn-i .bn-demo { order: -1; margin-bottom: 12px; }
  .bn-i .bn-txt { flex: none; }
  /* Too narrow for the one-line prompt: it wraps and fades in instead. */
  .bf-me { white-space: normal; }
  .bf-me span { animation-name: bf-reply; animation-timing-function: var(--ease); }
  .st-grid, .fd-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .st-copy { max-width: 680px; }
}

@media (max-width: 900px) {
  .pr-plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 720px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; grid-auto-rows: auto; }
  .bento > .bn { grid-area: auto; min-height: 220px; }
  .bn--h { flex-direction: column; gap: 6px; }
  .bn--h .bn-demo { order: -1; margin-bottom: 12px; }
  .bn--h .bn-txt { flex: none; }
  .bn .bn-mono { margin-bottom: 4px; }
  .bn-demo { min-height: 110px; }
  .bn-b .bn-demo { height: 170px; flex: none; }
  .bn-a .bn-demo { min-height: 300px; }
  .ba-launch { display: none; }

  .st-pre { font-size: 12px; }

  .pr-calc { padding: 22px 18px; }
  .pr-calc-top { flex-direction: column; gap: 4px; }
  .pr-mau { font-size: 30px; }
  .pr-ticks { font-size: 10px; }
  .pr-row { grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
  .pr-name { font-size: 13px; }
  /* Room for the price without making the small bars look equal. */
  .pr-fill { min-width: 76px; padding: 0 10px; }
  .pr-fill b { font-size: 13px; }

  .fd-card { padding: 28px 22px; }
  .fd-h { font-size: 30px; }
  .fd-mark { font-size: 140px; right: 14px; }

  .fq-card { padding: 4px 18px; }
  .fq-item summary { font-size: 16px; }
  .fq-item p { padding-right: 0; }

  .ct-card { padding: 72px 22px; border-radius: 26px; }
  .ct-h { font-size: 36px; }
  .ct-p { font-size: 17px; color: var(--nav-link); }
  .ct-float { display: none; }

  .ft-grid { flex-direction: column; gap: 36px; }
  .ft-cols { flex-wrap: wrap; gap: 32px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .bn:hover, .card.pr-plan:hover, .pr-pro:hover { transform: none; }
}

/* === FAZA 5 === */

/* JS marks the animated sections that are off screen; their loops wait. */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused; }

/* Below the fold the browser can skip rendering until a section gets
   close. Not on #how: it would break the sticky stage. The sizes are the
   measured content heights (the section padding comes on top), so nav
   links land on target. Only above 1080px, where these heights don't
   change with the width; below it a wrong guess sends Safari's anchor
   jumps to the wrong place. */
@media (min-width: 1081px) {
  #features, #pricing, #founder, #faq { content-visibility: auto; }
  #features { contain-intrinsic-size: auto 1120px; }
  #pricing { contain-intrinsic-size: auto 1348px; }
  #founder { contain-intrinsic-size: auto 508px; }
  #faq { contain-intrinsic-size: auto 602px; }
}

/* Lytmark mark (variant B): white dots in a purple rounded square */
.brand-mark { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: #533AFD; }
.brand-mark--sm { width: 28px; height: 28px; border-radius: 8px; }
.chaos-mark { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; background: #533AFD; }
.brand-mark svg, .chaos-mark svg { display: block; }

/* === TOUR ACCURACY === */
/* Demo screens rebuilt from the real app: dashboard/ (shell, Posts, Ideas,
   Roadmap, Analytics, Customize, Install) and widget/src (the widget).
   ta-* is the app kit inside the mock shells, lw-* the static widget. */

/* Sidebar: Home, Publish, Insights, Widget, Help & docs, Settings, account */
.ta-side { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.ta-side .hp-proj { padding: 4px 6px 10px; }
.ta-side .hp-group { padding: 10px 10px 5px; }
.ta-side .hp-nav li { height: 32px; }
.ta-ic { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hp-nav .ta-ic { width: 15px; height: 15px; stroke-width: 2; }
.hp-nav .ta-ic--16, .ta-ic--16 { stroke-width: 1.5; }
.ta-ic--sm { width: 13px; height: 13px; }
.ta-ic--xs { width: 11px; height: 11px; stroke-width: 3; }
.ta-ic--img { width: 18px; height: 18px; }
.ta-chev { width: 14px; height: 14px; margin-left: auto; color: var(--muted); }
.ta-foot { margin-top: auto; padding-top: 8px; }
.ta-user { display: flex; align-items: center; gap: 10px; padding: 8px 6px 2px; border-top: 1px solid rgba(20, 24, 60, .07); font-size: 12.5px; color: var(--text); }
.ta-user-mail { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-av { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #dcd6ff; color: var(--accent-ink); font-size: 11.5px; font-weight: 700; }
.ta-av--0 { background: #e2f4f0; color: #157a69; }
.ta-av--1 { background: var(--accent-soft); color: var(--accent-ink); }
.ta-av--2 { background: #fbeee4; color: #a2541a; }
.ta-dots { width: 16px; height: 16px; flex: none; fill: currentColor; color: var(--muted); }

/* Topbar inside the panel: breadcrumb, page actions, Search, What's new */
.ta-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; margin-bottom: 14px; }
.ta-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.ta-crumb i { font-style: normal; opacity: .7; }
.ta-crumb b { font-weight: 600; color: var(--text); }
.ta-acts { display: flex; align-items: center; gap: 8px; }
.ta-ib { position: relative; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; color: var(--text-2); }
.ta-ib .ta-ic { width: 16px; height: 16px; }
.ta-ib--line { width: 30px; height: 30px; border: 1px solid var(--line); }
.ta-ib-dot { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #fff; }
.ta-link { font-size: 12.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; }

/* Kit */
.ta-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.ta-tools { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.ta-card { border: 1px solid #eef0f5; border-radius: 14px; background: var(--surface); }
.ta-btn {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 30px; padding: 0 11px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font-size: 12.5px; font-weight: 500; white-space: nowrap;
}
.ta-btn--ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.ta-select {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 34px; padding: 0 10px 0 12px; border-radius: 10px;
  border: 1px solid var(--line); color: var(--text-2); font-size: 12.5px; white-space: nowrap;
}
.ta-filters { display: flex; gap: 8px; }
.ta-search--sm { width: 150px; }
.ta-muted { color: var(--muted); font-size: 12px; }
.ta-mono { font: 400 11.5px/1.4 var(--mono); color: var(--muted); white-space: nowrap; }
.ta-hint { font-size: 11.5px; color: var(--muted); }
.ta-alink { color: var(--accent-ink); font-weight: 500; }
.ta-lbl { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ta-tag { display: inline-flex; align-items: center; height: 19px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.ta-tag--new { background: #efecff; color: #4c35d9; }
.ta-tag--improved { background: #e6f6f2; color: #0b6e5c; }
.ta-tag--fixed { background: #fef6e7; color: #8a5a00; }
.ta-tag--announcement { background: #fdeee8; color: #a8411f; }
.ta-sw { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; background: #cfd5e1; }
.ta-sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(6, 27, 49, .2); }
.ta-sw.is-on { background: var(--accent); }
.ta-sw.is-on::after { left: 16px; }
.tr-panel kbd {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 5px; border: 1px solid var(--line); border-bottom-width: 2px; background: #fff;
  font: 500 10.5px/1 var(--mono); color: var(--text-2);
}
.tr-panel .tp-btn kbd { margin-left: 8px; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; }
.tr-panel .tp-btn--ghost kbd { background: #fff; border-color: var(--line); color: var(--text-2); }

/* The tour panel scrolls when the screen is taller than the shell */
.tr-shell { height: 640px; min-height: 0; }
.tr-panel { padding: 0; }
.tr-sc {
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  padding: 14px 22px 44px; border-radius: inherit;
  scrollbar-width: thin; scrollbar-color: #d5d9e3 transparent;
}
.tr-sc::-webkit-scrollbar { width: 6px; }
.tr-sc::-webkit-scrollbar-thumb { border-radius: 3px; background: #d5d9e3; }
.tr-panel::after, .ta-hero-panel::after {
  content: ''; position: absolute; left: 0; right: 8px; bottom: 0; z-index: 4; height: 48px;
  border-radius: 0 0 20px 20px; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}
.tr-shell[data-tab="plan"] .tr-panel::after { display: none; }

/* Posts */
.ta-drafts {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  padding: 12px 12px 12px 14px; border-radius: 12px;
  background: #fdf8ee; border: 1px solid #f3e6c8;
}
.ta-tile { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; }
.ta-tile--amber { background: #fbecc8; color: #8a5a00; }
.ta-drafts-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ta-drafts-main b { font-size: 13.5px; font-weight: 600; }
.ta-drafts-main small { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-ptable { overflow: hidden; }
.ta-prow {
  display: grid; grid-template-columns: minmax(0, 1fr) 84px 108px 156px 80px;
  align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid #eef0f5;
}
.ta-prow--head { padding: 9px 16px; border-top: 0; background: #fafbfd; font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ta-pgroup { padding: 8px 16px; border-top: 1px solid #eef0f5; background: #fafbfd; font-size: 12px; font-weight: 600; color: var(--text-2); }
.ta-pgroup span { font-weight: 400; color: var(--muted); }
.ta-post { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ta-post .hp-thumb, .ta-thumb { flex: none; width: 56px; height: 42px; border-radius: 8px; }
.ta-thumb { display: grid; place-items: center; background: #f1f3f8; color: #9aa3b5; }
.ta-thumb--new { background: #f1eeff; color: #8b7bff; }
.ta-thumb--announcement { background: #fdeee8; color: #d98a6c; }
.ta-post-main { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.ta-post-main b, .ta-post-main small { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-post-main b { font-size: 13.5px; font-weight: 600; }
.ta-post-main small { font-size: 12px; color: var(--text-2); }
.ta-post-main .ta-tag { margin-top: 3px; }
.ta-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; }
.ta-status i { width: 7px; height: 7px; border-radius: 50%; }
.ta-status--live { color: #157a69; }
.ta-status--live i { background: var(--good); }
.ta-status--draft { color: var(--text-2); }
.ta-status--draft i { background: #b9c0cf; }
.ta-date { display: flex; flex-direction: column; font-size: 12.5px; white-space: nowrap; }
.ta-date small { font-size: 11.5px; color: var(--muted); }
.ta-rx { display: flex; flex-direction: column; gap: 5px; }
.ta-rx small { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.ta-rxbar {
  display: flex; gap: 2px; height: 6px; overflow: hidden; border-radius: 99px;
  transform-origin: left center; animation: bar-fill 1200ms cubic-bezier(.2, .7, .2, 1) 300ms both;
}
.hero-preview .ta-rxbar { animation-delay: 1100ms; }
.ta-rxbar i { flex: 0 1 0; }
.ta-rx-love { background: var(--love); }
.ta-rx-good { background: var(--good); }
.ta-rx-meh { background: var(--meh); }
.ta-rowacts { display: flex; justify-content: flex-end; gap: 6px; }
.ta-foot-note { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* Hero: Posts (Live) under the floating widget */
.ta-hero-panel { position: relative; padding: 14px 20px 0; }
.hero-preview .ta-head, .hero-preview .tp-bar, .hero-preview .ta-ptable { margin-right: 230px; }
.hero-preview .ta-prow { grid-template-columns: minmax(0, 1fr) 64px 100px 140px; gap: 12px; }
/* The row actions sit under the floating widget, so the hero leaves them out. */
.hero-preview .ta-rowacts, .hero-preview .ta-prow--head > span:last-child { display: none; }
.hp-widget-card { padding: 0; border: 0; background: none; box-shadow: none; }

/* Ideas */
.ta-ixbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ta-ixbar .tp-search { width: 260px; }
.ta-keys { margin-left: auto; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.ta-ix { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 380px; border: 1px solid #eef0f5; border-radius: 14px; overflow: hidden; }
.ta-ix-list { border-right: 1px solid #eef0f5; }
.ta-ix-list li { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid #eef0f5; border-left: 3px solid transparent; }
.ta-ix-list li:first-child { border-top: 0; }
.ta-ix-list li.is-sel { border-left-color: var(--accent); background: #f5f3ff; }
.ta-ix-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ta-ix-main b { font-size: 13.5px; font-weight: 600; }
.ta-ix-main small { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-ix-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.ta-ver { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px; border-radius: 999px; background: #e2f4f0; color: #157a69; font-size: 11px; font-weight: 600; }
.ta-ix-detail { display: flex; flex-direction: column; gap: 16px; padding: 18px 22px; }
.ta-ix-dhead { display: flex; justify-content: space-between; gap: 12px; }
.ta-ix-dhead h4 { margin: 0 0 2px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.ta-ix-dhead p { font-size: 12.5px; color: var(--muted); }
.ta-ix-body { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.ta-ix-sec { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid #eef0f5; }
.ta-ix-from { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.ta-ix-note { font-size: 12.5px; color: var(--text-2); }
.ta-ix-acts { display: flex; gap: 8px; }

/* Roadmap */
.ta-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ta-col { display: flex; flex-direction: column; gap: 8px; min-height: 380px; padding: 10px; border-radius: 14px; background: #f6f7fb; }
.ta-col-h { display: flex; align-items: center; gap: 7px; padding: 2px 4px 4px; font-size: 12.5px; font-weight: 600; }
.ta-col-h span { font-size: 12px; font-weight: 500; color: var(--muted); }
.ta-col-h .ta-ic { margin-left: auto; color: var(--muted); }
.ta-cdot { width: 8px; height: 8px; border-radius: 50%; }
.ta-col--consider .ta-cdot { background: #8a93a8; }
.ta-col--planned .ta-cdot { background: var(--accent); }
.ta-col--progress .ta-cdot { background: #E5A13A; }
.ta-col--shipped .ta-cdot { background: #12B76A; }
.ta-rc { display: flex; flex-direction: column; gap: 8px; padding: 11px 12px; border-radius: 12px; background: var(--surface); box-shadow: 0 1px 2px rgba(6, 27, 49, .06); }
.ta-rc.is-hl { box-shadow: 0 0 0 1.5px var(--accent), 0 14px 26px -18px rgba(83, 58, 253, .7); }
.ta-rc-top { display: flex; justify-content: space-between; gap: 8px; }
.ta-rc-top b { font-size: 13px; font-weight: 600; }
.ta-rc-top .ta-dots { width: 14px; height: 14px; }
.ta-rc-desc { font-size: 12px; line-height: 1.45; color: var(--text-2); }
.ta-rbtn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 30px; border-radius: 8px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.ta-shipped { display: flex; flex-direction: column; gap: 5px; }
.ta-plink { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; background: #f6f7fb; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-shipped small { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 11.5px; color: var(--muted); }
.ta-sent { display: inline-flex; gap: 2px; }
.ta-sent i { width: 6px; height: 6px; border-radius: 50%; }
.ta-rc-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 11.5px; }
.ta-votes { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.ta-up { width: 9px; height: 9px; fill: currentColor; }
.ta-week { color: #157a69; font-weight: 600; white-space: nowrap; }
.ta-origin { margin-left: auto; color: var(--muted); white-space: nowrap; }
.ta-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px; background: #fff6db; color: #8a5a00; font-weight: 500; }

/* Ship it: the modal over the board (roadmap.js openShip). The panel fades
   without a transform so the modal keeps the shell as its containing block. */
#tp-plan:not([hidden]) { animation: ta-fade 450ms var(--ease); }
@keyframes ta-fade { from { opacity: 0; } to { opacity: 1; } }
.ta-scrim { position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: rgba(15, 23, 41, .28); animation: ta-fade 300ms var(--ease) 250ms both; }
.ta-ship {
  position: absolute; left: 50%; top: 50%; z-index: 3; translate: -50% -50%;
  display: flex; flex-direction: column; gap: 12px;
  width: min(460px, calc(100% - 40px)); padding: 20px; border-radius: 16px;
  background: var(--surface); font-size: 13px;
  box-shadow: 0 40px 70px -24px rgba(15, 23, 41, .45), 0 0 0 1px rgba(6, 27, 49, .06);
  animation: modal-pop 500ms cubic-bezier(.3, 1.3, .5, 1) 350ms both;
}
.ta-ship-x { position: absolute; top: 16px; right: 16px; color: var(--muted); }
.ta-ship-t { padding-right: 30px; font-size: 16px; font-weight: 600; }
.ta-ship-sub { margin-top: -6px; color: var(--text-2); }
.ta-steps { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 0; padding: 0; list-style: none; }
.ta-steps li { display: flex; gap: 12px; }
.ta-step-n { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font: 500 11px/1 var(--mono); }
.ta-step-main { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.ta-step-col { flex-direction: column; align-items: stretch; }
.ta-step-t { font-weight: 600; }
.ta-cb { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 5px; background: var(--accent); color: #fff; opacity: .55; }
.ta-radio { display: flex; align-items: center; gap: 8px; }
.ta-radio i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #b9c0cf; }
.ta-radio.is-on i { border: 4px solid var(--accent); }
.ta-preview { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; border: 1px dashed var(--line); background: #fafbfd; }
.ta-preview small { margin-left: auto; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.ta-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ta-textlinks { font-size: 12px; color: var(--muted); }
.ta-textlinks span { color: var(--accent-ink); font-weight: 500; }
.ta-ship-foot { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding-top: 14px; border-top: 1px solid #eef0f5; }
.ta-ship-none { display: flex; flex-direction: column; margin-right: auto; }
.ta-textbtn { font-size: 12.5px; font-weight: 500; color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.ta-ship-none small { font-size: 11px; color: var(--muted); }

/* Analytics */
.tr-panel { --chart-1: #5b45f0; }
.ta-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.ta-kpi { display: flex; flex-direction: column; overflow: hidden; padding: 12px 14px 0; border: 1px solid #eef0f5; border-radius: 12px; }
.ta-kpi small { font-size: 12.5px; font-weight: 600; color: var(--text); }
.ta-kpi-hint { font-size: 11.5px; color: var(--muted); }
.ta-kpi-line { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.ta-kpi-line b { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.ta-chip-up { padding: 2px 7px; border-radius: 999px; background: #e2f4f0; color: #157a69; font-size: 11.5px; font-weight: 600; }
.an-spark { display: block; width: calc(100% + 28px); height: 40px; margin: 8px -14px 0; }
.an-spark path:first-child { fill: var(--chart-1); opacity: .14; }
.an-spark-l { fill: none; stroke: var(--chart-1); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ta-acard { margin-bottom: 12px; padding: 14px 16px; }
.ta-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ta-card-head b { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.ta-card-head small { display: block; font-size: 12px; color: var(--muted); }
.ta-legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--text-2); white-space: nowrap; }
.ta-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ta-lg-line { width: 18px; height: 3px; border-radius: 2px; background: var(--chart-1); }
.ta-lg-prev { width: 18px; height: 2px; background: repeating-linear-gradient(90deg, #b7c0cc 0 4px, transparent 4px 7px); }
.an-svg { display: block; width: 100%; height: auto; overflow: visible; }
.an-grid { stroke: #eef0f5; stroke-width: 1; }
.an-axis { font: 400 11px var(--mono); fill: var(--muted); }
.an-prev { fill: none; stroke: #b7c0cc; stroke-width: 1.5; stroke-dasharray: 4 4; }
.tr-panel .tm-line { stroke: var(--chart-1); stroke-width: 2.5; stroke-linejoin: round; }
.an-rel-line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; opacity: .55; }
.an-rel-dot { stroke: #fff; stroke-width: 2; }
.an-rel-chip rect { fill: #f6f7fb; stroke: #e1e5ee; stroke-width: .5; }
.an-rel-chip text { font: 500 11px var(--font); fill: var(--text-2); }
.ta-arow { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.ta-arow .ta-acard { margin-bottom: 0; }
.ta-heat { display: grid; grid-template-columns: 28px repeat(24, minmax(0, 1fr)); gap: 2px; }
.an-heat-hour { padding-bottom: 3px; font: 400 9.5px/1 var(--mono); color: var(--muted); }
.an-heat-day { align-self: center; font-size: 10.5px; color: var(--muted); }
.ta-heat i { height: 12px; border-radius: 2px; }
.ta-heat i.is-peak { box-shadow: 0 0 0 1.5px #fff, 0 0 0 3px #4a33d9; }
.tr-panel i[data-l="0"] { background: #eef0f6; }
.tr-panel i[data-l="1"] { background: #d9d3ff; }
.tr-panel i[data-l="2"] { background: #ad9fff; }
.tr-panel i[data-l="3"] { background: #7b66ff; }
.tr-panel i[data-l="4"] { background: #4a33d9; }
.ta-heat-foot { display: flex; justify-content: flex-end; margin-top: 10px; }
.ta-heat-legend { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.ta-heat-legend i { width: 11px; height: 11px; border-radius: 3px; }
.ta-feed li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid #f1f3f7; }
.ta-feed li:first-child { border-top: 0; }
.ta-ev { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; font-size: 15px; }
.ta-ev--open, .ta-ev--react { background: #efecff; color: #5b45f0; }
.ta-ev--read { background: #e2f4f0; color: #178a76; }
.ta-ev--vote { background: #fbeee4; color: #b5622a; }
.ta-ev--suggestion { background: #f1f3f8; color: var(--muted); }
.ta-feed-text { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 12.5px; font-weight: 500; }
.ta-feed-text > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-feed-text .ta-muted { font-size: inherit; font-weight: 400; }
.ta-feed-text small, .ta-feed time { font: 400 11px var(--mono); color: var(--muted); }
.ta-feed time { flex: none; }
.ta-live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.ta-live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--good); animation: live-pulse 2s ease-out infinite; }
.ta-twrap { overflow-x: auto; }
.ta-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 12.5px; }
.ta-table th { padding: 8px; border-bottom: 1px solid #eef0f5; text-align: left; font: 500 10.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ta-table td { padding: 10px 8px; border-bottom: 1px solid #eef0f5; white-space: nowrap; }
.ta-table tr:last-child td { border-bottom: 0; }
.ta-table th:first-child, .ta-table td:first-child { padding-left: 0; }
.ta-table th:last-child, .ta-table td:last-child { padding-right: 0; text-align: right; }
.ta-table td b { display: block; max-width: 210px; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.ta-pmeta { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.ta-barcell { display: flex; align-items: center; gap: 8px; }
.ta-bar { width: 48px; height: 6px; overflow: hidden; border-radius: 3px; background: #eef0f6; }
.ta-bar i { display: block; height: 100%; border-radius: inherit; background: var(--chart-1); }
.ta-rxn { display: inline-flex; gap: 8px; color: var(--text-2); }
.ta-sentcell { display: inline-flex; align-items: center; gap: 6px; }
.ta-sentcell .ta-rxbar { width: 48px; animation: none; }
.ta-rx-badge { padding: 3px 9px; border-radius: 999px; background: #fbefe6; color: #8f4a17; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.ta-notes { display: flex; flex-direction: column; gap: 8px; }
.ta-notes li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #eef0f5; border-radius: 12px; }
.ta-note-main { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; font-size: 13.5px; }
.ta-note-main small { font-size: 11.5px; color: var(--muted); }
.ta-note-main small b { font-weight: 600; color: var(--text-2); }
.ta-note-acts { display: flex; gap: 6px; flex: none; }

/* Customize: settings cards, preview beside them */
.ta-cz { --cust: #533AFD; display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 18px; }
.ta-cz-set { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ta-czc { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; }
.ta-czc-h { display: flex; flex-direction: column; margin-bottom: 4px; }
.ta-czc-h b, .ta-czc-title { font-size: 14px; font-weight: 600; }
.ta-czc-h small { font-size: 12px; color: var(--muted); }
.ta-czc-title { display: flex; align-items: center; gap: 8px; }
.ta-lbl2 { margin-top: 6px; font-size: 12.5px; font-weight: 600; }
.ta-brand { display: flex; align-items: flex-end; gap: 18px; width: 100%; }
.ta-grow { flex: 1; min-width: 0; }
.ta-logo-row { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.ta-logo-row > span:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ta-logo-tile { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 12px; border: 1px dashed #c9cfdd; background: #f6f7fb; color: var(--text-2); font-size: 20px; font-weight: 700; }
.ta-input { display: flex; align-items: center; width: 100%; height: 34px; margin-top: 6px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); font-size: 13px; }
.ta-colors { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.ta-cz .tc-sws { gap: 8px; }
.ta-cz .tc-sw { width: 28px; height: 28px; }
.ta-hex { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line); font: 400 12px var(--mono); }
.ta-hex i { width: 14px; height: 14px; border-radius: 4px; background: var(--cust); transition: background-color 300ms var(--ease); }
.ta-hex--empty { color: var(--muted); }
.ta-hex--empty i { background: transparent; border: 1px dashed var(--line); }
.ta-cz .tc-ok { margin-top: 0; }
.ta-cz .tc-ok.is-low { color: #b54708; }
.ta-pos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.ta-pos > button { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); }
.ta-pos > button.is-on { border-color: var(--cust); box-shadow: 0 0 0 1px var(--cust); }
.ta-pos b { font-size: 12.5px; font-weight: 600; }
.ta-pos small { font-size: 11px; color: var(--muted); }
.ta-sketch { position: relative; display: block; height: 44px; margin-bottom: 6px; border-radius: 6px; background: #f1f3f8; }
.ta-sketch::before { content: ''; position: absolute; left: 8px; top: 8px; width: 50%; height: 4px; border-radius: 2px; background: #dfe3ec; box-shadow: 0 8px 0 #dfe3ec; }
.ta-sketch::after { content: ''; position: absolute; bottom: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--cust); }
.ta-sketch--r::after { right: 6px; }
.ta-sketch--l::after { left: 6px; }
.ta-sketch--own::after { top: 6px; right: 8px; bottom: auto; width: 24px; height: 10px; border-radius: 4px; }
.ta-icons { display: grid; grid-template-columns: repeat(8, 34px); gap: 6px; }
.ta-icons button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); color: var(--text-2); }
.ta-icons button.is-on { border-color: var(--cust); box-shadow: 0 0 0 1px var(--cust); color: var(--cust); }
.ta-lic { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ta-lch-row { display: flex; align-items: center; gap: 10px; }
.ta-lch { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cust); color: #fff; transition: background-color 300ms var(--ease); }
.ta-icsw { display: flex; align-items: center; gap: 6px; }
.ta-icsw > button:not(.ta-icsw-c) { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 999px; border: 1.5px solid var(--text); font-size: 11.5px; font-weight: 600; }
.ta-icsw-c { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(6, 27, 49, .14); }
.ta-rows { gap: 0; }
.ta-rows .ta-czc-title { margin-bottom: 6px; }
.ta-srow { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 0; border-top: 1px solid #eef0f5; }
.ta-srow > span { display: flex; flex-direction: column; }
.ta-srow b { font-size: 13px; font-weight: 600; }
.ta-srow small { font-size: 12px; color: var(--muted); }
.ta-srow.is-sub { padding-left: 16px; }
.ta-srow.is-locked .ta-sw { opacity: .5; }
.ta-slug { display: flex; align-items: center; gap: 6px; width: 100%; }
.ta-slug .ta-input { margin-top: 0; }
.ta-acc { color: var(--accent-ink); }
.ta-self-end { align-self: flex-end; }
.ta-cz-pv { position: sticky; top: 0; display: flex; flex-direction: column; gap: 10px; }
.ta-pv-head { display: flex; align-items: center; gap: 8px; }
.ta-pv-head b { margin-right: auto; font-size: 13.5px; font-weight: 600; }
.ta-pv-box { overflow: hidden; border: 1px solid #eef0f5; border-radius: 14px; background: #f6f7fb; }
.ta-pv-chrome { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-bottom: 1px solid #eef0f5; background: #fff; }
.ta-pv-chrome i { width: 8px; height: 8px; border-radius: 50%; background: #dfe3ec; }
.ta-pv-chrome span { display: flex; align-items: center; flex: 1; height: 18px; margin-left: 10px; padding: 0 8px; border-radius: 6px; background: #f4f5fa; font: 400 10.5px var(--mono); color: var(--muted); }
.ta-pv-stage { position: relative; min-height: 440px; padding: 16px; background: radial-gradient(circle, rgba(6, 27, 49, .08) 1px, transparent 1.4px) 0 0 / 16px 16px; }
.ta-site { display: flex; flex-direction: column; gap: 7px; }
.ta-site i { height: 7px; border-radius: 4px; background: #dfe3ec; }
.ta-pv-note { font-size: 12px; color: var(--muted); }

/* Install */
.ta-ins-head .tp-meta { max-width: 420px; }
.ta-ins-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.ti-live b { font-weight: 700; }
.ta-hosts { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ta-host { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.ta-host b { font-weight: 500; }
.ta-host small { color: var(--muted); }
.ta-host i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.ta-ins { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 12px; padding: 16px; }
.ta-snip { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 10px 10px 16px; border-radius: 12px; background: #0f1729; }
.ta-snip code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 400 12px/1.5 var(--mono); color: #e6e9f2; white-space: nowrap; }
.tk-tag { color: #ff9e8a; }
.tk-attr { color: #b3a8ff; }
.tk-str { color: #8fdccb; }
.ta-devrow { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.ta-consent { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.ta-sep { width: 100%; height: 1px; margin: 4px 0; border: 0; background: #eef0f5; }
.ta-path { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; width: 100%; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: 12px; }
.ta-path i { font-style: normal; color: var(--muted); }
.ta-path .ta-mono { font-weight: 500; letter-spacing: .1em; color: var(--accent-ink); }
.ta-pchip { padding: 3px 8px; border-radius: 7px; border: 1px solid var(--line); background: #fff; font-weight: 500; }
.ta-pchip.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.ta-paste { font-weight: 600; color: var(--accent-ink); }
.ta-path small { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.ta-steps-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 0; padding: 0; list-style: none; }
.ta-steps-cards li { display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid #eef0f5; border-radius: 12px; }
.ta-steps-cards li > b { font-size: 13px; font-weight: 600; }
.ta-steps-cards li > small { font-size: 12px; line-height: 1.45; color: var(--text-2); }
.ta-steps-cards .ta-mono { margin-top: 6px; letter-spacing: .1em; color: var(--accent-ink); }
.ta-ill { position: relative; display: flex; gap: 6px; height: 118px; padding: 10px; overflow: hidden; border-radius: 9px; background: #f6f7fb; }
.ta-ill .is-hl { border: 1px solid var(--accent); box-shadow: 0 0 0 3px rgba(83, 58, 253, .18); color: var(--accent); }
.ta-ill-rail { display: flex; flex-direction: column; gap: 7px; padding: 7px; border-radius: 6px; background: #fff; }
.ta-ill-rail i { width: 14px; height: 14px; border-radius: 4px; background: #e6e9f0; }
.ta-ill-rail span { display: grid; place-items: center; width: 22px; height: 22px; margin: -4px; border-radius: 6px; background: #fff; }
.ta-ill-main { display: flex; flex-direction: column; gap: 7px; flex: 1; padding: 8px; border-radius: 6px; background: #fff; }
.ta-ill-main i { height: 6px; border-radius: 3px; background: #e6e9f0; }
.ta-ill-main .ta-ill-block { flex: 1; border-radius: 5px; background: #f1f3f8; }
.ta-ill-tip { position: absolute; left: 46px; bottom: 16px; padding: 3px 7px; border-radius: 6px; background: #0f1729; color: #fff; font-size: 10.5px; font-weight: 600; }
.ta-ill-nav { display: flex; flex-direction: column; gap: 3px; width: 42%; padding: 6px; border-radius: 6px; background: #fff; font-size: 9.5px; color: var(--muted); }
.ta-ill-nav i { padding: 2px 5px; border-radius: 4px; font-style: normal; }
.ta-ill-nav i.is-on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.ta-ill-pane { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; padding: 6px; border-radius: 6px; background: #fff; font-size: 9.5px; color: var(--muted); }
.ta-ill-pane b { color: var(--text); font-weight: 600; }
.ta-ill-field { display: block; height: 16px; padding: 0 4px; overflow: hidden; border-radius: 4px; border: 1px solid var(--line); font: 400 8.5px/14px var(--mono); font-style: normal; color: var(--text-2); white-space: nowrap; text-overflow: ellipsis; }
.ta-ill-field.is-hl { height: 30px; color: var(--text-2); }
.ta-ill--col { flex-direction: column; justify-content: space-between; }
.ta-ill-btns { display: flex; justify-content: flex-end; gap: 6px; }
.ta-ill-btns span { padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); background: #fff; font-size: 10px; font-weight: 600; }
.ta-ill-btns span.is-hl { border-color: var(--accent); background: var(--accent); color: #fff; }
.ta-faq { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 10px 0 0; border-top: 1px solid #eef0f5; }
.ta-faq b { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.ta-faq b::before { content: '▸'; font-size: 11px; color: var(--muted); }
.ta-faq.is-open b::before { content: '▾'; }
.ta-faq small { padding-left: 19px; font-size: 12.5px; line-height: 1.5; color: var(--text-2); }
.ta-opt { padding: 2px 7px; border-radius: 999px; background: var(--bg); font-size: 11px; font-weight: 500; color: var(--muted); }
.ta-sub { font-size: 13px; font-weight: 600; }
.ta-text { font-size: 12.5px; line-height: 1.5; color: var(--text-2); }
.ta-code { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 8px 8px 14px; border-radius: 10px; background: var(--bg); }
.ta-code code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 400 12px var(--mono); white-space: nowrap; }

/* The static widget (hero, Customize preview): widget/src/render.js + styles.css */
.lw {
  --lw-ac: var(--accent);
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 16px; background: #fff; color: #0f1729;
  box-shadow: 0 40px 80px -24px rgba(16, 24, 40, .4), 0 6px 16px -4px rgba(16, 24, 40, .1), 0 0 0 1px rgba(16, 24, 40, .04);
  font-size: 12.5px; line-height: 1.4; text-align: left;
}
.lw--hero { height: 420px; }
.lw--pv { --lw-ac: var(--cust); position: absolute; left: 22px; right: 14px; bottom: 14px; height: 360px; }
.lw-logo, .lw-bdg, .lw-dot, .lw-dv { transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.lw-hd { flex: none; padding: 12px 12px 10px; border-bottom: 1px solid #e2e5eb; }
.lw-row { display: flex; align-items: center; gap: 10px; }
.lw-logo { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--lw-ac); color: #fff; font-size: 14px; font-weight: 700; }
.lw-t { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.lw-t b { font-size: 13.5px; font-weight: 600; }
.lw-t small { font-size: 11px; color: #5f6b7e; }
.lw-x { color: #5f6b7e; }
.lw-x .ta-ic { width: 14px; height: 14px; }
.lw-seg { display: flex; gap: 2px; margin-top: 10px; padding: 3px; border-radius: 9px; background: #f2f4f7; }
.lw-seg span { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: 1; height: 26px; border-radius: 7px; font-size: 12px; font-weight: 500; color: #5f6b7e; }
.lw-seg .is-on { background: #fff; color: #0f1729; font-weight: 600; box-shadow: 0 1px 3px rgba(16, 24, 40, .12); }
.lw-bdg { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--lw-ac); color: #fff; font-size: 10px; font-weight: 700; font-style: normal; }
.lw-ct { display: flex; flex-direction: column; gap: 7px; flex: 1; min-height: 0; overflow: hidden; padding: 10px; background: #f5f6f9; }
.lw-dv { display: flex; align-items: center; gap: 8px; padding: 0 3px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lw-ac); }
.lw-dv::after { content: ''; flex: 1; height: 1px; background: #e2e5eb; }
.lw-li { display: flex; flex-direction: column; gap: 4px; flex: none; overflow: hidden; padding: 11px; border-radius: 11px; border: 1px solid #e2e5eb; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .06); }
.lw-th { display: grid; place-items: center; margin: -11px -11px 6px; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #ece9ff, #e5f5f1); }
.lw-search { display: flex; align-items: center; gap: 6px; width: 60%; height: 26px; padding: 0 9px; border-radius: 8px; background: #fff; box-shadow: 0 8px 18px -10px rgba(50, 50, 93, .4); }
.lw-search .ta-ic { width: 11px; height: 11px; color: #8a93a8; }
.lw-search i { width: 60%; height: 6px; border-radius: 3px; background: #c9c0ff; }
.lw-mr { display: flex; align-items: center; gap: 7px; }
.lw-tg { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px; font-size: 10.5px; font-weight: 600; }
.lw-tg--new { background: #efecff; color: #4c35d9; }
.lw-tg--improved { background: #e6f6f2; color: #0b6e5c; }
.lw-dt { font-size: 11px; color: #5f6b7e; }
.lw-dot { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: var(--lw-ac); }
.lw-tt { font-size: 13px; font-weight: 600; line-height: 1.35; }
.lw-ex { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; color: #5f6b7e; }
.lw-ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; padding: 10px 14px; border-top: 1px solid #e2e5eb; background: #f2f4f7; font-size: 11px; color: #5f6b7e; }
.lw-fl { font-weight: 500; color: #0f1729; white-space: nowrap; }
.lw-pw { white-space: nowrap; }
.lw-pw b { font-weight: 600; }

/* The demo widget (#widget), restyled after widget/src/styles.css */
.wd {
  --w-bg: #f5f6f9; --w-head: #fff; --w-card: #fff; --w-text: #0f1729; --w-body: #3b4556;
  --w-muted: #5f6b7e; --w-border: #e2e5eb; --w-seg: #f2f4f7; --w-seg-on: #fff; --w-input: #fff;
  --w-link: #533afd; --w-pick: #f1eeff; --w-vote: #eae7ff; --w-vote-ink: #533afd; --w-vote-bd: rgba(83, 58, 253, .25);
  --w-ring: rgba(83, 58, 253, .14); --w-cover: linear-gradient(135deg, #ece9ff, #e5f5f1);
  display: flex; flex-direction: column; height: 600px; border-radius: 16px;
}
.wd[data-theme="dark"] {
  --w-bg: #1b1e29; --w-head: #20232f; --w-card: #282c3d; --w-text: #f1f3f8; --w-body: #c3cad8;
  --w-muted: #9ca4b6; --w-border: rgba(255, 255, 255, .14); --w-seg: rgba(0, 0, 0, .22); --w-seg-on: #3a3f56; --w-input: #20232f;
  --w-link: #a99cff; --w-pick: rgba(123, 102, 255, .2); --w-vote: rgba(123, 102, 255, .2); --w-vote-ink: #c9c0ff; --w-vote-bd: rgba(169, 156, 255, .35);
  --w-ring: rgba(169, 156, 255, .2); --w-cover: linear-gradient(135deg, #2f2a55, #1f3a3a);
}
.wd-head { flex: none; padding: 16px 16px 12px; }
.wd-bar { gap: 12px; }
.wd-logo { width: 40px; height: 40px; border-radius: 10px; font-size: 16px; }
.wd-name { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.wd-name b { font-size: 15px; letter-spacing: -0.01em; }
.wd-name small { font-size: 12px; color: var(--w-muted); }
.wd-sub, .wd-sn { display: none; }
.wd[data-tab="updates"] .wd-sub--updates, .wd[data-tab="roadmap"] .wd-sub--roadmap, .wd[data-tab="ideas"] .wd-sub--ideas { display: inline; }
.wd[data-theme="dark"][data-tab="updates"] .wd-sn { display: inline; color: var(--w-link); }
.wd-x { display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; border-radius: 8px; color: var(--w-muted); }
.wd-x svg, .wd-back svg, .wd-op svg, .wd-why svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wd-x svg { width: 16px; height: 16px; }
.wd-seg { display: flex; margin-top: 14px; }
.wd .wd-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1; border-radius: 7px; }
.wd .wd-seg button[aria-pressed="true"] { font-weight: 600; }
.wd-bdg { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; }
.wd-dbar { display: none; align-items: center; justify-content: space-between; }
.wd[data-tab="post"] .wd-head { padding: 10px 12px 10px 10px; }
.wd[data-tab="post"] .wd-bar, .wd[data-tab="post"] .wd-seg { display: none; }
.wd[data-tab="post"] .wd-dbar { display: flex; }
.wd .wd-back { display: inline-flex; align-items: center; gap: 4px; height: 36px; margin: 0; padding: 0 12px 0 6px; border-radius: 8px; color: var(--w-text); }
.wd-back svg { width: 16px; height: 16px; }
.wd-body { flex: 1; min-height: 0; height: auto; background: var(--w-bg); }
.wd-scr {
  display: flex; flex-direction: column; gap: 8px; overflow-y: auto; padding: 14px 12px;
  scrollbar-width: thin; scrollbar-color: var(--w-border) transparent;
}
.wd-scr > * { flex: none; }
.wd-scr--det { display: block; padding: 20px; background: var(--w-head); }
.wd-div { margin: 0; padding: 2px 4px; font: 600 11px/1.4 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--w-link); }
.wd-div::before { display: none; }
.wd-div::after { background: var(--w-border); opacity: 1; }
.wd-div--e { margin-top: 6px; color: var(--w-muted); }
.wd .wd-card {
  display: flex; flex-direction: column; align-items: stretch; gap: 6px; overflow: hidden;
  padding: 14px; border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease), background-color 300ms var(--ease);
}
.wd-card + .wd-card { margin-top: 0; }
.wd .wd-card:hover { border-color: var(--w-link); box-shadow: 0 0 0 3px var(--w-ring); transform: translateY(-1px); }
.wd-card > b { font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.wd-cover { display: grid; place-items: center; margin: -14px -14px 8px; aspect-ratio: 16 / 9; background: var(--w-cover); }
.wd-mr { display: flex; align-items: center; gap: 8px; min-height: 20px; }
.wd-mr small { font-size: 12px; color: var(--w-muted); }
.wd-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; }
.wd-dot { width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: var(--w-link); }
.wd-desc { font-size: 13px; line-height: 1.5; color: var(--w-muted); }
.wd-img { height: auto; aspect-ratio: 16 / 9; margin: 0 0 18px; border-radius: 12px; background: var(--w-cover); }
.wd-title { margin: 8px 0 16px; font-size: 22px; }
.wd-text { font-size: 14px; line-height: 1.65; color: var(--w-body); }
.wd-rxbox { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; padding: 14px; border-radius: 12px; border: 1px solid var(--w-border); background: var(--w-bg); }
.wd-q { margin: 0; font-size: 13px; font-weight: 600; }
.wd-q1, .wd-q2 { display: none; }
.wd:is([data-reaction="love"], [data-reaction="good"], [data-reaction="meh"]) .wd-q0 { display: none; }
.wd:is([data-reaction="love"], [data-reaction="good"]) .wd-q1, .wd[data-reaction="meh"] .wd-q2 { display: inline; }
.wd-rx { display: flex; gap: 8px; }
.wd .wd-rx button {
  flex: 1; flex-direction: row; justify-content: center; gap: 6px;
  height: 44px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--w-border);
  background: var(--w-head); color: var(--w-body); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.wd-rx i { font-size: 20px; line-height: 1; transition: transform 200ms var(--ease), filter 200ms var(--ease); }
.wd .wd-rx button[aria-pressed="true"] { border-color: var(--accent); background: var(--w-pick); color: var(--w-link); font-weight: 600; }
.wd .wd-rx button[aria-pressed="true"] i { transform: scale(1.15); }
.wd:not([data-reaction=""]) .wd-rx button[aria-pressed="false"] { filter: none; opacity: 1; }
.wd:not([data-reaction=""]) .wd-rx button[aria-pressed="false"] i { filter: grayscale(1) opacity(.55); }
.wd-offer { display: none; align-items: center; justify-content: space-between; gap: 8px; margin: 0; font-size: 12px; color: var(--w-muted); }
.wd[data-reaction="meh"] .wd-offer { display: flex; animation: fade-in 300ms var(--ease); }
.wd-why { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--w-link); }
.wd-why svg { width: 12px; height: 12px; stroke-width: 2.4; }
.wd-group { margin: 0; padding: 4px 4px 0; font: 600 12px/1.4 var(--font); letter-spacing: 0; text-transform: none; color: var(--w-muted); }
.wd-group i { width: 8px; height: 8px; }
.wd-rm + .wd-group { margin-top: 10px; }
.wd-rm { align-items: flex-start; padding: 12px; border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 24, 40, .06); }
.wd-rm + .wd-rm { margin-top: 0; }
.wd .wd-vote { width: 44px; height: 48px; gap: 2px; border-radius: 10px; border: 1px solid var(--w-vote-bd); font-size: 13px; }
.wd-vote svg { width: 14px; height: 14px; stroke-width: 2.5; }
.wd-vote b { font-weight: 600; }
.wd-rm-main { position: relative; flex: 1; padding-top: 3px; }
.wd-rm-main b { font-size: 14px; line-height: 1.35; }
.wd-rm-main small { margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--w-muted); }
.wd-vt { position: absolute; left: 0; right: 0; top: 25px; font-size: 13px; line-height: 1.45; color: var(--w-muted); opacity: 0; pointer-events: none; }
.wd-rm.is-thanks .wd-vt { animation: wd-vt 3.3s var(--ease) both; }
.wd-rm.is-thanks .wd-rm-main small { animation: wd-vt-hide 3.3s var(--ease) both; }
@keyframes wd-vt { 0% { opacity: 0; } 8%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes wd-vt-hide { 0% { opacity: 1; } 8%, 92% { opacity: 0; } 100% { opacity: 1; } }
.wd-form { flex: 1; gap: 14px; }
.wd-field { gap: 6px; font-size: 12px; }
.wd input, .wd textarea { padding: 9px 12px; border-radius: 8px; background: var(--w-input); font-size: 14px; }
.wd input { height: 40px; }
.wd-field--grow { flex: 1; }
.wd-field--grow textarea { flex: 1; min-height: 110px; }
.wd .wd-send { height: 44px; margin-top: 0; border-radius: 8px; font-size: 14px; }
.wd-sent { margin: auto; padding: 32px 12px; gap: 6px; }
.wd-sent b { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.wd-check { width: 48px; height: 48px; margin-bottom: 8px; background: var(--w-pick); }
.wd-check svg { width: 22px; height: 22px; stroke: var(--w-link); stroke-width: 2.5; }
.wd .wd-again { height: 34px; margin-top: 12px; padding: 0 14px; border: 1px solid var(--w-border); border-radius: 8px; background: var(--w-head); color: var(--w-text); font-size: 13px; font-weight: 500; }
.wd .wd-again:hover { background: var(--w-head); border-color: var(--w-muted); }
.wd-ft { display: flex; align-items: center; flex: none; min-height: 46px; padding: 12px 18px; border-top: 1px solid var(--w-border); background: var(--w-seg); font-size: 12px; color: var(--w-muted); }
.wd[data-tab="post"] .wd-ft { padding: 10px 12px 10px 18px; }
.wd-ft-row { display: none; align-items: center; justify-content: space-between; gap: 12px; flex: 1; min-width: 0; }
.wd[data-tab="updates"] .wd-ft--updates, .wd[data-tab="roadmap"] .wd-ft--roadmap, .wd[data-tab="post"] .wd-ft--post { display: flex; }
.wd-fl { font-weight: 500; color: var(--w-text); white-space: nowrap; }
.wd[data-theme="dark"] .wd-fl { color: var(--w-link); }
.wd-pw { white-space: nowrap; }
.wd-pw b { font-weight: 600; }
.wd-pv { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.wd-pv small { font-size: 11px; }
.wd-pv span { overflow: hidden; font-size: 13px; font-weight: 500; color: var(--w-text); white-space: nowrap; text-overflow: ellipsis; }
.wd-op { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--w-border); background: var(--w-head); font-size: 13px; font-weight: 500; color: var(--w-text); }
.wd-op svg { width: 14px; height: 14px; }

@media (max-width: 1080px) {
  .hero-preview .ta-head, .hero-preview .tp-bar, .hero-preview .ta-ptable { margin-right: 0; }
  .ta-cz { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 720px) {
  .wd { height: 560px; }
  .ta-hero-panel { padding: 12px 14px 0; }
  .hero-preview .ta-link, .hero-preview .ta-acts .ta-ib, .hero-preview .ta-filters { display: none; }
  .hero-preview .tp-bar { margin: 12px 0 10px; }
  .hero-preview .ta-prow--head { display: none; }
  .hero-preview .ta-prow { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 12px; }
  .hero-preview .ta-post { grid-column: 1 / -1; }
  .hero-preview .ta-post-main small, .hero-preview .ta-post-main .ta-tag, .hero-preview .ta-date small { display: none; }
  .hero-preview .ta-date { text-align: right; }
  .hero-preview .ta-rx { grid-column: 1 / -1; }
  .hero-preview .ta-post .hp-thumb { width: 44px; height: 34px; }
  .ta-cz { grid-template-columns: minmax(0, 1fr) 280px; }
  .ta-icons { grid-template-columns: repeat(6, 34px); }
}

/* === TOUR INTERACTIVE === */
/* The tour and the widget demo are clickable (landing.js initTour,
   initWidgetDemo). Classes set display, so [hidden] needs the last word. */
:is(.tour, .wsec) [hidden] { display: none !important; }
:where(.tr-shell, .tr-caps) button {
  margin: 0; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; letter-spacing: inherit; text-align: inherit; cursor: pointer;
}
:where(.tr-shell) :is(input, select, textarea) { font: inherit; color: inherit; }
.tr-shell :is(button, a, .ta-selwrap, .tp-search, .ta-hex, .ta-input) {
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.tr-shell button:disabled { cursor: not-allowed; }

/* Sidebar */
.ta-side .hp-nav li { padding: 0; }
.ta-nav { display: flex; align-items: center; gap: 10px; width: 100%; height: 100%; padding: 0 10px; border-radius: 10px; font-weight: 500; }
.ta-nav:hover { background: rgba(255, 255, 255, .6); color: var(--text); }
.ta-proj, .ta-user { width: 100%; border-radius: 10px; }
.ta-proj:hover, .ta-user:hover { background: rgba(255, 255, 255, .6); }
.ta-user { border-radius: 0 0 10px 10px; }

/* Kit: buttons, segments, search, selects */
.tp-btn { cursor: pointer; }
.tp-btn:hover { background: var(--accent-ink); }
.tp-btn--ghost:hover { background: var(--bg); }
.ta-btn:hover { border-color: #c9cfdd; background: #fafbfd; }
.ta-btn--ghost:hover { background: var(--bg); color: var(--text); }
.ta-ib:hover { background: var(--bg); color: var(--text); }
.ta-link:hover { color: var(--text); }
.tp-seg button:hover:not(.is-on) { color: var(--text); }
.tp-search { cursor: text; }
.tp-search:focus-within, .ta-hex:focus-within, .ta-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(83, 58, 253, .15); }
.tp-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; color: var(--text); outline: 0; }
.tp-search input::placeholder, .ta-hex input::placeholder { color: var(--muted); }
.tp-search input::-webkit-search-cancel-button { cursor: pointer; }
.ta-selwrap { position: relative; cursor: pointer; }
.ta-selwrap:hover { border-color: #c9cfdd; }
.ta-selwrap:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.ta-selwrap select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ta-select--block { justify-content: space-between; width: 100%; }
.ta-select--block > span { overflow: hidden; text-overflow: ellipsis; }
.ta-linkbtn { color: var(--accent-ink); font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 2px; }
.ta-linkbtn:hover { text-decoration-color: currentColor; }
.ta-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 16px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; }
.ta-empty b { font-size: 14px; font-weight: 600; }
.ta-empty small { margin-bottom: 6px; font-size: 12.5px; color: var(--muted); }

/* Ideas */
.ta-ix-side { min-width: 0; border-right: 1px solid #eef0f5; }
.ta-ix-list { border-right: 0; }
.ta-ix-list li { cursor: pointer; transition: background-color 200ms var(--ease), border-color 200ms var(--ease); }
.ta-ix-list li:hover:not(.is-sel) { background: #fafbfd; }
.ta-ix-list li:focus-visible { outline-offset: -2px; border-radius: 0; }
.ta-ix-line { padding: 18px 16px; font-size: 12.5px; color: var(--muted); }
.ta-ix-dwrap { display: flex; flex-direction: column; gap: 16px; }
.ta-ix-tag { padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.ta-ix-tag--road { background: var(--accent-soft); color: var(--accent-ink); }
.ta-ix-tag--no { background: #f1f3f8; color: var(--muted); }
.ta-ix-calm { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; min-height: 300px; text-align: center; }
.ta-ix-calm b { font-size: 15px; font-weight: 600; }
.ta-ix-calm small { font-size: 12.5px; color: var(--muted); }

/* Roadmap */
.ta-votes { cursor: pointer; transition: background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease); }
.ta-votes:hover { box-shadow: 0 0 0 1px var(--accent); }
.ta-votes[aria-pressed="true"] { background: var(--accent); color: #fff; }
.ta-rc-more, .ta-col-add { display: grid; place-items: center; width: 22px; height: 22px; margin: -3px -4px -3px 0; border-radius: 6px; color: var(--muted); }
.ta-col-add { margin-left: auto; }
.ta-col-h .ta-col-add .ta-ic { margin: 0; }
.ta-rc-more:hover, .ta-col-add:hover { background: var(--bg); color: var(--text); }
.ta-rc:focus { outline: none; }
.ta-rbtn { width: 100%; background: var(--surface); }
.ta-rbtn:hover { border-color: var(--accent); color: var(--accent-ink); }
.ta-rlist { padding: 2px 16px; }
.ta-rtable { min-width: 0; }
.ta-rtable td b { max-width: 260px; }
.ta-rl-desc { display: block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; color: var(--muted); }
.ta-rl-group th { padding-top: 14px; font: 600 12px/1.4 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-2); }
.ta-rtable .ta-rl-group th:last-child { text-align: left; }
.ta-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: #f6f7fb; font-size: 12px; font-weight: 500; }
.ta-rl-votes { display: inline-flex; align-items: center; gap: 8px; }
.ta-scrim { animation-duration: 200ms; animation-delay: 0ms; }
.ta-ship { animation: modal-pop 200ms var(--ease) both; }
.ta-ship-x { display: grid; place-items: center; width: 28px; height: 28px; margin: -6px -6px 0 0; border-radius: 8px; }
.ta-ship-x:hover { background: var(--bg); color: var(--text); }
.ta-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.ta-fieldset legend { margin-bottom: 8px; padding: 0; }
.ta-radio { position: relative; cursor: pointer; }
.ta-radio input { position: absolute; left: 0; width: 14px; height: 14px; margin: 0; opacity: 0; }
.ta-radio i { transition: border-width 200ms var(--ease), border-color 200ms var(--ease); }
.ta-radio input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.ta-sw { cursor: pointer; transition: background-color 200ms var(--ease); }
.ta-sw::after { transition: left 200ms var(--ease); }
.ta-textlinks .ta-linkbtn { font-size: inherit; }
.ta-mail { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; padding: 12px; border-radius: 10px; border: 1px solid #eef0f5; background: #fafbfd; font-size: 12.5px; color: var(--text-2); }
.ta-mail small { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ta-mail > b { color: var(--text); font-weight: 600; }
.ta-mail-btn { align-self: flex-start; margin-top: 4px; padding: 5px 10px; border-radius: 7px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 600; }
.ta-textbtn { cursor: pointer; }
.ta-textbtn:hover { color: var(--text); }

/* Analytics */
.ta-chartbox { position: relative; }
.an-svg :is(.an-area, .an-prev, .tm-line, .an-grid, .an-axis) { pointer-events: none; }
.an-rel { cursor: pointer; outline: none; }
.an-rel-chip rect { transition: stroke 200ms var(--ease), fill 200ms var(--ease); }
.an-rel:is(:hover, :focus-visible) .an-rel-chip rect { fill: #fff; stroke: var(--accent); stroke-width: 1.2; }
.ta-an-tip {
  position: absolute; z-index: 3; translate: -50% 0; pointer-events: none;
  display: flex; flex-direction: column; gap: 4px; min-width: 190px; padding: 10px 12px;
  border-radius: 10px; background: #0f1729; color: rgba(255, 255, 255, .78); font-size: 12px;
  box-shadow: 0 14px 30px -12px rgba(15, 23, 41, .5);
}
.ta-an-tip > b { margin-bottom: 2px; color: #fff; font-weight: 600; }
.ta-an-tip > span { display: flex; justify-content: space-between; gap: 16px; }
.ta-an-tip > span b { color: #fff; font-weight: 600; }
.ta-sortbtn { display: inline-flex; align-items: center; gap: 4px; }
.ta-sortbtn:hover, .ta-table th[aria-sort] { color: var(--text); }
.ta-sort-ind { min-width: 8px; }
.ta-perf-none { padding: 12px 0 2px; }
.ta-notes li { overflow: hidden; }
.ta-notes-empty { font-size: 12.5px; color: var(--muted); }

/* Customize */
input.ta-input { background: #fff; outline: 0; }
.ta-hex input { width: 74px; padding: 0; border: 0; background: none; outline: 0; }
.ta-hex.is-err { border-color: #d92d20; box-shadow: 0 0 0 3px rgba(217, 45, 32, .12); }
.ta-pos > button { align-items: stretch; text-align: left; }
.ta-pos > button:hover:not(.is-on) { border-color: #c9cfdd; }
.ta-icons button:hover:not(.is-on) { border-color: #c9cfdd; color: var(--text); }
.ta-icsw > button:not(.ta-icsw-c):not(.is-on) { border-color: var(--line); color: var(--text-2); }
.ta-icsw-c.is-on { box-shadow: inset 0 0 0 1px rgba(6, 27, 49, .14), 0 0 0 2px #fff, 0 0 0 3.5px var(--text); }
.ta-srow.is-off > span { opacity: .55; }
.ta-pv-box .lw--pv { left: 40px; right: 14px; bottom: 70px; height: 340px; transition: left 200ms var(--ease), right 200ms var(--ease), bottom 200ms var(--ease); }
.ta-pv-box[data-pos="left"] .lw--pv { left: 14px; right: 40px; }
.ta-pv-box[data-pos="own"] .lw--pv { bottom: 14px; height: 360px; }
.ta-pv-lch {
  position: absolute; right: 14px; bottom: 14px;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--cust); color: #fff;
  box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--cust) 70%, transparent);
  transition: background-color 300ms var(--ease), right 200ms var(--ease);
}
.ta-pv-box[data-pos="left"] .ta-pv-lch { right: calc(100% - 58px); }
.ta-pv-lch .ta-lic { width: 19px; height: 19px; }
.ta-site-own { align-self: flex-end; padding: 3px 9px; border-radius: 7px; background: var(--cust); color: #fff; font-size: 10.5px; font-weight: 600; }
.lw-rx { display: flex; gap: 6px; margin-top: 4px; }
.lw-rx span { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px solid #e2e5eb; font-size: 12px; }
.lw-rx b { font-size: 11px; font-weight: 600; color: #5f6b7e; }
.lw, .lw-hd, .lw-ct, .lw-li, .lw-ft, .lw-seg, .lw-seg span { transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease); }
.lw[data-theme="dark"] { background: #20232f; color: #f1f3f8; }
.lw[data-theme="dark"] :is(.lw-hd, .lw-ft) { border-color: rgba(255, 255, 255, .12); }
.lw[data-theme="dark"] .lw-seg { background: rgba(0, 0, 0, .22); }
.lw[data-theme="dark"] .lw-seg span { color: #9ca4b6; }
.lw[data-theme="dark"] .lw-seg .is-on { background: #3a3f56; color: #f1f3f8; }
.lw[data-theme="dark"] :is(.lw-ct, .lw-ft) { background: #1b1e29; }
.lw[data-theme="dark"] .lw-li { background: #282c3d; border-color: rgba(255, 255, 255, .12); }
.lw[data-theme="dark"] :is(.lw-t small, .lw-dt, .lw-ex, .lw-x, .lw-ft, .lw-rx b) { color: #9ca4b6; }
.lw[data-theme="dark"] .lw-fl { color: #f1f3f8; }
.lw[data-theme="dark"] .lw-dv::after { background: rgba(255, 255, 255, .12); }
.lw[data-theme="dark"] .lw-th { background: linear-gradient(135deg, #2f2a55, #1f3a3a); }
.lw[data-theme="dark"] .lw-rx span { border-color: rgba(255, 255, 255, .14); }

/* Install */
.ti-chips button { cursor: pointer; }
.ti-chips button:hover:not(.is-on) { border-color: #c9cfdd; color: var(--text); }
.ta-pf-panel { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.ta-path-items { display: contents; }
.ta-code--pre { align-items: flex-start; }
.ta-code pre { flex: 1; min-width: 0; max-height: 200px; margin: 0; overflow: auto; font: 400 11.5px/1.55 var(--mono); white-space: pre; scrollbar-width: thin; }
.ta-consent-help { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.ta-faq-q { display: flex; width: 100%; padding: 2px 0; border-radius: 6px; }
.ta-faq-q:hover b { color: var(--accent-ink); }

/* Toast and Reset demo */
.tr-stage { position: relative; }
.ta-toast { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 6; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.ta-toast-in {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 10px;
  max-width: 100%; padding: 10px 18px; border-radius: 20px;
  background: #0f1729; color: #fff; font-size: 13px; line-height: 1.4; text-align: center;
  box-shadow: 0 18px 40px -16px rgba(15, 23, 41, .6); pointer-events: auto;
}
.ta-toast-in.is-in { animation: ta-toast 200ms var(--ease); }
.ta-toast-in a { color: #c9c0ff; font-weight: 600; white-space: nowrap; }
.ta-toast-in a:hover { color: #fff; }
@keyframes ta-toast { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tr-demo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; }
.tr-caps .tr-reset { font: 400 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.tr-caps .tr-reset:hover { color: var(--text); }

/* Widget demo */
.wd .wd-why { padding: 0; border: 0; background: none; color: var(--w-link); }
.wd[data-reaction="meh"]:not([data-rxstep="offer"]) .wd-offer { display: none; }
.wd-ask, .wd-rxsent { display: none; }
.wd[data-reaction="meh"][data-rxstep="ask"] .wd-ask { display: flex; animation: fade-in 300ms var(--ease); }
.wd[data-reaction="meh"][data-rxstep="sent"] .wd-rxsent { display: flex; animation: fade-in 300ms var(--ease); }
.wd-ask { flex-direction: column; gap: 6px; }
.wd-ask label { font-size: 13px; font-weight: 600; }
.wd-ask-h { font-size: 12px; color: var(--w-muted); }
.wd-ask textarea { min-height: 76px; resize: vertical; }
.wd-ask-a { display: flex; justify-content: flex-end; gap: 6px; margin-top: 2px; }
.wd .wd-skip { height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--w-muted); font-size: 13px; }
.wd .wd-skip:hover { color: var(--w-text); }
.wd .wd-sendnote { height: 34px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; }
.wd .wd-sendnote:disabled { opacity: .5; cursor: not-allowed; }
.wd-rxsent { align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 500; color: var(--t-imp); }
.wd-rxsent svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wd .wd-fl, .wd .wd-pv { padding: 0; border: 0; background: none; text-align: left; }
.wd .wd-pv { min-width: 0; }
.wd .wd-pv:hover span, .wd .wd-fl:hover { text-decoration: underline; text-underline-offset: 2px; }
.wd-pw:hover b { color: var(--w-link); }
.wd .wd-op:hover { border-color: var(--w-muted); }
.wd .wd-vote:hover:not([aria-pressed="true"]) { box-shadow: 0 0 0 1px var(--w-vote-bd); }

@media (max-width: 720px) {
  .ta-toast { bottom: 18px; }
  .ta-toast-in { font-size: 12.5px; }
  /* Touch: small controls get a 40px hit area without changing how they look. */
  .tr-shell :is(.ta-ib, .ta-votes, .tp-seg button, .ta-btn, .ta-textbtn, .ta-linkbtn, .ti-chips button, .tc-sw, .ta-icons button, .ta-icsw button, .ta-sw, .ta-rc-more, .ta-col-add, .ta-ship-x) { position: relative; }
  .tr-shell :is(.ta-ib, .ta-votes, .tp-seg button, .ta-btn, .ta-textbtn, .ta-linkbtn, .ti-chips button, .tc-sw, .ta-icons button, .ta-icsw button, .ta-rc-more, .ta-col-add, .ta-ship-x)::before {
    content: ''; position: absolute; inset: min(0px, calc(50% - 20px));
  }
  .tr-caps .tr-reset { min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .tp:not([hidden]), #tp-plan:not([hidden]), .tr-cap:not([hidden]), .ta-ship, .ta-scrim, .ta-toast-in.is-in, .tr-panel .tm-line,
  .wd[data-reaction="meh"] :is(.wd-offer, .wd-ask, .wd-rxsent) { animation: none; }
  .tr-shell *, .wd, .wd * { transition: none !important; }
}

/* === TOUR HOME === */
/* Home (dashboard/assets/home.css), reached from the sidebar. A project that's
   fully set up: "You're all set", the live row, then the cards. */
.tr-shell[data-tab="home"] [data-nav="home"] {
  background: var(--surface); color: var(--text);
  box-shadow: 0 1px 2px rgba(6, 27, 49, .06), 0 6px 14px -8px rgba(6, 27, 49, .2);
}
.hm-page { display: flex; flex-direction: column; gap: 16px; }
.hm-h1 { font-size: 23px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.hm-head p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.hm-muted { font-size: 12.5px; color: var(--muted); }
.hm-card-title { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.hm-setup--done { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.hm-done-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; color: #157a69; background: #e2f4f0; }
.hm-done-ic .ta-ic { width: 20px; height: 20px; }
.hm-done-meta { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.hm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.hm-wide { grid-column: 1 / -1; }
.hm-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px 18px; }
.hm-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tr-shell .hm-more { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 500; color: var(--accent-ink); white-space: nowrap; }
.tr-shell .hm-more:hover { text-decoration: underline; text-underline-offset: 2px; }
.hm-live { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 16px; }
.hm-dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.hm-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--good); animation: live-pulse 2s ease-out infinite; }
.hm-live-t { flex: 1; min-width: 0; overflow: hidden; font-size: 13.5px; white-space: nowrap; text-overflow: ellipsis; }
.hm-live-t b { font-weight: 600; }
.tr-shell .hm-post { align-self: flex-start; font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.tr-shell .hm-post:hover { color: var(--accent-ink); }
.hm-stats { display: flex; gap: 10px; padding-top: 4px; }
.hm-stat { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; background: #f6f7fb; }
.hm-stat-n { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hm-stat-l { font-size: 11.5px; color: var(--muted); }
.hm-big { display: flex; align-items: baseline; gap: 6px; }
.hm-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #eef0f5; font-size: 13px; }
.hm-list li:first-child { border-top: 0; }
.hm-list-t { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hm-list .hm-muted { flex: none; }
.hm-votes { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.hm-votes b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.hm-trend { padding: 1px 7px; border-radius: 999px; background: #e2f4f0; color: #157a69; font-size: 11.5px; font-weight: 600; }
.hm-empty { font-size: 13px; color: var(--muted); }
.hm-actions { display: flex; flex-direction: column; gap: 6px; }
.tr-shell .hm-action { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border: 1px solid #eef0f5; border-radius: 12px; font-size: 13px; font-weight: 500; }
.tr-shell .hm-action:hover { background: #f6f7fb; transform: translateY(-1px); }
.hm-action-ic { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); }

@media (prefers-reduced-motion: reduce) {
  .hm-dot::after { animation: none; }
}

/* ── Demo video (#demo) ───────────────────────────────────────────────
   A poster facade: nothing from YouTube loads until someone presses play.
   landing.js swaps the facade for a youtube-nocookie iframe. */
.demo { background: #fff; padding: 112px 0; }
.demo-head { gap: 16px; margin-bottom: 0; }
.demo-lbl { font-size: 13px; color: var(--accent); }
.demo-title { font-size: 52px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; }
.demo-sub { max-width: 600px; font-size: 18px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }

.demo-stage { position: relative; margin-top: 48px; }
.demo-glow {
  position: absolute; inset: -14% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(83, 58, 253, .14), rgba(83, 58, 253, 0));
}
.demo-player {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 22px; overflow: hidden; background: #0b0a1f;
  box-shadow: 0 0 0 1px rgba(6, 27, 49, .10), 0 50px 100px -40px rgba(50, 50, 93, .55);
}
.demo-facade { position: absolute; inset: 0; cursor: pointer; }
.demo-facade picture, .demo-poster { display: block; width: 100%; height: 100%; }
.demo-poster { object-fit: cover; }
.demo-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.demo-play {
  position: absolute; left: 50%; top: 50%;
  width: 100px; height: 100px; margin: -50px 0 0 -50px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; background: #fff; color: var(--accent); cursor: pointer;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, .18), 0 20px 40px -10px rgba(0, 0, 0, .5);
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.demo-play svg { width: 40%; height: 40%; margin-left: 7%; fill: currentColor; }
.demo-facade:hover .demo-play, .demo-play:focus-visible { transform: scale(1.07); }
.demo-play:focus-visible { outline: 3px solid #fff; outline-offset: 14px; border-radius: 50%; }

.demo-dur {
  position: absolute; left: 16px; bottom: 16px; pointer-events: none;
  font: 400 13px/1 var(--mono); color: #fff;
  background: rgba(0, 0, 0, .55); border-radius: 8px; padding: 6px 10px;
}

.demo-chapters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 24px; padding: 4px;
}
.demo-chap {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  height: 44px; padding: 0 16px; border: 0; border-radius: 12px;
  background: #f4f5fa; color: var(--text); cursor: pointer;
  font: 500 14px/1 var(--font);
  box-shadow: 0 0 0 1px rgba(6, 27, 49, .08);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease);
}
.demo-chap time { font: 400 12px/1 var(--mono); color: var(--accent); }
.demo-chap:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--accent); }
.demo-chap[aria-pressed="true"] { background: rgba(83, 58, 253, .10); box-shadow: 0 0 0 1.5px var(--accent); }

.demo-foot { margin-top: 28px; text-align: center; font-size: 14px; color: #5f6779; }
.demo-foot a { white-space: nowrap; color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(83, 58, 253, .35); text-underline-offset: 3px; transition: text-decoration-color var(--t); }
.demo-foot a:hover { text-decoration-color: currentColor; }

@media (max-width: 720px) {
  .demo { padding: 76px 0; }
}
@media (max-width: 640px) {
  .demo-title { font-size: 36px; }
  .demo-sub { font-size: 17px; }
  .demo-stage { margin-top: 36px; }
  .demo-player { border-radius: 14px; }
  .demo-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .18), 0 14px 28px -8px rgba(0, 0, 0, .5); }
  .demo-play:focus-visible { outline-offset: 10px; }
  .demo-dur { left: 10px; bottom: 10px; font-size: 12px; padding: 5px 8px; }
  /* One row that scrolls sideways; the page itself never does. */
  .demo-chapters {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: -16px; padding: 6px 16px;
  }
  .demo-chapters::-webkit-scrollbar { display: none; }
  .demo-chap { scroll-snap-align: start; }
  .demo-chap:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-play, .demo-chap { transition: none; }
  .demo-facade:hover .demo-play, .demo-play:focus-visible, .demo-chap:hover { transform: none; }
}
