/* ==========================================================================
   Content Machine — landing page
   Design tokens taken directly from the source mockup.
   ========================================================================== */

:root {
  /* palette */
  --ink:        #242121;
  --ink-soft:   #5c5c5c;
  --muted:      #857f7f;
  --line:       #e0e0e0;
  --line-soft:  #ececec;
  --surface:    #fafafa;
  --bg:         #ffffff;

  --blue:       #2088f7;
  --orange:     #f5480a;
  --purple:     #9999ff;
  --yellow:     #ffb829;

  --up:         #1fc16b;
  --down:       #fb3748;
  --pill-bg:    #c2f5da;
  --pill-fg:    #0b4627;

  /* brand marks */
  --brand-blue:   #1a88f8;
  --brand-purple: #9896ff;
  --brand-yellow: #ffb800;
  --brand-red:    #f24900;

  /* layout */
  --shell:  1120px;
  --gutter: 24px;
  --radius: 12px;
  --radius-lg: 16px;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* --------------------------------------------------------------- reset -- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
p  { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------------------------------------------------------- patterns --- */

.dotted {
  background-image: radial-gradient(circle, #e6e4e4 .8px, transparent .8px);
  background-size: 20px 20px;
  background-position: center top;
}

.hatched {
  background-image: repeating-linear-gradient(
    45deg, transparent 0 5px, rgba(0, 0, 0, .045) 5px 6px);
}

/* A dashed frame with a small circular marker in each corner — the recurring
   "canvas" motif from the mockup. */
.frame { position: relative; }
.frame::before {
  content: ""; position: absolute; inset: -1px -40px;
  border-block: 1px dashed var(--line);
  pointer-events: none;
}
.frame::after {
  content: ""; position: absolute; inset: -6px -46px;
  background:
    radial-gradient(circle 5px at left  top,    var(--surface) 99%, transparent) no-repeat,
    radial-gradient(circle 5px at right top,    var(--surface) 99%, transparent) no-repeat,
    radial-gradient(circle 5px at left  bottom, var(--surface) 99%, transparent) no-repeat,
    radial-gradient(circle 5px at right bottom, var(--surface) 99%, transparent) no-repeat;
  pointer-events: none;
}

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

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--sm { padding: 7px 14px; font-size: 13px; }
.btn--lg { padding: 14px 26px; font-size: 15px; }

.btn--dark    { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: #000; box-shadow: 0 6px 20px rgba(0, 0, 0, .16); }

.btn--blue    { --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: var(--blue); }
.btn--blue:hover { --btn-bg: #0b78ec; box-shadow: 0 6px 20px rgba(32, 136, 247, .3); }

.btn--outline { --btn-bg: #fff; --btn-bd: var(--line); }
.btn--outline:hover { --btn-bd: #c9c9c9; box-shadow: 0 6px 20px rgba(0, 0, 0, .07); }

.btn--ghost   { --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: #c9c9c9; }

.btn__play { width: 11px; height: 13px; fill: currentColor; flex: none; }

.btn__badge {
  position: absolute; top: -7px; right: -7px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 600; line-height: 1;
}

/* -------------------------------------------------------------- logo --- */

.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo__mark { width: 30px; height: 30px; }
.logo__word {
  display: grid;
  font-size: 15px; font-weight: 600; line-height: 1.08; letter-spacing: -0.02em;
}
.logo--light { color: #fff; }
/* the footer mark is monochrome white in the design */
.logo--light .logo__mark { filter: brightness(0) invert(1); }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 18px rgba(0, 0, 0, .06); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.nav__links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav__links > a { color: var(--ink); transition: color .15s var(--ease); }
.nav__links > a:hover { color: var(--muted); }
.nav__cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

.nav__toggle {
  display: none; width: 40px; height: 40px;
  place-content: center; gap: 5px;
  border: 1px solid var(--line); border-radius: 10px;
}
.nav__toggle span {
  display: block; width: 16px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

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

.hero { padding-top: 84px; }

/* the vertical rules that bracket the hero canvas in the design */
.hero__inner { position: relative; text-align: center; }
.hero__inner::before,
.hero__inner::after {
  content: ""; position: absolute; top: -84px; bottom: -22px; width: 1px;
  background: var(--line); pointer-events: none;
}
.hero__inner::before { left: 0; }
.hero__inner::after  { right: 0; }

.hero__title {
  font-size: clamp(32px, 4.7vw, 54px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.hero__sub {
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
}
.hero__actions {
  margin-top: 34px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}

/* inputs -> machine diagram */
.funnel { position: relative; margin-top: 66px; }

.funnel__inputs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  justify-items: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff;
  font-size: 13px; color: var(--ink);
  white-space: nowrap;
}
.chip svg {
  width: 15px; height: 15px; flex: none;
  fill: none; stroke: var(--ink-soft); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.funnel__wires {
  width: 100%; height: 128px; margin-top: 4px;
  fill: none; stroke: var(--line); stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.funnel__wires path { vector-effect: non-scaling-stroke; }

.funnel__machine {
  width: 52px; height: 52px; margin: -2px auto 0;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}
.funnel__machine img { width: 28px; height: 28px; }

.funnel__drop {
  display: block; width: 1px; height: 46px; margin: 0 auto;
  background: var(--line);
}

/* --------------------------------------------------- product preview --- */

.preview {
  display: grid; grid-template-columns: 320px 1fr; gap: 22px;
  margin-top: 22px; padding: 34px 0 44px;
  background: var(--surface);
}
.preview__side { display: grid; gap: 18px; align-content: start; }

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

.stat { padding: 16px 18px 18px; }
.stat__label { font-size: 13px; font-weight: 500; color: var(--ink); }
.stat__value {
  margin-top: 4px;
  display: flex; align-items: center; gap: 9px;
  font-size: 26px; font-weight: 600; letter-spacing: -0.03em;
}
.pill {
  padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: 0;
}
.pill--up { background: var(--pill-bg); color: var(--pill-fg); }

.seg {
  margin-top: 14px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.seg__btn {
  padding: 6px 0;
  font-size: 12px; color: var(--muted); text-align: center;
  border-right: 1px solid var(--line);
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.seg__btn:last-child { border-right: 0; }
.seg__btn:hover { background: var(--surface); }
.seg__btn.is-active { background: #fff; color: var(--ink); font-weight: 600; }

.spark { width: 100%; height: 96px; margin-top: 14px; }
.spark__grid line { stroke: var(--line-soft); stroke-width: 1; stroke-dasharray: 3 3; }
.spark polyline { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.spark__a { stroke: var(--orange); }
.spark__b { stroke: var(--blue); }

.legend { margin-top: 12px; display: grid; gap: 8px; font-size: 12px; }
.legend > div {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  padding-top: 8px; border-top: 1px solid var(--line-soft);
}
.legend dt { display: flex; align-items: center; gap: 7px; color: var(--ink); }
.legend dt svg { width: 14px; height: 14px; fill: var(--ink-soft); }
.legend dd { color: var(--muted); }
.delta { font-weight: 500; }
.delta--up   { color: var(--up); }
.delta--down { color: var(--down); }

.bars {
  margin-top: 18px; height: 130px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  align-items: end;
}
.bars li {
  height: var(--h); min-height: 52px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 7px 0 8px;
  background: var(--blue); border-radius: 8px;
  color: #fff; font-size: 11px; font-weight: 500;
}
.bars__m { opacity: .9; }

.calendar { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.calendar__head { display: grid; grid-template-columns: 88px 1fr; border-bottom: 1px solid var(--line); }
.calendar__nav { display: flex; border-right: 1px solid var(--line); }
.calendar__nav button {
  flex: 1; display: grid; place-items: center; padding: 9px 0;
  transition: background-color .15s var(--ease);
}
.calendar__nav button:first-child { border-right: 1px solid var(--line); }
.calendar__nav button:hover { background: var(--surface); }
.calendar__nav svg {
  width: 15px; height: 15px;
  fill: none; stroke: var(--ink-soft); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.calendar__days { display: grid; grid-template-columns: repeat(5, 1fr); }
.calendar__days span {
  padding: 9px 0; text-align: center;
  font-size: 11px; color: var(--muted); letter-spacing: .02em;
  border-right: 1px solid var(--line);
}
.calendar__days span:last-child { border-right: 0; }

.calendar__body { flex: 1; display: grid; grid-template-columns: 88px 1fr; min-height: 340px; }
.calendar__hours {
  display: grid; grid-auto-rows: 1fr;
  border-right: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.calendar__hours span { display: grid; place-items: center; }
.calendar__grid {
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 20% 16.666%;
}

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

.section__title {
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  text-align: center;
}
.section__title--sm { font-size: clamp(20px, 2.2vw, 26px); }
.section__title--left { text-align: left; }

.section__lede { margin-top: 12px; color: var(--muted); font-size: 16px; }
.section__head { max-width: 720px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .section__lede { text-align: center; }

/* --------------------------------------------------------- marquee ----- */

.proof { padding: 96px 0 104px; overflow: hidden; }
.proof .section__title { margin-bottom: 44px; }

.marquee { position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(to right, #fff, transparent); }
.marquee::after  { right: 0; background: linear-gradient(to left,  #fff, transparent); }

.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 22px; padding-right: 22px; }

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

.quote {
  width: 320px; flex: none; margin: 0;
  padding: 24px;
  background: var(--surface); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.quote blockquote { margin: 0; font-size: 14.5px; line-height: 1.5; }
.quote figcaption { display: flex; align-items: center; gap: 11px; }
.quote figcaption img { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; flex: none; }
.quote figcaption span { display: grid; font-size: 13px; color: var(--muted); line-height: 1.35; }
.quote figcaption b { color: var(--ink); font-weight: 600; }

.quote--brand {
  display: grid; place-items: center;
  background: var(--surface);
}

/* mascot ---------------------------------------------------------------- */

.mascot { color: var(--ink); fill: currentColor; }
.mascot .eye { fill: #fff; }
.mascot--sm  { width: 92px; height: 92px; color: var(--blue); }
.mascot--peek {
  width: 108px; height: 108px;
  margin: 26px 0 -46px auto; margin-right: 12%;
  position: relative; z-index: 1;
}
.mascot--cta { width: clamp(180px, 26vw, 290px); height: auto; }

/* ------------------------------------------------------- statement ----- */

.statement { padding: 150px 0 190px; }

/* --------------------------------------------------------- stepper ----- */

.steps { padding: 96px 0 110px; }
.steps .section__head { margin-bottom: 44px; }

.stepper { display: grid; grid-template-columns: 60px 1fr; gap: 0; background: #fff; }

.stepper__rail {
  display: grid; align-content: start; gap: 26px;
  padding: 30px 0;
  border-right: 1px dashed var(--line);
}
.stepper__num {
  font-size: 12px; font-weight: 500; color: #c9c5c5;
  text-align: left; padding-left: 4px;
  transition: color .18s var(--ease);
}
.stepper__num:hover { color: var(--ink-soft); }
.stepper__num.is-active { color: var(--blue); font-weight: 600; }

.stepper__panels { position: relative; }
.stepper__panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.stepper__panel[hidden] { display: none; }
.stepper__panel.is-active { animation: fade .34s var(--ease); }

@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.stepper__copy { padding: 46px 44px 46px 40px; }
.stepper__copy h3 { font-size: clamp(21px, 2.3vw, 28px); }

.ticks { margin: 22px 0 30px; display: grid; gap: 13px; }
.ticks li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 9px; height: 9px; background: var(--blue);
  transform: rotate(45deg); border-radius: 2px;
}

.stepper__shot {
  align-self: stretch; overflow: hidden;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 22px 0 0 22px;
  min-height: 340px;
}
.stepper__shot--blue { background: var(--blue); }
.stepper__shot img {
  width: 100%; max-width: 460px;
  border-top-left-radius: 8px;
  box-shadow: 0 -2px 30px rgba(0, 0, 0, .12);
}

/* ----------------------------------------------------- testimonial ----- */

.testimonial { padding: 0; }
.testimonial__box {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: 296px auto;
  grid-template-areas: "photo body" "foot foot";
  background: #fff;
  border-inline: 1px solid var(--line);
}
.testimonial__photo {
  grid-area: photo;
  border-right: 1px solid var(--line);
  display: flex; align-items: flex-end; justify-content: center;
  padding-top: 26px;
  overflow: hidden;
}
.testimonial__photo img {
  width: auto; height: 100%; max-width: none;
  object-fit: contain; object-position: center bottom;
}

.testimonial__body { grid-area: body; padding: 44px 48px 40px; }
.testimonial__meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.chans { display: inline-flex; align-items: center; gap: 10px; }
.chans svg { width: 16px; height: 16px; fill: var(--ink); }

.testimonial__quote {
  margin: 22px 0 0;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.45; letter-spacing: -0.015em; color: var(--ink-soft);
}
.testimonial__quote b { color: var(--ink); font-weight: 600; }
.testimonial__who { margin-top: 26px; font-size: 14px; color: var(--muted); }
.testimonial__who b { color: var(--ink); font-weight: 600; }

.testimonial__foot {
  grid-area: foot;
  display: grid; grid-template-columns: 240px 1fr;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.testimonial__footLabel { padding: 14px 20px; color: var(--muted); border-right: 1px solid var(--line); }
.testimonial__foot ul { display: flex; flex-wrap: wrap; gap: 26px; padding: 14px 24px; }
.testimonial__foot li { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.testimonial__foot svg {
  width: 15px; height: 15px;
  fill: none; stroke: var(--ink-soft); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

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

.features { padding: 110px 0 108px; }

.grid2 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  padding: 30px 0 34px;
  background: var(--surface);
}
.feature { padding: 18px 18px 26px; display: flex; flex-direction: column; }
.feature__shot {
  height: 210px; margin-bottom: 26px;
  border-radius: 8px; background: var(--surface);
  display: grid; place-items: center; overflow: hidden;
  padding: 18px;
}
.feature__shot img { width: 100%; height: 100%; object-fit: contain; }
.feature h3 { font-size: 21px; padding-inline: 12px; }
.feature p { margin-top: 12px; padding-inline: 12px; color: var(--muted); font-size: 14.5px; }

/* -------------------------------------------------------------- Ari --- */

.ari { padding: 0 0 110px; }
.ari .section__head { margin-bottom: 46px; }

.tabs { background: #fff; }
.tabs__list { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.tabs__btn {
  padding: 15px 0; text-align: center;
  font-size: 13.5px; color: #b9b5b5;
  border-right: 1px solid var(--line);
  background: var(--surface);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.tabs__btn:last-child { border-right: 0; }
.tabs__btn:hover { color: var(--ink-soft); }
.tabs__btn.is-active { background: #fff; color: var(--ink); font-weight: 500; }

.tabs__panel { display: grid; grid-template-columns: 1fr 1fr; min-height: 280px; }
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-active { animation: fade .34s var(--ease); }

.tabs__copy { padding: 60px 44px; align-self: center; }
.tabs__eyebrow { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.tabs__copy h3 { font-size: clamp(19px, 2vw, 24px); }
.tabs__copy p { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.tabs__copy .btn { margin-top: 26px; }

.tabs__demo {
  border-left: 1px solid var(--line);
  display: grid; place-items: center; padding: 40px;
}
.tabs__demo img { width: 100%; max-width: 420px; }

/* ---------------------------------------------------------- method --- */

.method { padding: 110px 0; }
.method__box { background: #fff; }

.method__cols {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--line);
}
.method__cols > li { padding: 34px 20px 26px; }
.blob {
  width: 74px; height: 74px; margin: 0 auto 30px;
  fill: none; stroke-width: 1.1; stroke: currentColor;
}
.blob--blue   { color: var(--brand-blue); }
.blob--purple { color: var(--brand-purple); }
.blob--red    { color: var(--brand-red); }
.blob--yellow { color: var(--brand-yellow); }

.method__label { font-size: 11.5px; color: var(--ink-soft); margin-bottom: 14px; }
.method__cols ul { display: grid; gap: 9px; }
.method__cols ul li {
  position: relative; padding-left: 18px;
  font-size: 11.5px; color: #b9b5b5;
}
.method__cols ul li::before {
  content: ""; position: absolute; left: 0; top: .34em;
  width: 9px; height: 9px; border: 1px solid #d6d3d3; border-radius: 999px;
}

.method__copy { padding: 34px 34px 40px; }
.method__copy h2 { font-size: clamp(24px, 2.8vw, 32px); }
.method__copy p { margin-top: 14px; max-width: 620px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.method__copy .btn { margin-top: 26px; }

/* ------------------------------------------------------------- CTA --- */

.cta { padding: 0 0 120px; }
.cta__box {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px;
  background: var(--surface); border-radius: 20px;
  padding: 64px 0 64px 56px;
  overflow: hidden;
}
.cta__copy h2 {
  max-width: 460px;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.22; color: var(--muted);
}
.cta__copy h2 b { color: var(--ink); font-weight: 600; }
.cta__copy .btn { margin-top: 30px; }
/* the mascot bleeds past the right edge of the panel and is clipped by it */
.mascot--cta {
  align-self: stretch;
  width: auto; height: auto; aspect-ratio: 1;
  margin: -64px -60px -64px 0;
}

/* -------------------------------------------------------- creators --- */

.creators { padding: 0 0 120px; }
.creators__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 40px;
}
.creators__nav { display: flex; gap: 10px; flex: none; }
.creators__nav button {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.creators__nav button:hover { border-color: #c9c9c9; background: var(--surface); }
.creators__nav button:disabled { opacity: .35; cursor: default; }
.creators__nav svg {
  width: 17px; height: 17px;
  fill: none; stroke: var(--ink); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

.creators__rail {
  /* three cards per view, as in the design — the rest scroll in */
  display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / 3);
  gap: 0;
  border-block: 1px solid var(--line);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.creators__rail::-webkit-scrollbar { display: none; }

.creator {
  scroll-snap-align: start;
  border-right: 1px solid var(--line);
  background: #fff;
  min-width: 240px;
}
.creator:last-child { border-right: 0; }
.creator__photo {
  height: 250px; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.creator__photo img { height: 100%; width: auto; max-width: none; object-fit: cover; }

.creator__meta { padding: 20px 22px 22px; border-top: 1px solid var(--line); }
.creator__meta h3 { font-size: 19px; margin-bottom: 14px; }
.creator__meta dl { display: grid; gap: 9px; font-size: 12.5px; }
.creator__meta dl > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.creator__meta dt { color: var(--muted); }
.creator__meta dd { color: var(--ink); }
.creator__meta .chans svg { width: 14px; height: 14px; }

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

.legal { padding: 60px 0 110px; }

.legal__head {
  position: relative;
  padding: 0 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 52px;
}
.legal__eyebrow { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.legal__title { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.035em; }
.legal__updated { margin-top: 16px; font-size: 14px; color: var(--muted); }
.legal__intro { margin-top: 24px; max-width: 680px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

.legal__layout { display: grid; grid-template-columns: 232px 1fr; gap: 72px; align-items: start; }

/* table of contents ----------------------------------------------------- */

.toc { position: sticky; top: 100px; }
.toc__label {
  font-size: 11.5px; color: var(--muted);
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.toc ol { display: grid; gap: 2px; counter-reset: none; }
.toc a {
  display: block; padding: 6px 10px;
  border-radius: 7px;
  font-size: 13px; line-height: 1.35; color: var(--muted);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.toc a:hover { color: var(--ink); background: var(--surface); }
.toc a.is-current { color: var(--ink); background: var(--surface); font-weight: 500; }

/* body ------------------------------------------------------------------ */

.legal__body { max-width: 720px; font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }
.legal__body > section + section { margin-top: 48px; }
.legal__body h2 {
  font-size: 21px; color: var(--ink);
  margin-bottom: 18px;
  scroll-margin-top: 100px;
}
.legal__body h3 {
  font-size: 16px; color: var(--ink);
  margin: 28px 0 12px;
}
.legal__body p + p { margin-top: 14px; }
.legal__body a:not(.btn) {
  color: var(--blue);
  text-decoration: underline; text-underline-offset: 2px;
}
.legal__body a:not(.btn):hover { color: #0b78ec; }
.legal__body strong,
.legal__body li > b { color: var(--ink); font-weight: 600; }

.legal__body ul,
.legal__body ol { margin: 16px 0; display: grid; gap: 11px; }
.legal__body li { position: relative; padding-left: 22px; }
.legal__body li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 5px; height: 5px; border-radius: 999px; background: #c9c5c5;
}
.legal__body ol { counter-reset: legal; }
.legal__body ol > li { padding-left: 28px; counter-increment: legal; }
.legal__body ol > li::before {
  content: "(" counter(legal, lower-alpha) ")";
  top: 0; left: 0;
  width: auto; height: auto; border-radius: 0; background: none;
  font-size: 13.5px; color: var(--muted);
}

/* a defined-term list: bolded label followed by its explanation */
.legal__body .terms { display: grid; gap: 14px; margin: 18px 0; }
.legal__body .terms li { padding-left: 0; }
.legal__body .terms li::before { content: none; }
.legal__body .terms b { color: var(--ink); font-weight: 600; }

.legal__note {
  margin: 0 0 40px;
  padding: 18px 20px;
  border: 1px solid var(--line); border-left: 3px solid var(--orange);
  border-radius: 8px;
  background: var(--surface);
  font-size: 14.5px;
}

.legal__card {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  font-size: 14.5px; line-height: 1.6;
}
.legal__card dl { display: grid; gap: 6px; }
.legal__card dl > div { display: flex; gap: 8px; flex-wrap: wrap; }
.legal__card dt { color: var(--muted); min-width: 72px; }
.legal__card dd { color: var(--ink); }

/* uppercase statutory blocks (disclaimers, liability caps) */
.legal__body .legalese { font-size: 13.5px; letter-spacing: .005em; }

.legal__foot {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted);
}

@media (max-width: 900px) {
  .legal { padding: 40px 0 80px; }
  .legal__layout { grid-template-columns: 1fr; gap: 40px; }
  .toc {
    position: static;
    padding: 18px 20px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface);
  }
  .toc ol { grid-template-columns: repeat(2, 1fr); }
  .legal__body { max-width: none; }
}

@media (max-width: 620px) {
  .toc ol { grid-template-columns: 1fr; }
}

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

.site-footer { background: var(--ink); color: #fff; padding: 56px 0 26px; }
.site-footer__top {
  display: grid; grid-template-columns: 1fr 2.1fr; gap: 40px;
  padding: 34px 0 40px;
  border-block: 1px solid rgba(255, 255, 255, .13);
}
.site-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.site-footer__cols h2 { font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.site-footer__cols ul { display: grid; gap: 11px; }
.site-footer__cols a {
  font-size: 13.5px; color: rgba(255, 255, 255, .72);
  transition: color .15s var(--ease);
}
.site-footer__cols a:hover { color: #fff; }
.site-footer__social a { display: flex; align-items: center; gap: 10px; }
.site-footer__social svg { width: 16px; height: 16px; fill: currentColor; flex: none; }

.site-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px;
  padding-top: 26px;
  font-size: 12.5px; color: rgba(255, 255, 255, .6);
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 26px; }
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom a:hover { color: #fff; }

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

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

/* ====================================================== breakpoints ==== */

@media (max-width: 1080px) {
  .method__cols { grid-template-columns: repeat(3, 1fr); }
  .method__cols > li { border-bottom: 1px solid var(--line); }
  .cta__box { padding-left: 40px; }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 22px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links > a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .nav__cta { margin: 18px 0 0; }
  .nav__cta .btn { flex: 1; }
  .nav__toggle { display: grid; }

  .preview { grid-template-columns: 1fr; }
  .preview__side { grid-template-columns: 1fr 1fr; }
  .calendar__body { min-height: 260px; }

  .stepper { grid-template-columns: 46px 1fr; }
  .stepper__panel { grid-template-columns: 1fr; }
  .stepper__copy { padding: 32px 24px; }
  .stepper__shot { min-height: 260px; padding: 20px 20px 0; }

  .testimonial__box {
    grid-template-columns: 1fr;
    grid-template-rows: 260px auto auto;
    grid-template-areas: "photo" "body" "foot";
  }
  .testimonial__photo { border-right: 0; border-bottom: 1px solid var(--line); }
  .testimonial__body { padding: 30px 26px; }
  .testimonial__foot { grid-template-columns: 1fr; }
  .testimonial__footLabel { border-right: 0; border-bottom: 1px solid var(--line); }

  .grid2 { grid-template-columns: 1fr; }

  .tabs__list { grid-template-columns: repeat(3, 1fr); }
  .tabs__btn:nth-child(3) { border-right: 0; }
  .tabs__btn:nth-child(n+4) { border-top: 1px solid var(--line); }
  .tabs__panel { grid-template-columns: 1fr; }
  .tabs__copy { padding: 36px 26px; }
  .tabs__demo { border-left: 0; border-top: 1px solid var(--line); padding: 30px 24px; }

  .cta__box { grid-template-columns: 1fr; padding: 44px 28px 0; }
  .cta__copy h2 { max-width: none; }
  .mascot--cta {
    align-self: center;
    width: min(260px, 70%); height: auto; aspect-ratio: auto;
    margin: 26px auto -1px;
  }

  .creators__rail { grid-auto-columns: 78%; }

  .site-footer__top { grid-template-columns: 1fr; gap: 34px; }
  .site-footer__cols { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }

  .frame::before { inset: -1px calc(var(--gutter) * -1); }
  .frame::after  { inset: -6px calc(var(--gutter) * -1 - 6px); }
}

@media (max-width: 620px) {
  /* let copy reflow instead of honouring the desktop line breaks */
  .hero__title br, .hero__sub br, .section__title br, .tabs__copy p br { display: none; }

  .hero { padding-top: 56px; }
  .funnel__inputs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .funnel__wires { display: none; }
  .funnel__machine { margin-top: 30px; }
  .chip { font-size: 12px; padding: 8px 13px; }

  .preview__side { grid-template-columns: 1fr; }
  .statement { padding: 90px 0 110px; }
  .proof, .steps, .features { padding-block: 70px; }
  .method, .ari { padding-block: 70px; }

  .method__cols { grid-template-columns: repeat(2, 1fr); }
  .quote { width: 270px; }
  .creators__rail { grid-auto-columns: 86%; }
  .creators__head { flex-direction: column; align-items: flex-start; }

  .site-footer__cols { grid-template-columns: 1fr; }
  .site-footer__bottom { justify-content: flex-start; gap: 14px; }
  .site-footer__bottom ul { gap: 18px; }
}

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

@media (prefers-reduced-motion: reduce) {
  html, .creators__rail { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
