/* ============================================================
   MedPresence — Cinematic Redesign
   Original design tokens preserved:
   bg #ffffff · text #0a0a0a · green #16a34a
   gradient #22c55e → #166534 · badge red #ef4444 · pill buttons
   ============================================================ */

:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #525252;
  --ink-faint: #a3a3a3;
  --green: #16a34a;
  --green-light: #22c55e;
  --green-dark: #166534;
  --green-ghost: rgba(34, 197, 94, 0.08);
  --red: #ef4444;
  --line: rgba(10, 10, 10, 0.08);
  --glass: rgba(255, 255, 255, 0.65);
  --shadow-soft: 0 20px 60px -20px rgba(10, 10, 10, 0.12);
  --shadow-lift: 0 40px 90px -30px rgba(22, 163, 74, 0.25);
  --font: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.6;
}
body.menu-locked { overflow: hidden; }


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

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

.container { width: min(1180px, 92vw); margin: 0 auto; position: relative; z-index: 2; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transform: translateY(-110%);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.is-ready { transform: translateY(0); transition: transform 0.8s var(--ease-expo), background 0.4s, box-shadow 0.4s; }
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 0 var(--line), 0 10px 40px -20px rgba(10, 10, 10, 0.15);
}
.nav__inner {
  width: min(1280px, 94vw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo-img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__logo-text strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }
.nav__logo-text small { font-size: 0.7rem; color: var(--ink-soft); }
.nav__links { display: none; }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__burger {
  display: flex; width: 44px; height: 44px; border: none; background: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform 0.4s var(--ease-expo), opacity 0.3s; }
.nav__burger.is-open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.nav__mobile {
  /* same horizontal geometry as .nav__inner so links align with the logo */
  display: flex; flex-direction: column; gap: 4px;
  width: min(1280px, 94vw); margin: 0 auto; padding: 0;
  max-height: 0; overflow: hidden; visibility: hidden;
  transition: max-height 0.5s var(--ease-expo), padding 0.5s var(--ease-expo), visibility 0s 0.5s;
}
.nav__mobile.is-open { max-height: 320px; padding: 12px 0 24px; visibility: visible; transition: max-height 0.5s var(--ease-expo), padding 0.5s var(--ease-expo); }
.nav__mobile-link {
  font-size: 1.2rem; font-weight: 600; padding: 10px 0;
  opacity: 0; transform: translateY(-16px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
}
.nav__mobile.is-open .nav__mobile-link { opacity: 1; transform: none; }
.nav__mobile.is-open .nav__mobile-link:nth-child(1) { transition-delay: 0.08s; }
.nav__mobile.is-open .nav__mobile-link:nth-child(2) { transition-delay: 0.17s; }
.nav__mobile.is-open .nav__mobile-link:nth-child(3) { transition-delay: 0.26s; }
.nav__mobile.is-open .nav__mobile-link:nth-child(4) { transition-delay: 0.35s; }

/* full-page blur while the menu is open — no hard edge.
   backdrop-filter only exists while open: Safari otherwise
   pays for the blur on every frame even at opacity 0 */
.menu-overlay {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(255, 255, 255, 0.45);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.45s ease, visibility 0s 0.45s;
}
.menu-overlay.is-open {
  opacity: 1; pointer-events: auto; visibility: visible;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: opacity 0.45s ease;
}

/* ============ BUTTONS ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 9999px; border: none; cursor: pointer;
  font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  overflow: hidden; isolation: isolate;
  transition: box-shadow 0.4s var(--ease-out), color 0.3s;
  will-change: transform;
}
.btn--lg { padding: 18px 38px; font-size: 1.02rem; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, var(--green-light), var(--green-dark));
  opacity: 0; transition: opacity 0.4s;
}
.btn--primary:hover { box-shadow: 0 18px 45px -12px rgba(22, 163, 74, 0.55); }
.btn--primary:hover::before { opacity: 1; }
.btn--ghost {
  background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-soft);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--green), 0 18px 45px -18px rgba(22, 163, 74, 0.35); color: var(--green-dark); }
.btn__icon { width: 18px; height: 18px; transition: transform 0.4s var(--ease-expo); }
.btn:hover .btn__icon { transform: translateX(5px); }
.btn--submit .btn__icon { transition: transform 0.5s var(--ease-expo); }
.btn--submit:hover .btn__icon { transform: translate(4px, -4px) rotate(8deg); }
.btn .ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, 0.45); transform: scale(0);
  animation: ripple 0.7s var(--ease-out) forwards;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ============ BADGES ============ */
.badge {
  display: inline-block; padding: 7px 18px; border-radius: 9999px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.12em; color: #fff;
}
.badge--red { background: var(--red); box-shadow: 0 10px 30px -10px rgba(239, 68, 68, 0.5); }
.badge--green { background: var(--green); box-shadow: 0 10px 30px -10px rgba(22, 163, 74, 0.5); }

/* ============ SECTIONS ============ */
.section { position: relative; padding: 128px 0; background: transparent; z-index: 1; }
.section__head { text-align: center; max-width: 820px; margin: 0 auto 72px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.section__head--left { text-align: left; margin: 0 0 72px; align-items: flex-start; }
.section__title {
  font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.12;
}
.section__sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 720px; }

/* split-text words */
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-word > span { display: inline-block; will-change: transform; }

/* safety net: if any script error occurs, force everything visible */
.anim-fallback main *, .anim-fallback footer *, .anim-fallback .nav {
  opacity: 1 !important; transform: none !important;
  clip-path: none !important; filter: none !important;
}

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; z-index: 1;
}
.hero__content { position: relative; z-index: 3; text-align: center; width: min(980px, 92vw); }
.hero__title {
  font-size: clamp(2.6rem, 7.2vw, 5.6rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 30px;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__line-inner { display: inline-block; will-change: transform; }
.hero__line-inner--gradient {
  background: linear-gradient(120deg, var(--green-light), var(--green-dark), var(--green-light));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradient-slide 7s ease-in-out infinite;
}
@keyframes gradient-slide {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero__sub {
  font-size: clamp(1.05rem, 1.9vw, 1.3rem); color: var(--ink-soft);
  max-width: 680px; margin: 0 auto 44px;
}
.hero__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ============ CARDS (shared) ============ */
.card {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: 24px; padding: 36px 30px;
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d; will-change: transform;
  overflow: hidden;
}
.card::before {
  /* mouse-following radial light */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 197, 94, 0.10), transparent 60%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card::after {
  /* light sweep */
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -60%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.card:hover::after { animation: sweep 0.9s var(--ease-out); }
@keyframes sweep { to { left: 130%; } }
.card__icon {
  width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--green-ghost); color: var(--green);
  transition: transform 0.5s var(--ease-expo), background 0.4s, color 0.4s, box-shadow 0.4s;
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon {
  transform: translateY(-4px) rotate(-6deg) scale(1.08);
  background: var(--green); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(22, 163, 74, 0.55);
}
.card__title { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.card__text { font-size: 0.95rem; color: var(--ink-soft); }
.card__stat { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.card__lead { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.card__meta { font-size: 0.88rem; color: var(--ink-faint); }

/* ============ PROBLEM ============ */
.problem__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 56px;
}
.problem .card--stat .card__icon { background: rgba(239, 68, 68, 0.08); color: var(--red); }
.problem .card--stat:hover .card__icon { background: var(--red); color: #fff; box-shadow: 0 14px 30px -10px rgba(239, 68, 68, 0.55); }
.problem .card::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(239, 68, 68, 0.08), transparent 60%); }
.problem__risks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.risk {
  position: relative; padding: 26px 24px; border-radius: 18px;
  background: rgba(239, 68, 68, 0.04); border: 1px solid rgba(239, 68, 68, 0.14);
  overflow: hidden; transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.risk::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red); transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease-expo);
}
.risk:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(239, 68, 68, 0.35); }
.risk:hover::before { transform: scaleY(1); }
.risk__title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.risk__text { font-size: 0.88rem; color: var(--ink-soft); }

/* ============ SOLUTION ============ */
.solution__layout {
  display: flex; flex-direction: column; align-items: center; gap: 64px;
}
.solution__visual { width: min(680px, 100%); margin: 0 auto; }
.solution__steps { width: min(760px, 100%); }
.solution__phone { position: relative; }
.solution__phone-img {
  /* melts into the white page like the original — soft edge fade, no frame */
  -webkit-mask-image: radial-gradient(ellipse 92% 92% at center, #000 62%, transparent 98%);
  mask-image: radial-gradient(ellipse 92% 92% at center, #000 62%, transparent 98%);
}
.solution__steps { position: relative; display: flex; flex-direction: column; gap: 46px; padding-left: 44px; }
.solution__progress {
  position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px;
  background: var(--line); border-radius: 2px;
}
.solution__progress-fill {
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, var(--green-light), var(--green-dark));
  transform-origin: top; transform: scaleY(0); border-radius: 2px;
}
.step {
  position: relative;
  transition: opacity 0.45s ease, filter 0.45s ease;
  will-change: transform;
}
.js-anim .step { opacity: 0.22; filter: blur(0.6px) saturate(0.6); }
.js-anim .step.is-active { opacity: 1; filter: none; }
.step__num {
  position: absolute; left: -44px; top: 2px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.68rem; font-weight: 800;
  background: #fff; border: 2px solid var(--line); color: var(--ink-faint);
  transition: all 0.5s var(--ease-out);
}
.step.is-active .step__num {
  border-color: var(--green); color: #fff; background: var(--green);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15);
}
.step__title { font-size: 1.28rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.step__text { color: var(--ink-soft); font-size: 0.98rem; }
.solution__tagline { text-align: center; margin-top: 110px; }
.solution__tagline-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(to right, var(--green-light), var(--green-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}
.solution__tagline-text { color: var(--ink-soft); font-size: 1.08rem; }

/* ============ FEATURES ============ */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ============ APP FUNCTIONS (horizontal) ============ */
.appfn { position: relative; z-index: 1; }
.appfn__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 90px 0 60px; }
.appfn__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 54px; }
.appfn__track {
  display: flex; gap: 28px; padding: 0 max(4vw, calc((100vw - 1180px) / 2));
  will-change: transform; width: max-content;
}
.panel {
  width: min(430px, 82vw); flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line); border-radius: 28px;
  padding: 40px 36px; box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.5s;
}
.panel:hover {
  transform: translateY(-10px);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: var(--shadow-lift);
}
.panel__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--green-ghost); color: var(--green); margin-bottom: 24px;
  transition: transform 0.5s var(--ease-expo), background 0.4s, color 0.4s;
}
.panel__icon svg { width: 28px; height: 28px; }
.panel:hover .panel__icon { transform: rotate(-8deg) scale(1.1); background: var(--green); color: #fff; }
.panel__title { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.panel__text { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 20px; }
.panel__list { display: flex; flex-direction: column; gap: 10px; }
.panel__list li {
  position: relative; padding-left: 26px; font-size: 0.9rem; color: var(--ink-soft);
}
.panel__list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--green-ghost);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 9px; background-position: center; background-repeat: no-repeat;
}
.appfn__bar {
  width: min(320px, 60vw); height: 3px; border-radius: 3px;
  background: var(--line); margin: 48px auto 0; overflow: hidden;
}

/* mobile: native swipe with snap instead of the scroll-pin */
.appfn__track.is-native {
  width: auto; overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.appfn__track.is-native::-webkit-scrollbar { display: none; }
.appfn__track.is-native .panel { scroll-snap-align: center; }
.appfn__bar-fill {
  height: 100%; width: 100%;
  background: linear-gradient(to right, var(--green-light), var(--green-dark));
  transform-origin: left; transform: scaleX(0);
}

/* ============ PURPOSE ============ */
.purpose__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.purpose__num {
  font-size: clamp(3rem, 7vw, 5rem); font-weight: 800; letter-spacing: -0.04em;
  background: linear-gradient(to right, var(--green-light), var(--green-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.purpose__num--inf { font-size: clamp(3.6rem, 8vw, 6rem); }
.purpose__label { font-size: 1.05rem; color: var(--ink-soft); margin-top: 10px; }

/* ============ BENEFITS ============ */
.benefits__list { display: flex; flex-direction: column; }
.benefit {
  position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 30px;
  padding: 44px 0; align-items: start;
  will-change: transform;
}
.benefit__num {
  font-size: clamp(3.4rem, 6vw, 5.4rem); font-weight: 800; line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(22, 163, 74, 0.35);
  transition: color 0.5s, -webkit-text-stroke-color 0.5s;
  will-change: transform;
}
.benefit:hover .benefit__num { color: var(--green); -webkit-text-stroke-color: var(--green); }
.benefit__title { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 10px; }
.benefit__text { color: var(--ink-soft); max-width: 760px; }

/* ============ FOUNDER ============ */
.founder__layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.founder__photo { position: relative; }
.founder__img { width: 100%; }
.founder__name { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; }
.founder__bio { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 30px; }
.founder__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 30px; }
.founder__card {
  padding: 24px; border-radius: 20px; background: var(--green-ghost);
  border: 1px solid rgba(34, 197, 94, 0.16);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.founder__card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(22, 163, 74, 0.4); }
.founder__card-title { font-size: 0.95rem; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.founder__card-text { font-size: 0.9rem; color: var(--ink-soft); }
.founder__mail {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--green-dark);
  padding: 12px 22px; border-radius: 9999px; border: 1.5px solid rgba(22, 163, 74, 0.35);
  transition: background 0.35s, color 0.35s, box-shadow 0.35s;
}
.founder__mail:hover { background: var(--green); color: #fff; box-shadow: 0 16px 40px -14px rgba(22, 163, 74, 0.6); }
.founder__mail-icon { width: 18px; height: 18px; }

/* ============ TARGETS ============ */
.targets__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ============ MARKET ============ */
.market__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.market__num {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(to right, var(--green-light), var(--green-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums; line-height: 1.15; white-space: nowrap;
}
.market__label { font-size: 1.05rem; font-weight: 700; margin-top: 10px; }
.market__meta { font-size: 0.88rem; color: var(--ink-faint); margin-top: 4px; }

/* ============ DOWNLOAD ============ */
.download__card {
  position: relative; text-align: center; padding: 20px 0;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.download__paper {
  margin-top: 16px; width: min(560px, 100%);
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 38px 34px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.download__paper-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.download__list { display: flex; flex-direction: column; gap: 10px; text-align: left; width: 100%; max-width: 380px; }
.download__list li {
  position: relative; padding-left: 30px; font-size: 0.95rem; color: var(--ink-soft);
}
.js-anim .download__list li:not(.is-checked) { opacity: 0; transform: translateX(-14px); }
.download__list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px; background-position: center; background-repeat: no-repeat;
  transform: scale(0);
}
.download__list li.is-checked { opacity: 1; transform: translateX(0); transition: all 0.5s var(--ease-out); }
.download__list li.is-checked::before { transform: scale(1); transition: transform 0.4s var(--ease-out) 0.15s; }
.download__note { font-size: 0.85rem; color: var(--ink-faint); }

/* ============ CONTACT / FORM ============ */
.form { width: min(760px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form__field { position: relative; }
.form__field input, .form__field textarea, .form__field select {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--line); border-radius: 16px;
  padding: 18px 20px; outline: none; resize: vertical;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}
.form__field input:focus, .form__field textarea:focus, .form__field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14), 0 14px 40px -18px rgba(22, 163, 74, 0.35);
  transform: translateY(-2px);
}
.form__field label {
  position: absolute; left: 20px; top: 18px; color: var(--ink-faint);
  pointer-events: none; transition: all 0.3s var(--ease-out);
  background: transparent; padding: 0 4px;
}
.form__field input:focus + label, .form__field input:not(:placeholder-shown) + label,
.form__field textarea:focus + label, .form__field textarea:not(:placeholder-shown) + label {
  top: -9px; left: 14px; font-size: 0.75rem; font-weight: 600; color: var(--green-dark);
  background: #fff; border-radius: 6px;
}
.form__field--select { display: flex; flex-direction: column; gap: 8px; }
.form__field--select label.form__select-label {
  position: static; top: auto; left: auto; font-size: 0.85rem; font-weight: 600;
  color: var(--ink-soft); pointer-events: auto; background: transparent; padding: 0;
}
.form__field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23525252' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 18px;
}
.btn--submit { align-self: center; min-width: 240px; justify-content: center; }
.form__privacy { text-align: center; font-size: 0.85rem; color: var(--ink-faint); }

/* ============ FOOTER ============ */
.footer { position: relative; z-index: 1; padding-top: 40px; overflow: hidden; }
.footer__inner {
  display: flex; justify-content: center; padding: 36px 0 44px;
  margin-top: 24px;
}
.footer__copy { font-size: 0.9rem; color: var(--ink-soft); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .problem__grid, .problem__risks, .targets__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .market__grid { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
}
@media (max-width: 860px) {
  .appfn__pin { min-height: auto; padding: 72px 0 48px; }
  .founder__layout { grid-template-columns: 1fr; gap: 44px; }
  .founder__photo { max-width: 460px; margin: 0 auto; }
  .purpose__grid { grid-template-columns: 1fr; gap: 48px; }
  .benefit { grid-template-columns: 84px 1fr; gap: 18px; padding: 34px 0; }
  .form__row { grid-template-columns: 1fr; }
  .section { padding: 96px 0; }
}
@media (max-width: 560px) {
  .problem__grid, .problem__risks, .targets__grid, .features__grid { grid-template-columns: 1fr; }
  .market__grid { grid-template-columns: 1fr; }
  .founder__cards { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  /* long German words must never overflow a narrow screen */
  .hero__title { font-size: clamp(1.8rem, 8.8vw, 2.6rem); }
  .section__title { font-size: clamp(1.55rem, 7vw, 2rem); }
  .hero__sub { font-size: 1rem; margin-bottom: 34px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: min(100%, 320px); justify-content: center; }
  .step__title { font-size: 1.12rem; }
  .panel { padding: 30px 24px; }
  .card { padding: 28px 22px; }
}

/* ============ TOUCH DEVICES ONLY ============ */
/* no hover on phones: the element in the middle of the screen lights up
   instead, and the priciest GPU effects are dropped for smoothness.
   Desktop (hover-capable) is completely unaffected by this block. */
@media (hover: none) {
  .benefit.is-centered .benefit__num { color: var(--green); -webkit-text-stroke-color: var(--green); }
  .card { transition: box-shadow 0.5s ease, border-color 0.5s ease; }
  .card.is-centered { border-color: rgba(34, 197, 94, 0.4); box-shadow: var(--shadow-lift); }
  .card.is-centered .card__icon {
    transform: translateY(-4px) rotate(-6deg) scale(1.08);
    background: var(--green); color: #fff;
    box-shadow: 0 14px 30px -10px rgba(22, 163, 74, 0.55);
  }
  .problem .card--stat.is-centered { border-color: rgba(239, 68, 68, 0.35); box-shadow: 0 24px 50px -24px rgba(239, 68, 68, 0.35); }
  .problem .card--stat.is-centered .card__icon { background: var(--red); box-shadow: 0 14px 30px -10px rgba(239, 68, 68, 0.55); }
  .risk { transition: box-shadow 0.45s ease; }
  .risk.is-centered { box-shadow: 0 24px 50px -24px rgba(239, 68, 68, 0.35); }
  .risk.is-centered::before { transform: scaleY(1); }
  .panel { transition: box-shadow 0.5s ease, border-color 0.5s ease; }
  .panel.is-centered { border-color: rgba(34, 197, 94, 0.4); box-shadow: var(--shadow-lift); }
  .panel.is-centered .panel__icon { transform: rotate(-8deg) scale(1.1); background: var(--green); color: #fff; }
  .founder__card.is-centered { box-shadow: 0 24px 50px -24px rgba(22, 163, 74, 0.4); }
  /* blur filters are expensive on phone GPUs — dim with opacity only */
  .js-anim .step { filter: none; }
  .step { transition: opacity 0.45s ease; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-fade], .hero__sub, .hero__actions, .founder__photo, .solution__phone { opacity: 1 !important; }
  .hero__line-inner { transform: none !important; }
  .badge { clip-path: none !important; }
  .step { opacity: 1 !important; }
  .download__list li { opacity: 1 !important; transform: none !important; }
  .download__list li::before { transform: scale(1) !important; }
  .founder__img { transform: none !important; }
}
