/* ============================================================
   Clear/Growth — landing page
   MOBILE-FIRST: base rules target phones; the `min-width: 900px`
   block near the bottom layers on the desktop layout.
   Palette + type tokens first, then components top-to-bottom.
   ============================================================ */

:root {
  --ink:   #111111;
  --paper: #ffffff;
  --lime:  #e3ff00;
  --blue:  #2563eb;
  --gold:  #ffd400;

  --muted:  rgba(0,0,0,0.55);
  --line:   rgba(0,0,0,0.10);
  --line-2: rgba(0,0,0,0.12);

  --sans:  'Manrope', system-ui, -apple-system, sans-serif;
  --black: 'Archivo Black', 'Manrope', sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, monospace;
  --logo:  'Nexa', 'Manrope', system-ui, sans-serif;

  --maxw: 90rem;
  --pad:  24px;   /* mobile gutter; widens on desktop */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #000; }
::selection { background: var(--lime); color: #000; }
.mono { font-family: var(--mono); }
.dim { opacity: 0.4; }
img { max-width: 100%; }

/* ---------- Reveal on scroll ---------- */
@keyframes cgReveal { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; }
.reveal.in { animation: cgReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; will-change: transform, opacity; }

/* ============================================================
   Buttons
   ============================================================ */
@keyframes cgCtaGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(227,255,0,0.7), 6px 6px 0 var(--ink); }
  50%     { box-shadow: 0 0 0 14px rgba(227,255,0,0), 6px 6px 0 var(--ink); }
}
@keyframes cgCtaGlowSm {
  0%,100% { box-shadow: 0 0 0 0 rgba(227,255,0,0.7); }
  50%     { box-shadow: 0 0 0 10px rgba(227,255,0,0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  width: fit-content;
}

.btn--primary {
  position: relative;
  padding: 16px 30px;
  background: var(--lime);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  animation: cgCtaGlow 2.4s ease-in-out infinite;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn--primary:hover { transform: translate(-2px,-2px); box-shadow: 10px 10px 0 var(--ink); animation: none; }
.btn--primary:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }

.btn--nav {
  padding: 11px 16px;
  background: var(--lime);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
  animation: cgCtaGlowSm 2.4s ease-in-out infinite;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn--nav:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); animation: none; color: var(--ink); }

/* ============================================================
   Scroll progress bar
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--lime), var(--blue));
  z-index: 60;
  pointer-events: none;
}

/* ============================================================
   Preloader
   ============================================================ */
@keyframes cgPulse { 0%,100% { opacity: .35; } 50% { opacity: .9; } }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--lime);
  color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 1.15s cubic-bezier(0.76, 0, 0.24, 1);
}
.preloader.is-open { clip-path: polygon(100% 0, 100% 0, 100% 0, 100% 0); }
.preloader.is-gone { visibility: hidden; pointer-events: none; }

.preloader__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 5vw, 56px) clamp(24px, 6vw, 72px);
  transition: opacity 0.4s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.preloader.is-open .preloader__inner { opacity: 0; transform: scale(0.98); }

.preloader__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.meta-brand { display: inline-flex; align-items: center; gap: 10px; }
.sq { display: inline-block; width: 8px; height: 8px; background: var(--ink); flex: 0 0 auto; }

.preloader__reel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 0;
}
.preloader__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: cgPulse 1.2s ease-in-out infinite; flex: 0 0 auto; }

.preloader__ticker {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(56px, 14vw, 200px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.preloader__cur { font-size: 0.55em; margin-right: 0.05em; align-self: flex-start; margin-top: 0.35em; opacity: 0.7; }
.preloader__note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  margin-top: 20px;
}

.preloader__progress-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.preloader__pct { font-family: var(--sans); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.preloader__bar { height: 2px; background: rgba(0,0,0,0.15); position: relative; overflow: hidden; }
.preloader__bar-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: var(--ink); transition: width 0.08s linear; }
.preloader__foot-row {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
}

/* ============================================================
   Nav  (mobile: burger; desktop: inline links)
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav__logo { display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0.08em; }
.nav__logo-text { font-family: var(--logo); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; text-transform: none; }
.nav__mark { display: inline-block; width: 10px; height: 10px; background: var(--lime); }

.nav__links { display: none; align-items: center; gap: 36px; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1.5px; background: var(--ink);
  transition: width 0.25s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 12px; }

.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.2);
  cursor: pointer;
}
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform 0.2s ease; }
.nav__burger.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }

.nav__drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav__drawer.is-open { display: flex; }
.nav__drawer a { padding: 15px 0; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.nav__drawer-cta { justify-content: center; margin-top: 16px; border-bottom: none; text-transform: uppercase; width: 100%; }

/* ============================================================
   Shared layout helpers
   ============================================================ */
.hero__wrap,
.case__wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.rule { width: 100%; height: 1px; background: rgba(0,0,0,0.2); margin: 40px 0; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.chip--blue { background: var(--blue); color: #fff; }
.chip__dot { width: 6px; height: 6px; background: var(--lime); display: inline-block; }

/* ============================================================
   Hero
   ============================================================ */
.hero { background: var(--paper); }
.hero__wrap:first-child { padding-top: 56px; padding-bottom: 32px; }

.hero__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(40px, 11vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
  max-width: 64rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.hero__lead p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  max-width: 34rem;
}
.hero__cta { margin-top: 28px; width: 100%; }   /* full-width tap target on mobile */

.hero__stat { display: flex; flex-direction: column; gap: 8px; }
.hero__stat-num {
  color: var(--blue);
  font-weight: 400;
  font-size: clamp(44px, 12vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero__stat-num--check { font-size: clamp(52px, 13vw, 68px); font-weight: 500; line-height: 0.9; }
.hero__stat-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Client logo marquee ---------- */
@keyframes cgMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.logos { margin-top: 24px; padding-bottom: 64px; }
.logos__label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 24px;
}
.logos__label span:nth-child(2) { text-align: center; }
.logos__line { flex: 1; height: 1px; background: #e5e5e5; }

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  align-items: center;
  animation: cgMarquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__logo {
  height: 30px;
  width: auto;
  flex: 0 0 auto;
  opacity: 1;
}
/* kuddi is a pale logo — give it a dark chip so its real colours show on white */
.marquee__logo[src*="kuddi"] {
  height: 20px;
  padding: 5px 9px;
  background: var(--ink);
  border-radius: 8px;
  box-sizing: content-box;
}

/* ============================================================
   Featured case study
   ============================================================ */
.case { background: var(--paper); border-top: 1px solid var(--line); }
.case__wrap { padding-top: 64px; padding-bottom: 80px; }

.case__eyebrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
}
.case__index {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.case__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}
.case__client {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
}
.case__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
  max-width: 40rem;
}
.case__intro-body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(0,0,0,0.72);
  margin: 0;
}

/* ---------- Before / after scrollable phones ---------- */
.case__compare {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
}
.case__arrow {
  flex: 0 0 auto;
  font-size: 40px;
  line-height: 1;
  color: var(--blue);
  font-weight: 400;
  transform: rotate(90deg);   /* points down when phones stack */
}

.device { margin: 0; flex: 0 0 auto; }
.device__cap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.device__cap-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 10px;
}
.device__cap-tag--before { background: #f0f0f0; color: #888; border: 1px solid var(--line-2); }
.device__cap-tag--after  { background: var(--lime); color: var(--ink); border: 1px solid var(--ink); }
.device__cap-sub {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* Phone shell */
.device__phone {
  position: relative;
  width: min(320px, 86vw);
  aspect-ratio: 300 / 620;
  background: linear-gradient(160deg, #2a2a2a, #0c0c0c);
  border-radius: 46px;
  padding: 11px;
  box-shadow: 0 45px 80px -32px rgba(0,0,0,0.55), 0 0 0 2px #000, inset 0 0 0 2px rgba(255,255,255,0.06);
}
.device__inner {
  position: relative;
  height: 100%;
  background: #fff;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Mobile browser chrome */
.device__chrome {
  flex: 0 0 auto;
  background: #f7f7f8;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 8px 14px 10px;
}
.device__status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 20px;
  margin-bottom: 8px;
}
.device__time { font-family: var(--sans); font-weight: 700; font-size: 12px; color: #111; }
.device__island {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 62px;
  height: 18px;
  background: #000;
  border-radius: 20px;
}
.device__batt { width: 22px; height: 11px; border: 1.5px solid #111; border-radius: 3px; position: relative; }
.device__batt::before { content: ''; position: absolute; inset: 1.5px; background: #111; border-radius: 1px; }
.device__batt::after { content: ''; position: absolute; right: -3px; top: 3px; width: 2px; height: 4px; background: #111; border-radius: 0 1px 1px 0; }

.device__addr {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #e9e9ec;
  border-radius: 10px;
  padding: 7px 10px;
  font-family: var(--sans);
  font-size: 12px;
  color: #444;
}
.device__lock { font-size: 10px; }
.device__url { flex: 1; text-align: center; font-weight: 500; }
.device__reload { color: #888; font-size: 13px; }

/* The scrolling viewport */
.device__screen {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior: auto;
  background: #fff;
}
.device__screen::-webkit-scrollbar { display: none; }
.device__img { display: block; width: 100%; height: auto; }
.device__end { height: 12px; }

/* Overlays on the phone (not scrolling) */
.device__glare {
  position: absolute;
  inset: 11px;
  border-radius: 34px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 32%);
}
.device__fade {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 11px;
  height: 64px;
  border-radius: 0 0 34px 34px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 78%);
  transition: opacity 0.3s ease;
}
.device__hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 20px;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.device__chev { display: inline-block; animation: cgHintBounce 1.4s ease-in-out infinite; }
@keyframes cgHintBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

.device__phone.is-scrolled .device__hint,
.device__phone.is-scrolled .device__fade { opacity: 0; }

/* ---------- Stats + CTA ---------- */
.case__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: end;
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: 32px;
}
.case__stat-num {
  color: var(--blue);
  font-weight: 400;
  font-size: clamp(40px, 11vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.case__stat-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 8px;
}
.case__stat-cta { grid-column: 1 / -1; display: flex; justify-content: flex-start; margin-top: 12px; }
.case__stat-cta .btn { width: 100%; }

/* ============================================================
   Testimonials / reviews
   ============================================================ */
.reviews { background: var(--paper); border-top: 1px solid var(--line); }
.reviews__wrap { max-width: var(--maxw); margin: 0 auto; padding: 64px var(--pad) 80px; }

.reviews__head { text-align: center; max-width: 46rem; margin: 0 auto 40px; }
.reviews__avatars { display: flex; justify-content: center; margin-bottom: 20px; }
.reviews__av {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-weight: 600; font-size: 14px; border: 2px solid #fff; margin-left: -10px;
}
.reviews__av:first-child { margin-left: 0; }
.reviews__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.reviews__title {
  font-family: var(--sans); font-weight: 500; font-size: clamp(30px, 8vw, 56px);
  line-height: 1.05; letter-spacing: -0.03em; margin: 0; text-wrap: balance;
}
.reviews__amp { color: var(--blue); }
.reviews__sub { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 16px auto 0; max-width: 34rem; }
.reviews__rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--ink); }
.reviews__rating b { font-weight: 700; }

.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; line-height: 1; }

/* Slider */
.reviews__slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.reviews__slider::-webkit-scrollbar { display: none; }

.reviews__controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px;
}
.reviews__swipe {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
}
.reviews__arrows { display: flex; gap: 10px; }
.slider__btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: #fff; color: var(--ink);
  font-size: 18px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}
.slider__btn:hover { background: var(--ink); color: #fff; }
.slider__btn:disabled { opacity: 0.3; cursor: default; background: #fff; color: var(--ink); }

.tcard {
  flex: 0 0 86%;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 18px;
  background: #fff; border: 1px solid var(--line-2); padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tcard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,0,0,0.35); }
.tcard__brand { height: 32px; display: flex; align-items: center; }
.tcard__brand img { height: 28px; width: auto; opacity: 1; }
.tcard__brand img[src*="kuddi"] { height: 20px; padding: 5px 9px; background: var(--ink); border-radius: 8px; box-sizing: content-box; }
.tcard__stars { display: flex; align-items: center; gap: 8px; }
.tcard__verified { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tcard__quote { font-size: 16px; line-height: 1.55; color: var(--ink); margin: 0; flex: 1; }
.tcard__author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.tcard__avatar { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; font-weight: 600; font-size: 14px; flex: 0 0 auto; }
.tcard__meta { display: flex; flex-direction: column; }
.tcard__name { font-weight: 600; font-size: 14px; color: var(--ink); }
.tcard__role { font-size: 12px; color: var(--muted); }
.tcard__lift { margin-left: auto; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; color: var(--blue); white-space: nowrap; }

.reviews__foot {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.15);
  font-size: 13px; color: var(--muted);
}
.reviews__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }

/* ============================================================
   Websites / recent builds slider
   ============================================================ */
.wsites { background: var(--paper); border-top: 1px solid var(--line); }
.wsites__wrap { max-width: var(--maxw); margin: 0 auto; padding: 64px var(--pad) 40px; }
.wsites__head { max-width: 46rem; margin-bottom: 28px; }
.wsites__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.wsites__title { font-family: var(--sans); font-weight: 500; font-size: clamp(28px, 7vw, 48px); line-height: 1.05; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.wsites__sub { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 12px 0 0; }

.wsites__slider {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px;
}
.wsites__slider::-webkit-scrollbar { display: none; }

.wsite { margin: 0; flex: 0 0 88%; scroll-snap-align: start; }
.wsite__frame {
  position: relative;
  border: 1px solid var(--line-2); background: #fff; overflow: hidden;
  box-shadow: 0 24px 50px -30px rgba(0,0,0,0.35);
}
.wsite__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: #f7f7f8; border-bottom: 1px solid rgba(0,0,0,0.08);
}
.wsite__dots { display: flex; gap: 5px; flex: 0 0 auto; }
.wsite__dots i { width: 9px; height: 9px; border-radius: 50%; background: #dcdce0; display: inline-block; }
.wsite__url { flex: 1; text-align: center; font-family: var(--mono); font-size: 11px; color: #666; letter-spacing: 0.04em; }
.wsite__badge { flex: 0 0 auto; font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 3px 7px; }

/* scrollable homepage viewport — kept phone-width so mobile captures
   render at true mobile scale (not zoomed) */
.wsite__shot {
  height: 520px; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior: auto;
  background: #eee;
}
.wsite__shot::-webkit-scrollbar { display: none; }
.wsite__shot img { display: block; width: 100%; height: auto; }

.wsite__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
  pointer-events: none; transition: opacity 0.3s ease;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.9));
}
.wsite__hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: #fff; font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 20px; pointer-events: none; transition: opacity 0.3s ease;
}
.wsite__frame.is-scrolled .wsite__fade,
.wsite__frame.is-scrolled .wsite__hint { opacity: 0; }

.wsite__cap {
  margin-top: 14px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; font-size: 13px; color: var(--muted);
}
.wsite__cap b { color: var(--ink); font-weight: 600; }
.wsite__capname { min-width: 0; }
.wsite__live {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.03em; color: var(--ink);
  border-bottom: 1.5px solid var(--lime); padding-bottom: 2px;
}
.wsite__live:hover { color: #000; border-bottom-color: var(--ink); }

.wsites__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta { background: var(--ink); color: #fff; }
.cta__wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 64px var(--pad);
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
}
.cta__eyebrow { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.cta__title { font-family: var(--sans); font-weight: 500; font-size: clamp(30px, 8vw, 60px); line-height: 1.04; letter-spacing: -0.03em; margin: 0; max-width: 20ch; text-wrap: balance; }
.cta__sub { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.7); margin: 16px 0 0; max-width: 46ch; }
.cta__btn { flex: 0 0 auto; }

/* ============================================================
   Contact / lead form
   ============================================================ */
.contact { background: #f6f6f8; border-top: 1px solid var(--line); }
.contact__wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 64px var(--pad) 80px;
  display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start;
}
.contact__title { font-family: var(--sans); font-weight: 500; font-size: clamp(30px, 8vw, 52px); line-height: 1.04; letter-spacing: -0.03em; margin: 18px 0 0; text-wrap: balance; }
.contact__lead { font-size: 17px; line-height: 1.6; color: rgba(0,0,0,0.72); margin: 16px 0 0; max-width: 40ch; }
.contact__points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.contact__points li { font-size: 15px; color: var(--ink); display: flex; align-items: flex-start; }
.contact__points li::before { content: '✓'; color: var(--blue); font-weight: 700; margin-right: 12px; }
.contact__rating { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }

.contact__formcard { background: #fff; border: 1px solid var(--line-2); padding: 22px; box-shadow: 0 30px 60px -40px rgba(0,0,0,0.4); }

.form { display: flex; flex-direction: column; gap: 16px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid rgba(0,0,0,0.16); background: #fff;
  width: 100%; -webkit-appearance: none; appearance: none; border-radius: 0;
}
.form textarea { resize: vertical; min-height: 84px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(227,255,0,0.55);
}
.form select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" fill="none"><path d="M1 1l5 5 5-5" stroke="%23111" stroke-width="1.5"/></svg>');
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form__submit { width: 100%; justify-content: center; margin-top: 4px; }
.form__fineprint { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }

.form__success { text-align: center; padding: 44px 20px; }
.form__success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--lime); border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  margin: 0 auto 18px;
}
.form__success h3 { font-family: var(--sans); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; margin: 0 0 8px; }
.form__success p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 auto; max-width: 36ch; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer__wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 36px var(--pad);
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
}
.footer__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--logo); font-weight: 700; font-size: 17px; letter-spacing: 0.01em; text-transform: none; }
.footer__mark { width: 10px; height: 10px; background: var(--lime); transform: rotate(45deg); display: inline-block; }
.footer__links { display: flex; gap: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--ink); }
.footer__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   Legal pages (privacy)
   ============================================================ */
.legal { max-width: 46rem; margin: 0 auto; padding: 56px var(--pad) 96px; }
.legal__back { display: inline-block; margin-bottom: 32px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.legal__back:hover { color: var(--ink); }
.legal h1 { font-family: var(--sans); font-weight: 600; font-size: clamp(30px, 6vw, 44px); letter-spacing: -0.02em; margin: 0 0 6px; }
.legal__updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-family: var(--sans); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; margin: 34px 0 10px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: rgba(0,0,0,0.75); }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--blue); text-decoration: underline; }

/* ============================================================
   CRO / why-us comparison  (dark)
   ============================================================ */
.cro { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,0.1); }
.cro__wrap { max-width: var(--maxw); margin: 0 auto; padding: 72px var(--pad); }
.cro__head { max-width: 60rem; }
.cro__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  background: rgba(255,255,255,0.08); color: #fff; padding: 7px 12px; margin-bottom: 24px;
}
.cro__dot { width: 6px; height: 6px; background: var(--lime); display: inline-block; }
.cro__eq {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-family: var(--sans); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; margin: 0;
  font-size: clamp(34px, 9vw, 88px);
}
.cro__x { color: var(--blue); font-weight: 400; }
.cro__rev { background: var(--lime); color: var(--ink); padding: 0 12px; }
.cro__note {
  font-family: var(--mono); font-size: 12px; line-height: 1.75; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.62); margin: 28px 0 0; max-width: 62ch;
}

.cro__swipe {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 40px 0 10px;
}
.cro__table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cro__table-wrap::-webkit-scrollbar { height: 6px; }
.cro__table-wrap::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 3px; }
.cro__table { min-width: 660px; background: #fff; color: var(--ink); }
.cro__row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.25fr; align-items: center;
  padding: 15px 18px; border-bottom: 1px solid rgba(0,0,0,0.08);
}
.cro__row--head { border-bottom: 1.5px solid var(--ink); }
.cro__cell { text-align: center; font-size: 16px; font-weight: 500; }
.cro__cell--label { text-align: left; }
.cro__cell--label b { display: block; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.cro__cell--label span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.cro__row--head .cro__cell { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cro__cell[data-yes] { color: #15803d; font-weight: 700; }
.cro__cell[data-no] { color: #b91c1c; opacity: 0.65; }
.cro__cell--us { background: rgba(227,255,0,0.35); }
.cro__cell--us[data-yes] { color: var(--ink); }
.cro__row--head .cro__cell--us { background: var(--lime); color: var(--ink); font-weight: 700; font-family: var(--sans); font-size: 13px; letter-spacing: -0.01em; text-transform: none; }
.cro__row--total { background: var(--ink); color: #fff; }
.cro__row--total .cro__cell { color: rgba(255,255,255,0.45); font-weight: 600; font-size: 16px; }
.cro__row--total .cro__cell--label b { color: #fff; font-size: 16px; }
.cro__total { background: #000; color: var(--lime) !important; font-size: 22px !important; font-weight: 700 !important; letter-spacing: -0.02em; }

.cro__foot {
  margin-top: 22px; display: flex; flex-direction: column; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.cro__foot-cta { color: var(--lime); font-weight: 500; }
.cro__foot-cta:hover { color: #fff; }

/* ============================================================
   Desktop enhancements  (min-width: 900px)
   ============================================================ */
@media (min-width: 900px) {
  :root { --pad: 48px; }

  .nav__inner { padding: 24px var(--pad); }
  .nav__links { display: flex; }
  .nav__burger { display: none; }

  .hero__wrap:first-child { padding-top: 96px; padding-bottom: 48px; }
  .rule { margin: 64px 0; }
  .hero__title { font-size: clamp(52px, 8.5vw, 104px); line-height: 1.02; }

  .hero__grid { grid-template-columns: repeat(12, 1fr); gap: 48px; }
  .hero__lead { grid-column: span 5; }
  .hero__lead p { font-size: 22px; padding-right: 32px; max-width: 30rem; }
  .hero__cta { width: fit-content; }
  .hero__stat { grid-column: span 3; }
  .hero__stat--wide { grid-column: span 4; }
  .hero__stat-num { font-size: clamp(48px, 5.5vw, 60px); }

  .logos { padding-bottom: 96px; }
  .logos__label { font-size: 11px; letter-spacing: 0.25em; }
  .marquee__track { gap: 64px; }
  .marquee__logo { height: 38px; }
  .marquee__logo[src*="kuddi"] { height: 26px; padding: 6px 11px; }

  .case__wrap { padding-top: 96px; padding-bottom: 120px; }
  .case__eyebrow { flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: 48px; }
  .case__intro { grid-template-columns: repeat(12, 1fr); gap: 48px; align-items: end; margin-bottom: 56px; }
  .case__intro-main { grid-column: span 8; }
  .case__intro-body { grid-column: span 4; }
  .case__client { margin-bottom: 20px; }
  .case__title { font-size: clamp(36px, 5.2vw, 72px); line-height: 1.05; }

  .case__compare { flex-direction: row; gap: clamp(20px, 4vw, 56px); margin-bottom: 56px; }
  .case__arrow { transform: none; }

  .case__stats { grid-template-columns: repeat(12, 1fr); gap: 32px; padding-top: 40px; }
  .case__stat { grid-column: span 3; }
  .case__stat-num { font-size: clamp(44px, 5vw, 64px); }
  .case__stat-cta { grid-column: span 3; justify-content: flex-end; margin-top: 0; }
  .case__stat-cta .btn { width: fit-content; }

  .reviews__wrap { padding: 96px var(--pad) 120px; }
  .reviews__head { margin-bottom: 56px; }
  .reviews__slider { gap: 24px; }
  .reviews__slider .tcard { flex: 0 0 calc((100% - 48px) / 3); }
  .reviews__foot { flex-direction: row; justify-content: space-between; align-items: center; margin-top: 40px; }

  .wsites__wrap { padding: 96px var(--pad) 56px; }
  .wsites__head { margin-bottom: 40px; }
  .wsites__slider { gap: 24px; }
  .wsite { flex: 0 0 375px; }        /* phone-width preview, not a wide window */
  .wsite__shot { height: 620px; }

  .cta__wrap { flex-direction: row; align-items: center; justify-content: space-between; padding: 100px var(--pad); gap: 48px; }
  .cta__sub { margin-top: 18px; }

  .contact__wrap { grid-template-columns: 1fr 1fr; gap: 56px; padding: 96px var(--pad) 120px; }
  .contact__formcard { padding: 32px; }
  .form__grid { grid-template-columns: 1fr 1fr; }

  .footer__wrap { flex-direction: row; align-items: center; justify-content: space-between; }

  .cro__wrap { padding: 120px var(--pad); }
  .cro__swipe { display: none; }
  .cro__table { min-width: 0; }
  .cro__note { font-size: 13px; }
  .cro__row { padding: 18px 24px; }
  .cro__foot { flex-direction: row; justify-content: space-between; align-items: center; margin-top: 28px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; }
  .marquee__track { animation: none; }
}
