/* Marketing site. Light theme; lime only as a solid fill behind dark ink. Header: header.css. */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #f6f6f3;
  --line: #e6e6e1;
  --line-2: #d6d6cf;
  --text: #0b0b0c;
  --text-2: #3b3b42;
  --muted: #5b5b63;
  --accent: #d4ff3a;
  --accent-hover: #c6f21f;
  --accent-ink: #0b0b0c;
  --ok: #1f9d63;
  --ok-ink: #12673f;
  --warn: #d98200;
  --danger: #d93a3a;
  --radius: 20px;
  --radius-lg: 28px;
  --display: 'Onest', system-ui, sans-serif;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gutter: 16px;
  --header: 64px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-color: rgba(11, 11, 12, 0.3);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: currentColor;
}

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

p {
  margin: 0 0 1em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--narrow {
  max-width: 860px;
}

.center {
  text-align: center;
}

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

.mark {
  padding: 0 0.12em;
  border-radius: 0.14em;
  background: var(--accent);
  color: var(--accent-ink);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.sr-only,
.visually-h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.skip:focus {
  top: 8px;
}

[hidden] {
  display: none !important;
}

.icon {
  flex: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder {
  padding: 1px 6px;
  border-radius: 6px;
  background: #fff1d6;
  color: #7a4a00;
  font-weight: 600;
  outline: 1px dashed #d9a046;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 15px/1.2 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}

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

/* Lime always carries dark ink, in every link state; never faded or disabled-looking. */
.btn--primary,
a.btn--primary:link,
a.btn--primary:visited,
.btn--primary:hover,
.btn--primary:focus,
.btn--primary:active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  opacity: 1;
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.skip:hover,
.skip:focus {
  color: var(--accent-ink);
}

.btn--secondary,
a.btn--secondary:link,
a.btn--secondary:visited {
  background: var(--text);
  border-color: var(--text);
  color: #ffffff;
}

.btn--secondary:hover {
  background: #2a2a2e;
  border-color: #2a2a2e;
  color: #ffffff;
}

.btn--ghost,
a.btn--ghost:link,
a.btn--ghost:visited {
  background: var(--bg);
  border-color: var(--line-2);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--text);
  color: var(--text);
}

.btn--lg {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 16px;
}

.btn--sm {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 13px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 5px;
}

.link-arrow .icon {
  transition: transform 0.2s;
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.pill,
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: 500 14px/1.2 var(--sans);
  text-decoration: none;
}

.pill--on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag--accent {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---------------------------------------------------------------- logo (footer) */

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

.logo__img {
  display: block;
  width: auto;
  height: 28px;
}

.logo__fallback {
  display: none;
  align-items: center;
  gap: 10px;
}

.logo--fallback .logo__img {
  display: none;
}

.logo--fallback .logo__fallback {
  display: inline-flex;
}

.logo__text {
  font: 800 19px/1 var(--display);
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ---------------------------------------------------------------- phone */

.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  padding: 7px;
  border-radius: 38px;
  background: #0b0b0c;
}

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  background: #000;
  isolation: isolate;
}

.phone__screen::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 5;
  width: 28%;
  height: 20px;
  border-radius: 20px;
  background: #000;
  transform: translateX(-50%);
}

.phone--sm {
  max-width: 240px;
  border-radius: 32px;
  padding: 6px;
}

.phone--sm .phone__screen {
  border-radius: 26px;
}

.phone--sm .phone__screen::before {
  height: 16px;
  top: 8px;
}

.clip {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

/* ---------------------------------------------------------------- hero: composer + product video */

main {
  position: relative;
  display: block;
  isolation: isolate;
}

.hero {
  position: relative;
  padding: 32px 0 56px;
}

/* The only decoration on the site: faint dots and two soft corner washes at the very top. */
main::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 640px;
  background:
    radial-gradient(circle, rgba(11, 11, 12, 0.07) 1px, transparent 1.4px) 0 0 / 18px 18px,
    radial-gradient(60% 70% at 0% 0%, rgba(140, 200, 255, 0.22), transparent 70%),
    radial-gradient(60% 70% at 100% 0%, rgba(255, 196, 160, 0.22), transparent 70%);
  -webkit-mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%);
  mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero__copy {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  font-size: clamp(32px, 9vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero__lead {
  max-width: 600px;
  margin: 16px auto 24px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.55;
}

.hero__note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero__media {
  display: flex;
  justify-content: center;
}

.hero__phone {
  width: 64vw;
  max-width: 300px;
}

@media (min-width: 1000px) {
  .hero {
    padding: 64px 0 88px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
  }
  .hero__copy {
    margin: 0;
    text-align: left;
  }
  .hero__lead {
    margin-inline: 0;
    font-size: 19px;
  }
  .hero__phone {
    width: 100%;
    max-width: 330px;
  }
}

.composer {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  background: var(--surface);
  text-align: left;
  box-shadow: 0 1px 2px rgba(11, 11, 12, 0.04), 0 8px 24px rgba(11, 11, 12, 0.05);
}

.composer a:not(.btn) {
  color: inherit;
  text-decoration: none;
}

.composer__drop {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 16px;
  border: 1.5px dashed var(--line-2);
  border-radius: 20px;
  background: var(--surface-2);
  transition:
    border-color 0.2s,
    background-color 0.2s;
}

.composer__drop:hover {
  border-color: var(--text);
}

.composer__plus {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--accent-ink);
  transition: transform 0.2s;
}

.composer__drop:hover .composer__plus {
  transform: rotate(90deg);
}

.composer__droptext {
  display: grid;
  gap: 2px;
}

.composer__droptext b {
  font-size: 17px;
  font-weight: 600;
}

.composer__droptext span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.composer__prompt {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-2);
  transition: border-color 0.2s;
}

.composer__prompt:hover {
  border-color: var(--line-2);
}

.composer__label {
  font-size: 16px;
  font-weight: 600;
}

.composer__placeholder {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
  transition:
    opacity 0.26s,
    transform 0.26s;
}

.composer__placeholder.is-out {
  opacity: 0;
  transform: translateY(-6px);
}

.composer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.composer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  font: 500 14px/1 var(--sans);
  transition: border-color 0.2s;
}

.cchip:hover {
  border-color: var(--text);
}

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

.composer__go {
  flex: 1 1 100%;
  min-height: 52px;
}

@media (min-width: 640px) {
  .composer {
    padding: 14px;
    gap: 12px;
  }
  .composer__go {
    flex: 0 0 auto;
  }
}

@media (min-width: 640px) {
  .composer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  }
  .composer__drop {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: 150px;
  }
  .composer__prompt {
    min-height: 150px;
  }
  .composer__bar {
    grid-column: 1 / -1;
  }
}


/* ---------------------------------------------------------------- stats */

.stats {
  border-block: 1px solid var(--line);
  background: var(--bg);
}

.stats__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  padding-block: 26px;
  list-style: none;
}

.stats__list li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.stats__list b {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font: 800 28px/1.1 var(--display);
  letter-spacing: -0.03em;
}

@media (min-width: 760px) {
  .stats__list {
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
  }
  .stats__list b {
    font-size: 36px;
  }
}

/* ---------------------------------------------------------------- sections */

.section {
  padding-block: 64px;
}

.section--tint,
.section--alt {
  background: var(--bg-alt);
}

.section--tight {
  padding-block: 48px;
}

@media (min-width: 960px) {
  .section {
    padding-block: 104px;
  }
}

.shead {
  max-width: 760px;
  margin-bottom: 36px;
}

.shead--center {
  margin-inline: auto;
  text-align: center;
}

.shead__title {
  font-size: clamp(26px, 6.4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.shead__lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.pagehero {
  padding-block: 24px 40px;
}

.pagehero__title {
  max-width: 900px;
  font-size: clamp(30px, 8vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.pagehero__lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--text-2);
  font-size: 18px;
}

.toc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.pill:hover {
  border-color: var(--text);
  color: var(--text);
}

.crumbs {
  padding-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  opacity: 0.5;
}

.crumbs a {
  text-decoration: none;
}

/* ---------------------------------------------------------------- before / after */

.ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  justify-items: center;
  max-width: 720px;
  margin: 0 auto;
}

.ba__item {
  display: grid;
  gap: 14px;
  justify-items: center;
  width: 100%;
  margin: 0;
}

.ba__item figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.ba__arrow {
  display: none;
}

.ba .phone {
  border-radius: 28px;
  padding: 5px;
}

.ba .phone__screen {
  border-radius: 23px;
}

.ba .phone__screen::before {
  height: 14px;
  top: 7px;
}

@media (min-width: 760px) {
  .ba {
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
    align-items: center;
  }
  .ba__arrow {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
  }
  .ba .phone {
    border-radius: 38px;
    padding: 7px;
  }
  .ba .phone__screen {
    border-radius: 31px;
  }
}

.ba--compact {
  max-width: 520px;
  grid-template-columns: 1fr 1fr;
}

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

.steps {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step__n {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--muted);
  font: 800 22px/1 var(--display);
}

.step__icon,
.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text);
}

.step__title,
.feature__title {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 700;
}

.step__text,
.feature__text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------------------------------------------------------------- style gallery */

.sfilters {
  display: flex;
  gap: 8px;
  margin: 0 calc(var(--gutter) * -1) 14px;
  padding: 2px var(--gutter) 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sfilters::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: none;
  min-height: 44px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.chip:hover {
  border-color: var(--text);
}

.chip[aria-pressed='true'] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
  font-weight: 600;
}

.sgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.scard {
  position: relative;
}

.scard__media {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0b0b0c;
  transition: transform 0.25s;
}

.scard:hover .scard__media,
.scard:focus-within .scard__media {
  transform: translateY(-2px);
}

.scard__media .clip,
.capcard__media .clip {
  position: absolute;
  inset: 0;
}

/* One link covers the card; the play toggle sits above it. */
.scard__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  border-radius: 20px;
  color: inherit;
  text-decoration: none;
}

.scard__link:focus-visible {
  outline-offset: -3px;
}

.scard__name {
  position: absolute;
  bottom: 10px;
  left: 10px;
  max-width: calc(100% - 66px);
  padding: 7px 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: 600 14px/1.1 var(--sans);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ptoggle {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
}

.ptoggle__pause,
.ptoggle[aria-pressed='true'] .ptoggle__play {
  display: none;
}

.ptoggle[aria-pressed='true'] .ptoggle__pause {
  display: block;
}

.capcard__media .ptoggle {
  right: 10px;
  bottom: 10px;
}

.scard__body {
  padding: 10px 2px 0;
}

.scard__desc {
  margin: 0 0 6px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
}

.scard__when {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.scard__when b {
  color: var(--text);
  font-weight: 600;
}

@media (min-width: 640px) {
  .sgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 1100px) {
  .sgrid:not(.sgrid--details) {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
  }
  .sgrid:not(.sgrid--details) .scard__name {
    font-size: 13px;
  }
}

/* ---------------------------------------------------------------- one take, three styles */

.inaction {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.inaction__tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
}

.inaction__tab {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 15px/1 var(--sans);
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.inaction__tab:not([aria-selected='true']):hover {
  color: var(--text);
}

.inaction__tab[aria-selected='true'] {
  background: var(--accent);
  color: var(--accent-ink);
}

.inaction__stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  width: 100%;
}

.inaction__phone {
  width: 72vw;
  max-width: 320px;
}

.inaction__clip {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.inaction__clip.is-on {
  z-index: 1;
  opacity: 1;
}

.inaction__about {
  position: relative;
  max-width: 520px;
  min-height: 3.2em;
  color: var(--muted);
  text-align: center;
}

.inaction__desc {
  margin: 0;
}

.inaction__desc b {
  color: var(--text);
}

/* ---------------------------------------------------------------- values */

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

.value {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.value__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 290px;
  margin-bottom: 20px;
  padding: 18px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface-2);
}

.value__title {
  margin-bottom: 8px;
  padding: 0 10px;
  font-size: 20px;
}

.value__text {
  margin: 0;
  padding: 0 10px;
  color: var(--muted);
  font-size: 15px;
}

.phone--mini {
  flex: none;
  width: 40%;
  max-width: 150px;
  padding: 4px;
  border-radius: 20px;
}

.phone--mini .phone__screen {
  border-radius: 16px;
}

.phone--mini .phone__screen::before {
  display: none;
}

.value__visual--grid .phone--mini {
  width: 28%;
}

.value__visual--grid .phone--mini:nth-child(2) {
  width: 34%;
}

.value__arrow {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
}

.value__visual--chat {
  align-items: center;
}

.value__visual--chat .chat {
  width: 100%;
}

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

/* ---------------------------------------------------------------- feature grid */

.fgrid {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.fcard {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  transition: border-color 0.25s;
}

.fcard:hover {
  border-color: var(--line-2);
}

.fcard__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text);
}

.fcard__title {
  margin-bottom: 8px;
  font-size: 18px;
}

.fcard__text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

@media (min-width: 640px) {
  .fgrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .fgrid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

/* ---------------------------------------------------------------- price callout + node prices */

.pricecall {
  display: grid;
  gap: 28px;
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.pricecall__title {
  margin-bottom: 12px;
  font-size: clamp(24px, 6vw, 40px);
  letter-spacing: -0.03em;
}

.pricecall__text {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--text-2);
}

.pricecall__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pricecall__actions .btn {
  flex: 1 1 200px;
}

@media (min-width: 960px) {
  .pricecall {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 48px;
    padding: 48px;
  }
  .pricecall__actions .btn {
    flex: 0 0 auto;
  }
}

.nodeprice {
  display: grid;
  gap: 14px;
}

.pricenow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.pricenow .dot {
  margin-top: 6px;
}

.nodeprice__example {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}

.nodeprice__example b {
  color: var(--text);
}

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

.nodeprice__cols {
  display: grid;
  gap: 12px;
}

.nodeprice__col {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nodeprice__col h3 {
  margin-bottom: 6px;
  font: 700 16px/1.3 var(--sans);
  letter-spacing: 0;
}

.nodeprice__col p {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
}

.nodeprice__col .nodeprice__cost {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 15px;
}

.nodeprice__note {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}

.nodeprice--compact .nodeprice__col {
  background: var(--surface-2);
  border-color: transparent;
}

@media (min-width: 640px) {
  .nodeprice__cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------------------------------------------------------------- caption style cards */

.section--flush {
  padding-bottom: 24px;
}

.capgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.capcard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  scroll-margin-top: calc(var(--header) + 16px);
}

.capcard__media {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #000;
}

.capcard__body {
  padding: 14px 14px 16px;
}

.capcard__name {
  margin-bottom: 6px;
  font-size: 16px;
}

.capcard__desc {
  margin-bottom: 8px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.45;
}

.capcard__when {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.capcard__when b {
  color: var(--text);
  font-weight: 600;
}

@media (min-width: 640px) {
  .capgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

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

@media (min-width: 1100px) {
  .capgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

.pnotes {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  list-style: none;
}

.pnote {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pnote__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
}

.pnote h3 {
  margin-bottom: 6px;
  font: 700 16px/1.3 var(--sans);
  letter-spacing: 0;
}

.pnote p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.pnote a {
  color: var(--text);
}

@media (min-width: 760px) {
  .pnotes {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .pnotes {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------------------------------------------------------------- reduced-motion play button */

.vplay {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0 0 0 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(9, 9, 11, 0.78);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.vplay.is-playing {
  opacity: 0;
}

.vplay.is-playing:hover,
.vplay.is-playing:focus-visible {
  opacity: 1;
}

/* ---------------------------------------------------------------- gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: 10px;
}

.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 480 / 274;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__item--tall,
.gallery__item--poster {
  grid-row: span 2;
}

.gallery__item:nth-last-child(-n + 2) {
  grid-column: span 2;
}

.gallery__item--tall img,
.gallery__item--poster img {
  aspect-ratio: auto;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__item figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 10px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

@media (min-width: 760px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .gallery__item:nth-last-child(-n + 2) {
    grid-column: span 2;
  }
  .gallery__item figcaption {
    left: 12px;
    bottom: 12px;
    font-size: 13px;
  }
}

/* ---------------------------------------------------------------- split, ticks, chat */

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
  list-style: none;
}

.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-2);
}

.ticks .icon {
  margin-top: 2px;
  color: var(--text);
}

.quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.quotes li {
  padding: 8px 14px;
  border-radius: 14px 14px 14px 4px;
  background: var(--surface-2);
  font-size: 14px;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.chat__msg {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.45;
}

.chat__msg p {
  margin: 0;
}

.chat__msg--user {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 500;
}

.chat__msg--bot {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.chat__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--ok-ink);
  font-size: 12px;
  font-weight: 600;
}

.chat__meta::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.chat__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.chat__send {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
}

.chat--compact {
  padding: 12px;
  gap: 8px;
  box-shadow: none;
}

.chat--compact .chat__msg {
  font-size: 13px;
  padding: 9px 12px;
}

/* ---------------------------------------------------------------- features and cards */

.features {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.feature,
.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s;
}

.feature:hover,
.card:hover {
  border-color: var(--line-2);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card a {
  color: var(--text);
}

.card--big h3 {
  font: 600 17px/1.3 var(--sans);
  letter-spacing: 0;
}

.card__num {
  margin: 0 0 4px !important;
  color: var(--text) !important;
  font: 800 56px/1 var(--display) !important;
  letter-spacing: -0.04em;
}

.cards2,
.cards3,
.cards4 {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .features,
  .cards2,
  .cards4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .features,
  .cards3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------------------------------------------------------------- feature blocks */

.fblock {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-block: 48px;
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--header);
}

.fblock__title {
  margin-bottom: 16px;
  font-size: clamp(24px, 6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.fblock__copy > p {
  color: var(--text-2);
  font-size: 17px;
}

.fblock__visual {
  display: flex;
  justify-content: center;
}

.fblock__visual > .phone {
  max-width: 280px;
}

.fblock__visual > .chat {
  width: 100%;
  max-width: 520px;
}

@media (min-width: 900px) {
  .fblock {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    padding-block: 88px;
  }
  .fblock--flip .fblock__copy {
    order: 2;
  }
}

.stack {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 520px;
}

.stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.stack img:first-child {
  grid-row: span 2;
  aspect-ratio: 480 / 840;
}

.coverdemo {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding-bottom: 40px;
}

.coverdemo > img {
  width: 62%;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  transform: rotate(-3deg);
}

.coverdemo .kit--card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 66%;
}

.kit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.kit img {
  width: 64px;
  flex: none;
  border-radius: 10px;
}

.kit--card {
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--surface-2);
}

.kit__title {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}

.kit__desc {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.kit__tags {
  margin: 0;
  color: var(--text-2);
  font-size: 13px;
}

/* ---------------------------------------------------------------- queue */

.queue {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.queue__nodes {
  display: grid;
  gap: 12px;
}

.node {
  display: flex;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.node__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
}

.node__title {
  margin-bottom: 6px;
  font-size: 17px;
}

.node__text {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.node__state {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
}

.dot--ok {
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.15);
}

.dot--warn {
  background: var(--warn);
  box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.15);
}

.dot--down {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 92, 92, 0.15);
}

.queue__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 12px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.queue__stats div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface-2);
}

.queue__stats dt {
  color: var(--muted);
  font-size: 14px;
}

.queue__stats dd {
  margin: 0;
  font: 700 20px/1.1 var(--display);
  white-space: nowrap;
}

.queue__note {
  margin: 14px 4px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (min-width: 760px) {
  .queue {
    padding: 24px;
  }
  .queue__nodes {
    grid-template-columns: 1fr 1fr;
  }
  .queue__stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .queue__stats div {
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
  }
  .queue__stats dd {
    font-size: 26px;
  }
}

/* ---------------------------------------------------------------- plans */

.plans {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .plans {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.plan--popular {
  border: 2px solid var(--text);
}

.plan__badge {
  position: absolute;
  top: -13px;
  left: 22px;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
}

.plan__name {
  margin-bottom: 6px;
  font-size: 22px;
}

.plan__tagline {
  min-height: 3em;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.plan__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 8px;
}

.plan__amount {
  font: 800 34px/1.1 var(--display);
  letter-spacing: -0.03em;
}

.plan__unit {
  margin-left: 2px;
  color: var(--muted);
  font: 600 16px/1 var(--sans);
  letter-spacing: 0;
}

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

.plan__credits {
  margin: 0 0 18px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 14px;
}

.plan__credits p {
  margin: 0;
}

.plan__credits span {
  color: var(--muted);
}

.plan__credits .plan__partner {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.plan__features {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  list-style: none;
  font-size: 14px;
  color: var(--text-2);
}

.plan__features li {
  display: flex;
  gap: 10px;
}

.plan__features .icon {
  margin-top: 2px;
  color: var(--text);
}

.plan__cta {
  width: 100%;
  margin-top: auto;
  white-space: normal;
  text-align: center;
}

.packs {
  display: grid;
  margin-bottom: 8px;
}

.plan--pack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 32px;
}

@media (min-width: 900px) {
  .plan--pack {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: center;
  }
  .plan--pack .plan__name,
  .plan--pack .plan__tagline {
    grid-column: 1;
  }
  .plan--pack .plan__tagline {
    min-height: 0;
    margin: 0;
  }
  .plan--pack .plan__price {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
  }
  .plan--pack .plan__credits {
    grid-column: 2;
    margin: 8px 0 0;
  }
  .plan--pack .plan__features {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin: 0 0 12px;
  }
  .plan--pack .plan__cta {
    grid-column: 3;
  }
}

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

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

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

.table thead th {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.table tbody th {
  font-weight: 500;
}

.table td {
  white-space: nowrap;
  color: var(--text-2);
}

.table tr:last-child th,
.table tr:last-child td {
  border-bottom: 0;
}

.yes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ok-ink);
  font-weight: 600;
}

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

.faq {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s;
}

.faq__item[open] {
  border-color: var(--line-2);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q h3 {
  font: 600 16px/1.4 var(--sans);
  letter-spacing: 0;
}

.faq__plus {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
}

.faq__plus::before,
.faq__plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform 0.25s;
}

.faq__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__a {
  padding: 0 20px 18px;
  color: var(--text-2);
  font-size: 15px;
}

.faq__a p:last-child {
  margin: 0;
}

/* ---------------------------------------------------------------- how it works */

.hsteps {
  display: grid;
  gap: 0;
  list-style: none;
}

.hstep {
  display: grid;
  gap: 28px;
  align-items: center;
  padding-block: 40px;
  border-top: 1px solid var(--line);
}

.hstep__n {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
}

.hstep__title {
  margin-bottom: 14px;
  font-size: clamp(24px, 6vw, 36px);
  letter-spacing: -0.03em;
}

.hstep__copy > p {
  color: var(--text-2);
  font-size: 17px;
}

.hstep__visual {
  display: flex;
  justify-content: center;
}

.hstep__visual > .phone {
  max-width: 260px;
}

@media (min-width: 900px) {
  .hstep {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    padding-block: 72px;
  }
  .hstep:nth-child(even) .hstep__copy {
    order: 2;
  }
}

.uploadmock,
.pipeline {
  width: 100%;
  max-width: 460px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.uploadmock__drop {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 32px 16px;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.uploadmock__drop .icon {
  color: var(--text);
}

.uploadmock__drop b {
  color: var(--text);
  font-size: 16px;
}

.uploadmock__eta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 14px;
}

.uploadmock__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.uploadmock__opts .pill {
  min-height: 34px;
  font-size: 13px;
}

.pipeline {
  display: grid;
  gap: 4px;
}

.pipeline__row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 15px;
}

.pipeline__dot {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
}

.pipeline__row--ok .pipeline__dot {
  border-color: var(--ok);
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.pipeline__row--run {
  background: var(--surface-2);
  font-weight: 600;
}

.pipeline__row--run .pipeline__dot {
  border-color: var(--text);
  border-right-color: transparent;
  animation: spin 1s linear infinite;
}

.pipeline__row--wait {
  color: var(--muted);
}

/* ---------------------------------------------------------------- app mock */

.device {
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.device__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.device__bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line-2);
}

.device__url {
  flex: 1;
  min-width: 0;
  margin-left: 10px;
  padding: 5px 12px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.appmock {
  display: grid;
  gap: 18px;
  padding: 16px;
}

.appmock__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.appmock__title b {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}

.appmock__title span {
  color: var(--muted);
  font-size: 12px;
}

.appmock__back {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 20px;
}

.appmock__player {
  position: relative;
  max-width: 250px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 9 / 16;
}

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

.appmock__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(9, 9, 11, 0.78);
  color: #ffffff;
  transform: translate(-50%, -50%);
}

.appmock__play .icon {
  fill: currentColor;
}

.appmock__versions,
.appmock__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.vchip {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.vchip--on {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

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

.appmock__label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.appmock__kit {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

@media (min-width: 860px) {
  .appmock {
    grid-template-columns: 300px 1fr;
    gap: 28px;
    padding: 28px;
  }
  .appmock__player {
    max-width: none;
  }
}

/* ---------------------------------------------------------------- cta band */

.ctaband {
  padding-block: 32px 72px;
}

.ctaband__inner {
  position: relative;
  overflow: hidden;
  padding: 44px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  text-align: center;
}

.ctaband__title {
  max-width: 760px;
  margin: 0 auto 14px;
  font-size: clamp(26px, 6.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ctaband__text {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--text-2);
}

@media (min-width: 760px) {
  .ctaband__inner {
    padding: 72px 40px;
  }
}

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

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  font-size: 14px;
}

.footer__grid {
  display: grid;
  gap: 32px;
  padding-block: 48px 32px;
}

.footer__tag {
  max-width: 340px;
  margin: 16px 0;
  color: var(--muted);
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.footer__badges span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-2);
  font-size: 12px;
}

.footer__h {
  margin-bottom: 12px;
  color: var(--muted);
  font: 600 12px/1.2 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__col ul {
  display: grid;
  list-style: none;
}

.footer__col a,
.footer__col li {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--text-2);
  text-decoration: none;
}

.footer__col a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer__legal {
  padding-block: 20px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer__legal p {
  margin: 0 0 6px;
}

@media (min-width: 760px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr;
  }
}

/* ---------------------------------------------------------------- about */

.contacts {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  list-style: none;
}

.contacts li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}

.contacts .icon {
  color: var(--text);
}

.reqs {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
}

.reqs div {
  display: grid;
  gap: 2px;
}

.reqs dt {
  color: var(--muted);
  font-size: 13px;
}

.reqs dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* ---------------------------------------------------------------- legal */

.legal {
  display: grid;
  gap: 24px;
  padding-block: 24px 80px;
}

.legal__aside {
  order: 2;
}

.legal__aside ul {
  display: grid;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.legal__aside a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14px;
  text-decoration: none;
}

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

.legal__aside a[aria-current='page'] {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
}

.legal__h {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal__doc {
  min-width: 0;
}

.legal__title {
  font-size: clamp(26px, 6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal__date {
  margin: 12px 0 28px;
  color: var(--muted);
}

.legal__toc {
  margin-bottom: 36px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.legal__toc ol {
  display: grid;
  gap: 6px;
  padding-left: 0;
  list-style: none;
  font-size: 15px;
}

.legal__toc a {
  color: var(--text-2);
  text-decoration: none;
}

.legal__toc a:hover {
  color: var(--text);
  text-decoration: underline;
}

.legal__pending {
  padding: 32px 24px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
}

.legal__pending .icon {
  color: var(--warn);
  margin-bottom: 12px;
}

.legal__pending h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.legal__pending p {
  margin: 0;
  color: var(--muted);
}

.prose {
  max-width: 76ch;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.prose h2 {
  margin: 2.2em 0 0.7em;
  font-size: 22px;
  line-height: 1.3;
  scroll-margin-top: calc(var(--header) + 16px);
}

.prose h3 {
  margin: 1.8em 0 0.6em;
  font: 700 18px/1.35 var(--sans);
  letter-spacing: 0;
}

.prose ul,
.prose ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.prose li {
  margin-bottom: 0.35em;
}

.prose a {
  color: var(--text);
  text-decoration-color: var(--line-2);
}

.prose strong {
  color: var(--text);
}

.prose hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose blockquote {
  margin: 1.2em 0;
  padding: 12px 18px;
  border-left: 3px solid var(--text);
  border-radius: 0 12px 12px 0;
  background: var(--surface);
}

.prose .tablewrap {
  margin: 1.2em 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.prose th,
.prose td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--surface-2);
  color: var(--text);
}

.prose code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 0.9em;
}

@media (min-width: 960px) {
  .legal {
    grid-template-columns: 260px 1fr;
    gap: 56px;
  }
  .legal__aside {
    order: 0;
  }
  .legal__aside nav {
    position: sticky;
    top: calc(var(--header) + 24px);
  }
}

/* ---------------------------------------------------------------- 404 */

.notfound {
  padding-block: 72px 120px;
  text-align: center;
}

.notfound__code {
  margin: 0;
  font: 800 clamp(96px, 30vw, 220px)/0.9 var(--display);
  letter-spacing: -0.06em;
  color: var(--text);
}

.notfound__title {
  margin: 24px 0 12px;
  font-size: clamp(24px, 6vw, 40px);
}

.notfound__text {
  max-width: 480px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.notfound__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ---------------------------------------------------------------- motion */

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 759px) {
  .queue {
    padding: 10px;
  }
  .node {
    gap: 12px;
    padding: 14px;
  }
  .node__icon {
    width: 38px;
    height: 38px;
  }
  .queue__stats div {
    padding: 12px 14px;
  }
  .queue__stats dd {
    font-size: 17px;
  }
}

.section-end {
  padding-bottom: 64px;
}

@media (min-width: 960px) {
  .section-end {
    padding-bottom: 96px;
  }
}
