/* =============================================================
   Vitaminly — marketing site
   Palette lifted verbatim from Vitaminly/DesignSystem/VColors.swift
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* App palette (exact) */
  --midnight: #0D0B14;
  --surface: #1A1625;
  --violet: #A855F7;
  --white: #F9FAFB;
  --muted: #9CA3AF;
  --success: #22C55E;
  --warning: #FBBF24;
  --danger: #EF4444;

  /* Derived violet ramp */
  --violet-700: #7C3AED;
  --violet-400: #C084FC;
  --violet-300: #D8B4FE;
  --violet-100: #EDE1FE;
  --violet-50: #F6F1FE;

  /* Pastel tints (from success / warning / accent) */
  --tint-mint: #CFEEDF;
  --tint-sand: #F9EACB;
  --tint-violet: #E0D0FC;

  /* Light surface system */
  --paper: #FFFFFF;
  --paper-alt: #F7F4FC;
  --ink: #0D0B14;
  --ink-60: #55516A;
  --ink-40: #86829B;
  --rule: #E8E4F2;

  /* Type */
  --f-display: "Plus Jakarta Sans", "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-label: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
  --sect: clamp(80px, 11vw, 168px);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);
  --dur: .9s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
::selection { background: var(--violet); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--sect); position: relative; }
.section--alt { background: var(--paper-alt); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--f-label);
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: .5;
}
.eyebrow--plain::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.035em;
}
.h-xl { font-size: clamp(2.5rem, 5.4vw, 4.5rem); }
.h-lg { font-size: clamp(1.9rem, 3.8vw, 3.05rem); line-height: 1.06; }
.h-md { font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.12; }
.h-sm { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.2; letter-spacing: -.02em; }

/* Two-tone headline treatment from the reference layout */
.accent { color: var(--violet); }
.lede {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  color: var(--ink-60);
  max-width: 46ch;
  line-height: 1.65;
}
.muted { color: var(--ink-60); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--violet);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 1.02em 1.9em;
  border-radius: 14px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-label);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--violet-700);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 18px 40px -18px rgba(168, 85, 247, .75); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--rule);
}
.btn--ghost:hover { --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px var(--violet-700); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--violet-700); }
.btn--light::before { background: var(--midnight); }
.btn--light:hover { --btn-fg: #fff; }

/* Text link with underline sweep */
.tlink {
  position: relative;
  font-family: var(--f-label);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding-bottom: 3px;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }
.tlink svg { transition: transform .4s var(--ease-out); }
.tlink:hover svg { transform: translateX(4px); }

/* App store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 15px;
  border-radius: 12px;
  background: var(--midnight);
  color: #fff;
  transition: transform .45s var(--ease-out), background .45s var(--ease-out);
}
.store-badge:hover { transform: translateY(-3px); background: var(--violet-700); }
.store-badge svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.store-badge span { display: block; line-height: 1.15; }
.store-badge .sb-top { font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.store-badge .sb-bot { font-size: .95rem; font-weight: 600; font-family: var(--f-display); letter-spacing: -.02em; }
.stores--dark .store-badge { background: #fff; color: var(--midnight); }
.stores--dark .store-badge:hover { background: var(--violet-300); }

/* =============================================================
   Preloader
   ============================================================= */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--midnight);
  display: grid;
  place-items: center;
  transition: opacity .7s var(--ease-out), visibility .7s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-mark { width: 92px; height: 92px; }
.pre-mark path {
  stroke-dasharray: 560;
  stroke-dashoffset: 560;
  animation: draw 1.15s var(--ease-io) forwards;
}
.pre-mark rect { opacity: 0; animation: fadeIn .5s var(--ease-out) .85s forwards; }
.pre-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--violet);
  animation: load 1.5s var(--ease-io) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes load { to { width: 100%; } }

/* =============================================================
   Custom cursor
   ============================================================= */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 900;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity .3s;
}
.cursor {
  width: 34px; height: 34px;
  border: 1.5px solid #fff;
  transition: opacity .3s, width .4s var(--ease-out), height .4s var(--ease-out), background .4s;
}
.cursor-dot { width: 5px; height: 5px; background: #fff; }
body.has-cursor .cursor, body.has-cursor .cursor-dot { opacity: 1; }
body.cursor-lg .cursor { width: 68px; height: 68px; background: rgba(255,255,255,.12); }
@media (hover: none), (max-width: 900px) { .cursor, .cursor-dot { display: none; } }

/* =============================================================
   Navigation
   ============================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  transition: transform .55s var(--ease-out), background .5s, box-shadow .5s, backdrop-filter .5s;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  transition: padding .5s var(--ease-out);
}
.nav.stuck {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 var(--rule);
}
.nav.stuck .nav__inner { padding-block: 13px; }
.nav.hidden { transform: translateY(-102%); }

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo svg { width: 32px; height: 32px; transition: transform .6s var(--ease-out); }
.logo:hover svg { transform: rotate(-8deg) scale(1.06); }
.logo span {
  font-family: var(--f-display);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  position: relative;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-60);
  transition: color .35s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__cta .btn { padding: .82em 1.4em; font-size: .7rem; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--rule);
}
.burger i {
  display: block;
  width: 17px; height: 1.6px;
  background: var(--ink);
  transition: transform .45s var(--ease-out), opacity .3s;
}
.burger i + i { margin-top: 4.5px; }
body.menu-open .burger i:nth-child(1) { transform: translateY(6.1px) rotate(45deg); }
body.menu-open .burger i:nth-child(2) { opacity: 0; }
body.menu-open .burger i:nth-child(3) { transform: translateY(-6.1px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--midnight);
  color: var(--white);
  padding: 120px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-out);
  visibility: hidden;
}
body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu a {
  font-family: var(--f-display);
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  padding-block: 10px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
}
.mobile-menu a:hover { color: var(--violet-300); }
body.menu-open .mobile-menu a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .07s); }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  padding-top: clamp(120px, 15vh, 172px);
  padding-bottom: clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.hero__copy > * + * { margin-top: 26px; }
.hero h1 { max-width: 12ch; }
.hero .lede { max-width: 40ch; }
.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .78rem;
  color: var(--ink-40);
  font-family: var(--f-label);
  letter-spacing: .04em;
}
.hero__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--success); }

/* Organic blobs — the reference layout's signature shapes */
.blob {
  position: absolute;
  border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%;
  z-index: 0;
  animation: morph 16s ease-in-out infinite;
  will-change: border-radius, transform;
}
@keyframes morph {
  0%, 100% { border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%; transform: rotate(0deg); }
  33%      { border-radius: 60% 40% 40% 60% / 55% 60% 40% 45%; transform: rotate(6deg); }
  66%      { border-radius: 38% 62% 52% 48% / 62% 38% 62% 38%; transform: rotate(-5deg); }
}
.blob--mint   { background: var(--tint-mint); }
.blob--violet { background: var(--tint-violet); }
.blob--sand   { background: var(--tint-sand); }
.blob--solid  { background: var(--violet); }

.hero__art { position: relative; display: grid; place-items: center; min-height: 540px; }
.hero__art .blob--1 { width: 62%; aspect-ratio: 1; background: var(--tint-violet); top: 8%; left: 6%; }
.hero__art .blob--2 { width: 22%; aspect-ratio: 1; background: var(--tint-mint); bottom: 12%; right: 8%; animation-delay: -6s; }
.hero__art .blob--3 { width: 11%; aspect-ratio: 1; background: var(--violet); top: 6%; right: 20%; animation-delay: -3s; }

/* Floating data chips */
.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 48px -22px rgba(13, 11, 20, .32), inset 0 0 0 1px rgba(255,255,255,.7);
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.chip small {
  display: block;
  font-family: var(--f-label);
  font-size: .58rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-40);
  font-weight: 500;
}
.chip__ico {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}
.chip--1 { top: 11%; left: -9%; }
.chip--2 { bottom: 25%; right: -10%; animation-delay: -2.4s; }
.chip--3 { bottom: 4%; left: -3%; animation-delay: -4.8s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 46px;
  font-family: var(--f-label);
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.scroll-cue i {
  width: 1px; height: 34px;
  background: linear-gradient(var(--violet), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--violet);
  animation: cue 1.9s var(--ease-io) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* =============================================================
   Phone mockup — renders the app's real dark UI
   ============================================================= */
.phone {
  position: relative;
  z-index: 2;
  width: min(300px, 74vw);
  aspect-ratio: 300 / 620;
  border-radius: 46px;
  background: linear-gradient(150deg, #33303f, #17141f 42%, #2a2734);
  padding: 9px;
  box-shadow:
    0 52px 90px -34px rgba(13, 11, 20, .58),
    0 12px 28px -12px rgba(13, 11, 20, .3),
    inset 0 0 0 1px rgba(255, 255, 255, .1);
  will-change: transform;
}
.phone--sm { width: min(248px, 66vw); border-radius: 38px; padding: 8px; }
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  background: var(--midnight);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.phone--sm .phone__screen { border-radius: 31px; }
.phone__notch {
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 25px;
  border-radius: 14px;
  background: #08070c;
  z-index: 6;
}
.phone__glare {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background: linear-gradient(122deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,0) 34%, rgba(255,255,255,0) 66%, rgba(255,255,255,.05) 100%);
  border-radius: 38px;
}

/* Screen chrome */
.sc-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 22px 4px;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .01em;
  flex: none;
}
.sc-status .sc-icons { display: flex; gap: 4px; align-items: center; opacity: .85; }
.sc-status .sc-icons b { display: block; width: 15px; height: 8px; border-radius: 2px; background: currentColor; }

.sc-body { flex: 1; overflow: hidden; padding: 6px 15px 0; }
.sc-title {
  font-family: var(--f-display);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -.03em;
  padding: 6px 3px 13px;
}
.sc-label {
  font-family: var(--f-label);
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 15px 3px 8px;
  display: flex;
  justify-content: space-between;
}
.sc-label b { color: var(--violet); font-weight: 600; }

/* App cards mirror VCard: flat surface, 16pt radius, zero shadow */
.sc-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 13px;
}
.sc-card + .sc-card { margin-top: 8px; }

.sc-progress { display: flex; align-items: center; gap: 15px; }
.ring { position: relative; width: 62px; height: 62px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .trk { stroke: rgba(255,255,255,.08); }
.ring .bar {
  stroke: var(--violet);
  stroke-linecap: round;
  stroke-dasharray: 170;
  stroke-dashoffset: 170;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
.ring.on .bar { stroke-dashoffset: 56; }
.ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.sc-progress p { font-size: .78rem; font-weight: 600; }
.sc-progress .sc-sub {
  font-family: var(--f-label);
  font-size: .49rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 3px;
}
.sc-progress .ok {
  font-family: var(--f-label);
  font-size: .49rem;
  letter-spacing: .1em;
  color: var(--success);
  margin-top: 3px;
  display: block;
}

.sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sc-pill {
  background: var(--surface);
  border-radius: 14px;
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .68rem;
  font-weight: 600;
}
.sc-pill em {
  display: block;
  font-style: normal;
  font-size: .53rem;
  color: var(--muted);
  font-weight: 500;
}
.sc-badge {
  width: 27px; height: 27px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  font-size: .62rem;
  font-weight: 700;
}
.sc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: .7rem;
  font-weight: 600;
}
.sc-row + .sc-row { margin-top: 7px; }
.sc-row time { margin-left: auto; font-family: var(--f-label); font-size: .52rem; color: var(--muted); }
.sc-row em { font-style: normal; font-size: .53rem; color: var(--muted); display: block; font-weight: 500; }

.sc-tabs {
  flex: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 9px 8px 16px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(26, 22, 37, .55);
  backdrop-filter: blur(10px);
}
.sc-tab {
  display: grid;
  justify-items: center;
  gap: 4px;
  font-family: var(--f-label);
  font-size: .42rem;
  letter-spacing: .07em;
  color: var(--muted);
  transition: color .4s;
}
.sc-tab svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; }
.sc-tab.on { color: var(--violet); }

/* Scanner screen */
.sc-scan { position: relative; flex: 1; background: #060509; overflow: hidden; }
.sc-scan__feed {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 50% 38%, rgba(168,85,247,.16), transparent 70%),
    linear-gradient(168deg, #241f33, #0b0910 62%);
}
.sc-bottle {
  position: absolute;
  border-radius: 10px 10px 7px 7px;
  background: linear-gradient(155deg, #4a4159, #2a2436);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
}
.sc-bottle::before {
  content: "";
  position: absolute;
  top: -9px; left: 22%;
  width: 56%; height: 11px;
  border-radius: 4px 4px 0 0;
  background: #574c68;
}
.sc-bottle::after {
  content: "";
  position: absolute;
  inset: 26% 13% 20%;
  border-radius: 3px;
  background: rgba(249,250,251,.16);
}
.sc-frame {
  position: absolute;
  border: 1.6px solid var(--violet);
  border-radius: 10px;
  box-shadow: 0 0 0 100vmax rgba(6,5,9,.36);
}
.sc-frame span {
  position: absolute;
  top: -9px; left: -1.6px;
  transform: translateY(-100%);
  background: var(--violet);
  color: #fff;
  font-family: var(--f-label);
  font-size: .45rem;
  letter-spacing: .09em;
  padding: 2.5px 6px;
  border-radius: 5px;
  white-space: nowrap;
}
.sc-laser {
  position: absolute;
  left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  box-shadow: 0 0 18px 3px rgba(168,85,247,.6);
  animation: laser 2.6s var(--ease-io) infinite;
}
@keyframes laser {
  0%, 100% { top: 16%; opacity: .25; }
  50% { top: 74%; opacity: 1; }
}
.sc-result {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  background: rgba(26,22,37,.94);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 12px;
}
.sc-meter { height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 8px; }
.sc-meter i { display: block; height: 100%; width: 96%; background: var(--success); border-radius: 2px; }

/* Chat screen */
.sc-chat { flex: 1; padding: 10px 15px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.bub {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: .69rem;
  line-height: 1.5;
}
.bub--me { align-self: flex-end; background: var(--violet); color: #fff; border-bottom-right-radius: 5px; }
.bub--ai { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 5px; }
.bub--ai b { color: var(--violet-300); font-weight: 600; }
.typing { display: flex; gap: 4px; align-self: flex-start; background: var(--surface); padding: 12px 14px; border-radius: 16px; border-bottom-left-radius: 5px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: blink 1.3s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.sc-input {
  margin: 0 15px 14px;
  background: var(--surface);
  border-radius: 20px;
  padding: 10px 14px;
  font-size: .66rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sc-input b { width: 24px; height: 24px; border-radius: 50%; background: var(--violet); display: grid; place-items: center; }

/* Alert banner in-app */
.sc-alert {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  background: rgba(239, 68, 68, .13);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: .62rem;
  line-height: 1.45;
  margin-bottom: 9px;
}
.sc-alert svg { flex: none; margin-top: 1px; }
.sc-alert b { color: var(--danger); display: block; font-family: var(--f-label); font-size: .48rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }

/* =============================================================
   Marquee
   ============================================================= */
.marquee {
  border-block: 1px solid var(--rule);
  padding-block: 26px;
  overflow: hidden;
  display: flex;
  gap: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  flex: none;
  padding-right: 56px;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--ink-40);
  white-space: nowrap;
  transition: color .4s;
}
.marquee__item:hover { color: var(--ink); }
.marquee__item svg { width: 19px; height: 19px; opacity: .55; }

/* =============================================================
   Pastel card row ("Choose better")
   ============================================================= */
.head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 4.4vw, 60px);
}
.head__copy > * + * { margin-top: 18px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.pcard {
  position: relative;
  border-radius: 24px;
  padding: clamp(22px, 2.4vw, 32px);
  min-height: clamp(270px, 30vw, 340px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  transition: transform .7s var(--ease-out);
  will-change: transform;
}
.pcard:hover { transform: translateY(-8px); }
.pcard__n {
  font-family: var(--f-label);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: auto;
}
.pcard h3 { font-size: clamp(1.25rem, 1.9vw, 1.62rem); margin-bottom: 10px; }
.pcard p { font-size: .885rem; color: var(--ink-60); line-height: 1.6; }
.pcard__ico {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: rgba(255,255,255,.6);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: transform .7s var(--ease-out), background .5s;
}
.pcard:hover .pcard__ico { transform: rotate(-7deg) scale(1.07); background: #fff; }
.pcard--mint { background: var(--tint-mint); }
.pcard--sand { background: var(--tint-sand); }
.pcard--violet { background: var(--tint-violet); }
.pcard::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -28%; bottom: -34%;
  width: 74%; aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
  transition: transform .9s var(--ease-out);
}
.pcard:hover::after { transform: scale(1.28); }

/* =============================================================
   Split feature (phone + list)
   ============================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.split--flip .split__art { order: -1; }
.split__copy > * + * { margin-top: 24px; }
.split__art { position: relative; display: grid; place-items: center; min-height: 520px; }
.split__art .blob--a { width: 66%; aspect-ratio: 1; }
.split__art .blob--b { width: 17%; aspect-ratio: 1; bottom: 8%; left: 4%; animation-delay: -5s; }

.flist { display: grid; gap: 2px; }
.flist li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 4px;
  border-bottom: 1px solid var(--rule);
  transition: padding-left .5s var(--ease-out);
}
.flist li:first-child { border-top: 1px solid var(--rule); }
.flist li:hover { padding-left: 12px; }
.flist__ico {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--violet-50);
  display: grid;
  place-items: center;
  transition: background .45s, transform .5s var(--ease-out);
}
.flist li:hover .flist__ico { background: var(--violet); transform: rotate(-6deg); }
.flist li:hover .flist__ico svg { stroke: #fff; }
.flist__ico svg { width: 18px; height: 18px; stroke: var(--violet); fill: none; stroke-width: 1.9; transition: stroke .45s; }
.flist h4 { font-size: 1.02rem; margin-bottom: 3px; letter-spacing: -.02em; }
.flist p { font-size: .855rem; color: var(--ink-60); line-height: 1.55; }

/* =============================================================
   Pinned showcase (scroll-scrubbed screens)
   ============================================================= */
.showcase { background: var(--midnight); color: var(--white); position: relative; overflow: clip; }
.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(48% 38% at 78% 18%, rgba(168,85,247,.20), transparent 70%),
    radial-gradient(42% 36% at 12% 82%, rgba(168,85,247,.13), transparent 70%);
  pointer-events: none;
}
.showcase .head__copy p { color: var(--muted); }
.showcase .eyebrow { color: var(--violet-300); }

.pin { position: relative; }
.pin__stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-block: clamp(64px, 9vh, 110px);
}
.pin__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  width: 100%;
}
.pin__steps { display: grid; gap: 4px; max-width: 520px; }
.pstep {
  position: relative;
  padding: 22px 22px 22px 26px;
  border-radius: 18px;
  opacity: .32;
  transition: opacity .6s var(--ease-out), background .6s var(--ease-out), transform .6s var(--ease-out);
}
.pstep::before {
  content: "";
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 2px;
  border-radius: 2px;
  background: var(--violet);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .7s var(--ease-out);
}
.pstep.on { opacity: 1; background: rgba(255,255,255,.045); }
.pstep.on::before { transform: scaleY(1); }
.pstep__n {
  font-family: var(--f-label);
  font-size: .6rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--violet-300);
  margin-bottom: 9px;
  display: block;
}
.pstep h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); margin-bottom: 10px; }
.pstep p { color: var(--muted); font-size: .92rem; max-width: 42ch; }
.pstep__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.tag {
  font-family: var(--f-label);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(168,85,247,.14);
  color: var(--violet-300);
}

.pin__phone { position: relative; display: grid; place-items: center; }
.pin__phone .phone { grid-area: 1 / 1; }
.pin__screens { position: relative; }
.pin__screens .phone__screen > .screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(.97);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  pointer-events: none;
}
.pin__screens .phone__screen > .screen.on { opacity: 1; transform: none; }

/* =============================================================
   Rule grid ("Let's make your health work for you")
   ============================================================= */
.rgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.rgrid__cell {
  position: relative;
  padding: clamp(26px, 3.2vw, 44px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  isolation: isolate;
}
.rgrid__cell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--violet-50);
  transform: translateY(100%);
  transition: transform .7s var(--ease-out);
}
.rgrid__cell:hover::before { transform: translateY(0); }
.rgrid__cell h3 { font-size: clamp(1.15rem, 1.7vw, 1.42rem); margin-bottom: 11px; }
.rgrid__cell p { color: var(--ink-60); font-size: .89rem; line-height: 1.6; max-width: 44ch; }
.rgrid__num {
  font-family: var(--f-label);
  font-size: .62rem;
  letter-spacing: .16em;
  color: var(--violet);
  display: block;
  margin-bottom: 20px;
}
.rgrid__art {
  margin-top: 26px;
  height: 74px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}
.rgrid__art i {
  flex: 1;
  height: 100%;
  border-radius: 5px 5px 2px 2px;
  background: var(--violet-100);
  transform-origin: bottom;
  transform: scaleY(var(--h, .4));
  transition: transform .8s var(--ease-out), background .5s;
}
.rgrid__cell:hover .rgrid__art i { background: var(--violet); }
.rgrid__cell:hover .rgrid__art i:nth-child(odd) { background: var(--violet-400); }

/* =============================================================
   Violet band (data partners)
   ============================================================= */
.band {
  background: var(--violet-700);
  color: #fff;
  border-radius: clamp(24px, 3vw, 36px);
  padding: clamp(34px, 5vw, 68px);
  position: relative;
  overflow: hidden;
}
.band::after {
  content: "";
  position: absolute;
  right: -8%; top: -30%;
  width: 46%; aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.band__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; }
.band .eyebrow { color: rgba(255,255,255,.72); }
.band h2 { color: #fff; max-width: 12ch; }
.band p { color: rgba(255,255,255,.78); margin-top: 18px; max-width: 38ch; font-size: .95rem; }

.bcards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bcard {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: clamp(20px, 2.2vw, 28px);
  transition: transform .6s var(--ease-out);
}
.bcard:hover { transform: translateY(-6px); }
.bcard .eyebrow { color: var(--violet); }
.bcard__big {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  margin: 16px 0 8px;
}
.bcard p { color: var(--ink-60); font-size: .855rem; margin: 0; max-width: none; }
.bcard__logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bcard__logos span {
  font-family: var(--f-label);
  font-size: .6rem;
  letter-spacing: .06em;
  padding: 7px 11px;
  border-radius: 9px;
  background: var(--violet-50);
  color: var(--violet-700);
  font-weight: 600;
}

/* =============================================================
   Testimonials
   ============================================================= */
.tmarquee { display: grid; gap: 16px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.trow { display: flex; gap: 16px; }
.trow__track { display: flex; gap: 16px; flex: none; animation: slide 52s linear infinite; }
.trow--rev .trow__track { animation-direction: reverse; animation-duration: 62s; }
.tmarquee:hover .trow__track { animation-play-state: paused; }
.tcard {
  width: clamp(276px, 27vw, 350px);
  flex: none;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 24px;
  transition: border-color .5s, transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.tcard:hover { border-color: transparent; transform: translateY(-5px); box-shadow: 0 26px 54px -26px rgba(13,11,20,.24); }
.stars { display: flex; gap: 2px; margin-bottom: 14px; }
.stars svg { width: 14px; height: 14px; fill: var(--warning); }
.tcard p { font-size: .92rem; line-height: 1.6; margin-bottom: 20px; }
.tperson { display: flex; align-items: center; gap: 11px; }
.tavatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  flex: none;
}
.tperson b { font-size: .855rem; display: block; letter-spacing: -.01em; }
.tperson small { font-size: .72rem; color: var(--ink-40); }

/* =============================================================
   Awards
   ============================================================= */
.awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.award { text-align: center; padding: 22px 12px; transition: transform .6s var(--ease-out); }
.award:hover { transform: translateY(-7px); }
.award__laurel { display: grid; place-items: center; margin-bottom: 14px; }
.award__laurel svg { width: 62px; height: 62px; }
.award b { font-size: .9rem; display: block; letter-spacing: -.01em; margin-bottom: 5px; }
.award small { font-family: var(--f-label); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-40); }

/* =============================================================
   Stats
   ============================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.6vw, 40px); }
.stat { border-top: 2px solid var(--ink); padding-top: 20px; }
.stat b {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
  display: block;
}
.stat span { display: block; margin-top: 10px; font-size: .875rem; color: var(--ink-60); }

/* =============================================================
   Final CTA
   ============================================================= */
.cta {
  background: var(--violet);
  color: #fff;
  border-radius: clamp(24px, 3vw, 36px);
  overflow: hidden;
  position: relative;
}
.cta__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.cta__copy { padding: clamp(36px, 5vw, 76px); padding-right: 0; }
.cta__copy > * + * { margin-top: 22px; }
.cta h2 { color: #fff; max-width: 13ch; }
.cta p { color: rgba(255,255,255,.82); max-width: 40ch; font-size: 1rem; }
.cta__art { position: relative; display: grid; place-items: end center; padding-top: clamp(36px, 5vw, 64px); }
.cta__art .phone { margin-bottom: -13%; }
.cta__ring {
  position: absolute;
  width: 128%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  bottom: -46%;
}
.cta__ring--2 { width: 96%; bottom: -30%; border-color: rgba(255,255,255,.28); }

/* =============================================================
   Footer
   ============================================================= */
.footer { background: var(--midnight); color: var(--white); padding-block: clamp(56px, 7vw, 92px) 34px; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.footer .logo span { color: var(--white); }
.footer__blurb { color: var(--muted); font-size: .9rem; max-width: 32ch; margin-top: 20px; line-height: 1.6; }
.fcol h5 {
  font-family: var(--f-label);
  font-size: .6rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 600;
}
.fcol a { display: block; padding-block: 7px; font-size: .89rem; color: rgba(249,250,251,.82); transition: color .35s, transform .45s var(--ease-out); }
.fcol a:hover { color: var(--violet-300); transform: translateX(4px); }
.footer__bottom {
  margin-top: clamp(40px, 5vw, 66px);
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--muted);
}
.footer__bottom .socials { display: flex; gap: 10px; }
.footer__bottom .socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.055);
  transition: background .4s, transform .5s var(--ease-out);
}
.footer__bottom .socials a:hover { background: var(--violet); transform: translateY(-3px); }
.footer__bottom .socials svg { width: 15px; height: 15px; fill: currentColor; }
.disclaimer {
  margin-top: 22px;
  font-size: .74rem;
  color: rgba(156,163,175,.72);
  line-height: 1.6;
  max-width: 78ch;
}

/* Scroll progress bar */
.sprog {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--violet);
  z-index: 600;
  width: 0%;
  transition: width .1s linear;
}

/* =============================================================
   Reveal system
   ============================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .95s var(--ease-out) var(--d, 0s),
    transform .95s var(--ease-out) var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-38px); }
[data-reveal="right"] { transform: translateX(38px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].in { opacity: 1; transform: none; }

/* Masked line reveal for headings */
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.js .line > i {
  display: block;
  font-style: normal;
  transform: translateY(105%);
  transition: transform 1.05s var(--ease-out) var(--d, 0s);
  will-change: transform;
}
.split-in .line > i { transform: none; }

/* Clip-path image/art reveal */
.js [data-clip] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s var(--ease-out) var(--d, 0s);
}
[data-clip].in { clip-path: inset(0 0 0 0); }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 12px; }
  .hero__art { min-height: 470px; margin-top: 24px; }
  .hero h1 { max-width: 16ch; }
  .chip--1 { left: 0; }
  .chip--2 { right: 0; }
  .pin__grid { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .pin__steps { max-width: 640px; }
  .pin__phone { display: none; }
  .band__grid { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: 1fr; }
  .cta__copy { padding-right: clamp(36px, 5vw, 76px); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .burger { display: grid; }
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip .split__art { order: 0; }
  .split__art { min-height: 440px; }
  .cards3 { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .rgrid { grid-template-columns: 1fr; }
  .bcards { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .head { align-items: flex-start; }
  .hero__art { min-height: 420px; }
  /* At phone width the chips frame the device instead of covering it */
  .chip { font-size: .72rem; padding: 9px 12px; }
  .chip--1 { top: -1%; left: -3%; }
  .chip--2 { display: none; }
  .chip--3 { bottom: 0; left: auto; right: -3%; }
}

/* =============================================================
   Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal], [data-clip] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .line > i { transform: none !important; }
  .cursor, .cursor-dot { display: none; }
  .pin__stage { position: relative; min-height: auto; }
}

/* =============================================================
   Transform ownership
   Each animated element owns exactly one transform source:
   blobs/chips -> parallax (inline), phones -> tilt (CSS vars),
   reveals -> opacity only where a transform is already in use.
   ============================================================= */

/* Morph animates radius only, so parallax can own `transform`. */
@keyframes morph {
  0%, 100% { border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%; }
  33%      { border-radius: 62% 38% 41% 59% / 56% 61% 39% 44%; }
  66%      { border-radius: 37% 63% 53% 47% / 63% 38% 62% 37%; }
}

/* Opacity-only reveal for elements whose transform is spoken for */
.js [data-reveal="op"] { opacity: 0; transform: none; transition: opacity 1.1s var(--ease-out) var(--d, 0s); }
.js [data-reveal="op"].in { opacity: 1; }

/* Phone tilt drives CSS variables rather than inline transform */
.phone[data-tilt] {
  transform: perspective(1100px) rotateY(var(--tx, 0deg)) rotateX(var(--ty, 0deg));
  transition: transform .9s var(--ease-out);
  transform-style: preserve-3d;
}

/* Word-level masked reveal */
.line {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}

/* Pinned showcase scroll runway: one viewport per step + the stage */
.pin { min-height: 380vh; }

@media (max-width: 1080px) {
  .pin { min-height: auto; }
  .pin__stage { position: relative; min-height: auto; padding-block: 0 clamp(64px, 9vw, 110px); }
  .pstep { opacity: 1; background: rgba(255, 255, 255, .045); margin-bottom: 10px; }
  .pstep::before { transform: scaleY(1); }
}

/* No-JS fallback: nothing hides behind an animation that will never run */
html:not(.js) #preloader { display: none; }
html:not(.js) [data-reveal],
html:not(.js) [data-clip] { opacity: 1; transform: none; clip-path: none; }
