/* OpenMeet site. Brand colors follow docs/BRAND.md; red is an accent only. */

/* Fallback metrics close to Inter Tight, so the swap does not move text. */
@font-face {
  font-family: "Inter Tight Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 93%;
  ascent-override: 104%;
  descent-override: 26%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --card: #f6f6f7;
  --card-hover: #efeff1;
  --fg: #0a0a0b;
  --fg-2: #2b2b2f;
  --muted: #62626a;
  --soft-text: #8d8d95;
  --line: rgb(0 0 0 / 8%);
  --line-strong: rgb(0 0 0 / 14%);
  --btn-bg: #0a0a0b;
  --btn-fg: #ffffff;
  --btn-hover: #2a2a2e;
  --accent: #c8242a;
  --brand: #ff474c;
  --tint: #fff4f4;
  --tint-line: rgb(217 45 51 / 10%);
  --dark-panel: #0c0c0f;
  --dark-card: #16161a;
  --dark-card-hover: #1d1d22;
  --dark-line: rgb(255 255 255 / 8%);
  --float-bg: rgb(255 255 255 / 70%);
  --float-line: rgb(0 0 0 / 6%);
  --float-hover: rgb(0 0 0 / 5%);
  --float-shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 8px 24px -10px rgb(0 0 0 / 14%);
  --menu-bg: #ffffff;
  --shadow-lg: 0 1px 2px rgb(0 0 0 / 4%), 0 24px 60px -12px rgb(0 0 0 / 18%);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 5%), 0 8px 24px -8px rgb(0 0 0 / 10%);
  --glow-a: rgb(255 71 76 / 16%);
  --glow-b: rgb(255 176 120 / 22%);
  --glow-c: rgb(186 150 255 / 20%);
  --focus: #0a0a0b;
  --font: "Inter Tight", "Inter Tight Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b0b0c;
    --bg-soft: #111113;
    --card: #141416;
    --card-hover: #1a1a1d;
    --fg: #f4f4f5;
    --fg-2: #d6d6da;
    --muted: #a2a2aa;
    --soft-text: #7c7c85;
    --line: rgb(255 255 255 / 8%);
    --line-strong: rgb(255 255 255 / 16%);
    --btn-bg: #f4f4f5;
    --btn-fg: #0a0a0b;
    --btn-hover: #d9d9dd;
    --accent: #ff6b6f;
    --tint: rgb(255 71 76 / 7%);
    --tint-line: rgb(255 71 76 / 14%);
    --dark-panel: #121215;
    --dark-card: #1a1a1e;
    --dark-card-hover: #212126;
    --float-bg: rgb(28 28 32 / 62%);
    --float-line: rgb(255 255 255 / 9%);
    --float-hover: rgb(255 255 255 / 8%);
    --float-shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 10px 28px -10px rgb(0 0 0 / 60%);
    --menu-bg: #161619;
    --shadow-lg: 0 1px 2px rgb(0 0 0 / 40%), 0 24px 60px -12px rgb(0 0 0 / 70%);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%), 0 8px 24px -8px rgb(0 0 0 / 50%);
    --glow-a: rgb(255 71 76 / 12%);
    --glow-b: rgb(255 150 90 / 8%);
    --glow-c: rgb(150 110 255 / 11%);
    --focus: #f4f4f5;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0c;
  --bg-soft: #111113;
  --card: #141416;
  --card-hover: #1a1a1d;
  --fg: #f4f4f5;
  --fg-2: #d6d6da;
  --muted: #a2a2aa;
  --soft-text: #7c7c85;
  --line: rgb(255 255 255 / 8%);
  --line-strong: rgb(255 255 255 / 16%);
  --btn-bg: #f4f4f5;
  --btn-fg: #0a0a0b;
  --btn-hover: #d9d9dd;
  --accent: #ff6b6f;
  --tint: rgb(255 71 76 / 7%);
  --tint-line: rgb(255 71 76 / 14%);
  --dark-panel: #121215;
  --dark-card: #1a1a1e;
  --dark-card-hover: #212126;
  --float-bg: rgb(28 28 32 / 62%);
  --float-line: rgb(255 255 255 / 9%);
  --float-hover: rgb(255 255 255 / 8%);
  --float-shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 10px 28px -10px rgb(0 0 0 / 60%);
  --menu-bg: #161619;
  --shadow-lg: 0 1px 2px rgb(0 0 0 / 40%), 0 24px 60px -12px rgb(0 0 0 / 70%);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%), 0 8px 24px -8px rgb(0 0 0 / 50%);
  --glow-a: rgb(255 71 76 / 12%);
  --glow-b: rgb(255 150 90 / 8%);
  --glow-c: rgb(150 110 255 / 11%);
  --focus: #f4f4f5;
}

/* Base */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

p a,
.fine a,
.footnote a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.08em 0.36em;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

::selection {
  background: rgb(255 71 76 / 22%);
}

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

.nav-pill a:focus-visible,
.button:focus-visible,
.filter:focus-visible,
.chip:focus-visible,
.icon-button:focus-visible,
.copy:focus-visible {
  border-radius: 999px;
}

.fcard:focus-visible,
.gcard a:focus-visible,
.download:focus-visible {
  border-radius: var(--radius);
}

.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;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.wrap-narrow {
  width: 100%;
  max-width: 1112px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 720px) {
  .wrap,
  .wrap-narrow {
    padding: 0 32px;
  }
}

.arrow {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms var(--ease);
}

/* Type */

.display {
  font-size: clamp(40px, 6.6vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.h2 {
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.line-solid,
.line-soft {
  display: block;
}

.line-soft {
  color: var(--soft-text);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
  padding-bottom: 0.06em;
}

.kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker-plain {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
}

.section-lede {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 540px;
}

.fine {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  max-width: 420px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  padding: 6px 0;
}

.text-link:hover .arrow,
.button:hover .arrow,
.fcard:hover .fcard-arrow,
.gcard a:hover .arrow,
.chip:hover .arrow {
  transform: translateX(3px);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--ease);
}

.button:active {
  transform: scale(0.98);
}

.button-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
}

.button-primary:hover {
  background: var(--btn-hover);
}

.button-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}

.button-outline:hover {
  background: var(--card);
}

.button-light {
  background: #ffffff;
  color: #0a0a0b;
}

.button-light:hover {
  background: #e7e7ea;
}

.button-ghost-dark {
  background: transparent;
  color: #ffffff;
  border-color: rgb(255 255 255 / 22%);
}

.button-ghost-dark:hover {
  background: rgb(255 255 255 / 8%);
}

.button-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 15px;
}

.button-light:focus-visible,
.button-ghost-dark:focus-visible,
.features-panel :focus-visible,
.closing-panel :focus-visible,
.license-card :focus-visible {
  outline-color: #ffffff;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-row.left {
  justify-content: flex-start;
  margin-top: 32px;
}

/* Nav: no bar. The links float in a translucent pill; the logo and the
   actions float on their own and pick up a small pill of their own once the
   page scrolls under them. Phones get one compact pill. */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  pointer-events: none;
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}

.nav-inner > * {
  pointer-events: auto;
}

.float {
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

@media (min-width: 1024px) {
  .nav.is-scrolled .float {
    background: var(--float-bg);
    border-color: var(--float-line);
    box-shadow: var(--float-shadow);
    -webkit-backdrop-filter: saturate(160%) blur(20px);
    backdrop-filter: saturate(160%) blur(20px);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav .brand {
  height: 46px;
  padding: 0 16px 0 9px;
  margin-left: -10px;
}

.nav-pill {
  display: none;
}

.nav-pill a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--muted);
  transition: color 150ms ease, background-color 150ms ease;
}

.nav-pill a:hover {
  color: var(--fg);
  background: var(--float-hover);
}

.gh {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.nav-stars-count:empty {
  display: none;
}

.nav-stars-count {
  font-variant-numeric: tabular-nums;
}

.nav-pill .nav-menu-only {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
}

.nav-quiet {
  display: none;
  padding: 8px 12px;
  font-size: 15px;
  color: var(--muted);
  border-radius: 999px;
}

.nav-quiet:hover {
  color: var(--fg);
}

.nav-cta {
  margin-left: 2px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.icon-button:hover {
  background: var(--float-hover);
  color: var(--fg);
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sun {
  display: none;
}

:root[data-theme="dark"] .icon-sun {
  display: block;
}

:root[data-theme="dark"] .icon-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun {
    display: block;
  }

  :root:not([data-theme="light"]) .icon-moon {
    display: none;
  }
}

.menu-button .menu-close {
  display: none;
}

.menu-button[aria-expanded="true"] .menu-open {
  display: none;
}

.menu-button[aria-expanded="true"] .menu-close {
  display: block;
}

/* Phones and tablets: one compact pill with the logo, the theme toggle and
   the menu button. The menu opens as a floating card under it. */
@media (max-width: 1023px) {
  .nav-inner {
    width: fit-content;
    max-width: calc(100% - 24px);
    height: auto;
    margin: 10px 12px 0;
    padding: 0;
    gap: 6px;
    border: 1px solid var(--float-line);
    border-radius: 999px;
    background: var(--float-bg);
    box-shadow: var(--float-shadow);
    -webkit-backdrop-filter: saturate(160%) blur(20px);
    backdrop-filter: saturate(160%) blur(20px);
  }

  .nav .brand {
    height: 48px;
    margin-left: 0;
    padding: 0 6px 0 10px;
    font-size: 17px;
  }

  .nav-actions {
    padding: 2px;
  }

  .nav-cta {
    display: none;
  }

  .nav-pill.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: min(320px, calc(100vw - 24px));
    padding: 8px;
    border: 1px solid var(--float-line);
    border-radius: 24px;
    background: var(--menu-bg);
    box-shadow: var(--shadow-lg);
    -webkit-backdrop-filter: saturate(160%) blur(24px);
    backdrop-filter: saturate(160%) blur(24px);
  }

  .nav-pill.is-open a {
    padding: 12px 14px;
    font-size: 17px;
    color: var(--fg);
  }

  .nav-pill.is-open a.nav-menu-only {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .nav .brand {
    justify-self: start;
  }

  .nav-pill {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 5px;
    border: 1px solid var(--float-line);
    border-radius: 999px;
    background: var(--float-bg);
    box-shadow: var(--float-shadow);
    -webkit-backdrop-filter: saturate(160%) blur(20px);
    backdrop-filter: saturate(160%) blur(20px);
  }

  .nav-actions {
    justify-self: end;
    margin-right: -4px;
  }

  .nav-actions .icon-button {
    width: 40px;
    height: 40px;
  }

  .nav-quiet {
    display: inline-flex;
  }

  .menu-button {
    display: none;
  }
}

/* Hero */

.hero {
  position: relative;
  padding-top: 72px;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  inset: 300px 0 auto;
  height: 620px;
  background:
    radial-gradient(38% 46% at 28% 55%, var(--glow-b), transparent 70%),
    radial-gradient(34% 44% at 52% 48%, var(--glow-c), transparent 70%),
    radial-gradient(36% 46% at 74% 56%, var(--glow-a), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--fg);
}

.chip:hover {
  background: var(--card);
}

.chip-muted {
  color: var(--muted);
}

.chip-sep {
  width: 1px;
  height: 18px;
  background: var(--line-strong);
}

.hero .display {
  margin-top: 28px;
}

.hero-sub {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}

.hero-sub span {
  display: block;
}

.hero .cta-row {
  margin-top: 36px;
}

/* Marquee */

.marquee {
  width: 100%;
  margin-top: 72px;
}

.marquee .kicker {
  margin-bottom: 22px;
}

.marquee-mask {
  display: flex;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.marquee-track {
  display: flex;
  flex: none;
  gap: 44px;
  padding-right: 44px;
  animation: marquee 42s linear infinite;
}

.marquee-track li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-track li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.5;
}

.marquee-mask:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

/* Product shot */

.shot-wrap {
  margin-top: 64px;
}

.shot-stack {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0 8px;
}

.shot-main {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.shot-back {
  display: none;
}

@media (min-width: 900px) {
  .shot-stack {
    padding: 40px 0 16px;
  }

  .shot-main {
    width: 82%;
    margin: 0 auto;
    border-radius: 18px;
  }

  .shot-back {
    display: block;
    position: absolute;
    z-index: 1;
    top: 8px;
    width: 50%;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    opacity: 0.9;
  }

  .shot-back-left {
    left: -2%;
    transform: perspective(1600px) rotateY(16deg) rotateZ(-5deg);
    transform-origin: right center;
  }

  .shot-back-right {
    right: -2%;
    transform: perspective(1600px) rotateY(-16deg) rotateZ(5deg);
    transform-origin: left center;
  }
}

/* Sections */

.section {
  padding: 96px 0;
}

@media (min-width: 900px) {
  .section {
    padding: 128px 0;
  }
}

.section-head .kicker {
  margin-bottom: 22px;
}

.section-head.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Features (dark panel) */

.features {
  padding: 72px 8px 0;
}

@media (min-width: 720px) {
  .features {
    padding: 88px 16px 0;
  }
}

.features-panel {
  max-width: 1408px;
  margin: 0 auto;
  border-radius: 32px;
  background: var(--dark-panel);
  color: #f4f4f5;
  padding: 72px 0 56px;
  border: 1px solid var(--dark-line);
}

@media (min-width: 900px) {
  .features-panel {
    border-radius: 48px;
    padding: 120px 0 88px;
  }
}

.features-panel .line-soft {
  color: #8d8d96;
}

.features-head {
  display: grid;
  gap: 28px;
  margin-bottom: 64px;
}

.features-intro p {
  color: #a7a7b0;
  font-size: 17px;
  max-width: 460px;
}

.features-intro .text-link {
  margin-top: 16px;
  color: #ffffff;
}

@media (min-width: 900px) {
  .features-head {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
    margin-bottom: 96px;
  }
}

.group {
  display: grid;
  gap: 24px;
  padding: 32px 0;
}

.group + .group {
  border-top: 1px solid var(--dark-line);
}

.group-text h3 {
  font-size: 24px;
  letter-spacing: -0.025em;
}

.group-text p {
  margin-top: 10px;
  font-size: 15px;
  color: #a7a7b0;
  max-width: 320px;
}

.group-cards {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .group-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .group {
    grid-template-columns: 240px 1fr;
    gap: 40px;
    padding: 40px 0;
  }

  .group + .group {
    border-top: 0;
  }
}

.fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--dark-card);
  border: 1px solid var(--dark-line);
  transition: background-color 180ms ease, transform 220ms var(--ease);
}

.fcard:hover {
  background: var(--dark-card-hover);
}

.ficon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(180deg, #2a2a30, #1f1f24);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%), 0 4px 12px rgb(0 0 0 / 30%);
  color: #f4f4f5;
}

.ficon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ficon .dot {
  stroke: var(--brand);
  fill: none;
}

.ficon circle.dot {
  fill: var(--brand);
  stroke: none;
}

.fcard-title {
  margin-top: 28px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.fcard-text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: #a7a7b0;
}

.fcard-arrow {
  position: absolute;
  top: 26px;
  right: 24px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #8d8d96;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms var(--ease), stroke 200ms ease;
}

.fcard:hover .fcard-arrow {
  stroke: #ffffff;
}

.surfaces {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--dark-line);
  font-size: 15px;
  color: #a7a7b0;
}

.surfaces ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  color: #ffffff;
}

/* How it works */

.how-layout {
  margin-top: 64px;
}

.steps {
  position: relative;
  counter-reset: step;
}

.steps::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}

.step {
  position: relative;
  padding: 0 0 72px 64px;
}

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

.step-num {
  position: absolute;
  left: 0;
  top: -6px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.step.is-active .step-num {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-fg);
}

.step-label {
  font-size: 15px;
  color: var(--muted);
}

.step-title {
  margin-top: 14px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.step-text {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 500px;
}

.step .text-link {
  margin-top: 18px;
}

.step-figure {
  margin: 28px 0 0;
}

@media (max-width: 1023px) {
  .step-figure {
    position: relative;
    margin-left: -64px;
  }
}

.terminal {
  margin-top: 24px;
  max-width: 540px;
  border-radius: 16px;
  background: #111114;
  color: #ececef;
  border: 1px solid rgb(255 255 255 / 8%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 10px 10px 16px;
  border-bottom: 1px solid rgb(255 255 255 / 7%);
}

.tdot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 16%);
}

.terminal-title {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: #8d8d96;
}

.copy {
  margin-left: auto;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 999px;
  background: transparent;
  color: #ececef;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.copy:hover {
  background: rgb(255 255 255 / 8%);
}

.copy:focus-visible {
  outline-color: #ffffff;
}

.terminal pre {
  margin: 0;
  padding: 18px 20px 20px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
}

.terminal code {
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
  color: inherit;
  white-space: pre;
}

.stage {
  display: none;
}

@media (min-width: 1024px) {
  .how-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    margin-top: 96px;
  }

  .step {
    min-height: 74vh;
    padding-bottom: 0;
  }

  .step:last-child {
    min-height: 0;
    padding-bottom: 20vh;
  }

  /* With the script, the pictures move into the sticky stage. */
  .js .step-figure {
    display: none;
  }

  .js .stage {
    display: block;
  }

  .stage-sticky {
    position: sticky;
    top: max(96px, calc(50vh - 290px));
  }

  .stage-frame {
    position: relative;
    aspect-ratio: 560 / 440;
  }

  .stage-frame::before {
    content: "";
    position: absolute;
    inset: -6% -4% -6% 6%;
    border-radius: 28px;
    background: radial-gradient(60% 60% at 60% 50%, var(--glow-c), transparent 70%), radial-gradient(50% 60% at 30% 60%, var(--glow-b), transparent 70%);
    filter: blur(24px);
    z-index: -1;
  }

  .stage-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    transition: opacity 420ms var(--ease), transform 520ms var(--ease);
    pointer-events: none;
  }

  .stage-item.is-active {
    opacity: 1;
    transform: none;
  }

  .stage-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
  }

  .stage-caption {
    font-size: 14px;
    color: var(--muted);
  }

  .stage-dots {
    display: flex;
    gap: 10px;
  }

  .stage-dots span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--line-strong);
    transition: background-color 250ms ease, transform 250ms ease;
  }

  .stage-dots span.is-active {
    background: var(--fg);
    transform: scale(1.2);
  }
}

/* How it works: small HTML copies of the app's own screens. Each mock is
   drawn on a fixed 560 x 440 canvas and scaled to its container with
   tan(atan2()), which turns 100cqw / 560px into a plain number. Colors,
   radii and type follow apps/web (packages/ui/src/styles.css). */

.mock {
  --m-bg: #ffffff;
  --m-fg: rgb(0 0 0 / 87%);
  --m-fg-2: rgb(0 0 0 / 60%);
  --m-fg-3: rgb(0 0 0 / 42%);
  --m-line: rgb(0 0 0 / 10%);
  --m-line-2: rgb(0 0 0 / 6%);
  --m-soft: #f5f5f5;
  --m-surface: #fafafa;
  --m-primary: #d92d33;
  --m-link: #c8242a;
  --m-tint: #ffedee;
  --m-dots: rgb(0 0 0 / 14%);
  --m-shadow: 0 1px 2px rgb(0 0 0 / 5%), 0 24px 56px -18px rgb(0 0 0 / 28%);
  --m-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --m-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  position: relative;
  width: 100%;
  aspect-ratio: 560 / 440;
  container-type: inline-size;
  overflow: visible;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mock {
    --m-bg: #1b1b1c;
    --m-fg: rgb(255 255 255 / 87%);
    --m-fg-2: rgb(255 255 255 / 60%);
    --m-fg-3: rgb(255 255 255 / 42%);
    --m-line: rgb(255 255 255 / 10%);
    --m-line-2: rgb(255 255 255 / 6%);
    --m-soft: #262626;
    --m-surface: #161616;
    --m-primary: #ff474c;
    --m-link: #ff6b6f;
    --m-tint: rgb(255 71 76 / 14%);
    --m-dots: rgb(255 255 255 / 12%);
    --m-shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 24px 56px -18px rgb(0 0 0 / 80%);
  }
}

:root[data-theme="dark"] .mock {
  --m-bg: #1b1b1c;
  --m-fg: rgb(255 255 255 / 87%);
  --m-fg-2: rgb(255 255 255 / 60%);
  --m-fg-3: rgb(255 255 255 / 42%);
  --m-line: rgb(255 255 255 / 10%);
  --m-line-2: rgb(255 255 255 / 6%);
  --m-soft: #262626;
  --m-surface: #161616;
  --m-primary: #ff474c;
  --m-link: #ff6b6f;
  --m-tint: rgb(255 71 76 / 14%);
  --m-dots: rgb(255 255 255 / 12%);
  --m-shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 24px 56px -18px rgb(0 0 0 / 80%);
}

.mock-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 560px;
  height: 440px;
  transform-origin: 0 0;
  transform: scale(tan(atan2(100cqw, 560px)));
  font-family: var(--m-font);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--m-fg);
  text-align: left;
}

.mock-canvas p,
.mock-canvas ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mock-canvas b {
  font-weight: 600;
}

.mock-canvas svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.m-panel {
  position: absolute;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--m-line);
  background: var(--m-bg);
  box-shadow: var(--m-shadow);
}

/* The dark panel that peeks out behind, tilted. It stays dark in both themes. */
.m-back {
  --m-fg: rgb(255 255 255 / 87%);
  --m-fg-2: rgb(255 255 255 / 60%);
  --m-fg-3: rgb(255 255 255 / 42%);
  --m-line: rgb(255 255 255 / 10%);
  --m-soft: #262626;
  background: #161616;
  color: var(--m-fg);
  border-color: rgb(255 255 255 / 8%);
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / 45%);
  transform: rotate(6deg);
  transform-origin: 50% 50%;
}

.m-lights {
  display: inline-flex;
  gap: 6px;
}

.m-lights i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff5f57;
}

.m-lights i:nth-child(2) {
  background: #febc2e;
}

.m-lights i:nth-child(3) {
  background: #28c840;
}

.m-label {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
}

.m-label em {
  color: var(--m-primary);
  font-style: normal;
}

.m-input {
  display: flex;
  align-items: center;
  height: 36px;
  margin-top: 6px;
  padding: 0 12px;
  border: 1px solid var(--m-line);
  border-radius: 12px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.m-caret {
  width: 1.5px;
  height: 16px;
  margin-left: 2px;
  background: var(--m-fg);
}

.m-send {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--m-primary);
  color: #ffffff;
}

.m-send svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.m-av {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--m-soft);
  color: var(--m-fg-2);
  font-size: 11px;
  font-weight: 500;
}

.m-av-ai {
  background: var(--m-tint);
}

.m-msg {
  display: flex;
  gap: 10px;
}

.m-msg > div {
  min-width: 0;
  flex: 1;
}

.m-msg-meta {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 13px;
}

.m-msg-meta time {
  font-size: 11px;
  color: var(--m-fg-3);
}

.m-msg-text {
  margin-top: 1px;
  font-size: 13px;
  line-height: 1.5;
}

/* 01 Install: a terminal with a browser behind it */

.m-browser {
  left: 230px;
  top: 6px;
  width: 310px;
  height: 230px;
  background: #ffffff;
  border-color: rgb(0 0 0 / 8%);
  color: rgb(0 0 0 / 87%);
  transform: rotate(6deg);
}

.m-browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  background: #f5f5f5;
}

.m-url {
  flex: 1;
  height: 20px;
  border-radius: 6px;
  background: #ffffff;
  font-size: 10.5px;
  line-height: 20px;
  text-align: center;
  color: rgb(0 0 0 / 60%);
}

.m-browser-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 70px 0;
  font-size: 13px;
}

.m-skel {
  height: 8px;
  border-radius: 4px;
  background: rgb(0 0 0 / 7%);
}

.m-skel.tall {
  height: 26px;
  margin-top: 6px;
  border-radius: 8px;
}

.w60 { width: 60%; }
.w80 { width: 80%; }
.w90 { width: 100%; }

.m-term {
  left: 0;
  top: 62px;
  width: 500px;
  height: 360px;
  background: #111114;
  color: #ececef;
  border-color: rgb(255 255 255 / 8%);
  box-shadow: 0 1px 2px rgb(0 0 0 / 20%), 0 30px 60px -20px rgb(0 0 0 / 50%);
}

.m-term-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid rgb(255 255 255 / 7%);
  font-family: var(--m-mono);
  font-size: 11px;
  color: #8d8d96;
}

.m-term-body {
  margin: 0;
  padding: 14px 16px;
  font-family: var(--m-mono);
  font-size: 11.5px;
  line-height: 1.62;
  white-space: normal;
}

.t-line {
  display: block;
  white-space: pre-wrap;
}

.t-gap {
  height: 8px;
}

.t-bold {
  font-weight: 600;
  color: #ffffff;
}

.t-prompt {
  color: #ff474c;
}

.t-ok {
  color: #4ade80;
}

.t-dim {
  color: #8d8d96;
}

.t-url {
  color: #ff8a8d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.t-code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgb(255 255 255 / 10%);
  color: #ffffff;
}

.t-caret {
  display: inline-block;
  width: 7px;
  height: 13px;
  margin-left: 4px;
  vertical-align: -2px;
  background: #ececef;
}

/* 02 Invite: the sign-in card, the desktop app behind it */

.m-desktop {
  left: 252px;
  top: 14px;
  width: 290px;
  height: 330px;
}

.m-desktop-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 30px;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 600;
  color: rgb(255 255 255 / 55%);
}

.m-desktop-body {
  padding: 26px 26px 0 72px;
  font-size: 12px;
}

.m-desktop-body b {
  display: block;
  margin-top: 12px;
  font-size: 16px;
}

.m-desktop-body p {
  margin-top: 4px;
  font-size: 11px;
  color: var(--m-fg-2);
}

.m-desktop .m-label {
  font-size: 11px;
}

.m-desktop .m-input {
  height: 30px;
  border-color: rgb(255 255 255 / 24%);
  border-radius: 7px;
  font-size: 12px;
}

.m-hint {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  color: var(--m-fg-3);
}

.m-connect {
  display: grid;
  place-items: center;
  height: 30px;
  margin-top: 14px;
  border-radius: 7px;
  background: #ec5452;
  color: #000000;
  font-size: 12px;
  font-weight: 500;
}

.m-signin {
  left: 18px;
  top: 22px;
  width: 296px;
  height: 410px;
  padding: 20px 22px;
}

.m-signin-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 600;
}

.m-signin-title {
  display: block;
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.25;
}

.m-signin-sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--m-fg-2);
}

.m-input-focus {
  border-color: var(--m-fg-3);
  box-shadow: 0 0 0 3px var(--m-line-2);
}

.m-button {
  display: grid;
  place-items: center;
  height: 38px;
  margin-top: 18px;
  border: 1px solid var(--m-line);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 1px 2px var(--m-line-2);
}

/* 03 Chat and call: the meeting chat panel, the call stage behind it */

.m-call {
  left: 214px;
  top: 4px;
  width: 330px;
  height: 300px;
  padding: 12px;
  background: #0b0b0c;
}

.m-rec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgb(0 0 0 / 60%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
}

.m-rec i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ef4444;
}

.m-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.m-tile {
  position: relative;
  display: grid;
  place-items: center;
  height: 168px;
  border-radius: 10px;
  border: 1px solid rgb(255 255 255 / 6%);
  background: #1a1a1f;
}

.m-tile-speaking {
  box-shadow: inset 0 0 0 2px #4ade80;
}

.m-tile-av {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #2c2c33;
  color: rgb(255 255 255 / 70%);
  font-size: 15px;
}

.m-tile-name {
  position: absolute;
  left: 7px;
  bottom: 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgb(0 0 0 / 55%);
  color: #ffffff;
  font-size: 10px;
}

.m-tile-name svg {
  width: 10px;
  height: 10px;
  color: #ff6b6f;
}

.m-signal {
  position: absolute;
  top: 7px;
  right: 7px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  padding: 2px 3px;
  border-radius: 4px;
  background: rgb(0 0 0 / 50%);
}

.m-signal i {
  width: 2px;
  height: 4px;
  background: #22c55e;
}

.m-signal i:nth-child(2) {
  height: 6px;
}

.m-signal i:nth-child(3) {
  height: 8px;
}

.m-dock {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: max-content;
  margin: 14px auto 0;
  padding: 6px 8px;
  border-radius: 999px;
  background: #ffffff;
}

.m-dock-btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #3f3f46;
}

.m-dock-btn svg {
  width: 15px;
  height: 15px;
}

.m-dock-btn.is-off {
  color: #d92d33;
  box-shadow: inset 0 0 0 1.5px #f3a5a7;
}

.m-dock-btn.is-on {
  color: #d92d33;
  box-shadow: inset 0 0 0 1.5px #d92d33;
}

.m-dock-btn.is-leave {
  background: #ffedee;
  color: #d92d33;
}

.m-chatpanel {
  left: 12px;
  top: 34px;
  display: flex;
  flex-direction: column;
  width: 356px;
  height: 396px;
}

.m-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--m-line);
  font-size: 13.5px;
}

.m-chat-head svg {
  width: 15px;
  height: 15px;
  color: var(--m-fg-2);
}

.m-chat-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 12px 14px;
}

.m-mention {
  color: var(--m-link);
  font-weight: 500;
}

.m-ai-tag {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--m-soft);
  color: var(--m-fg-2);
  font-size: 9.5px;
  font-weight: 600;
  line-height: 15px;
}

.m-type {
  min-height: 58px;
}

.m-file {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 8px 9px;
  border: 1px solid var(--m-line);
  border-radius: 10px;
  background: var(--m-bg);
  transition: opacity 300ms ease, transform 400ms var(--ease);
}

.m-file-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--m-line);
  color: #2563eb;
}

.m-file-icon svg {
  width: 16px;
  height: 16px;
}

.m-file-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  font-size: 12px;
  line-height: 1.35;
}

.m-file-text b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-file-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  color: var(--m-fg-3);
}

.m-file-open {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 1px 6px;
  border: 1px solid var(--m-line);
  border-radius: 6px;
  color: var(--m-fg);
  font-size: 10.5px;
  font-weight: 500;
}

.m-file-open svg {
  width: 11px;
  height: 11px;
}

.m-asked {
  margin-top: 5px;
  font-size: 10.5px;
  color: var(--m-fg-3);
  transition: opacity 300ms ease;
}

.m-composer {
  margin: 0 12px 12px;
  padding: 9px 12px 8px;
  border: 1.5px solid var(--m-primary);
  border-radius: 16px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--m-primary) 12%, transparent);
}

.m-composer-ph {
  display: block;
  font-size: 13px;
  color: var(--m-fg-3);
}

.m-composer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--m-fg-2);
}

.m-composer-row i {
  font-style: normal;
}

.m-composer-row .m-send {
  margin-left: auto;
}

.is-typing .m-file,
.is-typing .m-asked {
  opacity: 0;
  transform: translateY(4px);
}

.m-type.is-typing::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--m-primary);
  vertical-align: 1px;
}

/* 04 Space: canvas with cards, a docked call, cursors and the AI box */

.m-space {
  left: 0;
  top: 10px;
  display: flex;
  flex-direction: column;
  width: 560px;
  height: 420px;
}

.m-space-top {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--m-line);
}

.m-space-top > svg {
  width: 15px;
  height: 15px;
}

.m-space-top span {
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
  line-height: 1.25;
}

.m-space-top small,
.m-calldock-head small {
  font-size: 10.5px;
  color: var(--m-fg-3);
}

.m-faces {
  flex-direction: row !important;
  margin-left: auto;
}

.m-faces i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: -6px;
  border-radius: 999px;
  border: 2px solid var(--m-bg);
  color: #ffffff;
  font-size: 8.5px;
  font-style: normal;
  font-weight: 600;
}

.f1 { background: #d92d33; }
.f2 { background: #0f766e; }
.f3 { background: #6d28d9; }

.m-space-main {
  display: flex;
  flex: 1;
  min-height: 0;
}

.m-calldock {
  display: flex;
  flex-direction: column;
  flex: none;
  width: 124px;
  border-right: 1px solid var(--m-line);
}

.m-calldock-head {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 9px 10px;
  font-size: 11px;
  line-height: 1.3;
  border-bottom: 1px solid var(--m-line);
}

.m-calldock-head > i {
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 5px;
  border-radius: 999px;
  background: #22c55e;
}

.m-calldock-head span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.m-calldock-head b {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.m-calldock-head small {
  font-size: 9.5px;
}

.m-calldock-tile {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  margin: 8px;
  border-radius: 10px;
  background: #121215;
  box-shadow: inset 0 0 0 2px #4ade80;
}

.m-calldock-tile .m-rec {
  position: absolute;
  top: 7px;
  left: 7px;
  font-size: 8.5px;
}

.m-calldock-tile .m-tile-av {
  width: 40px;
  height: 40px;
  font-size: 13px;
}

.m-calldock-tile .m-tile-name {
  font-size: 9px;
}

.m-calldock-ctrl {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 2px 0 12px;
}

.m-calldock-ctrl i {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--m-soft);
}

.m-calldock-ctrl i.is-off {
  background: var(--m-tint);
}

.m-calldock-ctrl i.is-leave {
  background: var(--m-primary);
}

.m-board {
  position: relative;
  flex: 1;
  overflow: hidden;
  background-color: var(--m-surface);
  background-image: radial-gradient(var(--m-dots) 1px, transparent 1.2px);
  background-size: 16px 16px;
}

.m-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--m-line);
  border-radius: 10px;
  background: var(--m-bg);
  box-shadow: 0 1px 2px rgb(0 0 0 / 5%), 0 6px 16px -8px rgb(0 0 0 / 18%);
}

.m-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 9px;
  border-bottom: 1px solid var(--m-line);
  font-size: 10.5px;
  font-weight: 500;
}

.m-card-head svg {
  width: 12px;
  height: 12px;
}

.m-ic-doc {
  color: #2563eb;
}

.m-ic-sheet {
  color: #16a34a;
}

.m-doc {
  left: 18px;
  top: 22px;
  width: 196px;
  height: 172px;
}

.m-card-body {
  padding: 10px 12px;
}

.m-card-body b {
  font-size: 14px;
}

.m-card-body ul {
  display: grid;
  gap: 4px;
  margin-top: 7px;
}

.m-card-body li {
  position: relative;
  padding-left: 11px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--m-fg-2);
}

.m-card-body li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}

.m-pin {
  position: absolute;
  right: 12px;
  top: 38px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px 999px 999px 2px;
  background: #0f9f8f;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  box-shadow: 0 0 0 2px var(--m-bg);
}

.m-sheet {
  left: 232px;
  top: 40px;
  width: 190px;
}

.m-sheet table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9.5px;
  table-layout: fixed;
}

.m-sheet th,
.m-sheet td {
  height: 19px;
  padding: 0 4px;
  border: 1px solid var(--m-line-2);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.m-sheet th {
  width: 16px;
  background: var(--m-soft);
  color: var(--m-fg-3);
  font-weight: 400;
  text-align: center;
}

.m-sheet tr:first-child th:not(:first-child) {
  width: auto;
}

.m-sheet td b {
  font-weight: 600;
}

.m-sheet td.n {
  text-align: right;
}

.m-sheet td.is-sel {
  box-shadow: inset 0 0 0 1.5px #1d4ed8;
}

.m-sticky {
  position: absolute;
  left: 280px;
  top: 172px;
  width: 128px;
  padding: 10px 11px;
  background: #fff1a6;
  color: rgb(0 0 0 / 80%);
  font-size: 11.5px;
  line-height: 1.4;
  box-shadow: 0 6px 14px -8px rgb(0 0 0 / 30%);
  transform: rotate(-2deg);
}

.m-arrow {
  position: absolute;
  left: 214px;
  top: 150px;
  width: 70px;
  height: 40px;
  color: #2563eb;
  stroke-width: 1.6 !important;
}

.m-cursor {
  position: absolute;
  display: flex;
  align-items: flex-start;
  pointer-events: none;
}

.m-cursor svg {
  width: 16px;
  height: 16px;
  fill: var(--c);
  stroke: #ffffff;
  stroke-width: 1.4;
}

.m-cursor span {
  margin: 12px 0 0 -2px;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--c);
  color: #ffffff;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.m-cursor-a {
  left: 96px;
  top: 206px;
  --c: #6d28d9;
}

.m-cursor-b {
  left: 318px;
  top: 236px;
  --c: #1d4ed8;
}

.m-askai {
  position: absolute;
  left: 50%;
  bottom: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 300px;
  height: 36px;
  padding: 0 5px 0 14px;
  border: 1px solid color-mix(in srgb, var(--m-primary) 45%, transparent);
  border-radius: 999px;
  background: var(--m-bg);
  font-size: 12px;
  color: var(--m-fg-3);
  box-shadow: 0 4px 14px -6px rgb(0 0 0 / 18%);
  transform: translateX(-50%);
}

.m-toolbar {
  position: absolute;
  left: 50%;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--m-line);
  border-radius: 12px;
  background: var(--m-bg);
  box-shadow: 0 4px 14px -6px rgb(0 0 0 / 18%);
  transform: translateX(-50%);
}

.m-toolbar i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: var(--m-fg-2);
}

.m-toolbar i.is-on {
  background: var(--m-primary);
  color: #ffffff;
}

.m-toolbar svg {
  width: 14px;
  height: 14px;
}

.m-toolbar i.is-on svg {
  fill: currentColor;
}

.m-toolbar span {
  padding: 0 8px 0 6px;
  border-left: 1px solid var(--m-line);
  margin-left: 2px;
  font-size: 11px;
  color: var(--m-fg-2);
  white-space: nowrap;
}

/* 05 Notes: the summary and timeline, the ended call card behind */

.m-ended {
  left: 236px;
  top: 4px;
  width: 310px;
  height: 140px;
  padding: 16px 14px;
}

.m-callcard {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 7px;
  padding: 9px 10px;
  border: 1px solid var(--m-line);
  border-radius: 12px;
  background: rgb(255 255 255 / 4%);
}

.m-callcard-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgb(255 255 255 / 8%);
}

.m-callcard-icon svg {
  width: 15px;
  height: 15px;
}

.m-callcard-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.35;
}

.m-callcard-text b {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.m-callcard-text span {
  font-size: 10.5px;
  color: var(--m-fg-3);
}

.m-callcard-link {
  flex: none;
  font-size: 11.5px;
  font-weight: 600;
}

.m-notes {
  left: 0;
  top: 104px;
  width: 560px;
  height: 306px;
}

.m-notes-head {
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--m-line);
}

.m-notes-head p:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.m-badge {
  padding: 1px 7px;
  border-radius: 6px;
  background: color-mix(in srgb, #16a34a 12%, transparent);
  color: #15803d;
  font-size: 10.5px;
  font-weight: 500;
}

:root[data-theme="dark"] .m-badge {
  color: #4ade80;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .m-badge {
    color: #4ade80;
  }
}

.m-notes-meta {
  margin-top: 2px !important;
  font-size: 11.5px;
  color: var(--m-fg-2);
}

.m-notes-grid {
  display: grid;
  grid-template-columns: 1fr 186px;
}

.m-notes-main {
  padding: 12px 18px;
  border-right: 1px solid var(--m-line);
}

.m-notes-side {
  padding: 12px 14px;
}

.m-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 6px !important;
  font-size: 12px;
  color: var(--m-fg-2);
}

.m-tabs span {
  padding: 3px 8px;
  border-radius: 7px;
}

.m-tabs span.is-on {
  background: var(--m-soft);
  color: var(--m-fg);
  font-weight: 500;
}

.m-h {
  margin-top: 10px !important;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m-fg-3);
}

.m-list li {
  position: relative;
  margin-top: 4px;
  padding-left: 12px;
  font-size: 12.5px;
  line-height: 1.45;
}

.m-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--m-fg-3);
}

.m-actions li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12.5px;
}

.m-actions i {
  flex: none;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--m-fg-3);
  border-radius: 4px;
}

.m-actions li.is-done i {
  border-color: var(--m-primary);
  background: var(--m-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5 8l4-4.5' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.m-actions span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.m-actions em {
  flex: none;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--m-soft);
  color: var(--m-fg-2);
  font-size: 10.5px;
  font-style: normal;
}

.m-actions time {
  flex: none;
  width: 40px;
  font-size: 10.5px;
  color: var(--m-fg-3);
  text-align: right;
}

.m-speaker {
  margin-top: 9px;
}

.m-speaker p {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
}

.m-speaker p span {
  margin-left: auto;
  font-size: 10px;
  color: var(--m-fg-3);
}

.m-speaker p i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

.m-bar {
  position: relative;
  display: block;
  height: 5px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--m-soft);
}

.m-bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
}

.c1 { background: #d92d33; }
.c2 { background: #ff6b6f; }
.c3 { background: #65a30d; }
.c4 { background: #a3e635; }

/* Motion: only when the step is in view, and never with reduced motion. */

@media (prefers-reduced-motion: no-preference) {
  .is-active .mock-install .t-line {
    animation: m-line-in 260ms var(--ease) both;
    animation-delay: calc(var(--i) * 140ms + 150ms);
  }

  .t-caret {
    animation: m-blink 1s steps(1) infinite;
  }

  .m-caret {
    animation: m-blink 1s steps(1) infinite;
  }

  .is-active .m-cursor-a {
    animation: m-drift-a 7s ease-in-out infinite;
  }

  .is-active .m-cursor-b {
    animation: m-drift-b 9s ease-in-out infinite;
  }

  .is-active .mock-notes .m-bar i {
    animation: m-grow 700ms var(--ease) both;
    transform-origin: left center;
  }
}

@keyframes m-line-in {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
}

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

@keyframes m-drift-a {
  0%, 100% { transform: translate(0, 0); }
  40% { transform: translate(26px, -14px); }
  70% { transform: translate(12px, 10px); }
}

@keyframes m-drift-b {
  0%, 100% { transform: translate(0, 0); }
  35% { transform: translate(-20px, 18px); }
  65% { transform: translate(10px, 30px); }
}

@keyframes m-grow {
  from {
    transform: scaleX(0);
  }
}

/* Clients */

.clients-section {
  padding-top: 0;
}

.clients {
  display: grid;
  gap: 28px;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.clients .kicker {
  margin-bottom: 18px;
}

.clients-title {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.clients-body p {
  color: var(--muted);
  font-size: 16px;
}

.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.download {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color 150ms ease, background-color 150ms ease;
}

.download:hover {
  border-color: var(--line-strong);
  background: var(--card);
}

.download strong {
  font-weight: 500;
}

.download span {
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .clients {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 48px;
    align-items: start;
  }
}

/* Gallery */

.gallery {
  padding-top: 48px;
}

.gallery-layout {
  display: grid;
  gap: 48px;
}

.gallery-side .kicker {
  margin-bottom: 22px;
}

.gallery-side .button {
  margin-top: 32px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.filter {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.filter:hover {
  color: var(--fg);
}

.filter[aria-pressed="true"] {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-fg);
}

.gallery-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .gallery-layout {
    grid-template-columns: 360px 1fr;
    gap: 72px;
    align-items: start;
  }

  .gallery-side {
    position: sticky;
    top: 120px;
  }
}

.gcard[hidden] {
  display: none;
}

.gcard a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  transition: background-color 180ms ease;
}

.gcard a:hover {
  background: var(--card-hover);
}

.gcard img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.gcard-title {
  margin: 18px 10px 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.gcard-text {
  margin: 6px 10px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}

.gcard-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 10px 0;
  font-size: 13px;
  color: var(--muted);
}

/* Spotlight */

.spotlight {
  padding-top: 48px;
}

.spotlight-layout {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .spotlight-layout {
    grid-template-columns: 5fr 7fr;
    gap: 72px;
  }
}

.spot-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.spot-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
}

.spot-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
}

.spot-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spotlight-media {
  margin: 0;
}

.spotlight-panel {
  position: relative;
  padding: 28px 20px 20px;
  border-radius: 28px;
  background: var(--tint);
  border: 1px solid var(--tint-line);
  overflow: hidden;
}

.spot-back {
  display: none;
}

.spot-front {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 720px) {
  .spotlight-panel {
    padding: 48px 40px 40px;
  }

  .spot-back {
    display: block;
    position: absolute;
    top: 28px;
    right: -6%;
    width: 72%;
    border-radius: 14px;
    border: 1px solid var(--line);
    opacity: 0.75;
    transform: perspective(1400px) rotateY(-12deg) rotateZ(3deg);
  }

  .spot-front {
    width: 84%;
    margin-top: 56px;
  }
}

.spotlight-media figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* Comparison */

.compare-head {
  display: grid;
  gap: 24px;
}

.compare-head .section-lede {
  margin-top: 0;
}

@media (min-width: 1024px) {
  .compare-head {
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: end;
  }
}

.table-wrap {
  margin-top: 56px;
}

.ctable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.55;
}

.ctable th,
.ctable td {
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.ctable thead th {
  padding: 20px 20px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.ctable thead .c-feature {
  padding-left: 0;
}

.c-name {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
}

.c-sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.c-us-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.ctable .c-us {
  background: var(--tint);
}

.ctable thead .c-us {
  border-radius: 20px 20px 0 0;
}

.ctable tbody tr:last-child .c-us {
  border-radius: 0 0 20px 20px;
}

.c-group th {
  padding: 40px 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ctable tbody tr:not(.c-group) > * {
  padding: 22px 20px;
  border-bottom: 1px solid var(--line);
}

.ctable tbody tr:not(.c-group) > th {
  padding-left: 0;
  font-weight: 500;
  color: var(--fg);
}

.ctable tbody td {
  color: var(--muted);
}

.ctable tbody td.c-us {
  color: var(--fg);
}

.c-group + tr > * {
  border-top: 0;
}

.ctable tbody td {
  position: relative;
}

.ctable tbody tr:not(.c-group) > td {
  padding-left: 52px;
}

.mark {
  position: absolute;
  left: 20px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
}

.mark::before {
  content: "";
  width: 10px;
  height: 10px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.mark.yes {
  color: #15803d;
  background: rgb(21 128 61 / 12%);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.2 4 7.5l4.5-5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.mark.yes-neutral {
  color: var(--muted);
  background: var(--card);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.2 4 7.5l4.5-5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.mark.even {
  color: var(--muted);
  background: var(--card);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5h6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.mark.no {
  color: var(--accent);
  background: rgb(217 45 51 / 9%);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='m2.5 2.5 5 5m0-5-5 5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

:root[data-theme="dark"] .mark.yes {
  color: #4ade80;
  background: rgb(74 222 128 / 12%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mark.yes {
    color: #4ade80;
    background: rgb(74 222 128 / 12%);
  }
}

.footnote {
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
  max-width: 780px;
}

@media (min-width: 900px) {
  .ctable .c-feature,
  .ctable tbody tr:not(.c-group) > th {
    width: 22%;
  }

  .ctable .c-us {
    width: 30%;
  }
}

@media (max-width: 899px) {
  .ctable,
  .ctable tbody,
  .ctable tr,
  .ctable th,
  .ctable td {
    display: block;
    width: 100%;
  }

  .ctable thead {
    display: none;
  }

  .ctable tbody tr:not(.c-group) {
    padding: 20px 0 24px;
    border-bottom: 1px solid var(--line);
  }

  .ctable tbody tr:not(.c-group) > * {
    padding: 0;
    border: 0;
  }

  .ctable tbody tr:not(.c-group) > th {
    font-size: 17px;
    margin-bottom: 14px;
  }

  .ctable tbody td {
    padding: 12px 14px 12px 46px !important;
    border-radius: 14px;
  }

  .mark {
    left: 14px;
    top: auto;
    bottom: auto;
    margin-top: 1px;
  }

  .ctable tbody td + td {
    margin-top: 6px;
  }

  .ctable tbody td::before {
    content: attr(data-col);
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .ctable tbody tr:last-child .c-us {
    border-radius: 14px;
  }

  .c-group th {
    padding-top: 36px;
    border-bottom: 1px solid var(--line);
  }
}

/* Privacy */

.privacy {
  padding-top: 48px;
}

.privacy-layout {
  display: grid;
  gap: 48px;
  padding: 40px 24px;
  border-radius: 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.privacy .kicker {
  margin-bottom: 22px;
}

.privacy .cta-row.left {
  margin-top: 24px;
}

.privacy-list {
  display: grid;
  gap: 0;
}

.privacy-list li {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.privacy-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.privacy-list h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.privacy-list p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .privacy-layout {
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    padding: 72px;
  }

  .privacy-list li:first-child {
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }
}

/* Open source */

.oss-layout {
  display: grid;
  gap: 56px;
}

.oss .kicker {
  margin-bottom: 22px;
}

.h2-solid {
  max-width: 560px;
}

@media (min-width: 1024px) {
  .oss-layout {
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: start;
  }
}

.license-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  background: #0c0c0f;
  color: #f4f4f5;
  border: 1px solid rgb(255 255 255 / 8%);
  overflow: hidden;
  isolation: isolate;
}

.license-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -20%;
  bottom: -60%;
  width: 70%;
  height: 140%;
  background: radial-gradient(closest-side, rgb(255 71 76 / 32%), transparent);
  filter: blur(10px);
}

.kicker-dark {
  color: #a7a7b0;
}

.license-name {
  margin-top: 14px;
  font-size: clamp(48px, 6vw, 68px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.license-card p:last-child {
  margin-top: 20px;
  font-size: 15px;
  color: #b4b4bc;
  max-width: 460px;
}

.specs {
  margin: 28px 0 0;
}

.specs div {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

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

.specs dt {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.specs dd {
  margin: 0;
  font-size: 15px;
}

@media (min-width: 640px) {
  .specs div {
    grid-template-columns: 130px 1fr;
    gap: 24px;
  }

  .specs dt {
    padding-top: 2px;
  }
}

/* Closing */

.closing {
  padding: 0 8px 96px;
}

@media (min-width: 720px) {
  .closing {
    padding: 0 16px 120px;
  }
}

.closing-panel {
  position: relative;
  max-width: 1408px;
  margin: 0 auto;
  padding: 96px 20px;
  border-radius: 32px;
  background: #0c0c0f;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgb(255 255 255 / 6%);
}

.closing-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -55%;
  width: 80%;
  height: 100%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(255 71 76 / 16%), transparent);
  filter: blur(20px);
}

@media (min-width: 900px) {
  .closing-panel {
    padding: 152px 32px;
    border-radius: 48px;
  }
}

.closing-title {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.closing-sub {
  margin: 24px auto 36px;
  color: #a7a7b0;
  font-size: 18px;
}

.closing-sub span {
  display: block;
}

.closing-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 40px;
  font-size: 14px;
  color: #8d8d96;
}

.closing-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.closing-points li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}

/* Footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 280px;
  font-size: 15px;
  color: var(--muted);
}

.footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.footer h2 {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
}

.footer nav a {
  padding: 6px 0;
  font-size: 15px;
  color: var(--muted);
}

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

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  margin-top: 56px;
  padding-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--line);
}

@media (min-width: 720px) {
  .footer-bottom::before {
    left: 32px;
    right: 32px;
  }
}

.footer-gh {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--muted);
}

.footer-gh:hover {
  color: var(--fg);
  background: var(--card);
}

.footer-gh .gh {
  width: 20px;
  height: 20px;
}

/* Scroll reveal: only with JS, and never with reduced motion. */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms var(--ease), transform 800ms var(--ease);
  }

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

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

  .marquee-track {
    animation: none;
  }

  .marquee-mask {
    flex-wrap: wrap;
    justify-content: center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
    padding-right: 0;
  }

  .marquee-track[aria-hidden="true"] {
    display: none;
  }

  .stage-item,
  .arrow,
  .fcard-arrow,
  .button {
    transition: none;
  }
}
