/* Kinect static marketing site (WEB-49, restyled lime in WEB-50) — plain CSS,
   no build step. Colors are literal values of existing tokens: the lime scale
   from tailwind.config.ts (lime / lime-50 / lime-100 / lime-200) and
   src/index.css's near-black (#050505). Text is always solid ink on lime —
   never grey on lime. Inter is the only font. */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #050505;
  --lime: #dfff00;
  --lime-50: #f7ffb3;
  --lime-100: #f0ff80;
  --lime-200: #e8ff4d;
  --fg: var(--ink);
  --muted: var(--ink);
  --muted-2: var(--ink);
  --card: rgba(255, 255, 255, 0.4);
  --border: rgba(5, 5, 5, 0.14);
  --max: 1280px;
  --max-article: 680px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { background: var(--lime-100); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  position: relative;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
/* The gradient sits on a fixed layer so long pages don't stretch it, and so
   iOS (which ignores background-attachment: fixed) still gets it. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(110% 80% at 0% 0%, var(--lime-50) 0%, rgba(247, 255, 179, 0) 60%),
    linear-gradient(125deg, var(--lime-100) 0%, var(--lime-200) 55%, var(--lime) 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--ink); color: var(--lime); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.article { max-width: var(--max-article); margin: 0 auto; padding: 0 28px; }
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.text-center { text-align: center; }

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
/* Poster type: upright, uppercase, tight. */
.h1, .h2, .h3, .poster {
  font-family: Inter, sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.h1 { font-size: clamp(44px, 8vw, 96px); margin: 20px 0; }
.h2 { font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 14px; }
.h3 { font-size: clamp(24px, 3.5vw, 32px); margin-bottom: 10px; }
.accent { color: inherit; }
.lede { font-size: 18px; line-height: 1.55; max-width: 60ch; }
.lede--sm { font-size: 15px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700;
  border-bottom: 2px solid var(--ink); padding-bottom: 2px;
}
.text-link span { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover span { transform: translateX(4px); }
}

/* ---- Motion ----
   Everything below `.motion` is opt-in: the class is added by a one-line
   script in <head> only when JS runs and the visitor hasn't asked for
   reduced motion. Without it every element sits in its final state, so a
   page with JS off (or reduce motion on) is complete and still. */
.motion .reveal-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.motion .reveal-fade[data-visible] { opacity: 1; transform: none; }

/* ---- Nav ---- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 200;
  background: var(--ink); width: 0;
}
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, border-color 0.3s;
  background: transparent; border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(240, 255, 128, 0.82);
  border-bottom-color: var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; height: 64px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
/* kinect-logo-dark.webp: the drip logo's silhouette in ink, so it sits
   straight on the lime (the original lime chrome disappears on it). */
.nav__brand { display: inline-flex; }
.nav__logo { height: 46px; width: auto; }
.nav__links { display: none; gap: 28px; }
.nav__link { font-size: 14px; font-weight: 600; }
.nav__link, .nav__login, .footer__col a { background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 0 2px; transition: background-size 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover, .nav__login:hover, .footer__col a:hover { background-size: 100% 2px; }
}
.nav__login { font-size: 14px; font-weight: 600; padding: 4px 0; }
.nav__menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; width: 40px; border-radius: 999px; border: 1px solid rgba(5, 5, 5, 0.2);
  background: transparent; color: var(--ink); cursor: pointer; font-size: 16px;
  transition: transform 160ms var(--ease-out);
}
.nav__menu-btn:active { transform: scale(0.92); }
.nav__mobile-sheet {
  position: absolute; top: 100%; left: 0; right: 0;
  border-top: 1px solid var(--border); background: rgba(240, 255, 128, 0.97);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
}
.nav__mobile-sheet.is-open {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s;
}
.nav__mobile-sheet .container { padding: 24px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.nav__mobile-sheet .nav__link, .nav__mobile-sheet .nav__login { font-size: 20px; font-weight: 700; }
@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__menu-btn { display: none; }
}

/* ---- Footer ---- */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer__brand { display: inline-flex; margin-bottom: 12px; }
.footer__logo { height: 72px; width: auto; }
.footer__blurb { font-size: 14px; font-weight: 500; max-width: 30ch; line-height: 1.5; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer__col-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__col a { font-size: 14px; font-weight: 500; }
.footer__bottom { padding-top: 24px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

/* ---- App Store badge ---- */
.badge-row { display: flex; justify-content: center; margin: 28px 0; }
.appstore-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); border-radius: 14px;
  padding: 11px 20px; color: #fff;
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease;
}
.appstore-badge svg { width: 24px; height: 24px; flex-shrink: 0; }
.appstore-badge__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore-badge__eyebrow { font-size: 10px; }
.appstore-badge__title { font-size: 19px; font-weight: 600; font-family: -apple-system, "Helvetica Neue", sans-serif; }
.appstore-badge--soon { opacity: 0.55; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .appstore-badge--live:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(5, 5, 5, 0.22); }
}
.appstore-badge--live:active { transform: scale(0.97); }

/* ---- Phone frame ---- */
.phone-frame {
  position: relative; border-radius: 44px; background: var(--ink); padding: 10px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.22),
    0 0 0 3px rgba(5, 5, 5, 0.55),
    0 50px 90px -30px rgba(5, 5, 5, 0.55);
  max-width: 320px; margin: 0 auto;
}
.phone-frame img { border-radius: 34px; width: 100%; height: auto; aspect-ratio: 750 / 1623; object-fit: cover; }
.phone-frame::before {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 28%; height: 22px; background: var(--ink); border-radius: 12px; z-index: 2;
}

/* ---- Landing hero ---- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: clip; }
.hero__inner { position: relative; z-index: 1; padding-top: 84px; }
.hero__title { font-size: min(22vw, 12.5svh); line-height: 0.86; margin: 0; text-wrap: nowrap; }
/* Each word is masked so it can rise into place; the padding keeps the mask
   from clipping cap tops at this tight line-height. */
.hero__mask { display: block; overflow: clip; padding-top: 0.06em; margin-top: -0.06em; }
.hero__word { display: inline-block; }
.hero__cta { margin-top: 24px; }
.hero__phone { position: relative; z-index: 2; width: 64vw; max-width: 300px; margin: 28px 6vw 0 auto; }
.hero__tilt { --hero-rot: 12deg; transform: rotate(var(--hero-rot)); }
.hero__phone .phone-frame { max-width: none; }

@media (min-width: 860px) {
  .hero { min-height: 600px; }
  .hero__inner { padding-top: calc(64px + 7vh); }
  .hero__cta { margin-top: 5vh; }
  .hero__title { font-size: min(12.5vw, 24vh); }
  .hero__mask { display: inline-block; vertical-align: top; }
  .hero__mask--last { display: block; }
  .hero__phone {
    position: absolute; top: 8vh; right: 1vw; margin: 0;
    width: clamp(300px, 29vw, 440px); max-width: none;
  }
  .hero__tilt { --hero-rot: 24deg; }
}

.motion .hero__word { animation: word-rise 900ms var(--ease-out) both; }
.motion .hero__mask:nth-child(2) .hero__word { animation-delay: 90ms; }
.motion .hero__mask:nth-child(3) .hero__word { animation-delay: 180ms; }
.motion .hero__cta { animation: fade-up 800ms var(--ease-out) 320ms both; }
.motion .hero__phone { animation: phone-in 1200ms var(--ease-out) 120ms both; }
/* Scroll: the phone straightens and lifts, the headline drifts slower than
   the page. --h is 0 at the top of the page and 1 once the hero is gone. */
.motion .hero__tilt {
  transform: translate3d(0, calc(var(--h, 0) * -60px), 0) rotate(calc(var(--hero-rot) - var(--h, 0) * 10deg));
  will-change: transform;
}
.motion .hero__title { transform: translate3d(0, calc(var(--h, 0) * 90px), 0); }
@keyframes word-rise { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes phone-in { from { opacity: 0; transform: translate3d(0, 140px, 0) rotate(6deg); } }

/* ---- Story sections (landing) and feature rows (/features) ----
   --p runs from 1 (section entering from below) through 0 (centred) to -1
   (leaving at the top). The phone rests at --rot, swings by --swing either
   side of it, and the headline drifts sideways. */
.story { position: relative; padding: 12vh 0; overflow-x: clip; scroll-margin-top: 64px; }
.story__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.story__copy { position: relative; z-index: 1; }
.story__title { font-size: clamp(48px, 12.5vw, 150px); margin: 14px 0 22px; text-wrap: nowrap; }
.story__text { font-size: 18px; line-height: 1.5; max-width: 36ch; margin-bottom: 26px; }
.story__media { position: relative; z-index: 2; width: 64vw; max-width: 320px; margin: 0 auto; }
.story__media .phone-frame { max-width: none; }
.story__tilt { --rot: 5deg; --swing: 9deg; transform: rotate(var(--rot)); }
.story--flip .story__tilt { --rot: -5deg; --swing: -9deg; }
.motion .story__tilt {
  transform: translate3d(0, calc(var(--p, 0) * 70px), 0) rotate(calc(var(--rot) + var(--p, 0) * var(--swing)));
  will-change: transform;
}
.motion .story__title { transform: translate3d(calc(var(--p, 0) * 36px), 0, 0); }
.motion .story--flip .story__title { transform: translate3d(calc(var(--p, 0) * -36px), 0, 0); }
@media (min-width: 860px) {
  .story { min-height: 92svh; display: flex; align-items: center; }
  .story > .container { width: 100%; }
  .story__grid { grid-template-columns: 1.2fr 0.8fr; gap: 40px; }
  .story--flip .story__grid { grid-template-columns: 0.8fr 1.2fr; }
  .story--flip .story__media { grid-column: 1; grid-row: 1; }
  .story--flip .story__copy { grid-column: 2; grid-row: 1; }
  .story__title { font-size: clamp(64px, 9vw, 150px); }
  .story__text { font-size: 20px; }
  .story__media { width: max(240px, min(24vw, 340px, 38svh)); max-width: none; }
}

.features-hero { padding: 140px 0 32px; }
.features-hero__title { font-size: clamp(48px, 11vw, 170px); margin: 18px 0 24px; text-wrap: nowrap; }
.features-hero .lede { font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; max-width: 40ch; }
.features-hero .badge-row { justify-content: flex-start; }

.feature-row .story__title { font-size: clamp(40px, 10vw, 120px); text-wrap: balance; }
@media (min-width: 860px) {
  .feature-row { min-height: 84svh; }
  .feature-row .story__title { font-size: clamp(56px, 7vw, 112px); }
}

.feature-more { padding: 10vh 0 6vh; }
.feature-more__grid { display: grid; grid-template-columns: 1fr; gap: 0 48px; }
.feature-item { padding: 32px 0; border-top: 2px solid var(--ink); scroll-margin-top: 80px; }
.feature-item__title { font-size: clamp(32px, 4.5vw, 52px); margin: 10px 0 14px; }
.feature-item p { font-size: 17px; line-height: 1.55; max-width: 44ch; }
@media (min-width: 860px) {
  .feature-more__grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Final CTA ---- */
.final-cta { text-align: center; padding: 96px 0; border-top: 1px solid var(--border); overflow-x: clip; }
.final-cta__title { font-size: clamp(44px, 11vw, 190px); line-height: 0.86; margin: 0 0 20px; text-wrap: nowrap; }
.final-cta__line { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; }

/* ---- FAQ — one question under another, like the How To guides ---- */
.faq__q { font-size: clamp(26px, 3.2vw, 32px); text-wrap: balance; }
.faq__more { padding: 40px 0 72px; border-top: 1px solid var(--border); font-size: 15px; font-weight: 600; }
.faq__more a { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Cards (PPL guide FAQ) ---- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { border-radius: 24px; padding: 24px; border: 1px solid var(--border); background: var(--card); }
.card__q { text-transform: uppercase; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.card__a { font-size: 14px; line-height: 1.55; }
@media (min-width: 768px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- How-to list / detail ---- */
.breadcrumb { padding-top: 32px; font-size: 12px; font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .breadcrumb a:hover { text-decoration: underline; }
}
.breadcrumb .sep { margin: 0 8px; }
.exercise-list { display: flex; flex-direction: column; }
.exercise-list li { border-top: 1px solid var(--border); }
.exercise-list li:last-child { border-bottom: 1px solid var(--border); }
.exercise-list a {
  display: flex; justify-content: space-between; align-items: baseline; padding: 18px 4px;
  font-size: 17px; font-weight: 600;
  transition: transform 160ms var(--ease-out), padding-left 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .exercise-list a:hover { padding-left: 10px; }
}
.exercise-list a:active { transform: scale(0.99); }
.exercise-list .muscle { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; }

.contents-nav { padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 48px; }
.contents-nav__label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; margin-bottom: 14px; }
.contents-nav ol { display: flex; flex-direction: column; gap: 8px; }
.contents-nav li { display: flex; align-items: baseline; gap: 14px; }
.contents-nav .num { font-size: 11px; width: 22px; flex-shrink: 0; }
.contents-nav a { font-size: 15px; font-weight: 500; border-bottom: 1px solid transparent; transition: border-color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
  .contents-nav a:hover { border-color: var(--ink); }
}

/* ---- How To by body part (WEB-51) ---- */
.part-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 72px; }
.part-tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 124px; padding: 16px; border-radius: 20px;
  border: 1px solid var(--border); background: var(--card);
  transition: transform 200ms var(--ease-out), background 200ms ease;
}
.part-tile__name { font-size: clamp(19px, 5.2vw, 34px); line-height: 0.95; overflow-wrap: anywhere; }
@media (min-width: 600px) { .part-tile { padding: 20px; min-height: 132px; } }
.part-tile__count { font-size: 13px; font-weight: 700; }
@media (hover: hover) and (pointer: fine) {
  .part-tile:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.6); }
}
.part-tile:active { transform: scale(0.98); }
.part-grid li:last-child:nth-child(odd) { grid-column: span 2; }
.contents-nav__count { margin-left: auto; font-size: 11px; font-weight: 700; }
.part-section { padding-top: 40px; scroll-margin-top: 80px; }
.part-section__title { font-size: clamp(26px, 3.2vw, 32px); margin-bottom: 12px; }

.detail-section { padding: 48px 0; border-top: 1px solid var(--border); scroll-margin-top: 32px; }
.detail-section:first-of-type { border-top: none; }
.detail-section .num { display: block; font-size: 11px; margin-bottom: 10px; }
.step-row { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--border); }
.step-row:first-child { border-top: none; padding-top: 0; }
.step-row .n { font-size: 13px; }
.step-row p { font-size: 15px; line-height: 1.6; }
.plain-list li { padding: 14px 0; border-top: 1px solid var(--border); font-size: 14.5px; }
.plain-list li:last-child { border-bottom: 1px solid var(--border); }
.muscle-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--border); font-size: 15px; font-weight: 600; }
.muscle-row:last-child { border-bottom: 1px solid var(--border); }
.muscle-row .tag { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; }

/* ---- Legal pages ---- */
.legal h2 { font-size: 22px; font-weight: 700; text-transform: none; letter-spacing: -0.01em; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.65; margin-bottom: 12px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
