:root {
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --ink: #0b0d10;
  --muted: #5d6675;
  --line: #e3e9f1;
  --blue: #1468be;
  --blue-dark: #0f5299;
  --blue-soft: #eaf3fc;
  --blue-hover: #c1e0ff;
  --green: #1c7a43;
  --red: #b4372f;
  --amber: #b26a00;
  --amber-soft: #fff6e6;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --shadow: 0 1px 2px rgba(11, 13, 16, 0.04), 0 10px 30px rgba(11, 13, 16, 0.07);
  --width: 1120px;
  --header: 68px;
  --cut: 14px;
}

* {
  box-sizing: border-box;
}

/* only the chosen language's text is shown */
html[data-lang="ru"] [lang="en"],
html[data-lang="en"] [lang="ru"] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 20px);
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(20, 104, 190, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 104, 190, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--blue);
  color: #fff;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: var(--mono);
  font-size: 0.86em;
  font-weight: 500;
  color: var(--blue-dark);
  background: var(--blue-soft);
  padding: 2px 6px;
}

.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  flex: none;
}

/* ---------- reading progress ---------- */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--blue);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

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

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header);
  padding: 0 max(24px, calc((100% - var(--width)) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  transition: border-color 0.2s;
}

.scrolled .top {
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand:hover {
  text-decoration: none;
}

.links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.links a {
  position: relative;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.15s;
}

.links a:hover,
.links a.current {
  color: var(--ink);
  text-decoration: none;
}

.links a.current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--blue);
}

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

/* shows up once the hero's own button has scrolled away */
.header-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s;
}

.cta-away .header-cta {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.lang-switch,
.icon-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.lang-switch:hover,
.icon-link:hover {
  border-color: var(--blue-hover);
  background: var(--blue-soft);
  text-decoration: none;
}

.icon-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 30px;
  border: 0;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  font: inherit;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
}

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

.btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
}

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

/* a glint that runs over the main buttons now and then */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: glint 5s ease-in-out 2s infinite;
}

@keyframes glint {
  0%, 70% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.btn-meta {
  margin-top: 3px;
  color: #b9d8f7;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.btn-ghost {
  background: var(--blue-soft);
  color: var(--blue);
}

.btn-ghost:hover {
  background: var(--blue-hover);
}

.btn-small {
  --cut: 8px;
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-small::after {
  display: none;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - var(--header));
  max-width: calc(var(--width) + 48px);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.deco {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  color: var(--c);
  fill: currentColor;
  transform: rotate(var(--r));
  will-change: transform;
}

.hero-text,
.hero-art {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 22px;
  padding: 6px 14px;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.eyebrow::before {
  content: "> ";
}

/* a cursor that blinks after the line, like in a terminal */
.eyebrow::after {
  content: "_";
  animation: blink 1.1s steps(1) infinite;
}

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

h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 em {
  font-style: normal;
  color: var(--blue);
}

.lead {
  max-width: 33em;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 19px;
}

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

.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}

.assurances li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.assurances svg,
.cmp-new svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.other-downloads a {
  font-weight: 600;
}

/* "6 066 downloads · updated 16 days ago" under the buttons */
.proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

/* a dot between the parts; the live one has its green dot instead */
.proof > span + span:not(.live)::before {
  content: "·";
  margin-right: 16px;
  color: #b8c3d1;
}

.proof b {
  color: var(--ink);
  font-weight: 700;
}

.proof .live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.proof .live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22a85a;
  box-shadow: 0 0 0 0 rgba(34, 168, 90, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(34, 168, 90, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 168, 90, 0);
  }
}

.hero-art {
  display: grid;
  place-items: center;
  perspective: 900px;
}

/* orbits around the logo */
.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

.hero-art::before {
  width: min(118%, 470px);
  border: 1px dashed rgba(20, 104, 190, 0.4);
  animation: spin 60s linear infinite;
}

.hero-art::after {
  width: min(92%, 370px);
  border: 1px solid rgba(20, 104, 190, 0.16);
}

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

.hero-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  will-change: transform;
}

.hero-logo img {
  width: min(100%, 330px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(11, 13, 16, 0.16));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-14px) rotate(-3deg);
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: grid;
  justify-items: center;
  width: 26px;
  height: 42px;
  border: 2px solid #b8c3d1;
  border-radius: 14px;
  transform: translateX(-50%);
  transition: opacity 0.3s;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--blue);
  animation: wheel 1.8s ease-in-out infinite;
}

@keyframes wheel {
  60% {
    transform: translateY(12px);
    opacity: 0;
  }
  61% {
    transform: none;
    opacity: 0;
  }
}

.scrolled .scroll-cue {
  opacity: 0;
}

/* ---------- ticker ---------- */

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}

.ticker i {
  color: var(--blue-hover);
  font-style: normal;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

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

.section {
  max-width: calc(var(--width) + 48px);
  margin: 0 auto;
  padding: 120px 24px 40px;
}

.section-head {
  position: relative;
  max-width: 680px;
  margin-bottom: 48px;
}

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

/* the big outlined number behind a heading, moved by the parallax */
.section-num {
  position: absolute;
  top: -70px;
  left: -14px;
  z-index: -1;
  color: transparent;
  font-family: var(--mono);
  font-size: 170px;
  font-weight: 700;
  line-height: 1;
  -webkit-text-stroke: 1.5px rgba(20, 104, 190, 0.13);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

/* ---------- stock vs NextClient ---------- */

.cmp {
  border: 1px solid var(--line);
  background: #fff;
}

.cmp-head,
.cmp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cmp-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cmp-head > div:first-child {
  color: var(--muted);
}

.cmp-head > div:last-child {
  background: var(--ink);
  color: #fff;
}

.cmp-row {
  border-top: 1px solid var(--line);
}

.cmp-row > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px;
  font-size: 16px;
}

.cmp-row svg {
  margin-top: 3px;
}

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

.cmp-old span {
  text-decoration: line-through;
  text-decoration-color: rgba(180, 55, 47, 0.45);
  text-decoration-thickness: 1.5px;
}

.cmp-old svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.cmp-new {
  border-left: 1px solid var(--line);
  background: linear-gradient(90deg, var(--blue-soft), #fff 70%);
  font-weight: 600;
}

/* the row's two halves come up one after the other */
.reveal-ready .cmp-row.reveal .cmp-new {
  opacity: 0;
  translate: 24px 0;
  transition: opacity 0.6s ease 0.25s, translate 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s;
}

.reveal-ready .cmp-row.reveal.in .cmp-new {
  opacity: 1;
  translate: none;
}

/* ---------- tour ---------- */

.tour-body {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
}

.tour-stage {
  position: sticky;
  top: calc(var(--header) + 40px);
  align-self: start;
}

.tour-window {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid #2a2f37;
  background: #16191e;
  box-shadow: 0 2px 6px rgba(11, 13, 16, 0.08), 0 30px 60px -12px rgba(11, 13, 16, 0.35);
  cursor: zoom-in;
  transition: transform 0.3s ease-out;
}

.tour-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  background: #22262d;
}

.tour-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3b414b;
}

.tour-bar b {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #9aa3af;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.tour-screens {
  display: grid;
  background: #0d0f12;
}

.tour-shot {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tour-shot.active {
  opacity: 1;
  transform: none;
}

.tour-shot img,
.tour-mobile-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tour-progress {
  display: block;
  height: 3px;
  background: #22262d;
}

.tour-progress span {
  display: block;
  height: 100%;
  background: var(--blue);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.tour-steps {
  display: grid;
}

.tour-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 62vh;
  padding: 20px 0 20px 28px;
  border-left: 2px solid var(--line);
  opacity: 0.3;
  transition: opacity 0.4s, border-color 0.4s;
}

.tour-step.active {
  border-left-color: var(--blue);
  opacity: 1;
}

.tour-index {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
}

.tour-step h3 {
  margin: 6px 0 10px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.tour-step p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.tour-mobile-shot {
  display: none;
}

/* ---------- features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  position: relative;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* brackets at two corners of a card */
.feature::before,
.feature::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--blue);
  border-style: solid;
  transition: width 0.25s, height 0.25s;
}

.feature::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.feature::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}

.feature:hover {
  border-color: var(--blue-hover);
  box-shadow: var(--shadow);
}

.feature:hover::before,
.feature:hover::after {
  width: 40px;
  height: 40px;
}

.feature-num {
  position: absolute;
  top: 26px;
  right: 26px;
  color: #b8c3d1;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  background: var(--blue-soft);
  color: var(--blue);
}

.feature-icon svg,
.warning svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3,
.trust-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.feature p,
.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.feature-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
}

/* ---------- numbers ---------- */

.numbers {
  margin-top: 120px;
  background: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  color: #fff;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: calc(var(--width) + 48px);
  margin: 0 auto;
  padding: 72px 24px;
}

.number {
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.number b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.number span {
  color: #9aa3af;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- trust ---------- */

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.trust-item > a {
  margin-top: auto;
  padding-top: 16px;
  font-size: 15px;
  font-weight: 700;
}

.checksum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px !important;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.checksum > span {
  font-weight: 700;
}

.checksum button {
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  font: 500 12px/1.4 var(--mono);
  cursor: copy;
  transition: border-color 0.15s, background 0.15s;
}

.checksum button:hover {
  border-color: var(--blue-hover);
  background: var(--blue-soft);
}

.checksum button.copied {
  border-color: #9fd8b5;
  background: #eaf8ef;
  color: var(--green);
}

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

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

/* the line through the step numbers draws itself when the steps come into view */
.steps::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s cubic-bezier(0.6, 0, 0.2, 1) 0.2s;
}

.steps.in::before,
html:not(.reveal-ready) .steps::before {
  transform: none;
}

.steps li {
  position: relative;
  padding: 80px 24px 26px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 15.5px;
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
}

.warning {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 18px 22px;
  border: 1px solid #f3dcb2;
  background: var(--amber-soft);
  color: var(--amber);
}

.warning svg {
  margin-top: 2px;
}

.warning p {
  margin: 0;
  color: #7a4a00;
  font-size: 15.5px;
  font-weight: 500;
}

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

.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq-item {
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
  border-color: var(--blue-hover);
  box-shadow: var(--shadow);
}

.faq-item summary {
  position: relative;
  padding: 18px 56px 18px 22px;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15.5px;
}

.faq-answer p {
  margin: 0;
}

.faq-answer code {
  word-break: break-word;
}

/* ---------- final call ---------- */

.final {
  max-width: calc(var(--width) + 48px);
  margin: 120px auto 0;
  padding: 0 24px;
}

.final-card {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  padding: 72px 24px;
  background: var(--ink);
  background-image:
    radial-gradient(600px 300px at 50% 0%, rgba(20, 104, 190, 0.45), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
  color: #fff;
  text-align: center;
}

.final-logo {
  margin-bottom: 18px;
  filter: drop-shadow(0 10px 30px rgba(20, 104, 190, 0.5));
  will-change: transform;
}

.final-card h2 {
  max-width: 14em;
}

.final-card > p {
  margin: 0 0 30px;
  color: #b8c3d1;
  font-size: 18px;
}

.final-proof {
  justify-content: center;
  margin: 22px 0 0 !important;
  padding-top: 0;
  border-top: 0;
  color: #9aa3af !important;
  font-size: 13px !important;
}

.final-proof b {
  color: #fff;
}

/* ---------- changelog ---------- */

.releases {
  display: grid;
  gap: 16px;
}

.release {
  border: 1px solid var(--line);
  background: #fff;
  padding: 28px 32px;
}

.release.latest {
  border-color: var(--blue-hover);
  box-shadow: var(--shadow);
}

.release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 12px;
}

.release-version {
  margin: 0;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.release-version a {
  color: var(--ink);
}

.release-version a:hover {
  color: var(--blue);
  text-decoration: none;
}

.badge {
  padding: 3px 10px;
  background: var(--blue);
  color: #fff;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.release-date {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.release-title {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.release-body {
  color: #262b33;
  font-size: 15.5px;
}

.release-body h4 {
  margin: 18px 0 6px;
  font-size: 16px;
  font-weight: 800;
}

.release-body h4:first-child {
  margin-top: 0;
}

.release-body p {
  margin: 0 0 10px;
}

.release-body ol,
.release-body ul {
  margin: 0 0 10px;
  padding-left: 22px;
}

.release-body li {
  margin-bottom: 6px;
}

.release-body li::marker {
  color: var(--blue);
  font-weight: 700;
}

.release-foot {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}

.release.skeleton {
  height: 160px;
  border-color: transparent;
  background: linear-gradient(90deg, var(--bg-soft) 25%, #eef2f7 50%, var(--bg-soft) 75%) 0 0 / 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.release.highlight {
  animation: highlight 1.6s ease-out;
}

@keyframes highlight {
  from {
    box-shadow: 0 0 0 4px var(--blue-hover);
  }
}

.more {
  margin-top: 24px;
  min-height: 50px;
}

.releases-error {
  margin: 0;
  padding: 24px;
  background: var(--bg-soft);
  color: var(--muted);
}

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

.bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  max-width: calc(var(--width) + 48px);
  margin: 80px auto 0;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--line);
}

.bottom-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.bottom-links a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bottom-links a:hover {
  color: var(--ink);
}

.disclaimer {
  flex-basis: 100%;
  margin: 0;
  color: #98a1ae;
  font-size: 13px;
}

/* ---------- full-size screenshots ---------- */

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px 72px;
  border: 0;
  background: rgba(8, 10, 14, 0.94);
  color: #fff;
}

.lightbox[open] {
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  gap: 14px;
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 110px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  margin: 0;
  color: #c9d1db;
  font-size: 15px;
  text-align: center;
}

.lightbox-caption b {
  color: #fff;
}

.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: 400 30px/1 system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.15s;
}

.lightbox button:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

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

/* translate leaves transform to the hover and parallax effects */
.reveal-ready .reveal {
  opacity: 0;
  translate: 0 32px;
  transition: opacity 0.7s ease, translate 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.2s, box-shadow 0.2s;
  transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s;
}

.reveal-ready .reveal.in {
  opacity: 1;
  translate: none;
}

/* headings wipe in from below */
.reveal-ready .section-head.reveal h2 {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s;
}

.reveal-ready .section-head.reveal.in h2 {
  clip-path: inset(0 0 -10% 0);
}

/* the hero's lines come up one after another on load */
.hero-text > * {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-text > :nth-child(2) { animation-delay: 0.08s; }
.hero-text > :nth-child(3) { animation-delay: 0.16s; }
.hero-text > :nth-child(4) { animation-delay: 0.24s; }
.hero-text > :nth-child(5) { animation-delay: 0.32s; }
.hero-text > :nth-child(n + 6) { animation-delay: 0.4s; }

.hero-art {
  animation: appear 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes appear {
  from {
    opacity: 0;
    transform: scale(0.85) rotate(-8deg);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
  }
}

/* ---------- narrow screens ---------- */

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

  .actions {
    margin-left: auto;
  }

  .features,
  .trust {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps::before {
    display: none;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  /* no sticky stage: each step carries its own shot */
  .tour-body {
    grid-template-columns: 1fr;
  }

  .tour-stage {
    display: none;
  }

  .tour-step {
    min-height: 0;
    padding: 0 0 48px;
    border: 0;
    opacity: 1;
  }

  .tour-mobile-shot {
    display: block;
    order: -1;
    margin-bottom: 18px;
    padding: 0;
    border: 1px solid #2a2f37;
    background: #0d0f12;
    box-shadow: 0 20px 40px -14px rgba(11, 13, 16, 0.35);
    cursor: zoom-in;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 60px;
  }

  body {
    font-size: 16px;
  }

  .top {
    gap: 12px;
    padding: 0 16px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 24px 16px 72px;
  }

  .hero-art {
    order: -1;
  }

  .hero-art::before {
    width: 240px;
  }

  .hero-art::after {
    width: 190px;
  }

  .hero-logo img {
    width: 160px;
  }

  .deco:nth-child(n + 4),
  .scroll-cue {
    display: none;
  }

  .lead {
    font-size: 17px;
  }

  .btn {
    flex: 1 1 100%;
  }

  .section {
    padding: 80px 16px 24px;
  }

  .section-num {
    font-size: 110px;
    top: -40px;
  }

  .features,
  .trust,
  .steps {
    grid-template-columns: 1fr;
  }

  .cmp-head > div,
  .cmp-row > div {
    padding: 14px;
    font-size: 14.5px;
  }

  .numbers {
    margin-top: 80px;
  }

  .numbers-grid {
    padding: 48px 16px;
  }

  .number {
    padding: 0 14px;
  }

  .final {
    padding: 0 16px;
  }

  .release {
    padding: 22px 20px;
  }

  .bottom {
    padding: 28px 16px 40px;
  }

  .lightbox {
    padding: 16px 8px;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 14px;
    transform: none;
  }
}
