/* ─────────────────────────────────────────────
   STASH MARKETING SITE — styles.css
   Reference: SafetyKit — clean grotesque type,
   flat grid lines, two-column editorial layouts
───────────────────────────────────────────── */

/* ─── Design tokens ─── */
:root {
  --red:    #FB4528;
  --blue:   #1935C4;
  --pink:   #CFA5B5;
  --gold:   #CFA228;
  --green:  #276B3C;

  --cream:  #F2EDE6;
  --dark:   #0F0F0E;
  --dark-2: #181714;
  --dark-3: #201E1C;
  --text:   #181614;
  --muted:  #787068;
  --border: #C8C2BA;
  --border-dark: #2A2826;

  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --font: 'DM Sans', system-ui, -apple-system, sans-serif;

  --max-w: 1180px;
  --nav-h: 58px;
}

/* ─── Reset & base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font);
  background-color: var(--cream);
  /* Dot grid — visible on all cream sections */
  background-image: radial-gradient(circle, rgba(0,0,0,0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.site-top-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2f2300;
  background: var(--gold);
  border-bottom: 1px solid rgba(47, 35, 0, 0.18);
}

.site-top-banner:hover {
  background: #d6a63a;
}

.site-top-banner__divider {
  opacity: 0.4;
}

.site-top-banner__cta {
  white-space: nowrap;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 640ms var(--ease-out),
    transform 640ms var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: none; }

/* sf-cards: odd from left, even from right */
.sf-cards__inner .sf-card:nth-child(odd):not(.in-view)  { transform: translateX(-44px) translateY(20px); }
.sf-cards__inner .sf-card:nth-child(even):not(.in-view) { transform: translateX( 44px) translateY(20px); }

/* pricing cards: outer cards from sides, middle from below */
.pricing__cards .pricing__card:nth-child(1):not(.in-view) { transform: translateX(-44px) translateY(20px); }
.pricing__cards .pricing__card:nth-child(3):not(.in-view) { transform: translateX( 44px) translateY(20px); }

/* use cases cards: mild alternating push */
.usecases__card:nth-child(odd):not(.in-view)  { transform: translateX(-28px) translateY(20px); }
.usecases__card:nth-child(even):not(.in-view) { transform: translateX( 28px) translateY(20px); }

/* easy section: text from left, photo from right */
.easy__text.reveal:not(.in-view)   { transform: translateX(-48px) translateY(0); }
.easy__visual.reveal:not(.in-view) { transform: translateX( 48px) translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── Two-tone heading spans (used selectively) ─── */
/* Cream/light sections */
.h-dark  { display: block; color: var(--text); }
.h-muted { display: block; color: rgba(0,0,0,0.14); }
/* Dark sections */
.h-dark--light  { display: block; color: rgba(255,255,255,0.92); }
.h-muted--light { display: block; color: rgba(255,255,255,0.11); }

/* ─── Mini color-band dividers ─── */
.bands-divider { display: flex; height: 6px; }
.bands-divider__band { flex: 1; }
.bands-divider__band:nth-child(1) { background: var(--red); }
.bands-divider__band:nth-child(2) { background: var(--blue); }
.bands-divider__band:nth-child(3) { background: var(--gold); }
.bands-divider__band:nth-child(4) { background: var(--pink); }
.bands-divider__band:nth-child(5) { background: var(--green); }

/* ─── Utility ─── */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow--light { color: rgba(255,255,255,0.4); }

/* ─── Section mark / colored square accent ─── */
.section-mark { margin-bottom: 18px; display: flex; align-items: center; gap: 6px; }
.section-mark--light .mark { opacity: 0.7; }
.mark { display: inline-block; width: 12px; height: 12px; flex-shrink: 0; }
.mark--red  { background: var(--red); }
.mark--blue { background: var(--blue); }
.mark--gold { background: var(--gold); }
.mark--green { background: var(--green); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  padding: 9px 18px;
  transition:
    transform 140ms var(--ease-out),
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--red); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #e03318; box-shadow: 0 4px 20px rgba(251,69,40,0.28); }
}
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { background: rgba(0,0,0,0.04); }
}
.btn--naked { background: transparent; color: var(--text); border: none; padding-left: 4px; padding-right: 4px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .btn--naked:hover { color: var(--red); }
}
.btn--lg  { font-size: 15px; padding: 11px 22px; }
.btn--xl  { font-size: 16px; padding: 14px 28px; border-radius: 2px; }
.btn--full { width: 100%; justify-content: center; }

/* ─── Announcement bar ─── */
.announce {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  letter-spacing: 0.01em;
}

/* ─── Navigation ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242,237,230,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  height: var(--nav-h);
  transition: border-color 200ms ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav__logo-word { font-size: 16px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.nav__links { display: flex; gap: 2px; }
.nav__links a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 6px 10px; border-radius: 2px;
  transition: color 140ms ease, background 140ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--text); background: rgba(0,0,0,0.05); }
}
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__signin { font-size: 13px; font-weight: 500; color: var(--muted); padding: 6px 10px; transition: color 140ms ease; }
@media (hover: hover) and (pointer: fine) {
  .nav__signin:hover { color: var(--text); }
}
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav__hamburger span {
  display: block; width: 20px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 200ms ease;
}
.nav__hamburger.open span:first-child { transform: rotate(45deg) translate(4px, 4.5px); }
.nav__hamburger.open span:last-child  { transform: rotate(-45deg) translate(4px, -4.5px); }
.nav__drawer {
  display: none; position: fixed; inset: 0; top: calc(var(--nav-h) + 33px);
  background: var(--cream); z-index: 99; padding: 24px;
  flex-direction: column; gap: 8px; border-top: 1px solid var(--border);
  clip-path: inset(0 0 100% 0); transition: clip-path 280ms var(--ease-drawer);
}
.nav__drawer.open { clip-path: inset(0 0 0 0); }
.nav__drawer ul { display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; }
.nav__drawer li a {
  display: block; padding: 14px 4px; font-size: 20px; font-weight: 800;
  letter-spacing: -0.025em; border-bottom: 1px solid var(--border);
}

/* ─── Hero ─── */
.hero-track {
  height: 260vh; /* 160vh of scroll: phase 1 bands→device, phase 2 device→beside headline */
}
.hero {
  padding: 0;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
  /* Cream base; black+beams are masked in from the sides on scroll */
  background-color: var(--cream);
  /* Curtain percentages — on .hero so #hero-beams-root (sibling of .hero__studio) still inherits */
  --hero-studio-mask-l: 0%;
  --hero-studio-mask-r: 100%;
}

/* Wrapper gives bands their height share and clips slide-in animation */
.hero__bands-wrap {
  flex: 0 0 56%;
  position: relative;
  z-index: 1; /* above .hero__studio black fill so bands stay visible until faded out */
  overflow: hidden;
  padding-top: clamp(16px, 2.5vh, 24px); /* gap so device doesn't kiss the nav */
}

/* Bands — share the full wrap height (scroll compress uses clip-path in main.js) */
.hero__bands {
  height: 100%;
  display: flex;
  flex-direction: column;
  transform-origin: 50% 0;
  will-change: clip-path;
}

/* Load animation: each band slides in from the left, staggered */
@keyframes hero-band-in {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}
.hero__band {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 80px);
  font-size: clamp(18px, 2.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  animation: hero-band-in 750ms var(--ease-out) both;
}
.hero__band:nth-child(1) { animation-delay: 0ms; }
.hero__band:nth-child(2) { animation-delay: 65ms; }
.hero__band:nth-child(3) { animation-delay: 125ms; }
.hero__band:nth-child(4) { animation-delay: 178ms; }
.hero__band:nth-child(5) { animation-delay: 225ms; }
@media (prefers-reduced-motion: reduce) { .hero__band { animation: none; } }

.hero__band--red    { background: var(--red);   color: #fff; }
.hero__band--blue   { background: var(--blue);  color: #fff; }
.hero__band--yellow { background: var(--gold);  color: var(--dark); }
.hero__band--pink   { background: var(--pink);  color: var(--dark); }
.hero__band--green  { background: var(--green); color: #fff; }

/* Band label — opacity from one CSS var on .hero (avoids N inline styles per scroll frame) */
.hero__band-label {
  opacity: var(--hero-label-o, 1);
  transition: opacity 80ms linear;
}


/* Gradient overlay + logo — fades in as device fully forms */
.hero__device-overlay {
  position: absolute;
  top: clamp(16px, 2.5vh, 24px);
  left: 0; right: 0;
  height: calc(56% - clamp(16px, 2.5vh, 24px)); /* match device */
  background: linear-gradient(
    to bottom,
    var(--red),
    var(--blue),
    var(--gold),
    var(--pink),
    var(--green)
  );
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  /* Center origin so scale + translate keep the badge centered; 50% 0 pinned the top and stranded the circle on the fold */
  transform-origin: 50% 50%;
  /* Phase 1: left/right inset; phase 2: translate3d + scale on same tall box (CSS height) */
  will-change: transform, opacity;
}
/* Cream strip behind overlay + beams (stacking); wordmark is a sibling with higher z-index */
.hero__studio {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(56% - clamp(16px, 2.5vh, 24px));
  pointer-events: none;
  z-index: 0;
  background-color: var(--cream);
}
/* Above .hero__device-overlay (3): black + dotted field + canvas beams */
.hero__studio-beams {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(56% - clamp(16px, 2.5vh, 24px));
  z-index: 4;
  pointer-events: none;
  background-color: #000;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.065) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  opacity: 1;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) var(--hero-studio-mask-l, 0%),
    rgba(0, 0, 0, 0) var(--hero-studio-mask-l, 0%),
    rgba(0, 0, 0, 0) var(--hero-studio-mask-r, 100%),
    rgba(255, 255, 255, 1) var(--hero-studio-mask-r, 100%),
    rgba(255, 255, 255, 1) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) var(--hero-studio-mask-l, 0%),
    rgba(0, 0, 0, 0) var(--hero-studio-mask-l, 0%),
    rgba(0, 0, 0, 0) var(--hero-studio-mask-r, 100%),
    rgba(255, 255, 255, 1) var(--hero-studio-mask-r, 100%),
    rgba(255, 255, 255, 1) 100%
  );
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
}
.hero__studio-beams.is-visible {
  opacity: 1;
}
.hero__studio-beams canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  position: relative;
  z-index: 1;
}
.hero__studio-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(56% - clamp(16px, 2.5vh, 24px));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(72px, 14vw, 190px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0);
  pointer-events: none;
  z-index: 5;
  text-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero {
    --hero-studio-mask-l: 50%;
    --hero-studio-mask-r: 50%;
  }
  .hero__device-overlay { will-change: auto; }
}

.hero__device-logo {
  /* Counter-scaled in JS so visual size stays constant as circle shrinks.
     Max is 52px — fits inside the 72px final circle diameter. */
  width: clamp(32px, 4.5vw, 52px);
  height: clamp(32px, 4.5vw, 52px);
  /* drop-shadow repaints badly while the parent transforms; subtle stroke reads fine on gradient */
  filter: none;
}

/* Bottom section — fills remaining 44%, fades in after bands */
@keyframes hero-bottom-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__bottom {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 80px);
  animation: hero-bottom-in 600ms var(--ease-out) 580ms both;
  background-color: var(--cream);
  position: relative;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) { .hero__bottom { animation: none; } }

.hero__bottom-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.hero__heading {
  font-size: clamp(36px, 5.5vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.hero__heading-line {
  display: block;
  white-space: nowrap;
}
.hero__heading-dark  { color: var(--text); }
.hero__heading-muted { color: rgba(0,0,0,0.18); }

.hero__ctas { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.hero__editorial-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--dark);
  color: rgba(255,255,255,0.82);
  padding: 13px 16px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  width: 280px;
  border-radius: 0;
  transition: background 160ms ease, color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .hero__editorial-cta:hover { background: #000; color: #fff; }
}
.hero__note { font-size: 12px; color: var(--muted); }


/* ─── Product mockup ─── */
.mockup {
  background: var(--dark-2); border-radius: 4px; overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.14),
    0 16px 40px rgba(0,0,0,0.22),
    0 48px 96px rgba(0,0,0,0.20),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  position: relative; z-index: 1;
}
.mockup__chrome {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border-dark);
}
.mockup__dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup__dot:nth-child(1) { background: #FF5F57; }
.mockup__dot:nth-child(2) { background: #FFBD2E; }
.mockup__dot:nth-child(3) { background: #28C840; }
.mockup__url { font-size: 11px; color: rgba(255,255,255,0.22); font-family: monospace; margin-left: 8px; }
.mockup__body { padding: 18px; }
.mockup__race-header { margin-bottom: 14px; }
.mockup__race-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mockup__status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 500; color: #4ade80;
  background: rgba(74,222,128,0.12); border: 1px solid rgba(74,222,128,0.18);
  border-radius: 2px; padding: 3px 8px; margin-bottom: 6px;
}
.mockup__status-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.mockup__race-name { font-size: 17px; font-weight: 800; color: rgba(255,255,255,0.92); letter-spacing: -0.03em; margin-bottom: 3px; }
.mockup__race-meta { font-size: 11px; color: rgba(255,255,255,0.35); }
.mockup__actions-row { display: flex; gap: 4px; flex-shrink: 0; }
.mockup__chip { font-size: 10px; font-weight: 500; padding: 3px 8px; border-radius: 2px; color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); }
.mockup__chip--active { color: rgba(255,255,255,0.82); background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.13); }
.mockup__stats {
  display: grid; grid-template-columns: repeat(3,1fr) auto;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-dark);
  border-radius: 2px; padding: 12px 14px; margin-bottom: 14px;
  position: relative; align-items: center;
}
.mockup__stat { text-align: center; }
.mockup__stat-divider { width: 1px; height: 24px; background: var(--border-dark); align-self: center; }
.mockup__stat-value { font-size: 15px; font-weight: 800; color: rgba(255,255,255,0.9); letter-spacing: -0.03em; }
.mockup__stat-label { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 2px; }
.mockup__progress-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,0.05); border-radius: 0; overflow: hidden; }
.mockup__progress-fill { height: 100%; width: 49.4%; background: linear-gradient(90deg, var(--red), #FF6B4A); }
.mockup__list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mockup__list-label { font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.35); letter-spacing: 0.06em; text-transform: uppercase; }
.mockup__list-link { font-size: 11px; color: rgba(251,69,40,0.75); cursor: pointer; }
.mockup__participants { display: flex; flex-direction: column; gap: 2px; }
.mockup__participant {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 2px;
  background: rgba(255,255,255,0.025); border: 1px solid transparent;
  transition: background 140ms ease, border-color 140ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .mockup__participant:hover { background: rgba(255,255,255,0.055); border-color: var(--border-dark); }
}
.mockup__avatar { width: 26px; height: 26px; border-radius: 50%; font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mockup__p-info { flex: 1; min-width: 0; }
.mockup__p-name { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mockup__p-detail { font-size: 10px; color: rgba(255,255,255,0.3); }
.mockup__p-badge { font-size: 10px; font-weight: 500; padding: 2px 7px; border-radius: 2px; flex-shrink: 0; }
.mockup__p-badge--green { background: rgba(74,222,128,0.1); color: #4ade80; border: 1px solid rgba(74,222,128,0.16); }
.mockup__p-badge--amber { background: rgba(251,191,36,0.1); color: #fbbf24; border: 1px solid rgba(251,191,36,0.16); }
.mockup__p-time { font-size: 10px; color: rgba(255,255,255,0.2); white-space: nowrap; flex-shrink: 0; }

/* ─── Trust bar ─── */
.trust {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.trust__label-wrap {
  flex-shrink: 0;
  padding: 18px 28px;
  border-right: 1px solid var(--border);
}
.trust__label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.trust__marquee {
  flex: 1;
  overflow: hidden;
  -webkit-mask: linear-gradient(to right, transparent, black 64px, black calc(100% - 64px), transparent);
  mask: linear-gradient(to right, transparent, black 64px, black calc(100% - 64px), transparent);
}
.trust__marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  padding: 18px 0;
  animation: trust-scroll 32s linear infinite;
}
.trust__marquee-track span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.22);
  white-space: nowrap;
}
@keyframes trust-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trust__marquee-track { animation: none; }
}

/* ─── Pitch ─── */
.pitch { padding: 120px 24px; border-bottom: 1px solid var(--border); }
.pitch__inner { max-width: var(--max-w); margin: 0 auto; }
.pitch__header { max-width: 600px; margin-bottom: 48px; }
.pitch__heading { font-size: clamp(36px, 4.8vw, 60px); font-weight: 900; letter-spacing: -0.045em; line-height: 1.0; margin-bottom: 16px; }
.pitch__sub { font-size: 11px; color: var(--muted); line-height: 1.75; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 500; max-width: 52ch; }

/* Horizontal tab row */
.pitch__tabrow {
  display: flex;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  border-bottom: none;
}
.pitch__tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 12px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(0,0,0,0.45);
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}
.pitch__tab:last-child { border-right: none; }

/* Active: white card lifts out + blue underline — unmistakable */
.pitch__tab[aria-selected="true"] {
  background: #fff;
  color: var(--text);
  font-weight: 700;
  border-bottom-color: var(--blue);
}

.pitch__tab:focus-visible {
  outline: 2px solid rgba(25,53,196,0.5);
  outline-offset: -2px;
}
@media (hover: hover) and (pointer: fine) {
  .pitch__tab:not([aria-selected="true"]):hover {
    background: rgba(0,0,0,0.04);
    color: rgba(0,0,0,0.65);
  }
}
.pitch__tab-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 160ms ease, background 160ms ease;
}
/* Inactive: coloured icon, visible but not dominant */
.pitch__tab-icon--red   { background: rgba(251,69,40,0.10);   color: var(--red);   opacity: 0.55; }
.pitch__tab-icon--blue  { background: rgba(25,53,196,0.10);   color: var(--blue);  opacity: 0.55; }
.pitch__tab-icon--gold  { background: rgba(185,148,40,0.12);  color: var(--gold);  opacity: 0.55; }
.pitch__tab-icon--pink  { background: rgba(188,143,153,0.18); color: #9e636f;      opacity: 0.55; }
.pitch__tab-icon--green { background: rgba(39,107,60,0.10);   color: var(--green); opacity: 0.55; }
/* Active: full colour icon */
.pitch__tab[aria-selected="true"] .pitch__tab-icon {
  opacity: 1;
}
.pitch__tab:not([aria-selected="true"]):hover .pitch__tab-icon { opacity: 0.75; }

/* Stage: description left + appshot right */
.pitch__stage {
  display: grid;
  grid-template-columns: 380px 1fr;
  border: 1px solid var(--border);
  min-height: 520px;
}
.pitch__stage-left {
  padding: 44px 40px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pitch__stage-right {
  padding: 24px;
  background: rgba(0,0,0,0.02);
  transition: opacity 180ms ease, transform 180ms var(--ease-out);
}
.pitch__stage-right[data-swapping="true"] {
  opacity: 0;
  transform: translateY(6px);
}

/* Description panels */
.pitch__desc { display: none; }
.pitch__desc--active { display: block; }

.pitch__detail-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.pitch__detail-sub {
  font-size: 13px;
  color: rgba(0,0,0,0.50);
  line-height: 1.65;
  margin-bottom: 24px;
}
.pitch__detail-bullets {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pitch__detail-bullets li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: rgba(0,0,0,0.60);
  line-height: 1.5;
}
.pitch__detail-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
}
.pitch__detail-bullets strong { color: rgba(0,0,0,0.78); font-weight: 800; }

/* Ensure the appshot fills the frame cleanly */
.appshot {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.appshot__body { flex: 1; min-height: 0; }
.appshot__content { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .pitch__stage-right { transition: none; }
}

/* “App screenshot” mock — matches actual admin app design system */
.appshot {
  border: 1px solid #E8EAED;
  border-radius: 8px;
  overflow: hidden;
  background: #FAFAFA;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
}

/* ── Topbar ── */
.appshot__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 44px;
  background: #fff;
  border-bottom: 1px solid #E8EAED;
}
.appshot__crumbs {
  font-size: 12px;
  color: #6B7280;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.appshot__crumbs span { color: #9CA3AF; }
.appshot__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.appshot__pill {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #E8EAED;
  background: #fff;
  color: #374151;
  line-height: 1;
}
.appshot__pill--primary {
  background: #FB4528;
  border-color: #FB4528;
  color: #fff;
  font-weight: 600;
}
.appshot__pill--muted {
  background: #fff;
  border-color: #E8EAED;
  color: #6B7280;
}

/* ── Body layout ── */
.appshot__body { display: grid; grid-template-columns: 44px 1fr; min-height: 360px; background: #fff; }

/* ── Icon nav (narrow, matches real app sidebar) ── */
.appshot__icon-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  gap: 2px;
  border-right: 1px solid #E8EAED;
  background: #fff;
}
.appshot__icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
}
.appshot__icon-btn--active { background: #1935C4; color: #fff; }

/* ── Horizontal tabs ── */
.appshot__tabs {
  display: flex;
  border-bottom: 1px solid #E8EAED;
  margin: -16px -16px 12px;
}
.appshot__tab {
  font-size: 11.5px;
  font-weight: 500;
  color: #6B7280;
  padding: 9px 12px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.appshot__tab--active { color: #111827; font-weight: 600; border-bottom: 2px solid #1935C4; }
.appshot__tab-count {
  font-size: 10px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 9999px;
  background: #F3F4F6;
  color: #6B7280;
}
.appshot__tab--active .appshot__tab-count { background: #1935C4; color: #fff; }

/* ── Live badge (topbar) ── */
.appshot__live-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: #059669;
}

/* ── Name cell with avatar ── */
.appshot__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}
.appshot__name-cell { display: flex; align-items: center; gap: 7px; }
.appshot__name-stack { display: grid; gap: 1px; }
.appshot__email { font-size: 10px; color: #9CA3AF; }

/* ── Check-in cell ── */
.appshot__checkin-cell { display: flex; align-items: center; gap: 5px; }
.appshot__checkin-icon {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid #D1D5DB;
  flex-shrink: 0;
}
.appshot__checkin-icon--done { border-color: #10B981; background: #10B981; }

/* ── Participants table (wider name column) ── */
.appshot__table--participants .appshot__row {
  grid-template-columns: 14px 2fr 0.8fr 0.4fr 1.1fr 16px;
}

/* ── Content area ── */
.appshot__content { padding: 16px; background: #fff; }
.appshot__panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.appshot__panel-title strong {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.appshot__meta { font-size: 12px; color: #9CA3AF; font-weight: 400; }
.appshot__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.appshot__search {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: #9CA3AF;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #E8EAED;
  background: #fff;
}
.appshot__filters { display: flex; gap: 6px; flex-shrink: 0; }
.appshot__chip {
  font-size: 12px;
  font-weight: 400;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #E8EAED;
  background: #fff;
  color: #6B7280;
  line-height: 1;
}
.appshot__chip--active {
  background: rgba(25,53,196,0.07);
  border-color: rgba(25,53,196,0.20);
  color: #1935C4;
  font-weight: 500;
}

/* ── Table ── */
.appshot__table { background: transparent; }
.appshot__row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr 0.7fr 24px;
  gap: 8px;
  padding: 10px 2px;
  align-items: center;
  border-bottom: 1px solid #F3F4F6;
  font-size: 12px;
  color: #374151;
}
.appshot__row:last-child { border-bottom: none; }
.appshot__row--head {
  border-bottom: 1px solid #E8EAED;
  color: #9CA3AF;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 10.5px;
  padding-bottom: 8px;
}
.appshot__name { font-weight: 500; color: #111827; }
.appshot__dots { text-align: right; color: #9CA3AF; font-size: 14px; line-height: 1; letter-spacing: 0.04em; }

/* ── Badges ── */
.appshot__badge {
  justify-self: start;
  font-weight: 500;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid #E8EAED;
  background: #F9FAFB;
  color: #6B7280;
  white-space: nowrap;
}
.appshot__badge--green {
  background: rgba(16,185,129,0.08);
  border-color: rgba(16,185,129,0.20);
  color: #065F46;
}
.appshot__badge--blue {
  background: rgba(25,53,196,0.08);
  border-color: rgba(25,53,196,0.18);
  color: #1935C4;
}
.appshot__badge--amber {
  background: rgba(245,158,11,0.10);
  border-color: rgba(245,158,11,0.22);
  color: #92400E;
}
.appshot__badge--muted {
  background: #F3F4F6;
  border-color: #E5E7EB;
  color: #6B7280;
}

/* ── Split cards ── */
.appshot__split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #F3F4F6; }
.appshot__card { border: 1px solid #F3F4F6; border-radius: 6px; padding: 12px; background: #FAFAFA; }
.appshot__card-title { font-size: 12px; font-weight: 600; color: #111827; margin-bottom: 10px; }
.appshot__mini { display: grid; gap: 8px; }
.appshot__mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: #6B7280; }
.appshot__req { font-size: 11px; font-weight: 500; color: #DC2626; }
.appshot__opt { font-size: 11px; font-weight: 400; color: #9CA3AF; }

/* ── Toggles ── */
.appshot__toggle {
  width: 30px;
  height: 17px;
  border-radius: 999px;
  border: 1px solid #D1D5DB;
  background: #E5E7EB;
  position: relative;
  flex-shrink: 0;
}
.appshot__toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.appshot__toggle--on { background: #10B981; border-color: #059669; }
.appshot__toggle--on::after { left: 15px; }

/* ── Composer ── */
.appshot__composer { margin-top: 14px; border: 1px solid #E8EAED; border-radius: 6px; overflow: hidden; }
.appshot__composer-title { padding: 10px 12px; background: #FAFAFA; border-bottom: 1px solid #F3F4F6; font-size: 12px; font-weight: 600; color: #111827; }
.appshot__composer-body { padding: 12px; display: grid; gap: 10px; background: #fff; }
.appshot__field { display: grid; gap: 5px; }
.appshot__field > span { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: #9CA3AF; font-weight: 600; }
.appshot__input, .appshot__textarea {
  border: 1px solid #E8EAED;
  border-radius: 6px;
  background: #FAFAFA;
  padding: 7px 10px;
  font-size: 12px;
  color: #374151;
}
.appshot__textarea { min-height: 50px; }
.appshot__input--sm, .appshot__textarea--sm { padding: 6px 10px; }
.appshot__textarea--sm { min-height: 36px; }

/* ── Drawer panel ── */
.appshot__drawer { margin-top: 14px; border: 1px solid #E8EAED; border-radius: 6px; overflow: hidden; }
.appshot__drawer-title { padding: 10px 12px; background: #FAFAFA; border-bottom: 1px solid #F3F4F6; font-size: 12px; font-weight: 600; color: #111827; }
.appshot__drawer-body { padding: 12px; display: grid; gap: 10px; background: #fff; }
.appshot__drawer-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: #6B7280; }
.appshot__bib { font-weight: 600; color: #111827; }
.appshot__bib--empty { color: #D1D5DB; font-weight: 400; }


/* ─── Pricing ─── */
.pricing {
  background-color: var(--dark);
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 120px 24px 0;
  position: relative;
  overflow: hidden;
}
.pricing__inner { max-width: var(--max-w); margin: 0 auto; padding-bottom: 112px; }
.pricing__header { max-width: 640px; margin-bottom: 56px; }
.pricing__heading {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.0;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}
.pricing__sub {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
  max-width: 46ch;
}
.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
}
.pricing__card {
  background: rgba(255,255,255,0.03);
  padding: 36px 32px;
  position: relative;
}
.pricing__card:nth-child(1)::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); }
.pricing__card:nth-child(2)::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); }
.pricing__card:nth-child(3)::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.pricing__card-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.pricing__card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 10px;
}
.pricing__card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.38);
}

/* ─── Easy / How it works ─── */
.easy {
  background-color: var(--dark);
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 120px 24px;
  position: relative;
}
.easy__inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.easy__heading { font-size: clamp(36px, 4.8vw, 60px); font-weight: 900; letter-spacing: -0.045em; line-height: 1.0; color: rgba(255,255,255,0.9); margin-bottom: 16px; }
.easy__sub { font-size: 11px; color: rgba(255,255,255,0.38); line-height: 1.75; margin-bottom: 40px; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 500; max-width: 48ch; }
.easy__steps { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border-dark); }
.easy__step { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border-dark); }
.easy__step strong { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.82); display: block; margin-bottom: 4px; letter-spacing: -0.01em; }
.easy__step p { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.55; }
.easy__photo {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  display: block;
}

/* ─── Setup card ─── */
.setup-card { background: rgba(255,255,255,0.04); border: 1px solid var(--border-dark); border-radius: 3px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.setup-card__header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border-dark); }
.setup-card__label { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.7); letter-spacing: -0.01em; }
.setup-card__progress { font-size: 11px; color: rgba(255,255,255,0.28); }
.setup-card__items { padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.setup-item { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 2px; font-size: 13px; color: rgba(255,255,255,0.42); }
.setup-item--done { color: rgba(255,255,255,0.75); }
.setup-item__check { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.setup-item__check--done { background: var(--green); border-color: var(--green); }
.setup-item__num { font-size: 10px; color: rgba(255,255,255,0.3); font-weight: 500; }
.setup-item__cta { margin-left: auto; font-size: 11px; color: var(--red); font-weight: 600; cursor: pointer; }
.setup-card__footer { padding: 12px 18px; border-top: 1px solid var(--border-dark); display: flex; align-items: center; gap: 12px; }
.setup-card__progress-bar { flex: 1; height: 2px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.setup-card__progress-fill { height: 100%; width: 60%; background: linear-gradient(90deg, var(--red), #FF6B4A); }
.setup-card__footer > span { font-size: 11px; color: rgba(255,255,255,0.28); white-space: nowrap; }

/* ─── Scroll fields (marquee) ─── */
.scroll-fields {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--cream);
  background-image: radial-gradient(circle, rgba(0,0,0,0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 108px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Left/right edge fade — narrower so chips are clearly visible at sides */
.scroll-fields::before,
.scroll-fields::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}
.scroll-fields::before { left: 0; background: linear-gradient(to right, var(--cream), transparent); }
.scroll-fields::after  { right: 0; background: linear-gradient(to left,  var(--cream), transparent); }

/* Rows */
.scroll-fields__row { overflow: hidden; width: 100%; }
.scroll-fields__track { display: flex; gap: 12px; width: max-content; }
.scroll-fields__row--l .scroll-fields__track { animation: sf-l 30s linear infinite; }
.scroll-fields__row--r .scroll-fields__track { animation: sf-r 34s linear infinite; }
@keyframes sf-l { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes sf-r { from { transform: translateX(-50%); } to { transform: translateX(0); }    }
@media (prefers-reduced-motion: reduce) { .scroll-fields__track { animation-play-state: paused; } }

/* Chips — refined: rounder, more shadow */
.scroll-fields__chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.scroll-fields__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.85;
}

/* Center block — solid cream column with feathered edges, clearly separates chips left/right */
.scroll-fields__center {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  width: min(560px, 42vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  padding: 0 32px;
  background: linear-gradient(to right, transparent, var(--cream) 20%, var(--cream) 80%, transparent);
}
.scroll-fields__heading {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 14px;
}
.scroll-fields__sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 38ch;
}

/* ─── Feature cards (below marquee) ─── */
.sf-cards {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}
.sf-cards__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.sf-card {
  padding: 48px 36px 40px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
.sf-card:last-child { border-right: none; }
.sf-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  margin-bottom: auto;
}
.sf-card__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text);
  margin-top: 28px;
  margin-bottom: 10px;
}
.sf-card__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
  margin-bottom: 28px;
}
.sf-card__rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 16px;
}
.sf-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .sf-card__arrow:hover { background: var(--red); }
}
.sf-card__arrow svg {
  transition: transform 320ms cubic-bezier(.22,1,.36,1);
}
.sf-card.is-open .sf-card__arrow svg {
  transform: rotate(90deg);
}
.sf-card.is-open .sf-card__arrow { background: var(--red); }

/* Expand panel */
.sf-card__expand {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 420ms cubic-bezier(.22,1,.36,1), opacity 300ms ease;
}
.sf-card.is-open .sf-card__expand {
  max-height: 320px;
  opacity: 1;
}
.sf-card__detail-list {
  list-style: none;
  padding: 20px 0 4px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sf-card__detail-list li {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.sf-card__detail-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  font-size: 11px;
  color: var(--red);
  top: 1px;
}
.sf-cards__footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.sf-cards__footer-text {
  font-size: 13px;
  color: var(--muted);
}
.sf-cards__footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .sf-cards__footer-cta:hover {
    border-color: rgba(0,0,0,0.18);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
}

/* ─── Use cases carousel ─── */
.usecases {
  background-color: var(--dark);
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 120px 0;
  overflow: hidden;
}
.usecases__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.usecases__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.usecases__heading {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.0;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}
.usecases__sub {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.38);
  margin-bottom: 40px;
}
.usecases__nav {
  display: flex;
  gap: 8px;
}
.usecases__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .usecases__btn:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.22);
    color: #fff;
  }
}
.usecases__btn:disabled { opacity: 0.28; cursor: default; }
.usecases__track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.usecases__track-wrap::-webkit-scrollbar {
  height: 8px;
}
.usecases__track-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}
.usecases__track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-inline-end: 24px;
}
.usecases__card {
  flex: 0 0 300px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
}
.usecases__card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.usecases__card h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: rgba(255,255,255,0.88);
  margin-bottom: 12px;
}
.usecases__card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.35);
  flex: 1;
}

/* ─── CTA section ─── */
.cta-section {
  background-color: var(--dark);
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.065) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}
.cta-section__beams {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Long vertical ramps: glow reaches higher + softer handoff into black */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    hsl(0 0% 0% / 0.28) 12%,
    hsl(0 0% 0% / 0.55) 22%,
    hsl(0 0% 0% / 0.82) 32%,
    #000 40%,
    #000 60%,
    hsl(0 0% 0% / 0.82) 68%,
    hsl(0 0% 0% / 0.55) 78%,
    hsl(0 0% 0% / 0.28) 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    hsl(0 0% 0% / 0.28) 12%,
    hsl(0 0% 0% / 0.55) 22%,
    hsl(0 0% 0% / 0.82) 32%,
    #000 40%,
    #000 60%,
    hsl(0 0% 0% / 0.82) 68%,
    hsl(0 0% 0% / 0.55) 78%,
    hsl(0 0% 0% / 0.28) 88%,
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.cta-section__beams canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  position: relative;
  z-index: 1;
}
.cta-section__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-section__heading { font-size: clamp(60px, 11vw, 152px); font-weight: 900; letter-spacing: -0.055em; line-height: 0.93; color: rgba(255,255,255,0.92); margin-bottom: 12px; }
.cta-section__sub { font-size: 11px; color: rgba(255,255,255,0.30); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 500; }
.cta-section__action { text-align: right; flex-shrink: 0; }
.cta-section__note { font-size: 12px; color: rgba(255,255,255,0.28); margin-top: 10px; text-align: center; }
.cta-section__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 5px;
  background: linear-gradient(90deg, var(--red) 0%, var(--blue) 40%, var(--pink) 65%, var(--gold) 82%, var(--green) 100%);
}

/* ─── Footer ─── */
.footer { background: var(--dark); padding: 56px 24px 32px; border-top: 1px solid var(--border-dark); }
.footer__inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 80px; padding-bottom: 48px; }
.footer__brand .nav__logo-word { color: rgba(255,255,255,0.82); }
.footer__tagline { font-size: 13px; color: rgba(255,255,255,0.28); margin-top: 10px; }
.footer__links { display: flex; gap: 56px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col-label { font-size: 10px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 4px; }
.footer__col a { font-size: 13px; color: rgba(255,255,255,0.45); transition: color 140ms ease; }
@media (hover: hover) and (pointer: fine) {
  .footer__col a:hover { color: rgba(255,255,255,0.82); }
}
.footer__bottom { max-width: var(--max-w); margin: 0 auto; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-dark); font-size: 12px; color: rgba(255,255,255,0.2); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .pricing__cards { grid-template-columns: 1fr 1fr 1fr; }
  .pitch__stage { grid-template-columns: 1fr; }
  .pitch__stage-left { border-right: none; border-bottom: 1px solid var(--border); }
  .pitch__stage-right { min-height: 460px; }
}
@media (max-width: 860px) {
  /* height: auto breaks % heights (56%, overlay calc) — use viewport height until mobile static hero at 600px */
  .hero {
    height: calc(100vh - var(--nav-h));
    min-height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h));
  }
  .hero__bands { flex: 0 0 auto; }
  .hero__band { padding: 18px clamp(20px, 4vw, 48px); }
  .hero__bottom { padding: 40px clamp(20px, 4vw, 48px); align-items: flex-start; }
  .hero__bottom-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hero__ctas { align-items: flex-start; width: 100%; }
  .hero__editorial-cta { width: 100%; }
  .easy__inner { grid-template-columns: 1fr; gap: 48px; }
  .scroll-fields { padding: 60px 0; }
  .scroll-fields::before, .scroll-fields::after { width: 80px; }
  .scroll-fields__center { width: min(460px, 58vw); }
  .trust__label-wrap { display: none; }
  .pricing__cards { grid-template-columns: 1fr; }
  .sf-cards__inner { grid-template-columns: repeat(2, 1fr); }
  .sf-card { min-height: 260px; }
  .sf-card:nth-child(2) { border-right: none; }
  .sf-card:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .sf-card:nth-child(4) { border-top: 1px solid var(--border); }
  .usecases__inner { grid-template-columns: 1fr; gap: 40px; }
  .appshot__body { grid-template-columns: 1fr; }
  .appshot__icon-nav { display: none; }
  .pitch__tabrow { overflow-x: auto; }
  .pitch__tab { flex: 0 0 auto; padding: 14px 16px; font-size: 12px; }
  .cta-section__inner { flex-direction: column; align-items: flex-start; }
  .cta-section__action { text-align: left; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__links { flex-wrap: wrap; gap: 32px; }
  .trust__marquee { -webkit-mask: none; mask: none; }
}
@media (max-width: 600px) {
  .pitch { padding: 68px 20px; }
  .scroll-fields { padding: 52px 0; }
  .scroll-fields__center { width: min(300px, 72vw); }
  .scroll-fields__heading { font-size: clamp(26px, 6vw, 36px); }
  .sf-cards__inner { grid-template-columns: 1fr 1fr; }
  .sf-card:nth-child(3) { border-right: 1px solid var(--border); }
  .sf-card { padding: 28px 24px 24px; min-height: 220px; }
  .sf-card__icon { width: 44px; height: 44px; border-radius: 12px; }
  .sf-card__title { font-size: 16px; }
  .sf-card__desc { display: none; }
  .sf-cards__footer-text { display: none; }
  .pricing, .easy, .cta-section { padding: 80px 20px; }
  .usecases { padding: 80px 0; }
  .usecases__inner { padding: 0 20px; }
  .usecases__card { flex: 0 0 260px; }
  .footer { padding: 44px 20px 0; }
  .nav__links, .nav__actions { display: none; }
  .nav__hamburger { display: flex; }
  .nav__drawer { display: flex; }
  /* Disable scroll-driven animation on mobile — bands show statically */
  .hero-track { height: auto; }
  .hero { position: static; height: auto; min-height: 0; }
  .hero__studio,
  .hero__studio-beams,
  .hero__studio-text,
  .hero__device-overlay { display: none; }
  .hero__bands-wrap { flex: 0 0 auto; height: 220px; }
  .hero__band { font-size: 13px; padding: 0 16px; letter-spacing: -0.01em; }
  .hero__bottom { padding: 48px 20px 56px; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .mockup__actions-row { display: none; }
  .mockup__p-badge { display: none; }
  .pitch__tab-icon { display: none; }
  .pitch__stage-right { min-height: 380px; }
}
