/* Kalfi landing — static, shared-hosting friendly */

:root {
  --ink-000: #05060a;
  --ink-050: #080a0f;
  --ink-100: #0d1016;
  --ink-150: #12161e;
  --ink-200: #171c26;
  --ink-300: #202631;
  --line: #1e2430;
  --line-strong: #2c3441;

  --fg: #f2f4f8;
  --fg-dim: #a8b1c2;
  --fg-faint: #6c7688;

  --accent: #5b8cff;
  --accent-ink: #0a1226;
  --signal: #4ade80;
  --alert: #f6a94a;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Tight", var(--sans);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --shell: 1180px;
  --gut: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background-color: var(--ink-050);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: min(var(--shell), calc(100% - (var(--gut) * 2)));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: var(--ink-200);
  padding: 8px 14px;
  border-radius: var(--r-sm);
}

/* ---------- header ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 14px var(--gut) 0;
  pointer-events: none;
  transition: padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar > * {
  pointer-events: auto;
}

.topbar[data-compact="true"] {
  padding-top: 8px;
}

.topbar__float {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  border-radius: 999px;
  background: rgba(14, 18, 28, 0.28);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 14px 40px rgba(0, 0, 0, 0.28);
  transition:
    max-width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.topbar[data-scrolled="true"] .topbar__float {
  background: rgba(10, 13, 20, 0.36);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 16px 44px rgba(0, 0, 0, 0.38);
}

/* Scroll down → the bar visibly narrows to a centered pill; scroll up → full shell */
.topbar[data-compact="true"] .topbar__float {
  max-width: min(760px, 100%);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 14px 0 16px;
  transition:
    min-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    gap 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar[data-compact="true"] .topbar__inner {
  min-height: 46px;
  gap: 6px;
  padding: 0 8px 0 10px;
}

.topbar[data-compact="true"] .nav-item__trigger {
  padding-left: 9px;
  padding-right: 9px;
}

.topbar[data-compact="true"] .topbar__actions {
  gap: 6px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
  margin-right: auto;
  flex: none;
  transition:
    gap 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    font-size 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar[data-compact="true"] .wordmark {
  gap: 8px;
  font-size: 1rem;
}

.wordmark__mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: var(--ink-200);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--fg-dim);
}

.nav-item {
  position: relative;
}

.nav-item__trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-item__trigger svg {
  opacity: 0.55;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-item__trigger,
.nav-item:focus-within .nav-item__trigger,
.nav-item.is-open .nav-item__trigger {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.05);
}

.nav-item[data-pinned="true"] .nav-item__trigger {
  background: rgba(91, 140, 255, 0.14);
  color: var(--fg);
}

.nav-item:hover .nav-item__trigger svg,
.nav-item:focus-within .nav-item__trigger svg,
.nav-item.is-open .nav-item__trigger svg {
  transform: rotate(180deg);
  opacity: 0.9;
}

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.985);
  min-width: 272px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 12, 18, 0.96);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 22px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.24s ease;
  display: grid;
  gap: 2px;
  z-index: 90;
}

/* Invisible bridge across the trigger→menu gap so hover never drops out */
.mega::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: -14px;
  height: 14px;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega,
.nav-item.is-open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* an explicit close (Escape, outside click, second click) wins over :hover */
.nav-item[data-closed="true"] .mega {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px) scale(0.985);
}

.mega a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--fg);
  transition: background 0.15s ease, transform 0.15s ease;
}

.mega a:hover {
  background: rgba(91, 140, 255, 0.12);
}

.mega strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.mega span {
  font-size: 0.78rem;
  color: var(--fg-faint);
  line-height: 1.35;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--fg);
}

.burger span + span {
  margin-top: 4px;
}

.drawer {
  display: none;
  width: min(var(--shell), calc(100% - (var(--gut) * 2)));
  margin: 10px auto 0;
  padding: 14px 16px 16px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 12, 18, 0.96);
  backdrop-filter: blur(18px);
}

.drawer[data-open="true"] {
  display: grid;
  gap: 14px;
}

.drawer__group p {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 4px;
}

.drawer__group a {
  display: block;
  padding: 8px 0;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--line);
}

.drawer__group a:last-child {
  border-bottom: 0;
}

.drawer__cta {
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--ink-000);
  font-weight: 600;
}

/* ---------- buttons ---------- */

.btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    transform 0.18s ease;
}

.btn.is-disabled,
a.btn.is-disabled {
  opacity: 0.7;
  pointer-events: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--solid {
  background: var(--fg);
  color: var(--ink-000);
}

.btn--solid:hover {
  background: #ffffff;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  background: #7ba2ff;
}

.btn--line {
  border-color: var(--line-strong);
  color: var(--fg);
}

.btn--line:hover {
  border-color: var(--fg-faint);
  background: rgba(255, 255, 255, 0.03);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.kbd {
  font-family: var(--mono);
  font-size: 0.72rem;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 2px 6px;
  color: var(--fg-dim);
  background: var(--ink-150);
}

/* ---------- section scaffolding ---------- */

.band {
  padding: 88px 0;
  position: relative;
}

.band--tight {
  padding: 64px 0;
}

.band__head {
  margin-bottom: 40px;
}

.band__head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
  max-width: 26ch;
}

.band__head p {
  color: var(--fg-dim);
  font-size: 1.02rem;
  max-width: 54ch;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 18px;
}

.tagline::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- hero: sticky frame — copy + half peek → full Mac window ---------- */

.hero-stack {
  position: relative;
  --hero-top: 78px;
  /* safe insets so the expanded window never touches the navbar or the fold */
  --demo-inset-top: 8px;
  --demo-inset-bottom: 10px;
}

.hero-pin {
  --p: 0;
  position: relative;
  height: 260vh;
}

.hero-sticky {
  position: sticky;
  top: var(--hero-top);
  height: calc(100svh - var(--hero-top));
  height: calc(100vh - var(--hero-top));
  display: flex;
  flex-direction: column;
  overflow: visible;
  /* top padding collapses as the window expands so it can fill the frame */
  padding:
    calc(18px - var(--p) * 14px) var(--gut)
    calc(var(--p) * var(--demo-inset-bottom));
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  max-width: 54rem;
  width: 100%;
  margin: 0 auto;
  padding: calc((1 - var(--p)) * 4px) 0 calc((1 - var(--p)) * 12px);
  text-align: center;
  will-change: filter, opacity, transform, max-height;
  filter: blur(calc(var(--p) * 12px));
  opacity: calc(1 - var(--p) * 0.96);
  transform: translate3d(0, calc(var(--p) * -56px), 0) scale(calc(1 - var(--p) * 0.05));
  /* fully collapses at p=1 so the demo owns the whole sticky frame */
  max-height: calc((1 - var(--p)) * 560px);
  overflow: visible;
  pointer-events: auto;
}

.hero-copy[data-faded="true"] {
  pointer-events: none;
  overflow: hidden;
}

.hero-copy .tagline {
  justify-content: center;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 5vw, 3.85rem);
  margin-bottom: 14px;
  line-height: 1.08;
}

.hero-copy .hero__lead {
  margin-inline: auto;
  max-width: 46ch;
}

.hero-copy .hero__cta {
  justify-content: center;
}

.hero-copy .facts {
  max-width: 40rem;
  margin-inline: auto;
  text-align: left;
}

.hero-in {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--d, 0) * 90ms);
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__lead {
  color: var(--fg-dim);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
}

.btn--hero-side {
  min-height: 52px;
  height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
}

.download-meta--hero {
  text-align: center;
  margin: 0 0 18px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.facts div {
  padding-top: 14px;
  padding-right: 14px;
}

.facts dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 6px;
}

.facts dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

/* Demo peeks from bottom of sticky frame, expands almost full viewport on scroll */
.hero-demo-slot {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 180px;
  /* clips the peek below the fold only; the wrap keeps a --demo-inset-top gap
     at the top of this box so the title bar can never be shaved off */
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-demo-wrap {
  position: absolute;
  left: 50%;
  bottom: 0;
  /* height stops short of the slot so the top edge always sits inside it */
  width: calc(
    (1 - var(--p)) * min(920px, 100%) + var(--p) * min(100%, calc(100vw - 20px))
  );
  height: calc(
    (1 - var(--p)) * min(540px, 68%) +
      var(--p) * (100% - var(--demo-inset-top))
  );
  will-change: transform, width, height;
  /* Less peek offset so the title bar stays visible above the fold */
  transform: translate3d(-50%, calc((1 - var(--p)) * 34%), 0);
  transform-origin: center bottom;
  border-radius: calc((1 - var(--p)) * 18px + var(--p) * 10px);
  overflow: hidden;
}

.hero-demo-glow {
  position: absolute;
  inset: 6% 4% auto;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(91, 140, 255, 0.32), transparent 70%);
  filter: blur(32px);
  opacity: calc(0.35 + var(--p) * 0.65);
  pointer-events: none;
  z-index: 0;
  animation: glowDrift 7s ease-in-out infinite alternate;
}

@keyframes glowDrift {
  from {
    transform: translate3d(-2%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 4%, 0) scale(1.06);
  }
}

.hero-demo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 28px 90px rgba(0, 0, 0, 0.58);
  border-radius: inherit;
  overflow: hidden;
}

.hero-demo .tabs {
  flex: 0 0 auto;
}

.hero-demo .demo__body {
  flex: 1 1 auto;
  min-height: 0;
  grid-template-rows: minmax(72px, 1fr) minmax(96px, 1.1fr) auto;
  overflow: hidden;
}

.hero-demo .transcript,
.hero-demo .answer {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  scrollbar-width: none;
}

.hero-demo .transcript::-webkit-scrollbar,
.hero-demo .answer::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* ---------- app window / demo ---------- */

.appwin {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--ink-150), var(--ink-100));
  overflow: hidden;
}

.appwin__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--ink-200);
}

.appwin__lights {
  display: flex;
  gap: 6px;
}

.appwin__lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid transparent;
}

.appwin__lights i:nth-child(1) {
  background: #ff5f57;
  border-color: #e0443e;
}

.appwin__lights i:nth-child(2) {
  background: #febc2e;
  border-color: #dea123;
}

.appwin__lights i:nth-child(3) {
  background: #28c840;
  border-color: #1aab29;
}

.appwin__title {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--fg-faint);
}

.appwin__badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--signal);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--ink-100);
}

.tabs button {
  flex: 1;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 8px;
  font-size: 0.86rem;
  color: var(--fg-faint);
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.tabs button:hover {
  color: var(--fg-dim);
}

.tabs button[aria-selected="true"] {
  color: var(--fg);
  border-bottom-color: var(--accent);
  background: rgba(91, 140, 255, 0.06);
}

.demo__body {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.pane-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 8px;
}

.transcript {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-050);
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
  font-size: 0.9rem;
}

.line {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  color: var(--fg-dim);
}

.line__who {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--fg-faint);
  padding-top: 3px;
}

.line[data-who="You"] .line__who {
  color: var(--accent);
}

.line[data-q="true"] .line__text {
  color: var(--fg);
}

.answer {
  border: 1px solid rgba(91, 140, 255, 0.32);
  border-radius: var(--r-md);
  background: rgba(91, 140, 255, 0.05);
  padding: 14px;
  min-height: 132px;
}

.answer__core {
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 10px;
}

.answer__core::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1.05em;
  margin-left: 2px;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: caret 1s steps(1) infinite;
}

.answer[data-done="true"] .answer__core::after {
  display: none;
}

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

.answer__points {
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
  color: var(--fg-dim);
}

.answer__points li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 6px;
}

.answer__points li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.5;
}

.answer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--fg-faint);
}

.answer__empty {
  color: var(--fg-faint);
  font-size: 0.9rem;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.ctrl {
  display: grid;
  gap: 6px;
}

.ctrl > span {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.seg {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--ink-050);
}

.seg button {
  border: 0;
  background: none;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: var(--fg-faint);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.seg button:hover {
  color: var(--fg-dim);
}

.seg button[aria-pressed="true"] {
  background: var(--ink-300);
  color: var(--fg);
}

.demo__run {
  display: flex;
  gap: 8px;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  padding: 30px 26px 34px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.2s ease;
}

.step:last-child {
  border-right: 0;
}

.step:hover {
  background: rgba(255, 255, 255, 0.015);
}

.step__num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.step h3 {
  font-size: 1.14rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--fg-dim);
  font-size: 0.94rem;
}

.step__list {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--fg-faint);
  font-family: var(--mono);
}

/* ---------- stealth ---------- */

.stealth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.screenmock {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-000);
  padding: 12px;
  position: relative;
  min-height: 268px;
  overflow: hidden;
}

.screenmock__tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--fg-faint);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tile {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ink-150);
  display: grid;
  place-content: center;
  gap: 6px;
  justify-items: center;
  font-size: 0.74rem;
  color: var(--fg-faint);
}

.tile__av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink-300);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--fg-dim);
}

.tile--active {
  border-color: rgba(91, 140, 255, 0.35);
}

.overlay-card {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: min(74%, 300px);
  border: 1px solid rgba(91, 140, 255, 0.4);
  border-radius: var(--r-sm);
  background: rgba(13, 16, 22, 0.96);
  padding: 11px 12px;
  font-size: 0.84rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  pointer-events: none;
}

.overlay-card[data-shown="true"] {
  opacity: 1;
  transform: translateY(0);
}

.overlay-card strong {
  display: block;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.switch__track {
  width: 44px;
  height: 25px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--ink-200);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex: none;
}

.switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--fg-faint);
  transition: transform 0.2s ease, background 0.2s ease;
}

.switch input:checked + .switch__track {
  background: rgba(74, 222, 128, 0.16);
  border-color: rgba(74, 222, 128, 0.5);
}

.switch input:checked + .switch__track::after {
  transform: translateX(19px);
  background: var(--signal);
}

.switch__text {
  font-size: 0.92rem;
}

.note {
  color: var(--fg-faint);
  font-size: 0.84rem;
}

/* ---------- calculator ---------- */

.calc {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-100);
  padding: 28px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.field__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
}

.field__val {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--accent);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--line-strong);
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--ink-100);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid var(--ink-100);
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

select {
  appearance: none;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--ink-050);
  color: var(--fg);
  padding: 10px 34px 10px 12px;
  font-size: 0.9rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236c7688' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.bars {
  display: grid;
  gap: 16px;
  align-content: start;
}

.bar__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 7px;
  font-size: 0.92rem;
}

.bar__amount {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.bar__track {
  height: 10px;
  border-radius: 999px;
  background: var(--ink-200);
  overflow: hidden;
}

.bar__fill {
  height: 100%;
  border-radius: 999px;
  background: var(--line-strong);
  width: 0;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.bar--you .bar__fill {
  background: var(--signal);
}

.bar--pro .bar__fill {
  background: var(--accent);
}

.bar__note {
  font-size: 0.78rem;
  color: var(--fg-faint);
  margin-top: 5px;
}

.verdict {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.94rem;
  color: var(--fg-dim);
}

.verdict strong {
  color: var(--signal);
}

.assumptions {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--fg-faint);
  line-height: 1.7;
}

/* ---------- brand / stealth personalization ---------- */

.brand-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.brand-controls {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-100);
  padding: 24px;
}

.brand-controls input[type="text"] {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--ink-050);
  color: var(--fg);
  padding: 10px 12px;
  font-size: 0.95rem;
}

.brand-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-points {
  margin-top: 22px;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--fg-dim);
}

.brand-points li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 8px;
}

.brand-points li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.brand-stage {
  display: grid;
  gap: 14px;
}

.brand-overlay__body {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-chip__logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink-300);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.brand-chip__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-overlay__line {
  color: var(--fg-dim);
  font-size: 0.92rem;
  max-width: 40ch;
}

.am-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-050);
  overflow: hidden;
}

.am-panel__head {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--ink-150);
}

.am-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.am-row:last-child {
  border-bottom: 0;
}

.am-row--rival {
  color: var(--fg-faint);
}

.am-row--you {
  color: var(--fg);
  background: rgba(74, 222, 128, 0.06);
}

.am-tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 8px;
  border: 1px solid var(--line);
}

.am-tag--bad {
  color: var(--alert);
  border-color: rgba(246, 169, 74, 0.35);
}

.am-tag--ok {
  color: var(--signal);
  border-color: rgba(74, 222, 128, 0.4);
}

@media (max-width: 1020px) {
  .brand-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Google Meet + real Kalfi overlay (stealth) ---------- */

.stealth-lab {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.desk {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #202124;
  min-height: 340px;
  position: relative;
}

.desk__caption {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e8eaed;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
  backdrop-filter: blur(8px);
}

.meet {
  height: 100%;
  min-height: 340px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #202124;
  color: #e8eaed;
  font-family: "Google Sans", "Product Sans", var(--sans);
}

.meet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px 6px;
  font-size: 0.78rem;
  color: #bdc1c6;
}

.meet__top strong {
  color: #e8eaed;
  font-weight: 500;
}

.meet__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px 12px 12px;
}

.meet__tile {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(160deg, #3c4043, #202124 70%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.meet__tile--speak {
  box-shadow: inset 0 0 0 2px #8ab4f8;
}

.meet__face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.meet__av {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
}

.meet__av--a { background: #1a73e8; }
.meet__av--b { background: #188038; }
.meet__av--c { background: #e37400; }
.meet__av--d { background: #a142f4; }

.meet__name {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 0.72rem;
  background: rgba(32, 33, 36, 0.78);
  padding: 3px 8px;
  border-radius: 4px;
}

.meet__btn {
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border-radius: 18px;
  border: 0;
  background: #3c4043;
  color: #e8eaed;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 500;
}

.meet__btn--end {
  background: #ea4335;
  min-width: 64px;
  border-radius: 999px;
}

.meet__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
  flex-wrap: wrap;
}

.meet__mic {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  background: #3c4043;
  padding: 2px 5px;
  color: #bdc1c6;
}

.meet__mic--off {
  background: #ea4335;
  color: #fff;
}

/* Floating Kalfi overlay matching real app chrome */
.kalfi-float {
  position: absolute;
  right: 14px;
  bottom: 58px;
  width: min(58%, 280px);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(180deg, #12161e, #0d1016);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
  z-index: 4;
}

.kalfi-float[data-shown="true"] {
  opacity: 1;
  transform: none;
}

.kalfi-float__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--ink-200);
}

.kalfi-float__bar .appwin__lights i {
  width: 7px;
  height: 7px;
}

.kalfi-float__title {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--fg-faint);
}

.kalfi-float__live {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.kalfi-float__tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--ink-100);
}

.kalfi-float__tabs span {
  flex: 1;
  text-align: center;
  font-size: 0.62rem;
  padding: 6px 2px;
  color: var(--fg-faint);
}

.kalfi-float__tabs span.is-on {
  color: var(--fg);
  border-bottom: 2px solid var(--accent);
  background: rgba(91, 140, 255, 0.06);
}

.kalfi-float__body {
  padding: 8px 10px 10px;
  display: grid;
  gap: 7px;
}

.kalfi-float__label {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.kalfi-float__q {
  font-size: 0.72rem;
  color: var(--fg-dim);
  line-height: 1.4;
}

.kalfi-float__ans {
  border: 1px solid rgba(91, 140, 255, 0.32);
  border-radius: 8px;
  background: rgba(91, 140, 255, 0.05);
  padding: 8px;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--fg);
}

.kalfi-float__meta {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: var(--fg-faint);
}

@media (max-width: 1020px) {
  .stealth-lab {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Real-ish macOS Activity Monitor ---------- */

.am-mac {
  border: 1px solid #4a4a4a;
  border-radius: 10px;
  overflow: hidden;
  background: #1e1e1e;
  color: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--sans);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.am-mac__titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: linear-gradient(180deg, #3a3a3a, #2c2c2c);
  border-bottom: 1px solid #111;
}

.am-mac__lights {
  display: flex;
  gap: 6px;
}

.am-mac__lights i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.am-mac__lights i:nth-child(1) { background: #ff5f57; }
.am-mac__lights i:nth-child(2) { background: #febc2e; }
.am-mac__lights i:nth-child(3) { background: #28c840; }

.am-mac__win-title {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: #d0d0d0;
  font-weight: 500;
}

.am-mac__toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: #2b2b2b;
  border-bottom: 1px solid #111;
  font-size: 0.68rem;
  color: #a8a8a8;
}

.am-mac__tabs {
  display: flex;
  gap: 2px;
  margin-left: auto;
  background: #1c1c1c;
  border-radius: 6px;
  padding: 2px;
}

.am-mac__tabs span {
  padding: 3px 8px;
  border-radius: 4px;
  color: #9a9a9a;
}

.am-mac__tabs span.is-on {
  background: #3a3a3a;
  color: #fff;
}

.am-mac__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
}

.am-mac__table th {
  text-align: left;
  font-weight: 500;
  color: #b0b0b0;
  background: #2a2a2a;
  padding: 5px 10px;
  border-bottom: 1px solid #111;
  white-space: nowrap;
}

.am-mac__table td {
  padding: 5px 10px;
  border-bottom: 1px solid #252525;
  color: #e8e8e8;
}

.am-mac__table tr:nth-child(even) td {
  background: #232323;
}

.am-mac__table tr.is-hot td {
  background: #0a84ff !important;
  color: #fff;
}

.am-mac__table tr.is-warn td {
  color: #ff9f0a;
}

.am-mac__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px;
  font-size: 0.64rem;
  color: #9a9a9a;
  background: #2b2b2b;
  border-top: 1px solid #111;
}

.am-mac__pill {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.am-mac__pill--bad {
  color: #ff9f0a;
  border-color: rgba(255, 159, 10, 0.4);
}

.am-mac__pill--ok {
  color: #30d158;
  border-color: rgba(48, 209, 88, 0.4);
}

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  background: var(--ink-100);
  display: flex;
  flex-direction: column;
}

.plan--hi {
  border-color: rgba(91, 140, 255, 0.4);
  background: linear-gradient(180deg, rgba(91, 140, 255, 0.07), var(--ink-100) 42%);
}

.plan__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.plan h3 {
  font-size: 1.16rem;
}

.chip {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--fg-dim);
}

.chip--signal {
  border-color: rgba(74, 222, 128, 0.4);
  color: var(--signal);
}

.plan__price {
  font-family: var(--display);
  font-size: 2.7rem;
  letter-spacing: -0.04em;
  margin: 10px 0 4px;
}

.plan__price span {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--fg-faint);
  letter-spacing: 0;
}

.plan__desc {
  color: var(--fg-dim);
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.plan__feats {
  display: grid;
  gap: 9px;
  font-size: 0.92rem;
  margin-bottom: 24px;
  flex: 1;
}

.plan__feats li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  color: var(--fg-dim);
}

.plan__feats li::before {
  content: "+";
  font-family: var(--mono);
  color: var(--accent);
}

/* ---------- compare ---------- */

.tablewrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  font-size: 0.92rem;
}

th,
td {
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-faint);
  background: var(--ink-100);
  position: sticky;
  top: 0;
}

thead th.is-us,
td.is-us {
  background: rgba(91, 140, 255, 0.07);
  color: var(--fg);
}

tbody tr:last-child td {
  border-bottom: 0;
}

td.row-label {
  color: var(--fg);
}

.dim {
  color: var(--fg-faint);
}

.docs-teaser {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.08), transparent 55%), var(--ink-100);
  padding: 32px 30px;
}

.docs-teaser h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  margin-bottom: 8px;
  max-width: 18ch;
}

.docs-teaser p {
  color: var(--fg-dim);
  max-width: 48ch;
}

.docs-page {
  padding: 28px 0 72px;
}

.docs-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.86rem;
  color: var(--fg-faint);
}

.docs-crumb a:hover {
  color: var(--fg-dim);
}

.docs-hero {
  margin-bottom: 28px;
  max-width: 46rem;
}

.docs-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.docs-hero > p {
  color: var(--fg-dim);
  font-size: 1.02rem;
  max-width: 58ch;
  margin-bottom: 18px;
}

.docs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.docs-page .docs {
  margin-top: 8px;
  padding-bottom: 24px;
}

/* ---------- install / docs ---------- */

.docs {
  display: grid;
  gap: 28px;
}

.docs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-100);
  width: fit-content;
  max-width: 100%;
}

.docs-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--fg-dim);
  transition: background 0.18s ease, color 0.18s ease;
}

.docs-nav a:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
}

.docs-body {
  display: grid;
  gap: 18px;
}

.docs-block {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-100);
  padding: 28px 26px;
}

.docs-block__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.docs-block__num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 6px;
  flex: none;
}

.docs-block__head h3 {
  font-size: 1.35rem;
  margin: 0 0 6px;
}

.docs-block__head p {
  color: var(--fg-dim);
  max-width: 62ch;
}

.docs-block h4 {
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin: 22px 0 10px;
  color: var(--fg);
}

.docs-os-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.docs-os-tab {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--ink-050);
  color: var(--fg-dim);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.docs-os-tab:hover {
  color: var(--fg);
  border-color: var(--line-strong);
}

.docs-os-tab.is-on {
  color: var(--fg);
  border-color: rgba(91, 140, 255, 0.55);
  background: rgba(91, 140, 255, 0.1);
}

.docs-os-panel[hidden] {
  display: none;
}

.docs-steps {
  max-width: 68ch;
}

.docs-daily-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 900px) {
  .docs-daily-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.docs-daily-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-050);
  padding: 16px 16px 10px;
}

.docs-daily-card h4 {
  margin: 0 0 10px;
  font-size: 0.98rem;
}

.docs-habits {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--fg-dim);
  display: grid;
  gap: 8px;
  list-style: disc;
}

.docs-habits li {
  padding-left: 2px;
  line-height: 1.55;
}

.install-card__lead {
  color: var(--fg-dim);
  margin: 0 0 8px;
  max-width: 62ch;
}

.docs-block > p,
.docs-os-panel > p {
  color: var(--fg-dim);
  margin: 0 0 12px;
  max-width: 68ch;
}

.install-steps {
  margin: 0 0 12px;
  padding-left: 1.25rem;
  color: var(--fg-dim);
  display: grid;
  gap: 8px;
}

.install-steps li {
  padding-left: 4px;
  line-height: 1.55;
}

.install-steps strong {
  color: var(--fg);
  font-weight: 600;
}

.install-callout {
  margin: 14px 0;
  padding: 16px 16px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-050);
}

.install-callout--alt {
  border-color: rgba(246, 169, 74, 0.35);
  background: rgba(246, 169, 74, 0.06);
}

.install-callout__title {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 0.98rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.install-note {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--fg-faint);
}

.install-code {
  margin: 10px 0 14px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: #05060a;
  overflow-x: auto;
}

.install-code code {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--signal);
  white-space: nowrap;
}

.docs-block code,
.faq code {
  font-family: var(--mono);
  font-size: 0.84em;
  color: var(--accent);
  background: rgba(91, 140, 255, 0.08);
  border: 1px solid rgba(91, 140, 255, 0.18);
  border-radius: 4px;
  padding: 0.05em 0.35em;
}

.docs-block kbd {
  font-family: var(--mono);
  font-size: 0.78em;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 0.1em 0.4em;
  background: var(--ink-200);
  color: var(--fg);
}

/* ---------- faq ---------- */

.band--faq {
  padding-block: 56px;
}

.faq-shell {
  max-width: 42rem;
  margin-inline: auto;
}

.band__head--center {
  text-align: center;
  margin-bottom: 22px;
}

.band__head--center h2 {
  margin-inline: auto;
  max-width: 22ch;
}

.band__head--center .tagline {
  justify-content: center;
}

.faq {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-inline: auto;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-100);
  padding: 0 18px;
}

details[open] {
  border-color: var(--line-strong);
}

summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  text-align: left;
}

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

summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--fg-faint);
  flex: none;
}

details[open] summary::after {
  content: "–";
  color: var(--accent);
}

details p {
  color: var(--fg-dim);
  font-size: 0.94rem;
  padding-bottom: 16px;
  max-width: none;
  text-align: left;
}

/* ---------- workflow timeline ---------- */

.timeline {
  display: grid;
  gap: 28px;
  align-items: start;
  /* Do NOT set width:100% here — it overrides .shell gutters when both classes share one element */
  min-width: 0;
  box-sizing: border-box;
}

.shell.timeline {
  width: min(var(--shell), calc(100% - (var(--gut) * 2)));
  max-width: min(var(--shell), calc(100% - (var(--gut) * 2)));
  margin-inline: auto;
}

@media (min-width: 960px) {
  .timeline {
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.45fr);
    gap: 40px;
  }
}

.timeline__rail {
  position: sticky;
  top: 104px;
  align-self: start;
}

.timeline__rail h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 12px;
  max-width: 12ch;
}

.timeline__rail > p {
  color: var(--fg-dim);
  max-width: 34ch;
  margin-bottom: 24px;
}

.timeline__dots {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline__dots a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--fg-dim);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  overflow: hidden;
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
}

.timeline__dots a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 0;
  border-radius: 2px;
  background: var(--accent);
  transform: translateY(-50%);
  transition: height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline__dots a span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--fg-faint);
  width: 2ch;
  transition: color 0.28s ease;
}

.timeline__dots a:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.timeline__dots a.is-active {
  color: var(--fg);
  background: rgba(91, 140, 255, 0.09);
  border-color: rgba(91, 140, 255, 0.28);
}

.timeline__dots a.is-active::before {
  height: 60%;
}

.timeline__dots a.is-active span,
.timeline__dots a:hover span {
  color: var(--accent);
}

.timeline__stream {
  --tl-gutter: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: var(--tl-gutter);
  min-width: 0;
}

/* Track + light share the exact center of the gutter */
.timeline__beam {
  position: absolute;
  left: calc(var(--tl-gutter) / 2);
  top: var(--tl-top, 28px);
  height: var(--tl-len, 0px);
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 0;
}

.timeline__beam::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(var(--tl-p, 0) * 100%);
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(91, 140, 255, 0.35),
    rgba(91, 140, 255, 0.75) 55%,
    rgba(152, 186, 255, 1)
  );
  box-shadow: 0 0 12px rgba(91, 140, 255, 0.45);
  transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline__beam > span {
  position: absolute;
  left: 50%;
  top: calc(var(--tl-p, 0) * 100%);
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(182, 205, 255, 0.9),
    rgba(91, 140, 255, 0.35) 42%,
    transparent 70%
  );
  opacity: calc(0.3 + var(--tl-p, 0) * 0.7);
  transition:
    top 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.tl-card {
  position: relative;
  display: block;
  min-width: 0;
}

.tl-card__mark {
  position: absolute;
  left: calc(-1 * var(--tl-gutter));
  top: 28px;
  width: var(--tl-gutter);
  height: 14px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.tl-card__mark span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink-050);
  border: 2px solid rgba(91, 140, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.08);
  transition:
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.tl-card[data-lit="true"] .tl-card__mark span {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.14);
}

.tl-card[data-active="true"] .tl-card__mark span {
  transform: scale(1.18);
  border-color: #9cbcff;
  box-shadow:
    0 0 0 5px rgba(91, 140, 255, 0.16),
    0 0 16px rgba(91, 140, 255, 0.55);
}

.tl-card__body {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(145deg, rgba(91, 140, 255, 0.06), transparent 42%),
    var(--ink-100);
  padding: 22px 22px 18px;
  min-width: 0;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.4s ease,
    opacity 0.4s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline__stream[data-lit="true"] .tl-card:not([data-active="true"]) .tl-card__body {
  opacity: 0.78;
}

.tl-card[data-active="true"] .tl-card__body {
  opacity: 1;
  border-color: rgba(91, 140, 255, 0.34);
  box-shadow:
    0 0 0 1px rgba(91, 140, 255, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.32);
}

.tl-card:hover .tl-card__body {
  opacity: 1;
  border-color: rgba(91, 140, 255, 0.4);
  transform: translateY(-2px);
}

.tl-card__num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--fg-faint);
  transition: color 0.3s ease;
}

.tl-card[data-active="true"] .tl-card__num {
  color: var(--accent);
}

.tl-card__body h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.28rem);
  letter-spacing: -0.026em;
  margin: 8px 0 10px;
}

.tl-card__body > p {
  color: var(--fg-dim);
  font-size: 0.96rem;
  line-height: 1.62;
  margin-bottom: 14px;
  max-width: 58ch;
}

.tl-card__body ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-card__body li {
  position: relative;
  padding-left: 15px;
  color: var(--fg-faint);
  font-size: 0.88rem;
  transition: color 0.3s ease;
}

.tl-card[data-active="true"] .tl-card__body li {
  color: var(--fg-dim);
}

.tl-card__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(91, 140, 255, 0.55);
  transition: background 0.3s ease;
}

.tl-card[data-active="true"] .tl-card__body li::before {
  background: var(--accent);
}

@media (max-width: 959px) {
  .timeline__rail {
    position: static;
    top: auto;
    min-width: 0;
    max-width: 100%;
  }

  .timeline__rail h2 {
    max-width: none;
  }

  .timeline__rail > p {
    max-width: none;
    margin-bottom: 16px;
  }

  .timeline__dots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    margin: 0 0 4px;
    padding: 0;
    list-style: none;
  }

  .timeline__dots a {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    white-space: nowrap;
    padding: 8px 10px;
    border: 1px solid var(--line);
    background: var(--ink-100);
    border-radius: 999px;
    font-size: 0.86rem;
  }

  .timeline__dots a::before {
    display: none;
  }

  .timeline__dots a.is-active {
    border-color: rgba(91, 140, 255, 0.45);
    background: rgba(91, 140, 255, 0.12);
  }

  .timeline__stream {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .timeline__beam > span {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 780px) {
  :root {
    --gut: 18px;
  }

  #flow {
    overflow-x: clip;
  }

  .timeline__stream {
    --tl-gutter: 24px;
    gap: 14px;
    overflow: hidden;
  }

  .tl-card {
    max-width: 100%;
  }

  .tl-card__mark {
    top: 24px;
  }

  .tl-card__body {
    padding: 18px 16px 16px;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
  }

  .tl-card__body > p {
    font-size: 0.92rem;
  }

  .tl-card:hover .tl-card__body {
    transform: none;
  }
}

/* ---------- closing cta / downloads ---------- */

.closer {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-100);
  padding: 44px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.closer--download {
  align-items: flex-start;
}

.closer h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.closer p {
  color: var(--fg-dim);
  max-width: 46ch;
}

.download-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: min(100%, 340px);
  align-items: stretch;
}

.download-meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--fg-faint);
}

/* Single OS-aware download control */
.dl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(100%, 320px);
  position: relative;
  z-index: 5;
}

.dl--hero {
  width: min(100%, 300px);
  flex: 0 0 auto;
}

.dl__shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  height: 52px;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 28px rgba(0, 0, 0, 0.28);
}

.dl__go {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  height: 52px;
  padding: 0 16px;
  background: var(--fg);
  color: var(--ink-000);
  border-radius: 12px 0 0 12px;
  transition: background 0.18s ease, opacity 0.18s ease;
  min-width: 0;
}

.dl__go:hover {
  background: #ffffff;
}

.dl__go.is-disabled,
.dl__go[aria-disabled="true"] {
  opacity: 0.72;
}

.dl__icon {
  width: 22px;
  height: 22px;
  flex: none;
  display: grid;
  place-items: center;
}

.dl__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.dl__copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.2;
}

.dl__label {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl__ext {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  opacity: 0.55;
}

.dl__chev {
  appearance: none;
  width: 44px;
  border: 0;
  border-left: 1px solid rgba(5, 6, 10, 0.12);
  background: var(--fg);
  color: var(--ink-000);
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.18s ease;
}

.dl__chev:hover {
  background: #ffffff;
}

.dl__chev[aria-expanded="true"] {
  background: #e8eaef;
}

.dl__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #0d1016;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  display: grid;
  gap: 2px;
}

/* Hero: open upward so the menu never covers the facts row */
.dl--hero .dl__menu {
  top: auto;
  bottom: calc(100% + 10px);
}

.dl__menu[hidden] {
  display: none;
}

.hero-copy[data-dl-open="true"] .facts {
  opacity: 0.35;
  transition: opacity 0.2s ease;
}

.dl__opt {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.dl__opt:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dl__opt[aria-selected="true"] {
  background: rgba(91, 140, 255, 0.12);
}

.dl__opt[data-available="false"] {
  opacity: 0.55;
}

.dl__opt-icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--fg-dim);
  display: grid;
  place-items: center;
}

.dl__opt[aria-selected="true"] .dl__opt-icon {
  color: var(--accent);
}

.dl__opt-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.dl__opt-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.dl__opt-text strong {
  font-weight: 600;
  font-size: 0.92rem;
}

.dl__opt-text em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--fg-faint);
  letter-spacing: 0.04em;
}

.download-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.download-all {
  font-size: 0.86rem;
  color: var(--fg-faint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-all:hover {
  color: var(--fg-dim);
}

@media (max-width: 780px) {
  .dl,
  .dl--hero {
    width: 100%;
  }

  .docs-nav {
    border-radius: var(--r-md);
  }
}

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--line);
  padding: 30px 0 42px;
  color: var(--fg-faint);
  font-size: 0.86rem;
}

.foot__row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
}

.foot a:hover {
  color: var(--fg-dim);
}

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  filter: blur(8px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s ease;
}

[data-reveal][data-shown="true"] {
  opacity: 1;
  transform: none;
  filter: none;
}

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(4px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.65s ease;
  transition-delay: 0ms;
}

[data-reveal-stagger][data-shown="true"] > *:nth-child(1) {
  transition-delay: 40ms;
}
[data-reveal-stagger][data-shown="true"] > *:nth-child(2) {
  transition-delay: 120ms;
}
[data-reveal-stagger][data-shown="true"] > *:nth-child(3) {
  transition-delay: 200ms;
}
[data-reveal-stagger][data-shown="true"] > *:nth-child(4) {
  transition-delay: 280ms;
}
[data-reveal-stagger][data-shown="true"] > *:nth-child(5) {
  transition-delay: 360ms;
}
[data-reveal-stagger][data-shown="true"] > *:nth-child(6) {
  transition-delay: 440ms;
}

[data-reveal-stagger][data-shown="true"] > * {
  opacity: 1;
  transform: none;
  filter: none;
}

.band__head[data-reveal][data-shown="true"] h2 {
  background: linear-gradient(180deg, #ffffff 20%, #c5cedd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.band__head[data-reveal] h2 {
  color: var(--fg);
}

.step,
.plan,
.faq details {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}

.step:hover,
.plan:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal],
  [data-reveal-stagger] > *,
  .hero-in {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .hero-copy,
  .hero-demo-wrap,
  .hero-demo,
  .hero-pin {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    max-height: none !important;
  }

  .hero-pin {
    height: auto;
  }

  .hero-sticky {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
    padding-bottom: 40px;
  }

  .hero-demo-wrap {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .hero-demo-slot {
    overflow: visible;
    min-height: 0;
    margin-top: 0 !important;
  }

  .hero-demo-glow {
    animation: none !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .topnav {
    display: none;
  }

  .burger {
    display: block;
  }

  .topbar[data-compact="true"] .topbar__float {
    max-width: min(520px, 100%);
  }
}

@media (max-width: 1020px) {
  .hero-pin {
    height: 210vh;
  }

  .hero-demo-wrap {
    height: calc(
      (1 - var(--p)) * min(500px, 66%) + var(--p) * (100% - var(--demo-inset-top))
    );
    transform: translate3d(-50%, calc((1 - var(--p)) * 32%), 0);
  }

  .calc,
  .stealth,
  .stealth-lab,
  .brand-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 780px) {
  .topbar__actions .btn--line {
    display: none;
  }

  .topbar__float {
    border-radius: 18px;
  }

  .topbar {
    padding-top: 10px;
  }

  .topbar[data-compact="true"] .topbar__float {
    max-width: 100%;
  }

  .wordmark__text {
    display: none;
  }

  .band {
    padding: 56px 0;
  }

  .band--tight {
    padding: 48px 0;
  }

  .hero-stack {
    --hero-top: 58px;
    --demo-inset-top: 6px;
    --demo-inset-bottom: 8px;
  }

  .hero-pin {
    height: 200vh;
  }

  .hero-sticky {
    padding-top: 10px;
  }

  .hero-copy {
    padding-top: calc((1 - var(--p)) * 6px);
    padding-bottom: 0;
    text-align: left;
    max-height: calc((1 - var(--p)) * 520px);
    filter: blur(calc(var(--p) * 8px));
  }

  .hero-copy .tagline {
    justify-content: flex-start;
  }

  .hero-copy h1 {
    font-size: clamp(1.75rem, 7.6vw, 2.35rem);
    margin-bottom: 10px;
  }

  .hero-copy .hero__lead {
    margin-inline: 0;
    margin-bottom: 16px;
    font-size: 0.94rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-copy .hero__cta {
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-bottom: 10px;
    gap: 10px;
  }

  .hero-copy .dl,
  .hero-copy .dl--hero,
  .hero-copy .btn--hero-side {
    width: 100%;
    max-width: none;
  }

  .hero-copy .download-meta--hero {
    text-align: left;
  }

  .hero-copy .facts {
    margin-inline: 0;
    display: none;
  }

  .hero-demo-slot {
    min-height: 240px;
    margin-top: calc((1 - var(--p)) * -8px);
  }

  .hero-demo-wrap {
    height: calc(
      (1 - var(--p)) * min(480px, 100%) + var(--p) * (100% - var(--demo-inset-top))
    );
    transform: translate3d(-50%, calc((1 - var(--p)) * 38%), 0)
      scale(calc(0.96 + var(--p) * 0.04));
  }

  .hero-demo .demo__body {
    padding: 12px;
    gap: 10px;
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .closer,
  .closer--download {
    padding: 28px 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .download-panel {
    min-width: 0;
    width: 100%;
  }

  .dl {
    width: 100%;
  }

  .docs-teaser {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .calc {
    padding: 20px;
  }

  .controls {
    flex-direction: column;
    align-items: stretch;
  }

  .demo__run {
    justify-content: flex-end;
  }

  .facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .facts div {
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .facts div:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .am-mac__table {
    font-size: 0.62rem;
  }

  .am-mac__table th:nth-child(n + 4),
  .am-mac__table td:nth-child(n + 4) {
    display: none;
  }

  .faq-shell {
    max-width: 100%;
  }

  .tablewrap {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .hero-pin {
    height: 185vh;
  }

  .hero-demo-slot {
    min-height: 220px;
  }

  .hero-demo-wrap {
    height: calc(
      (1 - var(--p)) * min(440px, 100%) + var(--p) * (100% - var(--demo-inset-top))
    );
    transform: translate3d(-50%, calc((1 - var(--p)) * 36%), 0)
      scale(calc(0.97 + var(--p) * 0.03));
  }

  .tabs button {
    font-size: 0.78rem;
    padding: 10px 4px;
  }
}
