/* =========================================================
   Labelloop — Dark landing page
   Black with white accents · Manrope · Apple-style scroll
   ========================================================= */

:root {
  --bg:         #000000;
  --surface:    #0c0c0e;
  --surface-2:  #141417;
  --surface-3:  #1b1b1f;
  --ink:        #ffffff;
  --muted:      rgba(255,255,255,0.64);
  --muted-2:    rgba(255,255,255,0.42);
  --line:       rgba(255,255,255,0.10);
  --line-2:     rgba(255,255,255,0.18);
  --accent:     #ffffff;
  --accent-2:   #ffffff;

  --radius:     18px;
  --radius-lg:  26px;
  --radius-sm:  12px;
  --maxw:       1160px;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);   /* expo-out — Framer Motion default */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* spring with slight overshoot */
  --ease-in:     cubic-bezier(0.55, 0, 1, 0.45);
  --shadow-md:  0 20px 60px rgba(0,0,0,0.55);
  --shadow-lg:  0 60px 130px rgba(0,0,0,0.75);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}


a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 12px 20px; min-height: 44px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: scale(0.96); }
.btn--primary { background: #fff; color: #000; }
.btn--primary:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 8px 22px rgba(255,255,255,0.14); }
.btn--outline { background: transparent; color: #fff; border-color: var(--line-2); }
.btn--outline:hover { border-color: rgba(255,255,255,0.6); transform: translateY(-2px); background: rgba(255,255,255,0.04); }
.btn--ghost { background: transparent; color: var(--muted); padding: 10px 14px; }
.btn--ghost:hover { color: #fff; }
.nav__cta { border-color: rgba(255,255,255,0.55); }
.nav__cta:hover { border-color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.08); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
/* top state: transparent with a soft top-down scrim + fading blur for legibility */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.62), rgba(0,0,0,0));
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(to bottom, #000 28%, transparent);
  mask-image: linear-gradient(to bottom, #000 28%, transparent);
  transition: opacity .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(0,0,0,0.7);
  -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  border-bottom-color: var(--line); box-shadow: 0 12px 34px rgba(0,0,0,0.45);
}
.nav.is-scrolled::before { opacity: 0; }
.nav--hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; max-width: none; padding: 0 44px; }

.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand__logo { height: 28px; width: auto; filter: brightness(0) invert(1); transition: transform .25s var(--ease); }
.brand:hover .brand__logo { transform: scale(1.04); }

.nav__links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav__links a { transition: color .2s var(--ease); }
.nav__links a:hover { color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: none; border-radius: 10px; cursor: pointer;
}
.nav__burger span { display: block; width: 18px; height: 2px; background: #fff; margin: 0 auto; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column; gap: 4px; padding: 12px 24px 22px;
  border-bottom: 1px solid var(--line); background: #000;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a { padding: 12px 6px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line); }
.nav__mobile a.btn { border: 1px solid transparent; margin-top: 10px; color: #000; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.62); padding: 6px 13px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 999px;
  background: transparent;
}
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,255,255,0.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5);} 70% { box-shadow: 0 0 0 7px rgba(255,255,255,0);} 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0);} }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 0; overflow: hidden; background: var(--bg); }
.hero__blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero__inner, .marquee { position: relative; z-index: 1; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.14; }
.blob--1 { width: 460px; height: 460px; top: -120px; left: -60px; background: radial-gradient(circle, rgba(255,255,255,0.9), transparent 70%); animation: blob-a 18s var(--ease) infinite alternate; }
.blob--2 { width: 540px; height: 540px; top: -80px; right: -100px; background: radial-gradient(circle, rgba(255,255,255,0.6), transparent 70%); animation: blob-b 22s var(--ease) infinite alternate; }
@keyframes blob-a { to { transform: translate(80px, 60px) scale(1.15); } }
@keyframes blob-b { to { transform: translate(-70px, 40px) scale(1.1); } }

.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__title { margin-top: 24px; font-size: clamp(40px, 7vw, 82px); font-weight: 800; letter-spacing: -0.028em; line-height: 1.0; }
.hero__sub { margin-top: 22px; max-width: 640px; font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); font-weight: 500; }
.hero__cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__media { position: relative; margin: 64px auto 70px; width: 100%; max-width: 1000px; }

/* full-bleed video hero */
.hero--video { padding: 0; min-height: 100vh; display: grid; align-items: center; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); z-index: 0; }
.hero__video.is-ready { opacity: 1; }
.hero__scrim { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.18) 38%, rgba(0,0,0,0.52) 70%, rgba(0,0,0,0.96) 100%); }
.hero--video .hero__inner { position: relative; z-index: 1; padding: 40px 0; }
.hero--video .hero__title { margin-top: 22px; }
.hero__cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1; color: rgba(255,255,255,0.7); animation: cuebob 1.9s ease-in-out infinite; }
.hero__cue svg { width: 26px; height: 26px; }
.hero__cue:hover { color: #fff; }
@keyframes cuebob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }

/* product glimpse section (app mock below the video hero) */
.product-glimpse { padding: 70px 0 36px; }
.product-glimpse .hero__media { margin: 0 auto; }

/* browser mockup */
.browser { border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.browser__bar > span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.browser__bar > span:nth-child(1) { background: #ff5f57; }
.browser__bar > span:nth-child(2) { background: #febc2e; }
.browser__bar > span:nth-child(3) { background: #28c840; }
.browser__url { margin-left: 12px; flex: 1; max-width: 280px; font-size: 12px; color: var(--muted-2); font-weight: 500; background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 7px; padding: 5px 12px; text-align: center; }
.browser img { width: 100%; display: block; }

/* floating chips */
.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 11px;
  padding: 13px 16px; border-radius: 16px;
  background: #2d2d2d;
  border: 1px solid rgba(241,241,241,0.10);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.55); line-height: 1.4; text-align: left;
  white-space: nowrap;
}
.chip b { color: rgba(255,255,255,0.88); font-weight: 600; }
.chip--tr { top: -20px; right: -14px; }
.chip--bl { bottom: 30px; left: -24px; }
.chip--br { bottom: 40px; right: -22px; }
.chip__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.chip__dot--green { background: #28c840; box-shadow: 0 0 0 4px rgba(40,200,64,0.18); }
.chip__icon { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: #3a3a3a; color: rgba(255,255,255,0.82); border: 1px solid rgba(241,241,241,0.10); }
.chip__icon svg { width: 17px; height: 17px; }
.float-a { animation: floaty 6s ease-in-out infinite; }
.float-b { animation: floaty 7s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* =========================================================
   APP MOCK — ported from the real Labelloop app (dark theme)
   Uses the product's real design tokens & status colors.
   ========================================================= */
.app {
  /* real dark-theme tokens from the app */
  --a-bg:        #242424;   /* brand surface */
  --a-panel:     #282828;   /* panel / list head */
  --a-card:      #2d2d2d;   /* card */
  --a-text:      #f1f1f1;   /* brand ink */
  --a-muted:     #a8a8a8;   /* brand muted */
  --a-subtle:    #8f8f8f;
  --a-stroke:    rgba(241,241,241,0.10);
  --a-active:    #333333;   /* nav active */
  --a-hover:     rgba(241,241,241,0.08);
  --a-radius:    14px;

  display: flex; background: var(--a-bg); color: var(--a-text);
  font-size: 13.5px; line-height: 1.45; min-height: 500px; text-align: left;
}
.app * { box-sizing: border-box; }

/* sidebar */
.app__side { width: 200px; flex: none; background: #202020; border-right: 1px solid var(--a-stroke); padding: 14px 8px; display: flex; flex-direction: column; gap: 2px; }
.app__logo { display: flex; align-items: center; gap: 8px; padding: 4px 10px 12px; }
.app__logo img { height: 22px; filter: brightness(0) invert(1); }
.nav-cap { font-size: 10px; font-weight: 700; letter-spacing: 0.02em; color: var(--a-subtle); padding: 13px 12px 5px; }
.nav-item { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 12px; border-radius: 10px; color: var(--a-text); font-weight: 500; cursor: default; transition: background .18s var(--ease), color .18s var(--ease); }
.nav-item svg { width: 16px; height: 16px; flex: none; opacity: 0.82; }
.nav-item.is-active { background: var(--a-active); color: #fff; }
.nav-item.is-active svg { opacity: 1; }
.nav-item__badge { margin-left: auto; font-size: 10px; font-weight: 700; background: #fff; color: #000; border-radius: 999px; padding: 1px 7px; }

/* main */
.app__main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--a-bg); }
.app__top { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--a-stroke); }
.topsearch { flex: 1; max-width: 280px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--a-stroke); border-radius: 10px; color: var(--a-subtle); background: rgba(255,255,255,0.02); }
.topsearch svg { width: 14px; height: 14px; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; color: var(--a-muted); }
.top-actions svg { width: 16px; height: 16px; }
.app__avatar { width: 26px; height: 26px; border-radius: 50%; background: #3a3a3a; border: 1px solid var(--a-stroke); display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; }

.app__content { padding: 22px 26px; flex: 1; overflow: hidden; }
.view-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.view-title { font-size: 23px; font-weight: 700; letter-spacing: -0.01em; }
.view-sub { color: var(--a-muted); font-size: 12px; margin-top: 3px; }
.btn-mini { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; background: #3a3a3a; color: #fff; font-weight: 600; font-size: 12px; border: 1px solid var(--a-stroke); }
.btn-mini--primary { background: #f1f1f1; color: #161616; border-color: transparent; }
.btn-row { display: flex; gap: 8px; }

/* metric cards (home-metric-card) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { border: 1px solid var(--a-stroke); border-radius: var(--a-radius); padding: 14px 15px; background: var(--a-card); }
.stat__label { display: flex; align-items: center; gap: 8px; color: var(--a-muted); font-weight: 500; font-size: 11.5px; }
.stat__ico { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(241,241,241,0.06); color: var(--a-text); }
.stat__ico svg { width: 15px; height: 15px; }
.stat__num { font-size: 25px; font-weight: 700; letter-spacing: -0.02em; margin-top: 10px; }
.stat__sub { color: var(--a-subtle); font-size: 11px; margin-top: 4px; }

/* tabs */
.tabs-mock { display: flex; gap: 7px; margin-bottom: 14px; flex-wrap: wrap; }
.tab-mock { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--a-stroke); color: var(--a-muted); font-weight: 600; font-size: 11.5px; }
.tab-mock.is-active { background: var(--a-active); color: #fff; border-color: transparent; }

/* table (page-list-table) */
.tbl { width: 100%; border: 1px solid var(--a-stroke); border-radius: var(--a-radius); overflow: hidden; background: var(--a-card); }
.tbl__head, .tbl__row { display: grid; align-items: center; gap: 12px; padding: 0 16px; min-height: 52px; }
.tbl__head { background: var(--a-panel); font-size: 11px; font-weight: 700; letter-spacing: 0.01em; color: var(--a-subtle); min-height: 42px; }
.tbl__row { border-top: 1px solid var(--a-stroke); font-size: 12.5px; font-weight: 450; }
.tbl__row:hover { background: rgba(241,241,241,0.05); }
.tbl__name { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tbl__ava { width: 26px; height: 26px; border-radius: 7px; flex: none; background: #383838; border: 1px solid var(--a-stroke); display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--a-text); }
.muted-c { color: var(--a-muted); }

/* status chips — exact dark-theme colors from the app */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; min-height: 26px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; animation: dotGlow 2.6s ease-in-out infinite; }
.badge--open { background: #383838; color: #c9c9c9; --glow-c: rgba(201,201,201,0.55); }
.badge--open::before { background: #c9c9c9; animation-duration: 3s; }
.badge--warn { background: #252d3d; color: #7fa8d8; --glow-c: rgba(127,168,216,0.65); }
.badge--warn::before { background: #7fa8d8; animation-duration: 2.2s; }
.badge--done { background: #2f4436; color: #91c6a1; --glow-c: rgba(145,198,161,0.65); }
.badge--done::before { background: #91c6a1; animation-duration: 2.8s; }
.badge--rose { background: #463038; color: #d499a9; --glow-c: rgba(212,153,169,0.55); }
.badge--rose::before { background: #d499a9; animation-duration: 2.5s; }
@keyframes dotGlow {
  0%, 100% { opacity: 1; box-shadow: 0 0 3px var(--glow-c); }
  50% { opacity: 0.65; box-shadow: 0 0 9px 2px var(--glow-c); }
}

/* table column templates */
.tbl--orders .tbl__head, .tbl--orders .tbl__row { grid-template-columns: 1.7fr 1fr 0.55fr 0.9fr 0.9fr 0.95fr; }
.tbl--inv .tbl__head, .tbl--inv .tbl__row { grid-template-columns: 1fr 1.5fr 0.9fr 0.9fr 0.95fr; }
.tbl--claims .tbl__head, .tbl--claims .tbl__row { grid-template-columns: 2fr 1fr 1.3fr 0.7fr 1fr; }

/* discovery filter bar */
.disc-filter { display: flex; gap: 6px; align-items: center; margin-bottom: 10px; }
.disc-filter__search { flex: 1; display: flex; align-items: center; gap: 5px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 6px; padding: 4px 8px; font-size: 8px; color: rgba(255,255,255,.38); }
.disc-filter__search svg { width: 9px; height: 9px; flex-shrink: 0; }
.disc-pill { font-size: 7.5px; padding: 3px 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 100px; white-space: nowrap; color: rgba(255,255,255,.55); }

/* discovery pin-card grid */
.pinmason { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.pincard { border-radius: 6px; overflow: hidden; background: var(--a-card); border: 1px solid var(--a-stroke); }
.pincard__img { height: 68px; background-size: cover; background-position: center top; background-color: #2e2e2e; position: relative; }
.pincard__img--tone1 { background: linear-gradient(160deg, #4a3728, #2a1f18); }
.pincard__img--tone2 { background: linear-gradient(160deg, #1f2e3a, #111c25); }
.pincard__season { position: absolute; top: 5px; left: 5px; font-size: 6.5px; font-weight: 700; background: rgba(0,0,0,.5); color: rgba(255,255,255,.85); padding: 2px 5px; border-radius: 4px; letter-spacing: .02em; }
.pincard__body { padding: 6px 8px 7px; }
.pincard__title { font-size: 9px; font-weight: 600; color: var(--a-text); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pincard__from { font-size: 7.5px; color: var(--a-muted); display: flex; justify-content: space-between; }
.pincard__likes { opacity: .65; }

/* discovery brand grid (legacy) */
.brandgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.brandcard { border: 1px solid var(--a-stroke); border-radius: var(--a-radius); overflow: hidden; background: var(--a-card); }
.brandcard__img { aspect-ratio: 16/10; background-size: cover; background-position: center; background-color: #333; position: relative; }
.brandcard__tag { position: absolute; top: 9px; left: 9px; font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); color: #fff; }
.brandcard__body { padding: 12px 13px 14px; }
.brandcard__name { font-weight: 700; font-size: 13px; }
.brandcard__meta { color: var(--a-muted); font-size: 11px; margin-top: 3px; }
.discover-row { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 14px; }
.discover-row span { font-size: 14px; font-weight: 700; }
.discover-row a { font-size: 11.5px; color: var(--a-muted); }

/* app inside browser frame */
.browser .app { border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }



/* marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: 28px; animation: scroll 28s linear infinite; font-size: clamp(22px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.marquee .sep { color: var(--accent); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Trust ---------- */
.trust { padding: 56px 0 20px; }
.trust__label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 26px; }
.trust__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 38px 52px; }
.logo-ph { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--muted-2); transition: color .25s var(--ease); }
.logo-ph:hover { color: #fff; }
.logo-ph svg { width: 22px; height: 22px; }

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.section-head p { margin-top: 20px; font-size: clamp(16px, 2vw, 19px); color: var(--muted); font-weight: 500; }

/* ---------- Manifesto (sticky word reveal) ---------- */
.manifesto { position: relative; height: 240vh; }
.manifesto__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.manifesto__sticky .eyebrow { margin-bottom: 30px; }
.manifesto__text { font-size: clamp(30px, 5.2vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; max-width: 1000px; }
.manifesto__text .w { color: #fff; opacity: 0.26; transition: opacity .18s ease-out; }
.manifesto__text .w--accent { color: var(--accent-2); }

/* ---------- Scroll-reveal showcase ---------- */
.showcase { padding: 0 0 100px; }
.showcase .container { max-width: 1360px; }

.sc-head { text-align: center; padding: 88px 0 64px; }
.sc-head .eyebrow { margin-bottom: 16px; }
.sc-head h2 { font-size: clamp(30px, 4.8vw, 54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; max-width: 700px; margin: 0 auto; }

.sc-row { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.sc-row__media { position: relative; min-width: 0; }
.sc-row__text { display: flex; flex-direction: column; width: 340px; flex: none; }
.sc-row__num { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.35); letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 16px; }
.sc-row__text h3 { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; margin-bottom: 18px; }
.sc-row__text p { font-size: clamp(15px, 1.6vw, 17px); color: var(--muted); font-weight: 500; line-height: 1.6; }

.sc-row .browser { overflow: hidden; }
.sc-row .app { overflow: hidden; }
.sc-row .app__content { overflow: hidden; }

/* directional scroll reveals */
.js-loaded .reveal-left {
  opacity: 0;
  transform: translateX(-56px);
  transition: opacity .7s var(--ease), transform .95s var(--ease-spring);
}
.js-loaded .reveal-right {
  opacity: 0;
  transform: translateX(52px);
  transition: opacity .65s var(--ease), transform .9s var(--ease-spring);
}
.js-loaded .reveal-left.is-visible  { opacity: 1; transform: none; }
.js-loaded .reveal-right.is-visible { opacity: 1; transform: none; }

/* ---------- Features — flip cards ---------- */
.features-sec { padding: 100px 0; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature {
  perspective: 1200px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
  cursor: default;
  position: relative;
}
.feature:hover,
.feature.is-flipped {
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 20px 52px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,153,255,0.10), 0 0 48px rgba(0,153,255,0.05);
}
.feature__flipper {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius);
}
.feature:hover .feature__flipper,
.feature.is-flipped .feature__flipper { transform: rotateY(180deg); }

.feature__front,
.feature__back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 36px 34px 38px;
  border-radius: var(--radius);
}
.feature__front { background: var(--surface); }
.feature__back {
  position: absolute; inset: 0;
  transform: rotateY(180deg);
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0) 100%);
  background-color: var(--surface);
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
/* front face elements */
.feature__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: #000; margin-bottom: 22px; }
.feature__icon svg { width: 26px; height: 26px; }
.feature__front h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 12px; }
.feature__front p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.feature__hint { position: absolute; bottom: 14px; right: 16px; opacity: 0.22; pointer-events: none; transition: opacity .3s var(--ease); }
.feature__hint svg { width: 15px; height: 15px; }
.feature:hover .feature__hint { opacity: 0; }
/* back face elements */
.feature__back-kpi { font-size: clamp(38px, 4.5vw, 56px); font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.feature__back-kpi-label { font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-top: 5px; }
.feature__back-body { font-size: 15px; font-weight: 500; color: var(--muted); line-height: 1.6; }
.feature__back-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; padding: 5px 12px; width: fit-content; }

@media (prefers-reduced-motion: reduce) {
  .feature__flipper { transition: none; }
  .feature:hover .feature__flipper,
  .feature.is-flipped .feature__flipper { transform: none; }
  .feature__back { display: none; }
}

/* deck story sections (Integrate / Payments) + Time band */
.story { padding: 120px 0; }
.features--3 { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }

/* Payments stat row — replaces card grid for outcome-oriented sections */
.pay-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.pay-stat {
  padding: 48px 40px 48px 0;
  border-right: 1px solid var(--line);
}
.pay-stat:last-child { border-right: none; padding-right: 0; }
.pay-stat:not(:first-child) { padding-left: 40px; }
.pay-stat__num {
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}
.pay-stat__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-top: 8px;
}
.pay-stat__body {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 20px;
  max-width: 280px;
}
.timeband { padding: 116px 0; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.timeband .eyebrow { margin-bottom: 22px; }
.timeband h2 { font-size: clamp(32px, 5.5vw, 62px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.timeband p { margin: 22px auto 0; max-width: 580px; color: var(--muted); font-size: clamp(16px, 2vw, 20px); font-weight: 500; }

/* ---------- Communication / chat — full-screen sticky scroll ---------- */
.comms { position: relative; height: 480vh; }
.comms__pin {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; background: var(--bg);
}
.comms__head {
  text-align: center; max-width: 660px; padding: 0 24px;
  margin-bottom: 44px;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.comms__head .eyebrow { margin-bottom: 14px; }
.comms__head h2 { font-size: clamp(28px, 4.5vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.comms__head p { margin-top: 14px; font-size: clamp(15px, 1.8vw, 18px); color: var(--muted); font-weight: 500; }
.comms__head.is-rolling { opacity: 0.22; transform: translateY(-14px); }
.chat { max-width: 580px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; padding: 0 20px; }
.chat__msg { max-width: 78%; opacity: 0; pointer-events: none; }
.chat__msg--them { align-self: flex-start; transform: translateX(-44px); transition: opacity 0.5s var(--ease), transform 0.75s var(--ease-spring); }
.chat__msg--mid { align-self: flex-end; text-align: right; transform: translateX(44px); transition: opacity 0.5s var(--ease), transform 0.75s var(--ease-spring); }
.chat__msg--me { align-self: flex-end; text-align: right; transform: translateX(44px); transition: opacity 0.5s var(--ease), transform 0.75s var(--ease-spring); }
.chat__msg.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.chat__role { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.01em; color: rgba(255,255,255,0.32); margin-bottom: 5px; }
.chat__msg--me .chat__role,
.chat__msg--mid .chat__role { flex-direction: row; justify-content: flex-end; }
.chat__role .tag { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.42); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.11); padding: 2px 8px; border-radius: 999px; }
.avatar { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-style: normal; font-size: 8px; font-weight: 700; color: #fff; background: rgba(255,255,255,0.14); border: none; flex: none; }
.avatar--dark { background: #fff; color: #111; border: 0; }
.avatar--blue { background: rgba(255,255,255,0.22); color: #fff; border-color: rgba(255,255,255,0.35); }
.chat__msg p { display: inline-block; text-align: left; padding: 12px 18px; border-radius: 18px; font-size: 15px; font-weight: 500; line-height: 1.5; }
.chat__msg--them p { background: #1d1d1f; border: none; border-bottom-left-radius: 5px; color: rgba(255,255,255,0.86); }
.chat__msg--mid p { background: rgba(255,255,255,0.94); color: #111; border: none; border-bottom-right-radius: 5px; border-bottom-left-radius: 18px; box-shadow: 0 4px 28px rgba(0,0,0,0.38); }
.chat__msg--me p { background: rgba(255,255,255,0.94); color: #111; border-bottom-right-radius: 5px; box-shadow: 0 4px 28px rgba(0,0,0,0.38); }
.comms__foot { text-align: center; margin-top: 40px; font-size: clamp(22px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; opacity: 0; transform-origin: center center; will-change: transform; transition: opacity 0.6s var(--ease); }
.comms__foot.is-shown { opacity: 1; }

/* ---------- Discovery split ---------- */
.discover { padding: 160px 0 100px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__text { order: 2; }
.split--reverse .split__media { order: 1; }
.split__text .eyebrow { margin-bottom: 22px; }
.split__text h2 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.split__text p { margin-top: 22px; font-size: clamp(16px, 2vw, 19px); font-weight: 500; max-width: 480px; color: var(--muted); }
.split__media > img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line); aspect-ratio: 4 / 3; object-fit: cover; }

/* brand profile card (ported from the app's brand card) */
.brandprofile__wrap { position: relative; perspective: 900px; }
.brandprofile { width: 100%; max-width: 460px; background-size: cover; background-position: 50% 15%; background-color: #000; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); transform: rotateY(16deg) rotateX(-5deg); transition: transform 1.1s var(--ease); }
.split__media.is-visible .brandprofile { transform: rotateY(0deg) rotateX(0deg); animation: cardFloat 6s ease-in-out infinite 1.3s; }
@keyframes cardFloat {
  0%, 100% { transform: rotateY(1.5deg) rotateX(-0.8deg) translateY(0); }
  50%       { transform: rotateY(-1.5deg) rotateX(0.8deg) translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
  .brandprofile { transform: none; transition: none; }
  .split__media.is-visible .brandprofile { animation: none; transform: none; }
}
.brandprofile__cover { aspect-ratio: 16 / 10; display: block; margin: 0; padding: 0; background: none; position: relative; }
.stat-blur { filter: blur(6px); cursor: default; }
.brandprofile__tag { display: block; width: fit-content; margin-left: auto; margin-bottom: 14px; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.7); }
.brandprofile__badge { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); color: #fff; border: 1px solid rgba(255,255,255,0.22); animation: badgeBreath 2.8s ease-in-out infinite; }
.brandprofile__badge.is-connected { background: rgba(255,255,255,0.92); color: #000; border-color: transparent; animation: none; }
@keyframes badgeBreath {
  0%, 100% { border-color: rgba(255,255,255,0.18); }
  50% { border-color: rgba(255,255,255,0.46); }
}
.brandprofile__body { padding: 12px 16px 14px; margin: 0 10px 10px; border-radius: 14px; color: #f1f1f1; background: rgba(0,0,0,0.45); backdrop-filter: blur(20px) saturate(130%); -webkit-backdrop-filter: blur(20px) saturate(130%); border: 1px solid rgba(255,255,255,0.14); }
.brandprofile__head { display: flex; align-items: center; gap: 12px; }
.brandprofile__logo { width: 46px; height: 46px; flex: none; border-radius: 13px; background: #fff; color: #000; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.brandprofile__name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.brandprofile__meta { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.brandprofile__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); }
.brandprofile__stats strong { display: block; font-size: 19px; font-weight: 700; }
.brandprofile__stats span { font-size: 11px; color: rgba(255,255,255,0.42); }
.brandprofile__actions { display: flex; gap: 10px; }
.brandprofile__actions .btn-mini { flex: 1; justify-content: center; border: 1px solid rgba(255,255,255,0.18); color: #fff; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease-spring); }
.brandprofile__actions .btn-mini--primary { background: #fff; color: #000; border-color: transparent; }
.brandprofile__actions .btn-mini--connected { background: #28c840 !important; color: #000 !important; border-color: transparent !important; }
.connect-toast {
  position: absolute; bottom: -8px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: rgba(20,20,20,0.95); backdrop-filter: blur(12px);
  border: 1px solid rgba(40,200,64,0.35);
  border-radius: 999px; padding: 11px 20px;
  font-size: 13px; font-weight: 600; color: #fff;
  white-space: nowrap; display: flex; align-items: center; gap: 9px;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none; z-index: 10;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.connect-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(-14px); }
.connect-toast svg { width: 15px; height: 15px; color: #28c840; flex: none; }

/* ---------- What's inside ---------- */
.inside { padding: 40px 0 100px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { border-color: var(--line-2); box-shadow: 0 8px 32px rgba(0,0,0,0.45); }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 18px; }
.card ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.card li { position: relative; padding-left: 24px; color: var(--muted); font-size: 15px; font-weight: 500; }
.card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- Vision ---------- */
.vision { padding: 110px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vision__inner { max-width: 800px; }
.vision .eyebrow { margin-bottom: 22px; }
.vision h2 { font-size: clamp(30px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.vision p { margin-top: 22px; font-size: clamp(16px, 2vw, 20px); color: var(--muted); font-weight: 500; max-width: 660px; }
.vision__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 60px; }
.vision__grid { counter-reset: vision-item; }
.vision__item { background: #050505; padding: 30px 28px 32px; transition: background .3s var(--ease); counter-increment: vision-item; }
.vision__item:hover { background: #0c0c0e; }
.vision__item::before { content: "0" counter(vision-item); display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.09em; color: rgba(255,255,255,0.18); margin-bottom: 16px; }
.vision__item h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: rgba(255,255,255,0.72); margin-bottom: 10px; }
.vision__item p { font-size: 14px; color: rgba(255,255,255,0.36); line-height: 1.6; }
@media (max-width: 860px) { .vision__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .vision__grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { padding: 120px 0; text-align: center; background: radial-gradient(900px 400px at 50% 0%, rgba(255,255,255,0.10), transparent 70%), var(--bg); }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(30px, 5vw, 60px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.cta__inner > p { margin-top: 18px; color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 520px; font-weight: 500; }
.cta__card { width: 100%; max-width: 520px; margin: 40px auto 0; }
.cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cta__form input, .cta__form select, .cta__form textarea {
  width: 100%; padding: 14px 16px; font-family: inherit; font-size: 15px; color: #fff;
  border: 1px solid var(--line-2); border-radius: 12px; background: transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cta__form input::placeholder, .cta__form textarea::placeholder { color: var(--muted-2); }
.cta__form input:focus, .cta__form select:focus, .cta__form textarea:focus {
  outline: none; border-color: rgba(255,255,255,0.55); box-shadow: 0 0 0 3px rgba(255,255,255,0.10);
}
.cta__form select {
  -webkit-appearance: none; appearance: none; cursor: pointer; color: var(--muted-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='rgba(255,255,255,0.38)' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.cta__form select.has-value { color: #fff; }
.cta__form select option { background: #1b1b1f; color: #fff; }
.cta__form textarea { resize: none; line-height: 1.55; }
.cta__form textarea:first-of-type { min-height: 68px; }
.cta__form textarea:last-of-type { min-height: 88px; }
.cta__form input[type="email"],
.cta__form textarea,
.cta__form .btn-row { grid-column: 1 / -1; }
.cta__form .btn-row { display: flex; justify-content: flex-end; margin-top: 4px; }
.cta__form input, .cta__form select, .cta__form textarea { padding: 12px 14px; }
.cta__note { margin-top: 14px; font-weight: 600; color: #fff; text-align: center; }
.cta__alt { margin-top: 18px; display: flex; gap: 8px; justify-content: center; color: var(--muted); font-weight: 500; }
.cta__alt a { color: #fff; font-weight: 600; padding: 10px 4px; margin: -10px -4px; }
.cta__pricing { margin-top: 24px; font-size: 13px; color: var(--muted-2); text-align: center; line-height: 1.5; }

/* ---------- Orbit scene — sticky scroll widget formation ---------- */
.feature-pills {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 10px;
  padding: 28px 24px 56px;
}
.feature-pills .mark-widget__pill { animation-duration: 5s; }
.orbit-scene { position: relative; height: 300vh; background: var(--bg); }
.orbit-scene__pin {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--bg);
}
.footer__orbit { position: relative; width: 100%; height: 200px; display: flex; align-items: center; justify-content: center; }
.mark-widget { position: absolute; }
.mark-widget__pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 9px;
  background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.55);
  white-space: nowrap;
  animation: floatMark 4.2s ease-in-out infinite;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.mark-widget:nth-child(2) .mark-widget__pill { animation-delay: -0.9s; }
.mark-widget:nth-child(3) .mark-widget__pill { animation-delay: -1.8s; }
.mark-widget:nth-child(4) .mark-widget__pill { animation-delay: -2.7s; }
.mark-widget:nth-child(5) .mark-widget__pill { animation-delay: -3.3s; }
.mark-widget:nth-child(6) .mark-widget__pill { animation-delay: -0.5s; }
.mark-widget:nth-child(7) .mark-widget__pill { animation-delay: -1.4s; }
.mark-widget svg { flex: none; opacity: 0.6; }
@keyframes floatMark { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.footer__orbit.is-formed .mark-widget__pill { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.25); }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 0; border-top: 1px solid var(--line); }
.footer__mark {
  display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 0 0 40px;
  position: relative;
}
.footer__mark::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.footer__tagline { font-size: 13px; font-weight: 500; color: var(--muted-2); letter-spacing: 0.01em; text-align: center; }
.loopmark { width: min(220px, 42%); height: auto; display: block; overflow: visible; }
.loopmark__fill { fill: rgba(255,255,255,0.07); }
.loopmark__trace {
  fill: none; stroke: #fff; stroke-width: 78; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 0.22 0.78; stroke-dashoffset: 1;
  animation: loopTrace 6s linear infinite, loopGlowBreath 2.8s ease-in-out infinite;
}
@keyframes loopTrace { to { stroke-dashoffset: 0; } }
@keyframes loopGlowBreath {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.95))
            drop-shadow(0 0 26px rgba(255,255,255,0.7))
            drop-shadow(0 0 70px rgba(255,255,255,0.32));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(255,255,255,1))
            drop-shadow(0 0 44px rgba(255,255,255,0.85))
            drop-shadow(0 0 110px rgba(255,255,255,0.52));
  }
}
.footer__quote { font-size: clamp(17px, 2.2vw, 22px); font-weight: 600; letter-spacing: -0.02em; color: rgba(255,255,255,0.38); line-height: 1.45; text-align: center; padding: 0 24px 44px; margin: 0; max-width: 640px; margin-inline: auto; }
.footer__links-min {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px;
  padding: 0 24px 36px; border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.footer__links-min a { transition: color .2s var(--ease); }
.footer__links-min a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0; font-size: 13px; color: var(--muted-2); }
.footer .container { position: relative; z-index: 1; }
.footer__founders { max-width: 580px; margin: 0 auto 52px; text-align: center; padding: 0 24px; }
.footer__founders-quote { font-size: clamp(17px, 2.2vw, 22px); font-weight: 700; letter-spacing: -0.02em; color: rgba(255,255,255,0.72); line-height: 1.38; margin-bottom: 18px; }
.footer__founders-text { font-size: 14px; color: rgba(255,255,255,0.36); line-height: 1.68; margin-bottom: 16px; }
.footer__founders-attr { font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.22); }
.footer__wordmark { overflow: hidden; line-height: 0; pointer-events: none; user-select: none; }
.footer__wordmark img { width: 100%; height: auto; display: block; filter: brightness(0) invert(1); opacity: 0.055; }

/* =========================================================
   Cinematic video bands + inline video
   ========================================================= */
.filmband { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; background: #000; }
.filmband__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease); }
.filmband__vid.is-ready { opacity: 1; }
.filmband__vid--zoom { animation: kenburns 20s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.filmband__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, rgba(0,0,0,0.52) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.64) 0%, rgba(0,0,0,0.12) 38%, rgba(0,0,0,0.62) 72%, rgba(0,0,0,0.96) 100%);
}
.filmband--bright .filmband__overlay {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, rgba(0,0,0,0.62) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.42) 38%, rgba(0,0,0,0.78) 72%, rgba(0,0,0,0.98) 100%);
}
.filmband__inner { position: relative; z-index: 1; text-align: center; padding: 0 24px; }
.filmband__inner .eyebrow { margin-bottom: 22px; }
.filmband__title { font-size: clamp(34px, 6.2vw, 78px); font-weight: 800; letter-spacing: -0.028em; line-height: 1.0; max-width: 16ch; margin: 0 auto; }
.filmband__sub { margin: 22px auto 0; max-width: 620px; font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,0.72); font-weight: 500; }

/* inline video (discovery) — styled like the editorial image */
.media-video { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-md); background: #000; }

/* ---------- Reveal animation ---------- */
.js-loaded .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease-spring); }
.js-loaded .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-loaded .reveal,
  .js-loaded .reveal-left,
  .js-loaded .reveal-right { opacity: 1; transform: none; transition: none; }
  .marquee__track, .dot-live, .blob, .float-a, .float-b, .loopmark__trace, .filmband__vid--zoom { animation: none; }
  .loopmark__trace { stroke-dasharray: none; stroke-dashoffset: 0; stroke: rgba(255,255,255,0.28); }
  .manifesto { height: auto; }
  .manifesto__sticky { position: static; height: auto; padding: 80px 0; }
  .manifesto__text .w { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .features { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { padding: 0 20px; height: 68px; }
  .features--3 { grid-template-columns: 1fr; }
  .pay-stats { grid-template-columns: 1fr; }
  .pay-stat { border-right: none; border-bottom: 1px solid var(--line); padding: 32px 0 !important; }
  .pay-stat:last-child { border-bottom: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__text { order: 1; }
  .split--reverse .split__media { order: 2; }
  .split__text p { max-width: none; }
  /* showcase: stack on mobile */
  .sc-row { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .sc-row__text p { max-width: none; }
  .sc-head { padding: 60px 0 44px; }
}
@media (max-width: 680px) {
  .chip { display: none; }
  .trust__logos { gap: 24px 32px; }
  .logo-ph { font-size: 16px; }
  .manifesto { height: 200vh; }
  /* app mock: drop the sidebar, simplify on small screens */
  .app__side { display: none; }
  .app { min-height: 0; }
  .app__content { padding: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .view-title { font-size: 20px; }
  .stat__num { font-size: 21px; }
  .brandgrid { grid-template-columns: repeat(2, 1fr); }
  .tbl { overflow-x: auto; }
  .tbl__head, .tbl__row { min-width: 480px; }
}
@media (max-width: 540px) {
  .bento { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero__media { margin: 44px auto 56px; }
  .cta__form { grid-template-columns: 1fr; }
  .cta__form .btn { width: 100%; padding: 12px 20px; font-size: 14px; }
  .footer__links { grid-template-columns: repeat(2, auto); }
  .chat__msg { max-width: 92%; }
}
