/* =========================================================
   automations.erezb.pro — Erez Bartal
   AI ואוטומציה לעסקים
   Visual system: deep violet-black ground with purple/blue/magenta
   blooms, white rounded cards, glowing pink CTA.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* grounds */
  --night:        #0A0613;
  --night-2:      #140B23;
  --violet:       #6A1CB0;
  --blue:         #1F46D8;
  --magenta:      #B01252;
  --crimson:      #8A0B35;

  /* surfaces */
  --card:         #FFFFFF;
  --card-2:       #F6F7FB;
  --card-ink:     #101B3D;
  --card-soft:    #5C6480;
  --card-rule:    #E4E7F0;

  /* text on dark */
  --on-dark:      #FFFFFF;
  --on-dark-soft: #C6BCD8;
  --on-dark-faint:#8E85A3;
  --hairline:     rgba(255, 255, 255, .13);

  /* action */
  --cta:          #FF2E63;
  --cta-2:        #E0134E;
  --cta-ink:      #FFFFFF;
  --cta-glow:     rgba(255, 46, 99, .38);

  --radius:       18px;
  --radius-sm:    12px;
  --measure:      1120px;
  --gutter:       clamp(18px, 5vw, 48px);
  --sect:         clamp(54px, 7vw, 104px);

  /* one family, weight does the work. swap this line to try another face. */
  --font-display: "Noto Sans Hebrew", "Arial Hebrew", system-ui, sans-serif;
  --font-head: var(--font-display);
  --font-body: var(--font-display);
}

/* The page commits to one dark visual world in both themes. */
:root[data-theme="light"], :root[data-theme="dark"] { color-scheme: dark; }

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

html { font-family: var(--font-body); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
}
h1, h2, .h-sect, .final h2, .about-name {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.035em;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--cta); color: #fff; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout ---------- */
.wrap { position: relative; z-index: 1; width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
/* every section is a station on the route: a hairline frame that
   warms up once you arrive at it */
.section {
  position: relative;
  padding-block: var(--sect);
  max-width: calc(var(--measure) + var(--gutter) * 2.4);
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: clamp(20px, 2.6vw, 34px);
  background: rgba(255, 255, 255, .014);
  transition: border-color .6s ease, background .6s ease, box-shadow .6s ease;
}
.section.is-here {
  border-color: rgba(255, 255, 255, .17);
  background: rgba(255, 255, 255, .03);
  box-shadow: 0 0 60px -30px rgba(255, 46, 99, .5), inset 0 1px 0 rgba(255, 255, 255, .05);
}
@media (max-width: 700px) {
  .section { margin-inline: 10px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { .section { transition: none; } }

/* ---------------------------------------------------------
   One continuous ground for the whole page.
   Sections are transparent; the colour journey happens in
   .page-bg, so nothing ever meets at a hard edge.
   --------------------------------------------------------- */
.page-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #0A0613   0%,
    #150B27   9%,
    #1B0B2F  18%,
    #2E0A2C  27%,
    #14092A  38%,
    #180B31  48%,
    #1B0A2D  57%,
    #120827  66%,
    #240924  76%,
    #3E0A26  85%,
    #1A0A24  94%,
    #0A0613 100%
  );
}
.bloom { position: absolute; border-radius: 50%; }
.page-bg .bloom-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) { .page-bg .bloom-layer { transform: none !important; } }
.bloom--blue   { top: -6%;  inset-inline-end: -14%; width: 78vw; height: 46vw; background: radial-gradient(closest-side, rgba(31,70,216,.62), transparent 72%); }
.bloom--violet { top:  2%;  inset-inline-start: -18%; width: 76vw; height: 50vw; background: radial-gradient(closest-side, rgba(106,28,176,.66), transparent 72%); }
.bloom--mag1   { top: 14%;  inset-inline-start: -10%; width: 70vw; height: 44vw; background: radial-gradient(closest-side, rgba(176,18,82,.5), transparent 72%); }
.bloom--crim1  { top: 22%;  inset-inline-end: -12%; width: 84vw; height: 48vw; background: radial-gradient(closest-side, rgba(160,14,65,.6), transparent 72%); }
.bloom--violet2{ top: 36%;  inset-inline-end: -16%; width: 78vw; height: 48vw; background: radial-gradient(closest-side, rgba(120,34,196,.62), transparent 72%); }
.bloom--blue2  { top: 46%;  inset-inline-start: -16%; width: 76vw; height: 48vw; background: radial-gradient(closest-side, rgba(36,80,232,.56), transparent 72%); }
.bloom--mag2   { top: 58%;  inset-inline-start: -12%; width: 74vw; height: 46vw; background: radial-gradient(closest-side, rgba(190,22,92,.5), transparent 72%); }
.bloom--violet3{ top: 68%;  inset-inline-end: -14%; width: 78vw; height: 46vw; background: radial-gradient(closest-side, rgba(118,32,192,.58), transparent 72%); }
.bloom--crim2  { top: 80%;  inset-inline-start: -14%; width: 90vw; height: 52vw; background: radial-gradient(closest-side, rgba(160,14,65,.62), transparent 72%); }
.bloom--blue3  { top: 90%;  inset-inline-end: -18%; width: 76vw; height: 44vw; background: radial-gradient(closest-side, rgba(31,70,216,.4), transparent 72%); }

/* section classes stay as structure hooks — the ground is shared */
.bg-night, .bg-deep, .bg-crimson { background: transparent; }

.bg-card { background: var(--card-2); color: var(--card-ink); }

/* decorative contour lines */
.waves {
  position: absolute; inset-block: 0; z-index: 0;
  pointer-events: none; opacity: .5;
  width: min(320px, 26vw); height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.waves--start { inset-inline-start: 0; }
.waves--end { inset-inline-end: 0; transform: scaleX(-1); }
@media (max-width: 860px) { .waves { display: none; } }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  margin-bottom: 22px;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .04em;
  color: #FF7A9E;
  background: rgba(255, 46, 99, .12);
  border: 1px solid rgba(255, 46, 99, .3);
  padding: 7px 16px;
  border-radius: 999px;
}
.bg-card .eyebrow { background: rgba(255, 46, 99, .09); color: #D4114C; }

.h-sect { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.12; }
/* a beat before the question, inside the heading rather than above it */
.lead-in { display: block; font-size: .5em; font-weight: 700; letter-spacing: -.02em;
  color: var(--on-dark-soft); margin-bottom: .35em; }
.h-sub { margin-top: 20px; color: var(--on-dark-soft); font-size: clamp(1.08rem, 1.7vw, 1.28rem); max-width: 50ch; line-height: 1.65; }
.bg-card .h-sub { color: var(--card-soft); }
.center { text-align: center; }
.center .h-sub, .center .eyebrow { margin-inline: auto; }
.center .h-sub { max-width: 46ch; }

/* marker under a highlighted word */
.nb { white-space: nowrap; }
/* the display face is large enough that forced phrases overflow narrow screens */
@media (max-width: 760px) { .nb { white-space: normal; } }
/* The bar is painted as a background rather than as one absolutely
   positioned box, because an inline span that wraps has no single box to
   position against: the old ::after collapsed to a dot on the last line
   whenever the phrase broke on a phone. A cloned decoration underlines
   every fragment instead. */
.mark {
  white-space: nowrap;
  background-image: linear-gradient(var(--cta), var(--cta));
  background-repeat: no-repeat;
  background-size: 100% .16em;
  background-position: 0 calc(100% - .04em);
  padding-inline: 2px; margin-inline: -2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@media (max-width: 760px) { .mark { white-space: normal; } }
.grad {
  background: linear-gradient(92deg, #FF5C87 0%, #C86BFF 55%, #6FA8FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(.98rem, 1.4vw, 1.08rem);
  padding: 15px 30px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn--cta {
  background: linear-gradient(96deg, var(--cta) 0%, var(--cta-2) 100%);
  color: var(--cta-ink);
  box-shadow: 0 10px 30px -8px var(--cta-glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--cta:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px var(--cta-glow); }
.btn--ghost { background: transparent; color: var(--on-dark); border: 1.5px solid var(--hairline); }
.btn--wa { background: #128C7E; border-color: #128C7E; color: #fff; }
.btn--wa:hover { background: #0E6F64; border-color: #0E6F64; color: #fff; }
.btn--ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.bg-card .btn--ghost { color: var(--card-ink); border-color: var(--card-rule); }
.bg-card .btn--ghost:hover { background: #fff; border-color: #C9CEDD; }
.btn--wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
h1 + .btn-row, h2 + .btn-row, p + .btn-row, .h-sub + .btn-row { margin-top: clamp(26px, 3.2vw, 34px); }
/* text that follows a button gets the same pocket of air the button was
   given above it, so the row does not read as glued to the paragraph */
.btn-row + .h-sub { margin-top: clamp(26px, 3.2vw, 34px); }
.center .btn-row { justify-content: center; }
.btn .ic { font-size: 1.1em; line-height: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(10,6,19,.92) 0%, rgba(10,6,19,.72) 55%, rgba(10,6,19,0) 100%);
  backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  transition: background .2s ease;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); }
.brand-logo { width: 34px; height: 34px; display: block; }
.brand-name { font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }
.brand-name span { color: var(--on-dark-faint); font-weight: 500; font-size: .82rem; display: block; line-height: 1.2; }
/* a hairline in the gap so the three items read as separate stops */
.nav { display: flex; align-items: center; gap: 0; }
.nav a {
  position: relative;
  text-decoration: none; font-family: var(--font-head); font-weight: 700;
  font-size: .95rem; letter-spacing: -.01em; color: rgba(255, 255, 255, .78);
  padding-inline: 15px; line-height: 1.5;
  transition: color .18s ease;
}
/* the separator is drawn, not typed: a middot lands at a different size
   and height in every font, and this one has to sit dead centre in the
   gap and stay round */
.nav a + a::before {
  content: ""; position: absolute; inset-inline-start: -2.5px; top: 50%;
  width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%;
  background: var(--cta);
}
.nav a:first-child { padding-inline-start: 0; }
.nav a:last-child { padding-inline-end: 0; }
.nav a:hover, .nav a.is-active { color: #fff; }
/* the words are bright enough now that white alone barely reads as "you
   are here", so the section you are standing in gets a rule under it */
.nav a.is-active::after {
  content: ""; position: absolute; bottom: -5px; height: 2px; border-radius: 2px;
  inset-inline: 15px; background: var(--cta);
}
.nav a:first-child.is-active::after { inset-inline-start: 0; }
.nav a:last-child.is-active::after { inset-inline-end: 0; }
@media (max-width: 940px) { .nav { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 76px) clamp(52px, 7vw, 92px); }
/* The clip and the pitch used to share a row, which left the headline
   545px to work in - four lines of display type - and the clip 428px,
   too small to read the spreadsheet it is showing. Stacked, the words get
   the full measure and the picture gets a size worth looking at. */
.hero-stack { max-width: 940px; margin-inline: auto; }
.hero-stack .hero-sub, .hero-stack .hero-meta { max-width: 52ch; margin-inline: auto; }
.hero-film { max-width: 800px; margin-top: clamp(32px, 4.2vw, 52px); }
.hero h1 {
  font-size: clamp(2.05rem, 5.6vw, 3.9rem);
  line-height: 1.12;
}
/* nowrap that is never released: a hyphenated latin run like ל-AI
   must not break across lines at any width */
.keep { white-space: nowrap; }
.hero h1 .l2 { display: block; }
.hero-sub { margin-top: 24px; font-size: clamp(1.15rem, 1.9vw, 1.42rem); color: var(--on-dark-soft); max-width: 36ch; }
.hero-sub b { color: #fff; font-weight: 700; }


.hero-meta {
  margin-top: 20px;
  color: var(--on-dark-soft);
  font-size: .95rem;
  max-width: 42ch;
}
.hero-meta b { color: #fff; font-weight: 700; }

/* video */
.video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #14091F;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 0 6px rgba(255,255,255,.03);
  aspect-ratio: 16 / 9;
}
.video iframe { width: 100%; height: 100%; border: 0; }
/* the loop fills the 16:9 frame; object-fit keeps a clip of another
   ratio from letterboxing inside a box that already has a border */
.video-loop { width: 100%; height: 100%; display: block; object-fit: cover; background: #14091F; }
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #180C26 center/cover no-repeat; }
.video-facade::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,6,19,.15) 0%, rgba(10,6,19,.72) 100%);
}
.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 74px; height: 74px; border-radius: 50%;
  background: linear-gradient(96deg, var(--cta), var(--cta-2));
  box-shadow: 0 12px 34px -6px var(--cta-glow);
  display: grid; place-items: center;
  z-index: 2;
  transition: transform .2s ease;
}
.video-facade:hover .video-play { transform: scale(1.07); }
.video-play svg { width: 26px; height: 26px; fill: #fff; margin-inline-start: 4px; }
.video-cap {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  padding: 16px 20px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.video-cap small { color: var(--on-dark-soft); font-weight: 400; }

/* ---------- Pain chips ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 42px); }
@media (max-width: 860px) { .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pain-grid { grid-template-columns: 1fr; } }
.pain {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  font-family: var(--font-head); font-weight: 500; font-size: 1.08rem;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.pain:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.pain i {
  flex: 0 0 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(140deg, rgba(255,46,99,.9), rgba(139,49,216,.9));
  display: grid; place-items: center;
}
.pain i svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.7; }
/* the sentences in this section are centred; only the six cards keep
   their own alignment, since each is an icon followed by its line */
.pain-note { margin-top: 34px; font-size: clamp(1.2rem, 2.1vw, 1.6rem); font-family: var(--font-head); font-weight: 600;
  text-align: center; max-width: 46ch; margin-inline: auto; }

/* ---------- Order / differentiation ---------- */
.order { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: clamp(22px, 3vw, 32px); max-width: 860px; margin-inline: auto; justify-items: center; }
.order-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  width: max-content; max-width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.order-row.is-bad { opacity: .6; }
.order-tag {
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  padding: 4px 10px; border-radius: 999px; margin-inline-end: 6px;
  background: rgba(255,46,99,.16); color: #FF7A9E;
}
.order-row.is-good .order-tag { background: rgba(88, 233, 170, .16); color: #6FE9B4; }
.node { font-family: var(--font-head); font-weight: 600; font-size: .98rem; padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,.09); }
.order-row.is-good .node { background: linear-gradient(120deg, rgba(255,46,99,.25), rgba(139,49,216,.25)); }
.order-row.is-bad .node { text-decoration: line-through; }
.sep { color: var(--on-dark-faint); }
.order-note { font-size: .92rem; color: var(--on-dark-soft); text-align: center; }

/* ---------- The track: one product, three stages ---------- */
.track {
  display: grid;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
  max-width: 860px;
  margin-inline: auto;
}
.track-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 26px);
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 24px) clamp(18px, 2.4vw, 26px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.track-step:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .28); }
@media (max-width: 620px) {
  .track-step { grid-template-columns: auto minmax(0, 1fr); row-gap: 10px; }
  .track-meta { grid-column: 2; justify-self: start; }
}
.track-n {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  direction: ltr;
  background: linear-gradient(140deg, var(--cta), #8B31D8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.track-body h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.track-body p { margin-top: 9px; color: var(--on-dark-soft); font-size: 1.05rem; }
.track-tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(96deg, var(--cta), var(--cta-2));
  color: #fff;
}
.track-meta {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  color: var(--on-dark-soft);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}
/* the middle stage is the product itself */
.track-step.is-core {
  background: var(--card);
  border-color: transparent;
  box-shadow: 0 26px 56px -30px rgba(6, 2, 16, .95);
}
.track-step.is-core:hover { background: var(--card); transform: translateY(-3px); }
.track-step.is-core .track-body h3 { color: var(--card-ink); }
.track-step.is-core .track-body p { color: var(--card-soft); }
.track-step.is-core .track-meta { color: var(--card-ink); border-color: var(--card-rule); }

.win { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.win li {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid var(--hairline);
  display: flex; align-items: center; gap: 8px;
}
.win li::before { content: "\2713"; color: #6FE9B4; font-weight: 700; }

/* ---------- Worked example: one real event, minute by minute ---------- */
.demo { margin-top: clamp(26px, 3.6vw, 42px); }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.demo-tab {
  font: inherit; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  color: var(--on-dark-soft); background: transparent;
  border: 1px solid var(--hairline); border-radius: 999px; padding: 11px 22px; cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.demo-tab:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.demo-tab.is-on {
  color: #fff; border-color: transparent;
  background: linear-gradient(96deg, var(--cta), var(--cta-2));
  box-shadow: 0 10px 26px -12px var(--cta-glow);
}
.demo-panel[hidden] { display: none; }
.demo-panel { animation: demoIn .32s ease both; margin-top: 30px; }
@keyframes demoIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .demo-panel { animation: none; } }

.story-head {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--on-dark-soft);
  margin-bottom: 26px;
}
.story-head b { color: #fff; }

.story { position: relative; max-width: 660px; margin-inline: auto; display: grid; gap: 0; }
.story-step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 34px;
  padding-bottom: 30px;
}
.story-step:last-child { padding-bottom: 0; }
/* the rail runs between the clock and what happened */
.story-step::before {
  content: "";
  position: absolute;
  top: 24px; bottom: -8px;
  inset-inline-start: calc(52px + 16px);
  width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
}
.story-step:last-child::before { display: none; }
.story-step::after {
  content: "";
  position: absolute;
  top: 8px;
  inset-inline-start: calc(52px + 11px);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--night);
  border: 2px solid rgba(255,255,255,.32);
}
.story-step.is-ai::after {
  background: linear-gradient(140deg, var(--cta), #8B31D8);
  border-color: transparent;
  box-shadow: 0 0 16px rgba(255,46,99,.7);
}
.story-time {
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  color: var(--on-dark-faint); direction: ltr; text-align: left; padding-top: 2px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.story-step.is-ai .story-time { color: #FF7A9E; }
.story-what { font-size: 1.02rem; font-weight: 600; }
.story-what span { display: block; font-weight: 400; font-size: .92rem; color: var(--on-dark-soft); margin-top: 3px; }
.story-art { margin-top: 12px; }

.ai-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: .86rem; color: #fff;
  background: linear-gradient(125deg, rgba(255,46,99,.9), rgba(139,49,216,.9));
  border-radius: 999px; padding: 8px 15px;
  box-shadow: 0 12px 28px -16px rgba(255,46,99,.9);
}
.ai-chip em { font-style: normal; opacity: .8; font-weight: 500; }

.story-punch {
  margin-top: 30px; text-align: center;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600; color: var(--on-dark-soft);
}
.story-punch b { color: #fff; font-weight: 900; font-family: var(--font-display); letter-spacing: -.02em; }

.demo-note {
  /* the line needs 732px at this size - 660 broke it in the middle */
  max-width: 780px; margin: 34px auto 0; text-align: center;
  font-size: .96rem; line-height: 1.75; color: var(--on-dark-faint);
  border-top: 1px solid var(--hairline); padding-top: 22px;
}

@media (max-width: 620px) {
  .story-step { grid-template-columns: 48px minmax(0, 1fr); gap: 26px; }
  .story-step::before { inset-inline-start: calc(48px + 12px); }
  .story-step::after { inset-inline-start: calc(48px + 7px); }
  .story-time { font-size: .82rem; }
}


/* ---------- Mockup primitives used inside the story ---------- */
.frame {
  background: #14101F;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 26px 60px -32px rgba(0,0,0,.95);
}
.frame-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 13px; background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); }
.frame-bar span { margin-inline-start: auto; font-size: .72rem; color: var(--on-dark-faint); font-family: var(--font-head); }
.frame-body { padding: 14px 16px; font-size: .92rem; }

/* form-style rows */
.f-row { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.f-row:last-child { border-bottom: 0; }
.f-row b { flex: 0 0 74px; color: var(--on-dark-faint); font-weight: 500; font-size: .84rem; }
.f-row span { color: #fff; }

/* chat bubble */
.bubble {
  background: linear-gradient(180deg, #1F7A5E, #17614A);
  border-radius: 14px 14px 14px 4px;
  padding: 11px 14px; color: #fff; font-size: .92rem; line-height: 1.55;
  max-width: 92%; position: relative;
}
.bubble .meta { display: flex; gap: 5px; align-items: center; justify-content: flex-start; margin-top: 6px;
  font-size: .68rem; color: rgba(255,255,255,.65); direction: ltr; }
.bubble .meta svg { width: 13px; height: 13px; stroke: #7FE3C0; fill: none; stroke-width: 2.2; }

/* spreadsheet strip */
.grid-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: .78rem; }
.grid-mini div { padding: 8px 9px; border-inline-start: 1px solid rgba(255,255,255,.08); border-top: 1px solid rgba(255,255,255,.08); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grid-mini .h { background: rgba(255,255,255,.07); color: var(--on-dark-faint); font-weight: 600; border-top: 0; }
.grid-mini .new { background: rgba(111,233,180,.12); color: #fff; }
.grid-mini .tag { color: #FF7A9E; font-weight: 700; }

/* task / post cards */
.mini-card { display: flex; gap: 10px; align-items: flex-start; }
.mini-card .av {
  flex: 0 0 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--cta), #8B31D8); font-size: .72rem; font-weight: 800; font-family: var(--font-head);
}
.mini-card p { font-size: .9rem }
.mini-card .t { font-size: .72rem; color: var(--on-dark-faint); margin-top: 3px; }
.pill-done { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700;
  color: #6FE9B4; background: rgba(111,233,180,.14); border-radius: 999px; padding: 3px 10px; margin-top: 8px; }

/* ---------------------------------------------------------
   The journey runs between the sections: each gap holds a
   curve that sweeps across the page and draws itself as you
   arrive, so scrolling feels like travelling the route.
   --------------------------------------------------------- */
.junction {
  position: relative;
  height: clamp(150px, 19vw, 260px);
  /* legs of different lengths keep the descent from feeling metronomic */
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.junction:nth-of-type(2n) { height: clamp(126px, 15vw, 210px); }
.junction:nth-of-type(3n) { height: clamp(170px, 22vw, 300px); }
.junction svg {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}
.j-base { fill: none; stroke: rgba(255,255,255,.13); stroke-width: 2; stroke-linecap: round; }
.j-draw {
  fill: none;
  stroke: url(#jGrad);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 9px rgba(255,46,99,.5));
}
.j-head { fill: #fff; opacity: 0; filter: drop-shadow(0 0 12px rgba(255,46,99,.95)); transition: opacity .25s ease; }
.junction.is-live .j-head { opacity: 1; }

.j-stop {
  position: absolute;
  top: 50%; left: 50%;
  width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px;
  border-radius: 50%;
  background: var(--night);
  border: 2px solid rgba(255,255,255,.26);
  transition: transform .4s cubic-bezier(.22,.61,.36,1), background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.j-stop.is-on {
  background: linear-gradient(140deg, var(--cta), #8B31D8);
  border-color: transparent;
  transform: scale(1.5);
  box-shadow: 0 0 0 6px rgba(255,46,99,.14), 0 0 24px rgba(255,46,99,.6);
}
@media (prefers-reduced-motion: reduce) { .j-stop, .j-head { transition: none; } }

/* ---------------------------------------------------------
   Flow: nodes joined by curved connectors with a travelling
   pulse, instead of a row of text and arrows.
   --------------------------------------------------------- */
.flow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
}
.node-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 15px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--hairline);
  font-size: .96rem;
  font-weight: 600;
  font-family: var(--font-head);
  white-space: nowrap;
  backdrop-filter: blur(6px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.node-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.11); }
.node-card .ico {
  flex: 0 0 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1);
}
.node-card .ico svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.node-card--ai {
  background: linear-gradient(125deg, rgba(255,46,99,.92), rgba(139,49,216,.92));
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 14px 34px -16px rgba(255,46,99,.9);
}
.node-card--ai .ico { background: rgba(255,255,255,.22); }
.node-card--ai .sub { color: rgba(255,255,255,.82); }
.node-card .sub { display: block; font-size: .74rem; white-space: nowrap; font-weight: 400; color: var(--on-dark-faint); margin-top: 1px; }
.node-card--end { border-style: dashed; border-color: rgba(111,233,180,.5); }

.link-curve { flex: 0 0 38px; align-self: center; height: 22px; position: relative; }
.link-curve svg { width: 100%; height: 100%; overflow: visible; }
.link-curve path {
  fill: none;
  stroke: rgba(255,255,255,.3);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 2 6;
}
.link-curve .pulse { fill: var(--cta); filter: drop-shadow(0 0 7px rgba(255,46,99,.95)); }
@media (max-width: 900px) {
  .flow-row { flex-direction: column; align-items: stretch; }
  .link-curve { flex: 0 0 26px; width: 38px; height: 26px; align-self: flex-start; margin-inline-start: 26px; transform: rotate(-90deg); }
}
@media (prefers-reduced-motion: reduce) { .link-curve .pulse { display: none; } }

/* the order of work, as a rising path rather than a line of arrows */
.order-flow { margin-top: clamp(26px, 3.5vw, 40px); }
.order-flow .flow-row { justify-content: center; }
.order-flow .node-card { font-size: 1.02rem; }
.order-flow .step-i {
  font-family: var(--font-head); font-weight: 800; font-size: .78rem;
  color: var(--cta); direction: ltr;
}
.order-note {
  font-size: 1.02rem; color: var(--on-dark-soft); margin-top: 26px;
  max-width: 60ch; margin-inline: auto; text-align: center;
}
.order-note b { color: #fff; font-weight: 700; }
.order-note-head {
  font-family: var(--font-head); font-weight: 900; letter-spacing: -.03em;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem); color: #fff; margin-bottom: 8px;
}
/* the claim leads, the four cards prove it, the reason closes */
.order-note--claim { margin-top: 0; margin-bottom: clamp(24px, 3vw, 34px); }
.order-note-sub {
  max-width: 60ch; margin-inline: auto; text-align: center;
  margin-top: clamp(22px, 3vw, 30px); font-size: .94rem; line-height: 1.75;
  color: var(--on-dark-faint); border-top: 1px solid var(--hairline); padding-top: 16px;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  /* stacked, a full-width 3:4 portrait would own the screen */
  .portrait { max-width: 320px; margin-inline: auto; }
}
.about-grid.is-solo { grid-template-columns: minmax(0, 1fr); }
.portrait {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(150deg, #2A1140, #170B26);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 70px -34px rgba(0,0,0,.9);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.portrait-ph { position: absolute; inset: 0; display: grid; place-items: center; gap: 10px; text-align: center; padding: 24px; color: var(--on-dark-faint); font-size: .88rem; }
.portrait-ph svg { width: 46px; height: 46px; stroke: currentColor; fill: none; stroke-width: 1.3; margin-inline: auto; }
.about-name { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.about-role { color: var(--on-dark-soft); margin-top: 6px; font-size: 1.02rem; }
.about-lines { display: grid; gap: 10px; margin-top: 20px; }
.about-lines li { display: flex; gap: 10px; color: var(--on-dark-soft); }
.about-lines li::before { content: "—"; color: var(--cta); }
.skills-lead { margin-top: 20px; color: var(--on-dark-soft); font-size: .95rem; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.skill { font-size: .84rem; padding: 6px 13px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--hairline); color: var(--on-dark-soft); direction: ltr; }
.quote {
  margin: 28px 0 0; padding-inline-start: 24px;
  border-inline-start: 3px solid var(--cta);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em;
  /* a paragraph-length statement, not a one-liner: smaller than a
     pull-quote and a touch off pure white so it sits back a step */
  font-size: clamp(1.05rem, 1.75vw, 1.32rem); line-height: 1.65;
  color: rgba(255, 255, 255, .82);
  quotes: "\201D" "\201C";
}
.quote blockquote::before { content: open-quote; }
.quote blockquote::after  { content: close-quote; }
.quote-by {
  margin-top: 10px; font-size: .88rem; font-weight: 600;
  color: var(--on-dark-faint); letter-spacing: 0;
}

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
/* the pitch sits in half the page here, not across it: at the page-wide
   size its lines broke into three short fragments against the form and
   left a ragged void between the two columns */
.form-wrap .h-sect { font-size: clamp(1.8rem, 3vw, 2.25rem); }
/* the question and the sting each get their own line, at every width,
   instead of breaking wherever the column happens to run out */
.form-wrap .h-sect .grad { display: block; }
.form-wrap .h-sub { max-width: 40ch; }
/* a panel of the same night as the page, lifted just enough to read
   as a surface - a white card here cut a hole in the journey */
.form-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .018)),
    rgba(17, 10, 32, .74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius); padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 40px 90px -42px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.form-card h3 { font-size: 1.25rem; margin-bottom: 20px; color: #fff; }
.form-card .lede { color: var(--on-dark-soft); font-size: .95rem; margin-bottom: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
/* start, not stretch: a field with an error slot must not push its
   label and input out of line with the field beside it */
.field { display: grid; gap: 6px; align-content: start; }
.field + .field, .grid2 + .field, .field + .grid2, .grid2 + .grid2 { margin-top: 14px; }
/* inside a two-up row the fields are siblings, and that margin pushed
   the second column half a line below the first - the row gap spaces
   them, in both the two-column and the stacked layout */
.grid2 > .field + .field { margin-top: 0; }
.field label { font-size: .85rem; font-weight: 700; color: var(--on-dark); font-family: var(--font-head); }
.field label .opt { font-weight: 400; color: var(--on-dark-faint); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: #fff;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px; padding: 13px 15px; width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .34); }
.field input:focus, .field textarea:focus {
  outline: none; background: rgba(255, 255, 255, .08); border-color: var(--cta);
  box-shadow: 0 0 0 4px rgba(255, 46, 99, .2);
}
.field textarea { min-height: 96px; resize: vertical; }
.field.has-error input, .field.has-error textarea { border-color: #FF5C7A; }
.field .err { font-size: .8rem; color: #FF8FA6; font-weight: 600; }
.form-card .btn { margin-top: 18px; }
.form-alt { margin-top: 14px; text-align: center; font-size: .95rem; color: var(--on-dark-soft); }
.form-alt a { color: #6FE9B4; font-weight: 700; text-decoration: none; }
.form-alt a:hover { text-decoration: underline; text-underline-offset: 3px; }
.form-fine { margin-top: 12px; font-size: .82rem; color: var(--on-dark-faint); text-align: center; line-height: 1.5; }
.form-fine a { color: var(--on-dark-soft); text-decoration: underline; text-underline-offset: 3px; }
.form-fine a:hover { color: #fff; }
.form-status { margin-top: 10px; font-size: .9rem; font-weight: 700; color: #FF8FA6; }
.form-status:empty { margin-top: 0; }
.form-status.is-open { color: #6FE9B4; }
/* a failed send is a state the visitor can act on, so it gets a button */
.form-status.is-warn { color: #FFC46B; display: grid; gap: 12px; justify-items: start; }
.form-status .status-go { font-size: .95rem; padding: 12px 22px; }
.form-status .status-why { font-weight: 500; font-size: .8rem; color: var(--on-dark-faint); direction: ltr; text-align: start; }
.btn--wa { gap: 9px; }
.wa-mark { width: 19px; height: 19px; flex: 0 0 auto; }

.form-done { display: none; }
.form-done.is-visible { display: block; }
.form-card.is-hidden { display: none; }
.form-done h3 { font-size: 1.3rem; margin-bottom: 8px; }
.form-done p { color: var(--on-dark-soft); }
.form-done .btn-row { margin-top: 18px; }

/* ---------- Final CTA ---------- */
.final h2 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); max-width: 24ch; margin-inline: auto; }
.final .h-sub { margin-inline: auto; }

/* ---------- Who it fits: the objections, answered side by side ---------- */
.fit-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 30px);
  max-width: 760px; margin: clamp(28px, 4vw, 42px) auto 0;
}
@media (max-width: 620px) { .fit-grid { grid-template-columns: 1fr; } }
.fit-col {
  border: 1px solid var(--hairline); border-radius: clamp(16px, 2vw, 22px);
  background: rgba(255, 255, 255, .022); padding: clamp(20px, 2.6vw, 28px);
}
.fit-col--yes { border-color: rgba(111, 233, 180, .28); background: rgba(111, 233, 180, .05); }
.fit-head {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em;
  font-size: 1.12rem; color: #fff; margin-bottom: 14px;
}
.fit-list { display: grid; gap: 11px; }
.fit-list li {
  position: relative; padding-inline-start: 28px;
  color: var(--on-dark-soft); line-height: 1.6;
}
.fit-list li::before {
  position: absolute; inset-inline-start: 0; top: -1px;
  font-weight: 700; font-size: 1.05rem;
}
.fit-col--no .fit-list li::before { content: "\00D7"; color: #FF6B8A; }
.fit-col--yes .fit-list li::before { content: "\2713"; color: #6FE9B4; }
/* the section closes on a quiet aside, same voice as the note under the flow */
/* the checklist page used to be reachable only from the footer, which is
   the one place nobody reads. It belongs to the question this section asks. */
.fit-go {
  margin-top: clamp(22px, 3vw, 30px); text-align: center;
  color: var(--on-dark-soft); font-size: .95rem;
  display: flex; flex-wrap: wrap; gap: 12px 16px;
  align-items: center; justify-content: center;
}
.fit-go .btn { font-size: .95rem; padding: 12px 22px; }
.fit-note {
  max-width: 60ch; margin-inline: auto; text-align: center;
  margin-top: clamp(26px, 3.4vw, 38px); font-size: .94rem; line-height: 1.75;
  color: var(--on-dark-faint); border-top: 1px solid var(--hairline); padding-top: 18px;
}

/* the door to what comes after, said once and quietly */
.final-after {
  margin-top: 30px; max-width: 56ch; margin-inline: auto;
  font-size: .94rem; line-height: 1.75; color: var(--on-dark-faint);
  border-top: 1px solid var(--hairline); padding-top: 20px;
}

/* a hint under a field that people hesitate to fill */
.field .hint { font-size: .82rem; color: var(--on-dark-faint); line-height: 1.5; }

/* ---------------------------------------------------------
   The checklist page: ten processes, and the optional step
   between filling the form and sending it.
   --------------------------------------------------------- */
.proc-list { display: grid; gap: 14px; max-width: 780px; margin: clamp(30px, 4vw, 46px) auto 0; }
.proc {
  position: relative;
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 4px 18px;
  border: 1px solid var(--hairline); border-radius: clamp(14px, 1.8vw, 18px);
  background: rgba(255, 255, 255, .028);
  padding: clamp(18px, 2.4vw, 24px);
  transition: border-color .2s ease, background .2s ease;
}
/* the number, the text and the tick each hold their own column, so only
   the heading row gives up width to the box - the description and the
   question below it still run the full width of the card */
.proc { grid-template-columns: 3.2rem minmax(0, 1fr) 22px; }
.proc-n { grid-column: 1; grid-row: 1 / span 3; }
.proc h3 { grid-column: 2; grid-row: 1; }
.proc > p { grid-column: 2; }
.proc:hover { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); }
.proc-n {
  font-family: var(--font-head); font-weight: 900; font-size: 1.5rem;
  color: var(--cta); direction: ltr; text-align: right;
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.proc h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.proc p { color: var(--on-dark-soft); font-size: .97rem; line-height: 1.7; margin-top: 4px; }
.proc .ask {
  margin-top: 10px; font-size: .9rem; color: var(--on-dark-faint);
  border-inline-start: 2px solid rgba(255, 255, 255, .16); padding-inline-start: 12px;
}
@media (max-width: 560px) {
  .proc { grid-template-columns: 2.4rem minmax(0, 1fr) 22px; gap: 4px 12px; }
  .proc-n { font-size: 1.25rem; }
}

/* ---------- ticking the list where it is read ----------
   The twelve items used to be repeated as a grid of checkboxes inside a
   modal. Now each item is its own control: a stretched label over the whole
   card, and a box in the corner to show what it did. The input lives here
   and joins the form further down the page through its form= attribute. */
.proc-tick { position: absolute; opacity: 0; width: 0; height: 0; }
.proc-hit { position: absolute; inset: 0; cursor: pointer; border-radius: inherit; }
.proc-box {
  grid-column: 3; grid-row: 1; align-self: start; margin-top: 1px;
  width: 22px; height: 22px; border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  display: grid; place-items: center;
  transition: background .18s ease, border-color .18s ease;
}
.proc-box svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 3; opacity: 0; transition: opacity .18s ease; }
.proc-tick:checked ~ .proc-box { background: linear-gradient(140deg, var(--cta), #8B31D8); border-color: transparent; }
.proc-tick:checked ~ .proc-box svg { opacity: 1; }
.proc-tick:focus-visible ~ .proc-box { outline: 3px solid var(--cta); outline-offset: 3px; }
/* a ticked item should read as chosen from across the page, not only by
   the state of a 22px box in its corner */
.proc:has(.proc-tick:checked) { border-color: rgba(255, 46, 99, .55); background: rgba(255, 46, 99, .07); }
.proc:has(.proc-tick:checked) h3 { color: #fff; }

/* ---------- what the visitor already told the first page ---------- */
.lead-known { display: none; }
.is-carried .lead-known {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  margin-bottom: 18px; padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .15); border-radius: 12px;
  background: rgba(255, 255, 255, .045);
}
.lead-known-k { font-size: .82rem; font-weight: 700; color: var(--on-dark-faint); font-family: var(--font-head); }
.lead-known-v { font-weight: 700; color: #fff; }
.lead-known-edit {
  margin-inline-start: auto; font: inherit; font-size: .85rem; font-weight: 600;
  color: var(--on-dark-soft); background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px; padding: 2px 4px;
  transition: color .18s ease;
}
.lead-known-edit:hover { color: #fff; }
/* the second screen only asks what the first one did not */
[data-carry-only] { display: none; }
.is-carried [data-carry-only] { display: revert; }
.is-carried [data-no-carry], .is-carried [data-carry-fields] { display: none; }
/* the visitor pressed send on the page before this one; the first thing
   they should read here is that it landed */
.lead-got { align-items: center; gap: 9px; margin-bottom: 18px;
  padding: 10px 18px 10px 14px; border-radius: 999px;
  border: 1px solid rgba(111, 233, 180, .34); background: rgba(111, 233, 180, .1);
  color: #6FE9B4; font-family: var(--font-head); font-weight: 700; font-size: .92rem;
}
.is-carried .lead-got { display: inline-flex; }
.lead-got svg { width: 15px; height: 15px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 3.2; }

.pick-count {
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline;
  margin-top: 16px; font-size: .88rem; color: var(--on-dark-faint);
}
.pick-count [data-pick-count]:empty { display: none; }
.pick-count + .field { margin-top: 16px; }
.pick-count.is-on, .pick-count [data-pick-count].is-on { color: #6FE9B4; font-weight: 700; }
.pick-count a { color: var(--on-dark-soft); text-decoration: underline; text-underline-offset: 3px; }
.pick-count a:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 34px; background: transparent; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; row-gap: 4px; column-gap: 0; }
.footer-links a { font-size: .82rem; color: var(--on-dark-faint); text-decoration: none; }
.footer-links a:hover { color: var(--on-dark); }
/* a dot between the links. It rides at the end of its own link rather than
   the start of the next one, so a row that wraps ends on a separator
   instead of opening with one. Its colour is set here, not inherited, so
   hovering a link does not light up the punctuation beside it. */
.footer-links a::after { content: "·"; margin-inline: 11px; color: rgba(255, 255, 255, .2); }
.footer-links a:last-child::after { content: none; }
.footer-meta { font-size: .82rem; color: var(--on-dark-faint); direction: ltr; }

/* ---------- Sticky CTA ---------- */
.float-cta {
  position: fixed; z-index: 70; inset-inline-end: 20px; bottom: 20px;
  display: flex; gap: 10px; align-items: center;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.float-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
.float-cta .btn { box-shadow: 0 14px 40px -10px var(--cta-glow); }
@media (max-width: 720px) {
  .float-cta { inset-inline: 12px; bottom: 12px; }
  .float-cta .btn { flex: 1; }
}

/* ---------- Back to the top ----------
   It sits at the start edge, opposite the WhatsApp pill, so the two never
   argue over the same corner - and unlike the pill it stays out while the
   form is on screen, because that is exactly where someone wants it. */
.to-top {
  position: fixed; z-index: 70; inset-inline-start: 20px; bottom: 20px;
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; cursor: pointer;
  color: var(--on-dark);
  background: rgba(20, 13, 38, .82);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .95);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, border-color .18s ease, background .18s ease;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: #fff; border-color: rgba(255, 255, 255, .34); background: rgba(30, 20, 54, .9); }
.to-top:active { transform: translateY(1px) scale(.96); }
.to-top svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 720px) {
  .to-top { inset-inline-start: 12px; bottom: 12px; width: 44px; height: 44px; }
  /* the pill starts after the button instead of underneath it */
  .float-cta { inset-inline-start: 68px; }
}

/* ---------- Standalone documents (thanks, privacy, accessibility) ---------- */
.doc-wrap { max-width: 62ch; }
.doc-wrap.center { text-align: center; margin-inline: auto; }
.doc-wrap h1 { margin-bottom: 14px; }
.doc-wrap h2 {
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  color: #fff; margin-top: 34px; margin-bottom: 8px; letter-spacing: -.02em;
}
.doc-wrap p { color: var(--on-dark-soft); line-height: 1.8; }
.doc-wrap p + p { margin-top: 10px; }
.doc-wrap b { color: #fff; font-weight: 700; }
.doc-wrap a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.doc-list { margin-top: 10px; display: grid; gap: 9px; }
.doc-list li {
  position: relative; padding-inline-start: 20px;
  color: var(--on-dark-soft); line-height: 1.7;
}
.doc-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--cta);
}
.doc-wrap .nowrap { white-space: nowrap; }
.doc-meta { margin-top: 36px; font-size: .84rem; color: var(--on-dark-faint); }
.doc-wrap .btn-row { margin-top: 28px; justify-content: center; }

/* ---------------------------------------------------------
   Micro-interactions: small, cheap responses that make the
   scroll feel travelled rather than paged through. Every one
   of them is off under prefers-reduced-motion.
   --------------------------------------------------------- */

/* a group arrives item by item instead of as one block */
.rv[data-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, .61, .36, 1);
}
.rv[data-stagger].is-in > * { opacity: 1; transform: none; }

/* every press answers */
.btn:active { transform: translateY(1px) scale(.985); }
.demo-tab:active { transform: scale(.97); }

/* the header tightens once you have left the top */
.header-inner { transition: height .3s cubic-bezier(.22, .61, .36, 1); }
.site-header.is-stuck .header-inner { height: 58px; }
.brand-logo { transition: transform .3s cubic-bezier(.22, .61, .36, 1); }
.site-header.is-stuck .brand-logo { transform: scale(.9); }

/* a stop on the journey rings once as you reach it */
.j-stop::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--cta);
  opacity: 0;
  pointer-events: none;
}
.j-stop.is-on::after { animation: stopRing .9s ease-out 1; }
@keyframes stopRing {
  from { opacity: .8; transform: scale(1); }
  to   { opacity: 0;  transform: scale(2.6); }
}

/* the mockups answer the cursor the way a real window would */
@media (hover: hover) and (pointer: fine) {
  .frame { transition: transform .25s cubic-bezier(.22, .61, .36, 1), box-shadow .25s ease, border-color .25s ease; }
  .frame:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, .22);
    box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .95);
  }
}

/* the AI step is the moment the process stops being manual: it
   breathes a few times when it arrives, then settles */
.demo.is-in .ai-chip { animation: chipBreathe 2.1s ease-in-out 3; }
@keyframes chipBreathe {
  0%, 100% { box-shadow: 0 12px 28px -16px rgba(255, 46, 99, .9); }
  50%      { box-shadow: 0 12px 28px -16px rgba(255, 46, 99, .9), 0 0 0 7px rgba(255, 46, 99, .1); }
}

/* the story assembles step by step when a tab opens */
.demo.is-in .story-step { animation: stepIn .45s cubic-bezier(.22, .61, .36, 1) both; }
.demo.is-in .story-step:nth-child(1) { animation-delay: .05s; }
.demo.is-in .story-step:nth-child(2) { animation-delay: .13s; }
.demo.is-in .story-step:nth-child(3) { animation-delay: .21s; }
.demo.is-in .story-step:nth-child(4) { animation-delay: .29s; }
.demo.is-in .story-step:nth-child(5) { animation-delay: .37s; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rv[data-stagger] > * { opacity: 1; transform: none; transition: none; }
  .btn:active, .demo-tab:active { transform: none; }
  .header-inner, .brand-logo, .site-header.is-stuck .header-inner, .site-header.is-stuck .brand-logo {
    transition: none; height: auto; transform: none;
  }
  .site-header.is-stuck .header-inner { height: 68px; }
  .j-stop.is-on::after { animation: none; }
  .frame { transition: none; }
  .frame:hover { transform: none; }
  .demo.is-in .ai-chip, .demo.is-in .story-step { animation: none; }
}

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .btn, .card, .step, .pain { transition: none; }
}

/* ---------- Skip link ---------- */
/* read by a screen reader, absent from the page */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; background: var(--cta); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 10px 10px; transition: top .15s ease; }
.skip:focus { top: 0; }
