/* Onessa product landing page, in the style of Vetta's site (vetta.onessa.tech): the same tokens, type, pills,
   glass, artwork panels and numbered sections between two side rules. Product-specific pieces are at the end. */

@font-face {
  font-family: "Instrument Sans";
  src: url(/fonts/instrument-sans-latin-wght-normal.woff2) format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url(/fonts/GeistMono-Regular-latin.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #191919;
  --ink2: #5c5f66;
  --ink3: #6f7177;
  --line: rgb(25 25 25 / 0.09);
  --mist: #f3f2f0;
  --paper: #fafaf9;
  --signal: #5754ff;
  --pass: #12805c;
  --warn: #b4730a;
  --fail: #d9382e;
  --grad: linear-gradient(90deg, #5754ff, #d770ff 50%, #ff8847);
  --sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --col: 1064px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
}
h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 6px;
}
.mono,
.sec-n,
.step-n,
.url {
  font-family: var(--mono);
}
.tnum {
  font-variant-numeric: tabular-nums;
}

/* Type */
.display {
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.heading {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.muted {
  color: rgb(25 25 25 / 0.4);
}
.intro {
  max-width: 560px;
  margin-top: 14px;
  color: var(--ink2);
  font-size: 15.5px;
  line-height: 1.45;
}
.kicker {
  margin-bottom: 14px;
  color: var(--ink3);
  font: 12px/1 var(--mono);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Pills: the dark primary with the sliding gradient border, glass, ghost and white */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background-position 0.9s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.pill.sm {
  padding: 8px 16px;
  font-size: 14px;
}
.pill:hover {
  transform: translateY(-1px);
}
.pill .arr {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pill-primary {
  border: 1.5px solid transparent;
  color: #fff;
  background:
    linear-gradient(#0a0a0b, #303036) padding-box,
    linear-gradient(90deg, #ff8847, #d770ff 33%, #5754ff 66%, #ff8847) border-box;
  background-size:
    100% 100%,
    300% 100%;
}
.pill-primary:hover {
  background-position:
    0 0,
    100% 0;
}
.pill-ghost {
  border: 1px solid var(--line);
  background: #fff;
}
.pill-ghost:hover {
  border-color: rgb(25 25 25 / 0.3);
}
.glass,
.pill-glass {
  border: 1px solid rgb(255 255 255 / 0.5);
  background: rgb(255 255 255 / 0.34);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}
.pill-glass:hover {
  background: rgb(255 255 255 / 0.5);
}
.pill-glass.light {
  color: #fff;
  border-color: rgb(255 255 255 / 0.4);
  background: rgb(30 18 40 / 0.28);
}
.pill-glass.light:hover {
  background: rgb(30 18 40 / 0.4);
}
.pill-white {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 30px rgb(40 20 60 / 0.25);
}
.glass-nav {
  border: 1px solid rgb(255 255 255 / 0.6);
  background: rgb(255 255 255 / 0.62);
  box-shadow:
    0 1px 2px rgb(25 25 25 / 0.05),
    0 8px 24px -14px rgb(25 25 25 / 0.28);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
}
.soft {
  box-shadow:
    0 1px 2px rgb(25 25 25 / 0.05),
    0 12px 32px -14px rgb(25 25 25 / 0.2);
}
.lift {
  box-shadow:
    0 1px 2px rgb(25 25 25 / 0.06),
    0 24px 56px -24px rgb(40 30 90 / 0.42);
}

/* Artwork panels */
.art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.art-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: center / cover no-repeat;
}
.drift {
  animation: drift 38s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.13) translate3d(-1.6%, -1.4%, 0);
  }
}
.aurora {
  position: absolute;
  z-index: 0;
  width: 44vw;
  height: 48vh;
  border-radius: 999px;
  filter: blur(70px);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.aurora-a {
  left: -10%;
  top: 10%;
  animation: aurora-a 18s ease-in-out infinite alternate;
}
.aurora-b {
  right: -8%;
  top: 30%;
  animation: aurora-b 24s ease-in-out infinite alternate;
}
@keyframes aurora-a {
  to {
    transform: translate3d(28vw, 8vh, 0) scale(1.25);
  }
}
@keyframes aurora-b {
  to {
    transform: translate3d(-24vw, -10vh, 0) scale(0.85);
  }
}

/* Header */
.top {
  position: relative;
  z-index: 20;
  padding: 10px 10px 0;
}
.announce {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  text-align: center;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--col);
  margin: 10px auto 0;
  padding: 8px 8px 8px 18px;
  border-radius: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.brand svg {
  width: 22px;
  height: 22px;
}
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 15px;
}
.nav-links a:hover,
.langs a:hover {
  color: var(--signal);
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.langs {
  display: flex;
  gap: 12px;
  color: var(--ink3);
  font-size: 14px;
}
.langs [aria-current] {
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: -62px 10px 0;
  border-radius: 18px;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-in {
  position: relative;
  z-index: 1;
  max-width: var(--col);
  margin: 0 auto;
  padding: 150px 20px 340px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  font-size: 14px;
}
.eyebrow svg {
  width: 20px;
  height: 20px;
}
.hero h1 {
  max-width: 820px;
  font-size: clamp(46px, 7vw, 76px);
}
.hero-sub {
  max-width: 580px;
  margin-top: 20px;
  color: rgb(25 25 25 / 0.8);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.hero-note {
  margin-top: 14px;
  padding: 0 8px;
  color: rgb(25 25 25 / 0.75);
  font-size: 13.5px;
}

/* The column between two side rules, like Vetta's */
.col {
  position: relative;
  max-width: var(--col);
  margin: 0 auto;
  border-inline: 1px solid var(--line);
}
.hero-stage {
  position: relative;
  z-index: 5;
  margin-top: -286px;
  padding: 0 14px 56px;
}
.sec {
  position: relative;
  padding: 88px 14px;
  border-top: 1px solid var(--line);
}
.sec-n {
  position: absolute;
  top: 22px;
  left: -36px;
  color: var(--ink3);
  font-size: 11.5px;
}
.sec > .reveal:first-child,
.sec-head {
  max-width: 760px;
}

/* Before/after switch */
.toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgb(25 25 25 / 0.08);
  border-radius: 999px;
  background: #fff;
  box-shadow:
    0 1px 2px rgb(25 25 25 / 0.05),
    0 12px 32px -14px rgb(25 25 25 / 0.25);
}
.toggle button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink2);
  font: inherit;
  font-size: 13.5px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}
.toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.dot.bad {
  background: #ff5a4e;
}
.dot.good {
  background: #2fbf86;
}
.auto .toggle button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: rgb(255 255 255 / 0.7);
  transform-origin: left;
  animation: progress var(--cycle, 6s) linear forwards;
}
@keyframes progress {
  from {
    transform: scaleX(0);
  }
}
/* The two states share one cell, so switching never changes the height */
.states {
  display: grid;
}
.states > * {
  grid-area: 1 / 1;
}
.s {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0s linear 0.25s;
}
[data-state="bad"] .s.bad,
[data-state="good"] .s.good {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.45s ease 0.15s,
    visibility 0s;
}

/* Window chrome and small UI pieces used by the examples */
.win {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}
.bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgb(25 25 25 / 0.08);
  font-size: 12.5px;
  font-weight: 500;
}
.dots {
  display: inline-flex;
  gap: 5px;
  margin-right: 6px;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}
.dots i:nth-child(2) {
  background: #febc2e;
}
.dots i:nth-child(3) {
  background: #28c840;
}
.bar .ex {
  color: var(--ink3);
  font-weight: 400;
}
.bar .ex::before {
  content: "· ";
}
.url {
  color: var(--ink3);
  font-size: 12px;
  font-weight: 400;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink2);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.chip svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chip.pass {
  background: #e6f4ec;
  color: var(--pass);
}
.chip.warn {
  background: #fbf0dc;
  color: var(--warn);
}
.chip.fail {
  background: #fdeceb;
  color: var(--fail);
}
.chip.ai {
  background: #efeeff;
  color: var(--signal);
}
.mini {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}
.card {
  width: min(360px, 100%);
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  font-size: 13.5px;
  box-shadow:
    0 1px 2px rgb(25 25 25 / 0.06),
    0 18px 40px -22px rgb(40 30 90 / 0.4);
}
.card + .card {
  margin-top: 8px;
}
.stack {
  display: grid;
  gap: 8px;
  width: min(360px, 100%);
}
.stack .card {
  margin: 0;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.row + .row {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.label {
  color: var(--ink3);
  font-size: 12px;
}
.big {
  font-size: 15px;
  font-weight: 500;
}

/* 01 — Bento of problems */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 36px;
}
.bento-art {
  height: 240px;
  border-radius: 6px;
}
.bento-card h3 {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.bento-card p {
  margin-top: 4px;
  padding-right: 8px;
  color: var(--ink2);
  font-size: 14.5px;
  line-height: 1.42;
}

/* 02 — Steps */
.steps {
  display: grid;
  gap: 80px;
  margin-top: 48px;
}
.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px;
}
.step.flip .step-art {
  order: 2;
}
.step-art {
  height: 340px;
}
.step-copy {
  padding-bottom: 6px;
}
.step-n {
  display: block;
  color: rgb(25 25 25 / 0.35);
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.step-copy h3 {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.step-copy p {
  max-width: 440px;
  margin-top: 6px;
  color: var(--ink2);
  font-size: 15px;
  line-height: 1.45;
}

/* 03 — Demo */
.demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 1px 2px rgb(35 33 42 / 0.04),
    0 30px 70px -44px rgb(40 30 90 / 0.35);
}
.demo-copy {
  padding: 30px 26px 26px;
}
.demo-try {
  display: grid;
  gap: 2px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}
.demo-try li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.42;
}
.demo-try .num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--mist);
  font: 11.5px/1 var(--mono);
}
.demo-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.fine {
  margin-top: 14px;
  color: var(--ink3);
  font-size: 13px;
  line-height: 1.45;
}
.demo-art {
  display: grid;
  place-items: center;
  min-height: 460px;
  padding: 36px 26px;
  border-radius: 17px;
}
.demo-window {
  width: min(460px, 100%);
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}

/* 04 — Facts in numbers */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.stats > div {
  padding: 22px 18px 4px 0;
}
.stats > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.stat {
  display: block;
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats p {
  margin-top: 10px;
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.4;
}
.channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 40px;
}
.channel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.channel h3 {
  margin: 12px 0 4px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.channel p {
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.4;
}

/* 05 — The method behind the showcase */
.method {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
}
.method-head .pill {
  margin-top: 26px;
}
.principles {
  display: grid;
  gap: 26px;
}
.principles li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 16px;
}
.orb {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: center / cover;
  box-shadow: 0 8px 20px -10px rgb(40 30 90 / 0.45);
}
.orb svg {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.principles h3 {
  align-self: end;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.principles p {
  color: var(--ink2);
  font-size: 14.5px;
  line-height: 1.42;
}

/* 06 — FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 40px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary i {
  position: relative;
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 7px;
}
.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  inset: 4.5px 0 auto;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease;
}
.faq summary i::after {
  transform: rotate(90deg);
}
.faq details[open] summary i::after {
  transform: rotate(0);
}
.faq details p {
  max-width: 600px;
  padding: 0 24px 18px 0;
  color: var(--ink2);
  font-size: 15px;
  line-height: 1.5;
}

/* Closing band */
.close {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 10px;
  border-radius: 18px;
}
.close-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.close-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 150px 20px 160px;
  text-align: center;
}
.close h2 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(38px, 5.6vw, 64px);
  text-shadow: 0 1px 30px rgb(40 20 60 / 0.25);
}
.muted-light {
  color: rgb(255 255 255 / 0.62);
}
.close-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

/* Footer */
.foot-in {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: var(--col);
  margin: 0 auto;
  padding: 56px 20px 64px;
  font-size: 14px;
}
.foot-brand p {
  max-width: 300px;
  margin-top: 14px;
  color: var(--ink2);
}
.foot-brand .small {
  margin-top: 18px;
  color: var(--ink3);
  font-size: 12.5px;
}
.foot-in .fh {
  margin-bottom: 12px;
  color: var(--ink3);
}
.foot-in a:not(.brand) {
  display: block;
  margin-bottom: 8px;
  color: var(--ink2);
}
.foot-in a:not(.brand):hover {
  color: var(--ink);
}

/* Reveal on scroll (only when scripts run, so content never stays hidden) */
@media (scripting: enabled) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 0.75s ease,
      transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--delay, 0ms);
  }
  .reveal.shown {
    opacity: 1;
    transform: none;
  }
}

/* Tablet and phone */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .bento,
  .stats,
  .channels {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .bento > :last-child {
    grid-column: span 2;
  }
  .stats > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .step,
  .demo,
  .method,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .step {
    gap: 18px;
  }
  .step.flip .step-art {
    order: 0;
  }
  .steps {
    gap: 56px;
  }
  .demo-art {
    order: -1;
    min-height: 380px;
  }
  .foot-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .foot-brand {
    grid-column: span 2;
  }
}
@media (max-width: 640px) {
  .top {
    padding: 8px 8px 0;
  }
  .announce {
    font-size: 12.5px;
  }
  .nav {
    gap: 12px;
    padding-left: 14px;
  }
  .nav .pill.sm {
    padding: 7px 12px;
    font-size: 13px;
  }
  .langs {
    gap: 9px;
    font-size: 13px;
  }
  .hero {
    margin-inline: 8px;
  }
  .hero-in {
    padding: 120px 16px 300px;
  }
  .hero-sub {
    font-size: 16.5px;
  }
  .col {
    border-inline: 0;
  }
  .hero-stage {
    margin-top: -262px;
    padding: 0 8px 40px;
  }
  .sec {
    padding: 64px 16px;
  }
  .sec-n {
    position: static;
    display: block;
    margin-bottom: 18px;
  }
  .bento,
  .stats,
  .channels {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento > :last-child {
    grid-column: auto;
  }
  .stats > div,
  .stats > div + div {
    padding: 18px 0 2px;
    border-left: 0;
  }
  .stats > div + div {
    border-top: 1px solid var(--line);
  }
  .step-art {
    height: 280px;
  }
  .demo {
    padding: 6px;
    border-radius: 20px;
  }
  .demo-copy {
    padding: 22px 12px 14px;
  }
  .demo-art {
    min-height: 0;
    padding: 22px 12px;
  }
  .close {
    margin-inline: 8px;
  }
  .close-in {
    padding: 96px 16px 104px;
  }
  .foot-in {
    padding: 44px 16px 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .drift,
  .aurora,
  .auto .toggle button[aria-pressed="true"]::after,
  .pulse {
    animation: none !important;
  }
  .s,
  .reveal,
  .pill {
    transition: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==== Before/after example under the hero (shared by the products) ==== */
.ab-top {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.ab-wrap {
  position: relative;
}
.float {
  position: absolute;
  right: -22px;
  bottom: -30px;
  display: grid;
  gap: 2px;
  min-width: 196px;
  padding: 14px 18px 14px 16px;
  border-radius: 14px;
  background: #fff;
}
.float-k {
  color: var(--ink3);
  font-size: 12.5px;
}
.float-n {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.float-n b {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.float-n small {
  color: var(--ink3);
  font-size: 14px;
}
.float-v {
  font-size: 13px;
  font-weight: 500;
}
.float-v .bad {
  color: var(--fail);
}
.float-v .good {
  color: var(--pass);
}
.pill.xs {
  padding: 5px 11px;
  font-size: 12px;
}
.quote {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--ink2);
  font: 12px/1.4 var(--mono);
}
.why {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 12px;
  color: var(--ink2);
  font-size: 12.5px;
  line-height: 1.4;
}
@media (max-width: 640px) {
  .float {
    position: relative;
    right: auto;
    bottom: auto;
    width: fit-content;
    margin: -10px 10px 0 auto;
    box-shadow: 0 0 0 1px rgb(25 25 25 / 0.08);
  }
}

/* ==== Agendo: the call example, the salon's day and the booking preview ==== */
.salon-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 330px;
}
.call {
  padding: 16px 18px 20px;
  border-right: 1px solid var(--line);
}
.caller {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.caller span:last-child {
  display: grid;
}
.caller b {
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.caller small {
  color: var(--ink3);
  font-size: 12px;
}
.ring {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2fbf86;
}
.ring::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #fff;
}
[data-state="bad"] .ring {
  background: #ff5a4e;
}
.say {
  max-width: 88%;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
}
.say.ai {
  background: var(--mist);
}
.say.them {
  margin-left: auto;
  background: var(--ink);
  color: #fff;
}
.say.solo {
  max-width: none;
  margin: 0 0 10px;
}
.miss {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 6px;
  color: var(--fail);
  font-size: 14px;
  font-weight: 500;
}
.miss svg,
.chip svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.cal {
  padding: 16px 18px 20px;
  background: #fcfbfa;
}
.cal-h {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.cal-grid {
  display: grid;
  grid-template-columns: 40px repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.cal-times {
  display: grid;
  grid-template-rows: 22px repeat(4, 52px);
  color: var(--ink3);
  font: 10.5px/1 var(--mono);
}
.cal-times::before {
  content: "";
}
.cal-col {
  position: relative;
  height: 222px;
  border-radius: 10px;
  background: repeating-linear-gradient(transparent 0 51px, var(--line) 51px 52px) 0 22px / 100% 208px no-repeat;
}
.cal-who {
  height: 22px;
  color: var(--ink2);
  font-size: 12px;
  font-weight: 500;
}
.blk,
.slot {
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 22px;
}
.blk {
  overflow: hidden;
  padding: 3px 7px;
  border-radius: 7px;
  background: #e6eef0;
  color: var(--ink2);
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.slot {
  display: grid;
}
.slot .blk {
  position: static;
  margin: 0;
}
.blk.free {
  border: 1px dashed #ff8a80;
  background: #fff5f4;
  color: var(--fail);
}
.blk.new {
  background: linear-gradient(90deg, #5754ff, #d770ff 60%, #ff8847);
  color: #fff;
  font-weight: 500;
}
.row-sub {
  margin-top: 6px;
}
.card.note {
  display: flex;
  align-items: center;
  gap: 12px;
}
.card.note span:last-child {
  display: grid;
}
.card.note small {
  color: var(--ink3);
  font-size: 12px;
}
.pulse {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2fbf86;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 6px rgb(47 191 134 / 0.18);
  }
}
.pv {
  padding: 16px;
}
.pv-salon {
  display: grid;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  color: #6e3a2c;
}
.pv-salon small {
  color: var(--ink3);
  font-family: var(--sans);
  font-size: 12px;
}
.pv-book {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.pv-book .row {
  padding: 9px 12px;
  border: 1.5px solid #a9503a;
  border-radius: 10px;
  font-size: 14px;
}
.pv-days,
.pv-times {
  display: flex;
  gap: 6px;
}
.pv-days span,
.pv-times span {
  flex: 1;
  padding: 7px 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
  text-align: center;
}
.pv-days .on,
.pv-times .on {
  border-color: #a9503a;
  background: #a9503a;
  color: #fff;
}
.pv-hold {
  color: var(--pass);
  font-size: 12.5px;
}
@media (max-width: 760px) {
  .salon-in {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .call {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
