/* Tickaboo home — page composition.
 * Shared patterns live in components.css. This file owns the sections that
 * exist only on this page. Colours are tokens only; no raw hex.
 */

/* ══════════════════════════════════════════════════════════════
   1. HERO — centred, one action, closed by the illustration band.
   Named exception to the DNA's editorial-asymmetric layout attitude:
   a single-action page puts that action on the page's centre line.
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--color-surface-tint);
  padding-top: clamp(3rem, 8vh, 5.5rem);
}
.hero__inner {
  max-width: 70rem; text-align: center;
  position: relative; z-index: 2;
}
.hero h1 {
  font-size: clamp(2.4rem, 1.4rem + 4vw, 3.85rem);
  max-width: 24ch; margin: 0 auto 1rem;
}
.hero .lead {
  max-width: 50ch; margin: 0 auto 2rem;
  color: var(--color-muted); font-size: 1.125rem;
}
.hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
}
@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero .kicker { font-size: 0.6875rem; letter-spacing: 0.16em; }
  .hero h1 { font-size: clamp(1.95rem, 1.3rem + 3.4vw, 2.55rem); }
  .hero .lead { font-size: 0.9375rem; }
  .trust-strip { flex-direction: column; align-items: center; gap: 0.4rem; }
}
.hero__note { margin: 1.1rem 0 0; font-size: 0.9rem; color: var(--color-muted); }
.hero .trust-strip { margin-top: clamp(2rem, 5vw, 3rem); }

/* The illustration closes the section, flush to its bottom edge. Its flat
   white sky is masked into cream at the top so there is no seam, and its
   grass meets the next field as a ground line. */
.hero__scene { position: relative; }
.hero__illustration {
  position: relative; z-index: 1;
  display: block; width: 100%; height: auto;
  margin-top: -15%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 40%);
}

/* Curved drifting gallery, overlaid on the illustration's sky so both read
   as one band. Arc-arranged via nth-child rotate/translate, slow sideways
   drift, pause on hover; the track's 7 cards repeat once for a seamless
   loop (translateX -50%). */
.hero__gallery {
  position: absolute; left: 0; right: 0; top: 34%; z-index: 2;
  overflow: hidden; padding-block: clamp(0.75rem, 1.6vw, 1.25rem);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.hero__gallery-track {
  display: flex; align-items: center; gap: clamp(0.75rem, 2.2vw, 1.4rem);
  width: max-content;
  animation: hero-gallery-drift 46s linear infinite;
}
.hero__gallery:hover .hero__gallery-track { animation-play-state: paused; }
@keyframes hero-gallery-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hero__gallery-card {
  flex: 0 0 auto; display: block;
  width: clamp(99px, 11.7vw, 161px); aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg); overflow: clip;
  background: var(--color-surface-tint);
  border: 1px solid color-mix(in srgb, var(--color-surface-tint) 55%, transparent);
}
.hero__gallery-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__gallery-card--mood img { filter: sepia(0.32) saturate(0.82) brightness(1.03) hue-rotate(-6deg); }
.hero__gallery-track .hero__gallery-card:nth-child(7n+1) { transform: rotate(-7deg) translateY(23px); }
.hero__gallery-track .hero__gallery-card:nth-child(7n+2) { transform: rotate(-4deg) translateY(12px); }
.hero__gallery-track .hero__gallery-card:nth-child(7n+3) { transform: rotate(-2deg) translateY(4px); }
.hero__gallery-track .hero__gallery-card:nth-child(7n+4) { transform: rotate(0deg) translateY(0); }
.hero__gallery-track .hero__gallery-card:nth-child(7n+5) { transform: rotate(2deg) translateY(4px); }
.hero__gallery-track .hero__gallery-card:nth-child(7n+6) { transform: rotate(4deg) translateY(12px); }
.hero__gallery-track .hero__gallery-card:nth-child(7n) { transform: rotate(7deg) translateY(23px); }
@media (max-width: 640px) {
  .hero__gallery { top: 30%; }
  .hero__gallery-card { width: clamp(83px, 22vw, 114px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__gallery-track { animation: none; }
  .hero__gallery-card--dup { display: none; }
}

/* Cloud separator: four overlapping puffs in the next field's colour, rising
   into the illustration so the hero never ends on a hard horizontal line. */
.cloud-divider {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3;
  display: block; width: 100%; height: clamp(100px, 12vw, 168px);
  pointer-events: none;
  fill: var(--color-surface-tint);
}

/* Flat pastel shapes in the whitespace beside the headline column. Palette
   only, no gradients, none of them touching the text. */
.hero__shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.shape { position: absolute; display: block; }
.shape--1 { top: 14%; left: 13%; width: 62px; height: 62px; border-radius: 50%; background: var(--color-accent-2); }
.shape--2 { top: 36%; left: 7%; width: 26px; height: 26px; border-radius: 7px; rotate: 45deg; background: var(--color-accent); }
.shape--3 { top: 58%; left: 16%; width: 46px; height: 23px; border-radius: 46px 46px 0 0; background: var(--color-primary); }
.shape--4 { top: 17%; right: 14%; width: 46px; height: 46px; border-radius: 46px 8px 46px 46px; background: var(--color-accent); }
.shape--5 { top: 42%; right: 7%; width: 34px; height: 34px; border-radius: 50%; background: var(--color-surface); }
.shape--6 { top: 63%; right: 17%; width: 52px; height: 26px; border-radius: 999px; background: var(--color-accent-2); }
@media (max-width: 900px) {
  /* The column fills the screen, so the shapes have nowhere to sit beside the
     text. Keep two, push them into the top corners, and drop the rest. */
  .shape--2, .shape--3, .shape--4, .shape--6 { display: none; }
  .shape--1 { width: 40px; height: 40px; left: -12px; top: 3%; }
  .shape--5 { right: -8px; top: 8%; width: 24px; height: 24px; background: var(--color-accent); }
}

/* ══════════════════════════════════════════════════════════════
   2. THE PROBLEM — three equal cards, each carrying a mock of the
   problem rather than an icon of it.
   ══════════════════════════════════════════════════════════════ */
.problem__grid { display: grid; gap: clamp(1.5rem, 3vw, 2rem); align-items: stretch; }
.problem__card { display: flex; flex-direction: column; position: relative; z-index: 2; }
@media (min-width: 860px) { .problem__grid { grid-template-columns: repeat(3, 1fr); } }
.problem__card h3 { margin: 1.35rem 0 0.4rem; font-size: 1.15rem; }
.problem__card p { color: var(--color-muted); margin: 0; font-size: 0.9688rem; }

.mock {
  flex: none; height: clamp(18.5rem, 42vw, 21.5rem);
  background: var(--color-paper);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.15rem 0.9rem;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.mock__title { margin: 0 0 0.15rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; color: var(--color-ink); }
.mock__foot { margin: auto 0 0; font-size: 0.75rem; color: var(--color-muted); }
.mock__row { display: flex; align-items: center; gap: 0.6rem; }
.mock__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--color-surface); flex: none; }
.mock__bar { height: 8px; border-radius: 999px; background: var(--color-border); flex: 1; }
.mock__bar--short { flex: 0 1 55%; }
.mock__chip {
  font-size: 0.65rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 999px;
  background: var(--color-surface); color: var(--color-primary); flex: none;
}
.mock__chip--warn { background: color-mix(in srgb, var(--color-accent) 26%, transparent); color: var(--color-ink); }

.mock--photo .mock__photo {
  position: relative; border-radius: var(--radius); overflow: clip; flex: 1; min-height: 0;
  background: url("/assets/images/room-children.webp") no-repeat 50% 42% / cover;
}
.mock__face { position: absolute; width: 30px; height: 30px; border-radius: 7px; border: 2.5px solid var(--color-paper); }
.mock__face--a { top: 38%; left: 18%; }
.mock__face--b { top: 44%; left: 44%; }
.mock__face--c { top: 40%; left: 68%; border-color: var(--color-accent); border-width: 3px; }

.mock--calendar { gap: 0.4rem; }
.mock__cal {
  flex: 1; min-height: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, #000 78%, transparent);
}
.mock__cal-head,
.mock__cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.18rem;
}
.mock__cal-head {
  margin-bottom: 0.2rem;
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--color-muted); text-align: center;
}
.mock__cell {
  position: relative;
  aspect-ratio: 1; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--color-surface); color: var(--color-muted);
  font-size: 0.58rem; font-weight: 600;
}
.mock__cell--pad { background: transparent; }
.mock__cell--quiet { background: color-mix(in srgb, var(--color-surface) 55%, transparent); color: color-mix(in srgb, var(--color-muted) 70%, transparent); }
.mock__cell--posted { background: var(--color-primary); color: var(--color-paper); }
.mock__cell--missed { color: color-mix(in srgb, var(--color-muted) 45%, transparent); }
.mock__cell svg {
  position: absolute; inset: 18%;
  width: auto; height: auto;
  stroke: #C45C4A; stroke-linecap: round;
}

/* ══════════════════════════════════════════════════════════════
   3. FEATURES — five alternating 50/50 splits, mirroring row to row.
   ══════════════════════════════════════════════════════════════ */
.features { padding-bottom: 0; background: var(--color-surface-tint); }
.features > .container { margin-bottom: var(--section-pad); }
.features > .container > h2 {
  display: flex; align-items: flex-start; gap: 0.7rem;
  width: fit-content;
  max-width: 38ch;
  margin-inline: auto;
  padding: 0 0.35em 0.2em;
  font-size: clamp(1.45rem, 1.1rem + 1.8vw, 2.5rem);
  position: relative; z-index: 2;
  text-align: left;
}
.features .split { position: relative; z-index: 2; }

.solve-run { position: relative; }
.solve-line {
  position: absolute; left: 0; top: 0; width: 100%;
  height: 0; pointer-events: none; z-index: 1;
  overflow: visible;
  color: var(--color-primary);
}
.solve-line__path {
  stroke: currentColor; stroke-width: 1.5; fill: none;
  stroke-linecap: square; stroke-linejoin: miter; stroke-miterlimit: 2;
}
.js .solve-line__path {
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--draw, 0));
}
@media (prefers-reduced-motion: reduce) {
  .js .solve-line__path { stroke-dashoffset: 0; }
  .solve-check__circle { stroke-dashoffset: 0; fill: var(--color-primary); }
  .solve-check__mark { stroke-dashoffset: 0; }
  .solve-check__emote { opacity: 1; scale: 1; }
}

.solve-check {
  position: relative; flex: none;
  width: 40px; height: 40px; margin-top: 0.28em;
}
.solve-check__box { display: block; width: 40px; height: 40px; overflow: visible; }
.solve-check__circle {
  fill: transparent; stroke: var(--color-primary); stroke-width: 2;
  stroke-dasharray: 107; stroke-dashoffset: 107;
}
.solve-check__mark {
  fill: none; stroke: var(--color-paper); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 28; stroke-dashoffset: 28;
}
.solve-check__pulse {
  position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--color-primary); opacity: 0; pointer-events: none;
}
.solve-check__emote {
  position: absolute; top: -14px; right: -16px;
  color: var(--color-primary); opacity: 0; scale: 0.35;
  transform-origin: 30% 80%;
  filter: drop-shadow(0 0 0 transparent);
}
.solve-check__emote .icon-tick { width: 28px; height: 28px; }
.solve-check.is-on .solve-check__circle {
  animation: solve-circle 480ms var(--motion-easing) forwards;
}
.solve-check.is-on .solve-check__mark {
  animation: solve-mark 320ms var(--motion-easing) 420ms forwards;
}
.solve-check.is-on .solve-check__pulse {
  animation: solve-bing-ring 640ms var(--motion-easing) 640ms both;
}
.solve-check.is-on .solve-check__emote {
  animation: solve-bing 680ms cubic-bezier(0.22, 1, 0.36, 1) 640ms forwards;
}
.solve-check.is-on .solve-check__emote .icon-eyes {
  animation: blink calc(var(--dur-blink) * 2) var(--ease-inout) 900ms;
}
@keyframes solve-circle {
  0% { stroke-dashoffset: 107; fill: transparent; }
  70% { stroke-dashoffset: 0; fill: transparent; }
  100% { stroke-dashoffset: 0; fill: var(--color-primary); }
}
@keyframes solve-mark {
  to { stroke-dashoffset: 0; }
}
@keyframes solve-bing-ring {
  0% { opacity: 0.55; scale: 1; }
  100% { opacity: 0; scale: 1.85; }
}
@keyframes solve-bing {
  0% { opacity: 0; scale: 0.35; translate: 0 8px; }
  58% { opacity: 1; scale: 1.22; translate: 2px -6px; }
  100% { opacity: 1; scale: 1; translate: 0 0; }
}
/* One white field for the whole run; the splits are ruled apart with a
   hairline grid rather than alternating bands. */
.split { position: relative; padding-block: clamp(3rem, 7vw, 5rem); }
.split + .split::before,
.split--stacked::before {
  content: ""; position: absolute; top: 0;
  left: var(--container-pad); right: var(--container-pad);
  height: 1px; background: var(--color-border);
}
.split__inner { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .split__inner { position: relative; grid-template-columns: 1fr 1fr; }
  /* The vertical rule that turns the row of hairlines into a grid. */
  .split:not(.split--stacked) .split__inner::before {
    content: ""; position: absolute; top: calc(-1 * clamp(3rem, 7vw, 5rem)); bottom: calc(-1 * clamp(3rem, 7vw, 5rem));
    left: 50%; width: 1px; background: var(--color-border);
  }
  .split--reverse .split__copy { order: 1; }
  .split--reverse .split__media { order: 2; }
  [data-block="feature-social-v1"] .split__inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  }
  [data-block="feature-social-v1"].split:not(.split--stacked) .split__inner::before { left: 60%; }
  [data-block="feature-social-v1"] .split__copy { order: 2; padding-left: clamp(1.5rem, 3vw, 2.75rem); }
  [data-block="feature-social-v1"] .split__media { order: 1; }
  [data-block="feature-studio-v2"] .split__inner {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  }
  [data-block="feature-studio-v2"].split:not(.split--stacked) .split__inner::before { left: 40%; }
  [data-block="feature-studio-v2"] .split__copy { padding-right: clamp(1.5rem, 3vw, 2.75rem); }
  [data-block="feature-enhance-v1"] .split__inner {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  }
  [data-block="feature-enhance-v1"].split:not(.split--stacked) .split__inner::before { left: 40%; }
  [data-block="feature-enhance-v1"] .split__copy { padding-right: clamp(1.5rem, 3vw, 2.75rem); }
  [data-block="feature-brandkit-v1"] .split__inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  }
  [data-block="feature-brandkit-v1"].split:not(.split--stacked) .split__inner::before { left: 60%; }
  [data-block="feature-brandkit-v1"] .split__copy { order: 2; padding-left: clamp(1.5rem, 3vw, 2.75rem); }
  [data-block="feature-brandkit-v1"] .split__media { order: 1; }
}
/* Feature 5 breaks the grid on purpose: copy above, mockup below, wider. */
.split--stacked { padding-block: clamp(3.5rem, 8vw, 6rem); }
.split__wide {
  max-width: 1200px; margin-inline: auto;
  padding-inline: var(--container-pad);
  display: grid; gap: clamp(2rem, 4vw, 3rem);
}
.split--stacked .split__copy { max-width: 62ch; }
.split--stacked .split__copy h3 {
  max-width: 34ch;
  font-size: clamp(1.65rem, 1.25rem + 1.45vw, 2.35rem);
}
.split--stacked .split__copy p { max-width: 68ch; }
.split--stacked .site-proof { max-width: 100%; }
.split__copy h3 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.95rem); margin-bottom: 0.7rem; max-width: 20ch; }
.split__copy p { color: var(--color-muted); max-width: 46ch; }
.split__cta { margin-top: 1.35rem; }
.split__media { min-width: 0; }

/* Feature 1: Photo Studio, four treatments in a grid */
.studio-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem 0.85rem;
}
.studio-grid figure { margin: 0; }
.studio-grid img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: var(--radius);
}
.studio-grid figcaption { display: block; padding: 0.55rem 0.05rem 0; }
.studio-grid figcaption b {
  display: block; margin-top: 0.35rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; color: var(--color-ink);
}
.studio-grid figcaption > span:last-child {
  display: block; margin-top: 0.12rem;
  font-size: 0.8rem; line-height: 1.4; color: var(--color-muted);
}
.demo__chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.7rem 0.3rem 0.55rem; border-radius: 999px;
  background: var(--color-surface); color: var(--color-primary);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.75rem;
}
.demo__chip .icon-tick { width: 15px; height: 15px; }
.demo__chip--source { background: color-mix(in srgb, var(--color-ink) 9%, transparent); color: var(--color-ink); padding-inline: 0.7rem; }
.demo__disclosure {
  margin: 1.25rem 0 0; font-size: 0.8125rem; line-height: 1.55; color: var(--color-muted);
}

/* Feature 2: Blossoms Academy Instagram profile */
.ig { position: relative; max-width: 100%; margin-inline: 0; }
.ig__stage { position: relative; }
.ig__frame {
  background: var(--color-surface-tint);
  border-radius: var(--radius-lg);
  overflow: clip;
}
.ig__top { padding: 0.7rem 1rem 0; }
.ig__handle {
  margin: 0; font-family: var(--font-heading); font-weight: 700;
  font-size: 0.95rem; letter-spacing: -0.01em; color: var(--color-ink);
}
.ig__head {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem 1rem 0.5rem;
}
.ig__avatar {
  flex: 0 0 4.5rem; width: 4.5rem; height: 4.5rem;
  border-radius: 50%; overflow: clip;
  background: var(--color-surface-tint);
}
.ig__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig__counts {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex: 1; justify-content: space-around; text-align: center;
  font-size: 0.7rem; color: var(--color-muted);
}
.ig__counts li { margin: 0; }
.ig__counts b {
  display: block; font-family: var(--font-heading); font-weight: 700;
  font-size: 0.95rem; color: var(--color-ink); letter-spacing: -0.01em;
}
.ig__bio { padding: 0 1rem; }
.ig__name {
  margin: 0 0 0.2rem; font-family: var(--font-heading); font-weight: 700;
  font-size: 0.8125rem; letter-spacing: -0.01em; color: var(--color-ink);
}
.ig__bio p { margin: 0; font-size: 0.75rem; line-height: 1.4; color: var(--color-ink); max-width: none; }
.ig__link { margin-top: 0.2rem !important; color: var(--color-primary) !important; font-weight: 600; }
.ig__actions {
  display: flex; gap: 0.4rem; padding: 0.75rem 1rem 0.35rem;
}
.ig__btn {
  flex: 1; text-align: center;
  padding: 0.4rem 0.6rem; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 0.75rem;
  background: var(--color-surface); color: var(--color-ink);
}
.ig__btn--follow { background: var(--color-primary); color: var(--color-paper); }
.ig__stories {
  list-style: none; margin: 0; padding: 0.55rem 1rem 0.7rem;
  display: flex; gap: 0.7rem; overflow: hidden;
  font-size: 0.62rem; color: var(--color-ink); text-align: center;
}
.ig__stories li {
  margin: 0; flex: 0 0 auto; width: 3.55rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
}
.ig__story {
  width: 3.35rem; height: 3.35rem; padding: 2px; border-radius: 50%;
  background: var(--color-primary);
}
.ig__story img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 50%; border: 2px solid var(--color-surface-tint);
}
.ig__tabs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-border);
}
.ig__tabs span {
  display: grid; place-items: center; height: 2.4rem; color: var(--color-muted);
}
.ig__tabs span svg { width: 18px; height: 18px; }
.ig__tabs .is-on {
  color: var(--color-ink);
  border-top: 1px solid var(--color-ink);
  margin-top: -1px;
}
.ig__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--color-border);
}
.ig__grid li { margin: 0; aspect-ratio: 1; overflow: clip; background: var(--color-surface); }
.ig__grid img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--motion-duration) var(--motion-easing);
}
.ig__grid li:hover img { transform: scale(1.02); }
.ig__float {
  position: absolute; right: -0.65rem; bottom: 1.4rem; z-index: 2;
  display: flex; align-items: center; gap: 0.5rem;
  margin: 0; padding: 0.7rem 0.95rem 0.7rem 0.8rem;
  background: var(--color-paper);
  border-radius: var(--radius-lg);
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.8125rem; letter-spacing: -0.01em;
  color: var(--color-ink);
  white-space: nowrap;
}
.ig__float .icon-tick { width: 18px; height: 18px; color: var(--color-primary); flex: none; }
.metrics { margin-top: 2rem; display: grid; gap: 0.65rem; }
.metrics__period {
  margin: 0 0 0.15rem; font-size: 0.75rem; color: var(--color-muted);
}
.split__copy .metrics p { max-width: none; }
.metrics__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.metric {
  position: relative; margin: 0;
  padding: 1rem 1.05rem 0.95rem;
  background: var(--color-paper);
  border-radius: var(--radius-lg);
}
.metric--lead {
  background: var(--color-surface);
  padding: 1.15rem 1.15rem 1.05rem;
}
.metric__icon {
  position: absolute; top: 0.95rem; right: 0.95rem;
  width: 22px; height: 22px; color: var(--color-primary);
}
.metric__icon svg { display: block; width: 100%; height: 100%; }
.split__copy .metric__label {
  margin: 0; padding-right: 1.8rem;
  font-size: 0.75rem; color: var(--color-muted);
}
.split__copy .metric__value {
  margin: 0.3rem 0 0;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.1;
  color: var(--color-ink);
}
.split__copy .metric--lead .metric__value {
  font-size: clamp(1.7rem, 1.35rem + 1.1vw, 2.1rem);
  color: var(--color-primary);
}
.split__copy .metric__note {
  margin: 0.4rem 0 0; font-size: 0.75rem; color: var(--color-muted);
}
@media (max-width: 560px) {
  .ig__float { right: 0.65rem; bottom: 0.75rem; }
  .ig__stories { gap: 0.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ig__grid li:hover img { transform: none; }
}

/* Feature 3: before and after, dragged */
.ba {
  --p: 0.5;
  position: relative; width: 100%;
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: clip;
  touch-action: pan-y; cursor: ew-resize;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 calc(var(--p) * 100%)); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: calc(var(--p) * 100%);
  width: 3px; margin-left: -1.5px; background: var(--color-paper);
}
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-paper);
}
.ba__tag {
  position: absolute; bottom: 0.75rem; z-index: 2;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  background: color-mix(in srgb, var(--color-ink) 70%, transparent);
  color: var(--color-paper); font-size: 0.7rem; font-weight: 600;
}
.ba__tag--l { left: 0.75rem; }
.ba__tag--r { right: 0.75rem; }

/* Feature 4: the brand kit board */
.kit-board {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg);
}

/* Feature 5: the website mockup, with floating proof cards */
.site-proof { position: relative; padding: clamp(1.75rem, 4vw, 3.25rem) clamp(0.5rem, 5vw, 3.5rem); }
.site-proof .browser { width: 100%; max-width: none; margin: 0; }
.float-cards {
  list-style: none; margin: 0; padding: 0;
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
}
.float-card {
  position: absolute; pointer-events: auto;
  display: flex; align-items: center; gap: 0.5rem;
  margin: 0; padding: 0.65rem 0.85rem 0.65rem 0.7rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-heading); font-weight: 600;
  font-size: 0.875rem; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--color-ink); white-space: nowrap;
  transition: background-color var(--motion-duration) var(--motion-easing);
}
.float-card__icon,
.float-card__check {
  display: grid; place-items: center; flex: none;
  width: 22px; height: 22px; color: var(--color-primary);
}
.float-card__icon svg,
.float-card__check svg { width: 100%; height: 100%; }
.float-card__icon svg,
.float-card__check svg { stroke-linecap: round; stroke-linejoin: round; }
.float-card--1 {
  top: 11%; left: 0;
  background: var(--color-paper);
}
.float-card--2 {
  top: 18%; right: 0;
  background: var(--color-surface);
}
.float-card--3 {
  top: 52%; left: -0.35rem;
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-paper));
}
.float-card--4 {
  bottom: 14%; right: -0.15rem;
  background: var(--color-accent-2);
}
.float-card--1:hover { background: var(--color-surface-tint); }
.float-card--2:hover { background: var(--color-paper); }
.float-card--3:hover { background: color-mix(in srgb, var(--color-primary) 18%, var(--color-paper)); }
.float-card--4:hover { background: var(--color-surface); }
@media (max-width: 800px) {
  .site-proof { padding: 0; display: grid; gap: 0.85rem; }
  .site-proof .browser { order: 1; }
  .float-cards {
    position: static; display: grid; order: 2;
    grid-template-columns: 1fr 1fr; gap: 0.55rem;
    pointer-events: auto;
  }
  .float-card {
    position: static; white-space: normal;
    font-size: 0.8125rem;
  }
}

.browser {
  width: 100%; max-width: 30rem; margin-inline: auto;
  border-radius: var(--radius-lg); overflow: clip;
  background: var(--color-surface-tint);
  border: 1px solid var(--color-border);
}
.browser__bar {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 0.85rem; background: var(--color-paper);
  border-bottom: 1px solid var(--color-border);
}
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-border); }
.browser__body { position: relative; }
.browser .ba {
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

/* ══════════════════════════════════════════════════════════════
   4. HOW IT WORKS
   ══════════════════════════════════════════════════════════════ */
.how__flow { position: relative; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.how__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2rem, 5vw, 3rem); }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.step__num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem;
  background: var(--color-surface); color: var(--color-primary);
  transition: background-color var(--dur-swap) var(--ease-out), color var(--dur-swap) var(--ease-out);
}
.step.is-in .step__num { background: var(--color-primary); color: var(--color-paper); }
.step__body h3 { margin-bottom: 0.35rem; font-size: 1.15rem; }
.step__body p { color: var(--color-muted); margin: 0; max-width: 44ch; }
.how__thread { display: none; }
.how__thread path {
  stroke: var(--color-primary); stroke-width: 2.5; stroke-linecap: round; fill: none;
  stroke-dasharray: 1100; stroke-dashoffset: 1100;
  transition: stroke-dashoffset 1400ms var(--ease-draw);
}
.how.is-in .how__thread path { stroke-dashoffset: 0; }
@media (min-width: 900px) {
  .how__list { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .step { grid-template-columns: 1fr; gap: 1.15rem; }
  .how__thread { display: block; position: absolute; left: 26px; right: 26px; top: 4px; height: 44px; pointer-events: none; z-index: 0; }
}

/* ══════════════════════════════════════════════════════════════
   5. COMPLIANCE — four columns, hairline rules, no icon row.
   ══════════════════════════════════════════════════════════════ */
.compliance__grid { display: grid; gap: 1.75rem; }
.cico { width: 40px; height: 40px; display: block; margin-bottom: 0.85rem; }
.cico-fill { fill: var(--color-primary); }
.cico-rule { stroke: var(--color-paper); stroke-width: 1.6; stroke-linecap: round; fill: none; opacity: 0.85; }
.cico-line { stroke: var(--color-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.cico-line--pale { stroke: var(--color-paper); }
.compliance__item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.compliance__item p { color: var(--color-muted); margin: 0; font-size: 0.9375rem; }
/* Small sage "Soon" chip — flags a feature as not yet shipped. Impossible
   to mistake for a live one. */
.chip-soon {
  display: inline-block; vertical-align: middle;
  margin-left: 0.4rem; padding: 0.15rem 0.55rem;
  border-radius: 999px; background: var(--color-surface);
  color: var(--color-primary);
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase;
}
@media (min-width: 760px) {
  .compliance__grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .compliance__item { padding-inline: clamp(1rem, 2vw, 1.75rem); }
  .compliance__item + .compliance__item { border-left: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent); }
  .compliance__item:first-child { padding-left: 0; }
  .compliance__item:last-child { padding-right: 0; }
}
.compliance__honesty {
  max-width: 64ch; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  text-align: center; font-size: 14px; line-height: 1.6;
  color: var(--color-muted);
}

/* ══════════════════════════════════════════════════════════════
   6. PRICING
   ══════════════════════════════════════════════════════════════ */
.pricing__founding {
  max-width: 52ch; margin: -1.5rem auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center; font-family: var(--font-heading); font-weight: 600;
  color: var(--color-primary);
}
.pricing__grid { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 900px) { .pricing__grid { grid-template-columns: repeat(3, 1fr); max-width: 62rem; margin-inline: auto; } }
.plan {
  position: relative;
  background: var(--color-surface-tint);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  height: 100%;
}
.plan--featured { background: var(--color-dark); color: var(--color-dark-ink); }
.plan--featured :is(h3, .plan__price) { color: var(--color-dark-ink); }
.plan--featured .plan__who, .plan--featured .plan__sub { color: color-mix(in srgb, var(--color-dark-ink) 76%, transparent); }
.plan--featured .plan__features span { color: color-mix(in srgb, var(--color-dark-ink) 92%, transparent); }
.plan--featured .icon-tick { color: var(--color-accent-2); }
/* The teal primary pill would be near-invisible on this dark teal card, so
   invert it here: cream pill, teal label, teal disc with a cream mark. */
.plan--featured .btn--accent { background: var(--color-paper); color: var(--color-primary); }
.plan--featured .btn--accent:hover { background: var(--color-surface-tint); }
.plan--featured .btn--accent .btn__disc { background: var(--color-primary); color: var(--color-paper); }
.plan__ribbon {
  margin: -0.4rem 0 0.35rem; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-accent-2);
}
.plan__name { font-size: 1.05rem; margin: 0; }
.plan__price {
  font-family: var(--font-heading); font-weight: 700; line-height: 1;
  font-size: clamp(2.1rem, 1.6rem + 1.6vw, 2.6rem); margin: 0.25rem 0 0;
  color: var(--color-ink); letter-spacing: -0.02em;
}
.plan__price span { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; letter-spacing: 0; color: var(--color-muted); }
.plan--featured .plan__price span { color: color-mix(in srgb, var(--color-dark-ink) 72%, transparent); }
.plan__sub { margin: 0.35rem 0 0; font-size: 0.8125rem; color: var(--color-muted); }
.plan__who { margin: 0.85rem 0 0; font-size: 0.875rem; color: var(--color-muted); }
.plan__features { list-style: none; margin: 1.15rem 0 1.5rem; padding: 0; display: grid; gap: 0.6rem; }
.plan__features li { display: grid; grid-template-columns: 20px 1fr; gap: 0.65rem; align-items: start; font-size: 0.875rem; }
.plan__features .icon-tick { width: 18px; height: 18px; color: var(--color-primary); margin-top: 0.1rem; }
.plan .btn { margin-top: auto; }
.plan__note { margin: 0.6rem 0 0; font-size: 0.75rem; color: var(--color-muted); text-align: center; }
.pricing__soon, .pricing__dfy, .pricing__reassure {
  max-width: 60ch; margin: 1.75rem auto 0; text-align: center;
  font-size: 0.9375rem; color: var(--color-muted);
}
.pricing__reassure { margin-top: 0.6rem; font-size: 0.875rem; }

/* ══════════════════════════════════════════════════════════════
   8. FAQ
   ══════════════════════════════════════════════════════════════ */
.faq .container { max-width: 48rem; }
.faq__item { position: relative; }
.faq__item::before, .faq__item:last-child::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: var(--color-border); transform-origin: left;
}
.faq__item::before { top: 0; }
.faq__item:last-child::after { bottom: 0; }
.js .faq__item::before, .js .faq__item:last-child::after {
  transform: scaleX(0);
  transition: transform var(--dur-enter) var(--ease-out);
  transition-delay: var(--enter-delay, 0ms);
}
.js .faq__item.is-in::before, .js .faq__item.is-in:last-child::after { transform: scaleX(1); }
.faq__q {
  width: 100%; min-height: 56px; padding: 1.15rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; color: var(--color-ink);
}
.faq__toggle {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--color-surface); color: var(--color-ink);
  transition: background-color var(--dur-swap) var(--ease-out), rotate var(--dur-swap) var(--ease-spring);
}
.faq__q:hover .faq__toggle { background: var(--color-accent-2); }
.faq__q[aria-expanded="true"] .faq__toggle { rotate: 24deg; background: var(--color-accent-2); }
/* The row opens instantly and the content does the moving: transitioning
   grid-template-rows itself is unreliable across engines. */
.faq__panel { display: grid; grid-template-rows: 0fr; }
.faq__q[aria-expanded="true"] + .faq__panel { grid-template-rows: 1fr; }
.faq__panel > div {
  overflow: hidden; opacity: 0; translate: 0 -8px;
  transition: opacity var(--dur-swap) var(--ease-out), translate var(--dur-swap) var(--ease-out);
}
.faq__q[aria-expanded="true"] + .faq__panel > div { opacity: 1; translate: 0 0; }
.faq__panel p { color: var(--color-muted); max-width: 62ch; margin: 0 0 1.25rem; }

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION — nothing on this page is carried by movement alone.
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .how__thread path { stroke-dashoffset: 0; }
  .step__num { background: var(--color-primary); color: var(--color-paper); }
}
