/* ============================================================
   Lemariku — landing page
   Brand: Capslock Studio brand book (2026). Strictly orange/black/white.
   Display: Hanken Grotesk (Neulis Sans stand-in) · Body: Inter
   · Data/labels: JetBrains Mono (garment care-label voice)
   ============================================================ */

:root {
  /* ---- brand colour ---- */
  --orange:        #E7652F;  /* Halloween Orange — primary */
  --orange-strong: #C1531D;  /* AA-safe orange on light */
  --orange-deep:   #9E3A1A;  /* burnt — gradient depth */
  --orange-bright: #F47C42;  /* gradient top */
  --orange-tint:   #F7C9B2;  /* soft fills / dividers on light */
  --peach:         #FBEDE4;  /* pale peach card on paper */

  --black:  #000000;  /* brand-pure black */
  --ink:    #0E0E0E;  /* body near-black */
  --ink-2:  #1A1A1A;  /* raised dark surface */
  --paper:  #FBF7F3;  /* warm near-white base */
  --paper-2:#F4ECE4;  /* paper card */
  --white:  #FFFFFF;

  --line-ink:   rgba(14, 14, 14, 0.12);
  --line-onink: rgba(255, 255, 255, 0.14);
  --line-onorg: rgba(0, 0, 0, 0.22);

  /* ---- type ---- */
  --display: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --body:    "Inter", system-ui, -apple-system, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* ---- layout ---- */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 12px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

::selection { background: var(--orange); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  font: 600 14px/1 var(--body); transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--orange :focus-visible { outline-color: var(--black); }

/* ---------------------------------------------------------- shared layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(72px, 11vw, 148px); position: relative; }
.section--paper { background: var(--paper); color: var(--ink); }
.section--ink   { background: var(--ink);   color: var(--paper); }
.section--orange{ background: var(--orange); color: var(--black); }

/* ---------------------------------------------------------- care-label (eyebrow) */
.label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-weight: 500;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 13px 7px 11px;
  border: 1px solid currentColor; border-radius: 999px;
  line-height: 1; white-space: nowrap;
}
.label::before {
  content: ""; width: 7px; height: 7px; border-radius: 2px;
  background: currentColor; flex: none;
  /* folded-corner nod to the logomark */
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
.label--ink     { color: var(--orange-deep); }
.label--orange  { color: var(--orange-deep); }
.label--on-ink  { color: var(--orange); }
.label--on-orange { color: var(--black); }

/* ---------------------------------------------------------- buttons */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--body);
  padding: 15px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  cursor: pointer; transition: transform .18s var(--ease), background .18s, color .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 11px 19px; font-size: 14.5px; }

/* solid = brand orange fill (default page CTA on light).
   Uses --orange-strong so white labels clear AA (4.64:1) on the orange. */
.btn--solid { --bg: var(--orange-strong); --fg: #fff; --bd: var(--orange-strong); box-shadow: 0 10px 24px -12px var(--orange-deep); }
.btn--solid:hover { --bg: var(--orange-deep); --bd: var(--orange-deep); }

/* ink fill (used on orange section) */
.btn--ink { --bg: var(--black); --fg: #fff; --bd: var(--black); }
.btn--ink:hover { --bg: #2a2a2a; --bd: #2a2a2a; }

/* ghost on dark/orange field */
.btn--ghost-dark { --bg: transparent; --fg: var(--black); --bd: var(--black); }
.btn--ghost-dark:hover { --bg: var(--black); --fg: var(--orange); }

/* ---------------------------------------------------------- link arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 15px/1 var(--body); color: var(--orange-deep);
  padding-block: 6px;
}
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }
.link-arrow--ink { color: var(--black); }

/* ============================================================ NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo-img { height: 27px; width: auto; }
.nav__logo-img--dark { display: none; }

.nav__links { display: flex; gap: 34px; font: 500 15.5px/1 var(--body); }
.nav__links a { position: relative; padding: 6px 0; transition: opacity .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: currentColor; transition: width .25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__menu { display: none; }

/* nav theme: over orange hero (default) */
.nav[data-theme="on-orange"] { color: var(--black); }
.nav[data-theme="on-orange"] .btn--solid { --bg: var(--black); --fg: var(--orange); --bd: var(--black); box-shadow: none; }
.nav[data-theme="on-orange"] .btn--solid:hover { --bg: #1d1d1d; --bd: #1d1d1d; }

/* nav after scroll: solid paper */
.nav.is-stuck {
  background: rgba(251, 247, 243, 0.86);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom-color: var(--line-ink);
  color: var(--ink);
}
.nav.is-stuck .nav__logo-img--light { display: none; }
.nav.is-stuck .nav__logo-img--dark { display: block; }
.nav.is-stuck .btn--solid { --bg: var(--orange-strong); --fg: #fff; --bd: var(--orange-strong); }
.nav.is-stuck .btn--solid:hover { --bg: var(--orange-deep); --bd: var(--orange-deep); }

/* ============================================================ HERO */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 132px var(--gutter) 92px;
  background:
    radial-gradient(120% 90% at 80% 0%, var(--orange-bright) 0%, transparent 55%),
    linear-gradient(168deg, var(--orange) 0%, var(--orange) 52%, var(--orange-deep) 142%);
  color: var(--black);
  overflow: hidden;
}
/* subtle woven texture so the flat orange reads as fabric, not a swatch */
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg,  rgba(0,0,0,.05) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(120% 100% at 50% 40%, #000 30%, transparent 100%);
}
.hero__inner { position: relative; width: 100%; max-width: var(--wrap); margin-inline: auto; }

.hero__eyebrow { margin-bottom: 26px; }

.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.9rem, 8.2vw, 6.6rem);
  line-height: 0.96; letter-spacing: -0.03em;
  max-width: 14ch;
}

/* ---- the live counter (signature) ---- */
.counter {
  margin: clamp(30px, 5vw, 48px) 0 clamp(26px, 4vw, 38px);
  padding: 22px 26px;
  border: 1.5px solid var(--black);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.05);
  max-width: 640px;
}
.counter__cap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em;
  text-transform: uppercase; color: rgba(0,0,0,.78);
}
.counter__live {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: var(--black);
  border: 1px solid var(--black); border-radius: 999px; padding: 5px 11px;
  font-size: 11px; letter-spacing: 0.08em; white-space: nowrap; flex: none;
}
.counter__live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--black);
  box-shadow: 0 0 0 0 rgba(0,0,0,.6); animation: pulse 1.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,0,0,.5); }
  70% { box-shadow: 0 0 0 10px rgba(0,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}
.counter__readout { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 12px; min-width: 0; }
.counter__value {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 7.4vw, 5rem); line-height: 1;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1; color: var(--black);
}
.counter__unit { font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; }
.counter__since {
  margin-top: 8px; font-family: var(--mono); font-size: 13px; color: rgba(0,0,0,.85);
}
.counter__plus { color: var(--black); font-weight: 700; font-variant-numeric: tabular-nums; }

.hero__lede {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.5;
  max-width: 46ch; color: rgba(0,0,0,.82); font-weight: 450;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__source {
  margin-top: 26px; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.04em; color: rgba(0,0,0,.82); text-transform: uppercase;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(0,0,0,.5); border-radius: 14px;
  display: grid; place-items: start center; padding-top: 7px;
}
.hero__scroll span { width: 4px; height: 9px; border-radius: 2px; background: var(--black); animation: scroll 1.8s var(--ease) infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ============================================================ section headings */
.evidence__title, .about__title, .why__title, .app__title, .programs__title, .download__title {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.02;
}
.evidence__title { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 16ch; margin: 16px 0 0; }

/* ============================================================ EVIDENCE / STATS */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin: clamp(44px, 6vw, 72px) 0 0;
  border-top: 1px solid var(--line-ink); padding-top: clamp(36px, 4vw, 52px);
}
.stat__num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(3.2rem, 7vw, 4.8rem); line-height: 0.9; letter-spacing: -0.04em;
  color: var(--ink); display: flex; align-items: baseline;
}
.stat__suffix { color: var(--orange-strong); font-size: 0.5em; margin-left: 4px; letter-spacing: -0.02em; }
.stat__tag {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--orange-deep); margin: 16px 0 10px;
}
.stat__desc { font-size: 16px; color: rgba(14,14,14,.66); max-width: 26ch; }
.evidence__foot {
  margin-top: clamp(40px, 5vw, 60px); font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 600; line-height: 1.4; max-width: 30ch; color: var(--ink);
  font-family: var(--display); letter-spacing: -0.01em;
}
.evidence__src {
  margin-top: 20px; font-family: var(--mono); font-size: 12px; line-height: 1.5;
  color: rgba(14, 14, 14, 0.6); max-width: 52ch;
}

/* ============================================================ ABOUT / ECOSYSTEM */
.about__head {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 64px);
  align-items: end; margin-bottom: clamp(40px, 5vw, 64px);
}
.about__title { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 18ch; margin-top: 14px; }
.about__intro { font-size: 17px; line-height: 1.6; color: rgba(14,14,14,.7); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 30px); }
.duo__card {
  border: 1px solid var(--line-ink); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px); overflow: hidden;
  display: flex; flex-direction: column; gap: 26px;
  background: var(--white);
}
.duo__card--app { background: var(--white); }
.duo__card--programs { background: var(--peach); border-color: var(--orange-tint); }
.duo__h { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; margin-top: 12px; line-height: 1.05; }
.duo__p { font-size: 15.5px; color: rgba(14,14,14,.66); margin: 10px 0 14px; max-width: 34ch; }

/* duo-card phone showing a real app screen (top-cropped device) */
.phone--shot {
  margin: 6px auto 0; width: min(248px, 70%); aspect-ratio: 248 / 300;
  background: #0a0a0a; border-radius: 34px 34px 0 0; padding: 9px 9px 0;
  border: 1px solid #000; box-shadow: 0 34px 60px -34px rgba(0,0,0,.55);
  position: relative; overflow: hidden;
}
.phone--shot img { width: 100%; border-radius: 26px 26px 0 0; display: block; }

/* programs impact tiles */
.impact { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 12px; margin-top: 4px; }
.impact__tile {
  border-radius: var(--radius-sm); padding: 16px; font: 600 14px/1.2 var(--body);
  display: flex; align-items: flex-end; min-height: 78px;
}
.impact__tile--1 { grid-row: span 2; background: var(--orange); color: #fff; flex-direction: column; align-items: flex-start; justify-content: center; min-height: auto; }
.impact__big { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 0.9; letter-spacing: -0.03em; }
.impact__sub { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.impact__tile--2 { background: var(--ink); color: var(--paper); }
.impact__tile--3 { background: var(--white); color: var(--ink); border: 1px solid var(--orange-tint); }
.impact__tile--4 { background: var(--white); color: var(--ink); border: 1px solid var(--orange-tint); grid-column: span 2; min-height: 64px; }

/* ============================================================ WHY (dark) */
.why__head { max-width: 60ch; margin-bottom: clamp(46px, 6vw, 76px); }
.why__title { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 16ch; margin: 16px 0 0; color: var(--white); }
.why__intro { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: rgba(255,255,255,.66); margin-top: 22px; max-width: 48ch; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.pillar {
  border: 1px solid var(--line-onink); border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 34px);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  display: flex; flex-direction: column;
}
.pillar__icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(231,101,47,.14); color: var(--orange); margin-bottom: 22px;
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar__h { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; margin: 14px 0 12px; color: var(--white); line-height: 1.05; }
.pillar__p { font-size: 15.5px; color: rgba(255,255,255,.64); }

/* ============================================================ APP / FEATURES */
.app__head { max-width: 62ch; margin-bottom: clamp(44px, 5vw, 68px); }
.app__title { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 17ch; margin: 16px 0 0; }
.app__intro { font-size: 17px; color: rgba(14,14,14,.68); margin-top: 20px; max-width: 50ch; }

/* ---- interactive app explorer ---- */
.appx { border-top: 1px solid var(--line-ink); padding-top: clamp(34px, 4vw, 52px); }

.appx__tabs {
  display: inline-flex; gap: 5px; padding: 6px; margin-bottom: clamp(34px, 4vw, 52px);
  background: var(--paper-2); border: 1px solid var(--line-ink); border-radius: 999px;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.appx__tabs::-webkit-scrollbar { display: none; }
.appx :focus-visible { outline-color: var(--orange-deep); }
.appx__tab:focus-visible { outline-offset: 1px; }
.appx__tab {
  font: 600 15px/1 var(--body); color: rgba(14,14,14,.66);
  padding: 12px 24px; border-radius: 999px; border: 0; background: none;
  cursor: pointer; white-space: nowrap; transition: color .2s, background .25s var(--ease);
}
.appx__tab:hover { color: var(--ink); }
.appx__tab.is-active { background: var(--ink); color: var(--paper); }

.appx__body {
  display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

/* left: detail + feature chips */
.appx__cat { margin-bottom: 22px; }
.appx__detail { min-height: 158px; }
.appx__title {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.025em;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.02; color: var(--ink);
}
.appx__blurb { font-size: 17px; line-height: 1.55; color: rgba(14,14,14,.7); margin-top: 14px; max-width: 42ch; }

.appx__icons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
/* an odd trailing chip spans full width so no empty cell is left (e.g. Commerce's 5) */
.appx__icon:last-child:nth-child(odd) { grid-column: 1 / -1; }
.appx__icon {
  display: flex; align-items: center; gap: 13px; text-align: left;
  padding: 13px 15px; border: 1px solid var(--line-ink); border-radius: 14px;
  background: var(--white); color: var(--ink); cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s var(--ease);
}
.appx__icon:hover { transform: translateY(-2px); border-color: var(--orange-tint); }
.appx__icon.is-active { border-color: var(--orange); background: var(--peach); }
.appx__icon-ic {
  flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--paper-2); color: var(--orange-deep); transition: background .2s, color .2s;
}
.appx__icon.is-active .appx__icon-ic { background: var(--orange-strong); color: #fff; }
.appx__icon-ic svg { width: 20px; height: 20px; }
.appx__icon-label { font: 600 13.5px/1.25 var(--body); }
.appx__hint { margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em; color: rgba(14,14,14,.66); }

/* right: live device */
.appx__device { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone2 {
  position: relative; width: min(304px, 88%); aspect-ratio: 1206 / 2622;
  background: #0a0a0a; border-radius: 46px; padding: 11px;
  border: 1px solid #000; box-shadow: 0 40px 80px -36px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.04);
}
.phone2__screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; }
.phone2__shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0; z-index: 1; transition: opacity .45s var(--ease);
}
/* active sits on top and fades in OVER the outgoing, so the bg never shows through */
.phone2__shot.is-active { opacity: 1; z-index: 2; }
.appx__cap { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; color: rgba(14,14,14,.6); }
.appx__cap-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(231,101,47,.5); animation: pulse-o 1.8s var(--ease) infinite; }
@keyframes pulse-o { 0% { box-shadow: 0 0 0 0 rgba(231,101,47,.5); } 70% { box-shadow: 0 0 0 8px rgba(231,101,47,0); } 100% { box-shadow: 0 0 0 0 rgba(231,101,47,0); } }

/* ============================================================ PROGRAMS (orange) */
.programs__head { max-width: 60ch; margin-bottom: clamp(42px, 5vw, 64px); }
.programs__title { font-size: clamp(2rem, 5vw, 3.5rem); max-width: 15ch; margin: 16px 0 0; color: var(--black); }
.programs__intro { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: rgba(0,0,0,.78); margin: 22px 0 30px; max-width: 46ch; }

.prog-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 28px); }
.prog {
  background: var(--black); color: var(--paper); border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column;
}
.prog__icon { width: 52px; height: 52px; border-radius: 13px; background: rgba(231,101,47,.16); color: var(--orange); display: grid; place-items: center; margin-bottom: 22px; }
.prog__icon svg { width: 27px; height: 27px; }
.prog__h { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.85rem); letter-spacing: -0.02em; margin-bottom: 12px; color: var(--white); }
.prog__p { font-size: 16px; color: rgba(255,255,255,.66); margin-bottom: 20px; flex: 1; }
.prog .link-arrow { color: var(--orange); }

/* ============================================================ DOWNLOAD (dark) */
.download { overflow: hidden; }
.supergraphic {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(3.4rem, 13vw, 11rem); line-height: 0.86; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(231,101,47,.5);
  margin-bottom: clamp(40px, 6vw, 72px); user-select: none;
}
.download__row { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.download__title { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 16ch; color: var(--white); }
.download__p { font-size: 17px; color: rgba(255,255,255,.66); margin-top: 20px; max-width: 44ch; }
.store { display: flex; flex-direction: column; gap: 14px; }
.store__btn {
  display: flex; align-items: center; gap: 14px; padding: 14px 22px;
  border: 1.5px solid var(--line-onink); border-radius: 14px; color: var(--white);
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.store__btn:hover { border-color: var(--orange); background: rgba(231,101,47,.08); transform: translateY(-2px); }
.store__btn svg { width: 26px; height: 26px; flex: none; }
.store__btn span { display: flex; flex-direction: column; font: 700 17px/1.1 var(--display); }
.store__btn small { font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,.6); }

/* ============================================================ FOOTER */
.footer { background: var(--black); color: var(--paper); padding-top: clamp(56px, 7vw, 88px); }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.3fr;
  gap: clamp(28px, 3vw, 44px); padding-bottom: clamp(44px, 5vw, 64px);
  border-bottom: 1px solid var(--line-onink);
}
.footer__logo { height: 26px; width: auto; }
.footer__tag { font-family: var(--display); font-weight: 600; font-size: 18px; margin-top: 16px; color: var(--orange); letter-spacing: -0.01em; }
.footer__head { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: 15px; color: rgba(255,255,255,.78); width: fit-content; transition: color .2s; }
.footer__col a:hover { color: var(--orange); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 40px; height: 40px; border: 1px solid var(--line-onink); border-radius: 10px; display: grid; place-items: center; color: var(--paper); transition: border-color .2s, color .2s, transform .2s; }
.footer__social a:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__qr { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.5); margin-top: 18px; }
.footer__base {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 26px; font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap;
}
.footer__base-tag { font-family: var(--mono); letter-spacing: 0.04em; }

/* ============================================================ reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Safety nets: never trap content invisible. Printing / saving to PDF does not
   fire IntersectionObserver, and JS-off must show everything. */
@media print { .reveal { opacity: 1 !important; transform: none !important; } }

/* Progressive enhancement: the "Live" badge only makes sense once JS is ticking. */
.no-js .counter__live { display: none; }

/* ============================================================ RESPONSIVE */
@media (max-width: 940px) {
  .about__head { grid-template-columns: 1fr; align-items: start; }
  .stats, .pillars { grid-template-columns: 1fr; }
  .appx__body { grid-template-columns: 1fr; gap: 36px; }
  .appx__device { order: -1; }
  .appx__detail { min-height: 0; }
  .phone2 { width: min(264px, 62%); }
  .duo, .prog-cards, .download__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .nav__links {
    position: absolute; top: 100%; right: var(--gutter); left: var(--gutter);
    flex-direction: column; gap: 4px; padding: 10px;
    background: var(--paper); color: var(--ink);
    border: 1px solid var(--line-ink); border-radius: 16px;
    box-shadow: 0 24px 48px -24px rgba(0,0,0,.4);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
  .nav__links a::after { display: none; }
  .nav__links a:hover { background: var(--paper-2); }
  .nav__menu {
    display: inline-flex; flex-direction: column; gap: 5px; padding: 10px;
    background: none; border: 0; cursor: pointer; color: inherit;
  }
  .nav__menu span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
  /* JS-off fallback: show the links inline, drop the (inert) hamburger. */
  .no-js .nav__links {
    position: static; opacity: 1; visibility: visible; transform: none;
    flex-direction: row; gap: 18px; padding: 0; background: none; border: 0; box-shadow: none;
  }
  .no-js .nav__links a { padding: 6px 0; }
  .no-js .nav__menu { display: none; }
  .nav__inner { padding-block: 13px; }
  .counter { padding: 18px 18px; }
  .counter__cap { flex-direction: row; gap: 8px; font-size: 10.5px; }
  .hero__cta .btn { flex: 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__base { justify-content: flex-start; }
  .stat__desc { max-width: none; }
  .appx__tab { padding: 11px 18px; font-size: 14px; }
  .appx__icons { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================ 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; }
  .reveal { opacity: 1; transform: none; }
  .hero__scroll span { animation: none; opacity: .8; }
  .counter__live-dot { animation: none; }
}
