@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Anton";
  src: url("../assets/fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #f6f1e7;
  --cream-deep: #efe8d9;
  --ink: #1a1a1a;
  --charcoal: #1e1e1e;
  --obsidian: #141414;
  --slate: #4a4a4a;
  --slate-soft: #555;
  --lime: #d9f36b;
  --lime-hot: #e7fa9a;
  --olive: #5f6d1d;
  --milk: #faf7f2;
  --line: rgba(30, 25, 20, 0.12);
  --shadow-card: 0 20px 40px -10px rgba(30, 25, 20, 0.08);
  --shadow-card-lift: 0 30px 60px -18px rgba(30, 25, 20, 0.16);
  --shadow-device: 0 35px 70px -15px rgba(0, 0, 0, 0.22);
  --radius: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Anton", "Inter", Impact, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

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

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

section[id], footer[id] { scroll-margin-top: 84px; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

.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 {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 12px 18px;
  border-radius: 999px; text-decoration: none; font-size: 14px;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}
.eyebrow .p-index { color: var(--accent, var(--ink)); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 9999px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 14px 30px -14px rgba(120, 138, 40, 0.55);
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(120, 138, 40, 0.7); }
.pill:active { transform: scale(0.97); }
.pill span { transition: transform 0.4s var(--ease); }
.pill:hover span { transform: translate(2px, -2px); }

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.25);
  padding-bottom: 4px;
  transition: border-color 0.3s, gap 0.3s;
}
.text-link:hover { border-color: var(--ink); gap: 12px; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 3.4vw, 48px);
  background: rgba(246, 241, 231, 0.96);
  border-bottom: 1px solid rgba(30, 25, 20, 0.06);
}
.nav.is-dark {
  background: rgba(20, 20, 20, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: var(--cream);
}
.nav.is-dark .brand { color: var(--cream); }
.nav.is-dark .nav-links a { color: rgba(246, 241, 231, 0.78); }
.nav.is-dark .nav-links a:hover { color: var(--cream); }
.nav.is-dark .nav-cta { box-shadow: 0 0 0 1px rgba(217, 243, 107, 0.4); }

.brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--lime);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 9999px;
  white-space: nowrap;
  transition: box-shadow 0.3s, transform 0.3s;
}
.nav-cta:hover { box-shadow: 0 0 0 4px rgba(217, 243, 107, 0.3); transform: translateY(-1px); }

/* ---------- page background (interpolated by JS) ---------- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--cream);
  pointer-events: none;
}

/* ---------- intro: hero + network, one pinned scene ---------- */
.intro { position: relative; z-index: 2; }
.intro-viewport {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
}
.hero-scene,
.network-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.hero-scene {
  z-index: 3;
  pointer-events: none;
  background: transparent;
  transition: opacity 0.35s ease;
}
.hero-scene a,
.hero-scene form,
.hero-scene input,
.hero-scene button { pointer-events: auto; }
.hero-scene.is-dim { pointer-events: none; }
.hero-scene.is-dim * { pointer-events: none !important; }
.hero-scene.is-dim .hero-phone { pointer-events: none; }
/* the phone is the shared element: it stays above the dark scene */
.hero-core { z-index: 5; }
.hero-phone { z-index: 6; }
/* once the page turns charcoal, give the phone a rim light so its bezel reads */
.hero-scene.is-dim .hero-phone {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 60px -10px rgba(217, 243, 107, 0.35),
    0 45px 90px -40px rgba(0, 0, 0, 0.9);
}
.hero-scene.is-dim .hero-screen { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }

/* once the hero thread is open, the intro releases into normal flow */
html.intro-fluid .intro-viewport { height: auto; min-height: 0; overflow: visible; }
html.intro-fluid .hero-scene,
html.intro-fluid .network-scene { position: relative; inset: auto; }
html.intro-fluid .hero-scene { min-height: 100svh; padding-bottom: 190px; }
html.intro-fluid .network-scene {
  background: var(--obsidian);
  border-radius: 32px;
  margin: 0 clamp(12px, 2vw, 28px);
  padding: 72px clamp(20px, 4vw, 48px) 84px;
}
html.intro-fluid .hero-scene.is-dim { opacity: 1; }
html.intro-fluid .hero-scene.is-dim * { pointer-events: auto !important; }
html.intro-fluid .network-body { grid-template-columns: minmax(0, 1fr); gap: 14px; }
html.intro-fluid .network-center { display: none; }
html.intro-fluid .net-lines { display: none; }
html.intro-fluid .net-card { width: 100%; }

/* ---------- hero ---------- */
.hero-inner {
  position: relative;
  z-index: 3;
  pointer-events: none;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 84px clamp(20px, 4vw, 48px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 5.5vw, 86px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.038em;
  text-align: center;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.03em; }
.hero h1 .line > span { display: inline-block; }
.hero.is-animating h1 .line > span { will-change: transform; }

/* ---------- ask bar ---------- */
.ask {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(760px, 100%);
  min-height: 68px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(30, 25, 20, 0.13);
  border-radius: 9999px;
  padding: 8px 8px 8px 20px;
  box-shadow: 0 18px 40px -22px rgba(30, 25, 20, 0.4);
  transition: box-shadow 0.35s, border-color 0.35s;
}
.ask:focus-within {
  border-color: rgba(30, 25, 20, 0.32);
  box-shadow: 0 22px 50px -22px rgba(30, 25, 20, 0.5);
}
.ask-spark {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
}
.ask input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: 500 18px/1.2 var(--font);
  color: var(--ink);
  outline: none;
  padding: 12px 0;
}
.ask input::placeholder { color: #6b6358; }
.ask button {
  flex: 0 0 auto;
  border: 0;
  background: var(--ink);
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
  border-radius: 9999px;
  padding: 16px 30px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.ask button:hover { background: #000; }
.ask button:active { transform: scale(0.96); }
.ask button[disabled] { opacity: 0.55; cursor: progress; }

/* ChatGPT-style inline thread: lives ABOVE the bar, in normal flow */
.ask-wrap { width: min(760px, 100%); margin: 20px auto 0; }
.ask-wrap .ask { margin: 0 auto; }
.ask-thread {
  width: 100%;
  margin: 0 0 10px;
  color: var(--ink);
  text-align: left;
}
.ask-thread[hidden] { display: none; }
.thread-log {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 2px 2px 4px;
}
.thread-log:empty { display: none; }
.thread-log .msg { display: flex; flex-direction: column; gap: 8px; }
.thread-log .msg-user {
  align-self: flex-end;
  max-width: 88%;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 18px 18px 5px 18px;
  padding: 11px 15px;
  font-size: 13.5px;
  line-height: 1.45;
}
.thread-log .msg-ai { align-self: stretch; max-width: 100%; }
.thread-log .msg-ai .ai-body { display: flex; gap: 10px; align-items: flex-start; }
.thread-log .msg-ai .spiral { color: var(--olive); font-size: 13px; line-height: 1.75; flex: 0 0 auto; }
.thread-log .msg-ai .ai-body > div { flex: 1; min-width: 0; }
.thread-log .msg-ai p { color: #34322d; font-size: 13.8px; line-height: 1.62; }
.thread-log .msg-ai p a { color: #4d5b12; }
.msg-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  align-self: flex-start;
  transition: transform 0.2s;
}
.msg-cta:active { transform: scale(0.97); }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i {
  width: 6px; height: 6px; border-radius: 50%; background: #8d8371;
  animation: blink 1.1s infinite ease-in-out;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }

.thread-follow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.thread-follow button {
  border: 1px solid rgba(30, 25, 20, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: #3b382f;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11.5px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.thread-follow button:hover { border-color: rgba(30, 25, 20, 0.4); background: #fff; }

/* rich answers inside the real thread: light cards, vertical flow, no inner scroll */
.gen-card {
  margin-top: 12px;
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(30, 25, 20, 0.1);
  border-radius: 16px;
  background: var(--milk);
  padding: 14px;
  box-shadow: 0 14px 30px -22px rgba(30, 25, 20, 0.4);
}
.gen-card.quote { background: #fbf8f2; }
.gen-card-top { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.gen-card-top img { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; }
.gen-card-top img.pamir { width: 50px; height: 20px; border-radius: 0; object-fit: contain; background: #fff; padding: 2px 4px; }
.gen-card-top small {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #7a7364;
}
.gen-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--charcoal); }
.gen-card p { font-size: 12.5px; line-height: 1.5; color: #55524a; }
.gen-card .chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.gen-card .chip {
  border: 1px solid rgba(30, 25, 20, 0.16);
  background: #fff;
  color: #403c33;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10.5px;
  cursor: pointer;
}
.gen-card .chip.is-on { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 600; }
.gen-card a.gen-card-link {
  display: inline-block;
  margin-top: 11px;
  font-size: 12px;
  font-weight: 600;
  color: #4d5b12;
  text-decoration: none;
}
.gen-card a.gen-card-link:hover { text-decoration: underline; }
.gen-card .wa-mini {
  display: inline-flex;
  margin-top: 11px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
}
.gen-card .cc-shot {
  position: relative;
  margin: 4px 0 10px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(30, 25, 20, 0.08);
  aspect-ratio: 16 / 10;
  background: #eee7d9;
}
.gen-card .cc-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.gen-card .cc-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.gen-card .cc-stack figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(30, 25, 20, 0.08); background: #efe9dc; }
.gen-card .cc-stack img { width: 100%; max-height: 320px; object-fit: contain; object-position: top center; }
.compare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.compare-opt { border: 1px solid rgba(30, 25, 20, 0.1); border-radius: 10px; padding: 9px 10px; background: #fff; }
.compare-opt h4 { font-size: 11.5px; font-weight: 700; color: var(--charcoal); margin-bottom: 6px; }
.compare-opt dl { display: grid; gap: 5px; margin: 0; }
.compare-opt dt { font-family: var(--mono); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; color: #8a8272; }
.compare-opt dd { font-size: 10.5px; line-height: 1.35; color: #4f4b41; margin: 0; }
.timeline-list { list-style: none; display: grid; gap: 0; margin-top: 10px; }
.timeline-list li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid rgba(30, 25, 20, 0.08); }
.timeline-list li:first-child { border-top: 0; }
.timeline-list b { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; color: #5f6d1d; white-space: nowrap; }
.timeline-list span { font-size: 11.5px; line-height: 1.45; color: #4f4b41; }
.err-note { color: #a1472f; font-size: 12px; margin-top: 6px; }

/* hero thread sits over the stage but in normal flow */
.hero .ask-wrap { position: relative; z-index: 9; }

/* ---------- hero stage ---------- */
.hero-stage {
  position: relative;
  width: 100%;
  min-height: 500px;
  margin-top: 12px;
}
.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
.hero-lines path {
  fill: none;
  stroke: #B4CE3C;
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0;
}
.hero-lines .vine-pulse-dot { fill: var(--lime); filter: drop-shadow(0 0 4px rgba(217, 243, 107, 0.9)); }
.hero-lines circle { fill: #8FA427; opacity: 0; }

.hero-core {
  position: absolute;
  left: 50%;
  bottom: -178px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 4;
}
.hero-phone {
  position: relative;
  width: 258px;
  aspect-ratio: 552 / 1200;
  background: #0c0c0c;
  border-radius: 44px;
  padding: 7px;
  box-shadow: var(--shadow-device), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  z-index: 4;
}
.hero-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #111;
}
.hero-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* a clean, upright iPhone frame, used everywhere */
.island {
  position: absolute;
  top: var(--island-top, 2.2%);
  left: 50%;
  transform: translateX(-50%);
  width: var(--island-w, 31%);
  aspect-ratio: 3.4 / 1;
  min-height: 6px;
  background: #000;
  border-radius: 9999px;
  z-index: 6;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.hero-screen > .island { --island-w: 31%; --island-top: 1.9%; }
.device-screen > .island { --island-w: 32%; --island-top: 2.1%; }
.panel-phone > .island { --island-w: 32%; --island-top: 2.1%; }
.hero-screen, .device-screen, .panel-phone { position: relative; }

.ab-hub {
  position: relative;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.045em;
  padding-right: 0.03em;
  z-index: 6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 18px 34px -16px rgba(20, 20, 20, 0.55);
}
.ab-hub::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.app-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--ink);
  width: 92px;
}
.chip-icon {
  width: 60px;
  height: 60px;
  border-radius: 17px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 26px -14px rgba(30, 25, 20, 0.5), 0 0 0 1px rgba(30, 25, 20, 0.06);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.chip-icon img { width: 100%; height: 100%; object-fit: cover; }
.chip-pamir-icon { background: #fff; padding: 12px 8px; }
.chip-pamir-icon img { object-fit: contain; }
.app-chip .chip-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--slate);
  white-space: nowrap;
  transition: color 0.3s;
}
.app-chip:hover .chip-icon { transform: translateY(-5px); box-shadow: 0 24px 34px -16px rgba(30, 25, 20, 0.5), 0 0 0 1px rgba(217, 243, 107, 0.9); }
.app-chip:hover .chip-label { color: var(--ink); }

.chip-mamelat { left: 6%; top: 8%; }
.chip-sprachprep { left: 2%; top: 42%; }
.chip-candleling { left: 8%; top: 76%; }
.chip-faro { right: 6%; top: 15%; }
.chip-pamir { right: 2%; top: 62%; }

/* ---------- network scene ---------- */
.network-scene {
  z-index: 2;
  padding: clamp(48px, 6vw, 84px) clamp(20px, 4vw, 48px) clamp(32px, 4vw, 56px);
  color: #fff;
  background: transparent;
}
.network-head { text-align: center; max-width: 900px; margin: 0 auto; }
.network-head h2 {
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
}
.network-head p { margin-top: 10px; font-size: clamp(15px, 1.4vw, 18px); font-weight: 500; color: var(--lime); }

.network-body {
  position: relative;
  width: min(1180px, 100%);
  flex: 1;
  min-height: 0;
  margin: clamp(20px, 3vw, 40px) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.5fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
}
.net-col { display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 20px); }
.network-center { position: relative; height: 100%; }
.net-lines-anchor {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 1px;
  height: 1px;
}
.net-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
.net-lines path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.5;
  opacity: 0;
  stroke-linecap: round;
}
.net-lines .halo { stroke-width: 9; opacity: 0; }

.net-card {
  position: relative;
  width: 100%;
  background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 10px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  transition: border-color 0.35s, transform 0.45s var(--ease), background 0.35s;
  z-index: 4;
}
.net-card:hover { border-color: rgba(217, 243, 107, 0.42); background: #202020; transform: translateY(-4px); }
.net-shot {
  width: 74px;
  height: 104px;
  border-radius: 11px;
  overflow: hidden;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.net-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.net-card-e .net-shot img { object-position: center; }
.net-copy { padding-right: 4px; }
.net-tag {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 5px;
}
.net-card h3 { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.net-card p { margin-top: 5px; font-size: 12px; line-height: 1.45; color: #a9a9a2; }

/* ---------- products: one pinned phone, scrubbed, alternating sides ---------- */
.products {
  position: relative;
  z-index: 1;
  background: transparent;
}
.products-stage {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: block;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 80px clamp(20px, 4vw, 48px) 40px;
  overflow: hidden;
}
.copy-col {
  position: absolute;
  inset: 88px clamp(20px, 4vw, 48px) 76px;
  z-index: 3;
  pointer-events: none;
}
.product-panel { visibility: hidden; }
.product-panel.is-active { visibility: visible; }
.products-stage .product-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(460px, 44%);
  pointer-events: none;
}
/* data-pos names the side the PHONE sits on; copy takes the other side */
.products-stage .product-panel[data-pos="left"] {
  left: auto;
  right: 0;
}
.products-stage .product-panel[data-pos="center"] {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: min(700px, 100%);
  height: 100%;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  padding: clamp(4px, 2vh, 22px) 0;
}
.products-stage .product-panel[data-pos="center"] .panel-head,
.products-stage .product-panel[data-pos="center"] .panel-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.products-stage .product-panel[data-pos="center"] .lede { margin-left: auto; margin-right: auto; }
.products-stage .product-panel[data-pos="center"] .pill { margin-top: 14px; }
.panel-head, .panel-body { width: 100%; }
.product-panel .eyebrow { margin-bottom: 18px; }
.product-panel h2 {
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: var(--charcoal);
  max-width: 15ch;
  text-wrap: balance;
}
.product-panel .lede {
  margin-top: 18px;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.5;
  color: #383530;
  max-width: 44ch;
}
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}
.panel-actions .pill { margin-top: 0; }
.sim-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(26, 26, 26, 0.24);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 22px;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.25s var(--ease);
}
.sim-btn span { font-size: 10px; line-height: 1; transition: transform 0.3s var(--ease); }
.sim-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.sim-btn:hover span { transform: translateX(2px); }
.sim-btn:active { transform: scale(0.97); }
.sim-btn[disabled] { color: #8b8377; border-color: rgba(30, 25, 20, 0.16); cursor: default; }
.sim-btn[disabled]:hover { background: transparent; color: #8b8377; border-color: rgba(30, 25, 20, 0.16); }
.product-panel .pill {
  box-shadow: 0 16px 34px -16px color-mix(in srgb, var(--accent, #788a28) 70%, transparent);
  pointer-events: auto;
}
.product-panel .proof {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}

.phone-col {
  position: absolute;
  inset: 92px clamp(20px, 4vw, 48px) 84px;
  z-index: 2;
  pointer-events: none;
}
.phone-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent, #d9f36b) 24%, transparent), color-mix(in srgb, var(--accent, #d9f36b) 9%, transparent) 46%, transparent 74%);
  pointer-events: none;
  transition: background 0.6s ease;
}
.phone-col .device {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: calc(min(280px, 82%, calc((100svh - 170px) / 2.174)) / -2);
  margin-top: calc((min(280px, 82%, calc((100svh - 170px) / 2.174)) * 1200 / 552) / -2);
  transform-origin: 50% 50%;
}
.device {
  position: relative;
  width: min(280px, 82%, calc((100svh - 170px) / 2.174));
  aspect-ratio: 552 / 1200;
  background: #0b0b0b;
  border-radius: 48px;
  padding: 8px;
  box-shadow: var(--shadow-device), 0 40px 90px -34px color-mix(in srgb, var(--accent, #d9f36b) 62%, transparent), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transition: box-shadow 0.6s ease;
}
.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 41px;
  overflow: hidden;
  background: #111;
}
.screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease);
}
.screen.is-active { opacity: 1; visibility: visible; }
.screen .shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.7s var(--ease);
}
.screen .shot-b { opacity: 0; }

.index-rail {
  position: absolute;
  left: 50%;
  bottom: clamp(6px, 1.6vh, 18px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  z-index: 4;
}
.dots { display: flex; flex-direction: row; gap: 10px; }
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #d2ccc0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.dot:hover { transform: scale(1.5); }
.dot.is-active { background: var(--accent, var(--ink)); transform: scale(1.25); }
.counter {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #6f685c;
}
.counter b { color: var(--ink); font-weight: 700; }
.panel-phone { display: none; }

/* scrubbed product stage: JS owns the timeline */
.products-stage.is-scrubbed .product-panel { visibility: visible; opacity: 1; pointer-events: none; }
.products-stage.is-scrubbed .product-panel.is-live { pointer-events: auto; }
.products-stage.is-scrubbed .screen,
.products-stage.is-scrubbed .screen .shot,
.products-stage.is-scrubbed .product-panel { transition: none; }
.products-stage.is-scrubbed .screen { visibility: visible; }
.products-stage.is-scrubbed .product-panel { backface-visibility: hidden; }
.products-stage.is-animating .product-panel { will-change: transform, opacity; }

/* ---------- app screens: one wave row of five phones, scroll-driven drift ---------- */
.app-screens {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: clamp(40px, 6vw, 70px) 0 clamp(56px, 7vw, 90px);
  overflow: hidden;
}
.app-screens-head {
  width: min(1240px, 100%);
  margin: 0 auto clamp(30px, 4vw, 48px);
  padding: 0 clamp(20px, 4vw, 48px);
  text-align: center;
}
.app-screens-head .eyebrow { margin-bottom: 8px; }
.app-screens-head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--charcoal);
}

.wave-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: clamp(80px, 9vw, 120px) 0 clamp(26px, 3vw, 40px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.wave-track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(14px, 1.8vw, 32px);
  width: max-content;
  padding: 0 clamp(16px, 4vw, 40px);
}
.wave-track.is-drifting { will-change: transform; }
.wave-phone {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: translateY(var(--lift, 0px));
}
.wave-device {
  width: clamp(150px, 19vw, 260px);
  aspect-ratio: 552 / 1200;
  background: #0b0b0b;
  border-radius: 40px;
  padding: 7px;
  box-shadow: var(--shadow-device), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.wave-device .device-screen { border-radius: 34px; }
.wave-device .shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.wave-phone figcaption {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--olive);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.wave-phone figcaption b {
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--charcoal);
}
.wave-phone figcaption span { color: #8b8377; }

/* ---------- try the apps: live simulator ---------- */
.sim {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: clamp(64px, 8vw, 108px) clamp(20px, 4vw, 48px) clamp(20px, 3vw, 36px);
}
.sim-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.75fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  width: min(1240px, 100%);
  margin: 0 auto clamp(28px, 3.4vw, 46px);
}
.sim-head h2 {
  margin-top: 16px;
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.038em;
  color: var(--charcoal);
}
.sim-side p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 46ch;
}
.sim-launch { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.sim-btn-lg {
  font-size: 15px;
  padding: 15px 28px;
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: 0 16px 32px -18px rgba(20, 20, 20, 0.7);
}
.sim-btn-lg:hover { background: #000; }
.sim-note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--olive);
}
.sim-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
  width: min(1240px, 100%);
  margin: 0 auto;
}
.sim-card {
  display: flex;
  flex-direction: column;
  background: var(--milk);
  border: 1px solid rgba(30, 25, 20, 0.07);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.sim-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-lift); }
.sim-thumb {
  position: relative;
  padding: 18px 18px 0;
  background: linear-gradient(160deg, var(--cream-deep), #e6dfd0);
}
.sim-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 18px 34px -24px rgba(30, 25, 20, 0.7);
}
.sim-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 16px 20px 20px; }
.sim-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--olive);
}
.sim-copy h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.025em; color: var(--charcoal); }
.sim-copy p { font-size: 13px; line-height: 1.5; color: var(--slate); }
.sim-open {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(26, 26, 26, 0.28);
  padding: 0 0 3px;
  cursor: pointer;
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}
.sim-open span { font-size: 10px; }
.sim-open:hover { gap: 11px; border-color: var(--ink); }

/* modal */
html.sim-locked { overflow: hidden; }
.sim-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s var(--ease), visibility 0.32s;
}
.sim-modal.is-open { opacity: 1; visibility: visible; }
.sim-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.62);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}
.sim-modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 430px;
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 0.44s var(--ease), opacity 0.34s var(--ease);
}
.sim-modal.is-open .sim-modal-panel { transform: none; opacity: 1; }
.sim-modal-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 4px;
}
.sim-modal-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.sim-close {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.sim-close svg { width: 15px; height: 15px; }
.sim-close:hover { background: rgba(255, 255, 255, 0.22); }
.sim-close:active { transform: scale(0.93); }

.sim-body { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* iPhone 17 Pro-ish frame, sized from viewport height so it always fits.
   The screen box is derived from the demos' 390x844 canvas ratio, so the
   demo fills the glass edge to edge with no letterbox bars. */
.sim-phone {
  --frame-h: min(680px, calc(100svh - 210px));
  --sim-bezel: 10px;
  width: calc((var(--frame-h) - var(--sim-bezel) * 2) * 0.4621 + var(--sim-bezel) * 2);
  height: var(--frame-h);
  flex: none;
  padding: var(--sim-bezel);
  border-radius: calc(var(--frame-h) * 0.103);
  background: linear-gradient(150deg, #3a3a3d, #0d0d0e 26%, #1c1c1f 62%, #3d3d40);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 40px 80px -30px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px rgba(0, 0, 0, 0.9);
  position: relative;
  isolation: isolate;
}
.sim-phone::before,
.sim-phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #2c2c2f, #55555a, #2c2c2f);
  opacity: 0.9;
}
.sim-phone::before { left: -3px; top: 21%; height: 7%; }
.sim-phone::after { left: -3px; top: 31%; height: 9%; }
.sim-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--frame-h) * 0.088);
  overflow: hidden;
  background: #f7f4ec;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}
.sim-phone[data-app="mamelat"] .sim-screen { background: #f6f2e8; }
.sim-phone[data-app="candleling"] .sim-screen { background: #fbfaf7; }
.sim-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: calc(var(--frame-h) * 0.062);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--frame-h) * 0.019) calc(var(--frame-h) * 0.052) 0;
  pointer-events: none;
  color: #14211a;
  font-size: calc(var(--frame-h) * 0.0215);
  font-weight: 700;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.sim-phone[data-app="mamelat"] .sim-status { color: #f7f3ea; }
.sim-status-icons { display: flex; align-items: center; gap: calc(var(--frame-h) * 0.008); fill: currentColor; }
.sim-status-icons svg { height: calc(var(--frame-h) * 0.018); width: auto; display: block; }
.sim-island {
  position: absolute;
  top: calc(var(--frame-h) * 0.0155);
  left: 50%;
  transform: translateX(-50%);
  width: 31%;
  height: calc(var(--frame-h) * 0.0345);
  border-radius: 9999px;
  background: #000;
  z-index: 6;
  pointer-events: none;
}
.sim-island::after {
  content: "";
  position: absolute;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
  width: 12%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #1b2430, #05080c 68%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.045);
}
.sim-home {
  position: absolute;
  left: 50%;
  bottom: calc(var(--frame-h) * 0.0105);
  transform: translateX(-50%);
  width: 34%;
  height: calc(var(--frame-h) * 0.0055);
  min-height: 3px;
  border-radius: 9999px;
  background: rgba(20, 20, 20, 0.32);
  z-index: 6;
  pointer-events: none;
}
.sim-frame-holder { position: absolute; inset: 0; overflow: hidden; background: #f7f4ec; transition: background 0.3s ease; }
.sim-phone[data-app="mamelat"] .sim-frame-holder { background: #f6f2e8; }
.sim-phone[data-app="candleling"] .sim-frame-holder { background: #fbfaf7; }
.sim-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 390px;
  height: 844px;
  border: 0;
  display: block;
  background: #fff;
  transform-origin: 50% 50%;
  transform: translate(-50%, -50%) scale(var(--sim-scale, 1));
  opacity: 0;
  transition: opacity 0.34s var(--ease);
}
.sim-frame.is-ready { opacity: 1; }

.sim-switcher {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 6px 10px 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
}
.sim-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 62px;
  padding: 6px 2px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.sim-app img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: transform 0.28s var(--ease), opacity 0.28s;
  opacity: 0.66;
}
.sim-app span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(246, 241, 231, 0.6);
  white-space: nowrap;
  transition: color 0.25s;
}
.sim-app:hover img { opacity: 0.9; transform: translateY(-2px); }
.sim-app.is-active { background: rgba(255, 255, 255, 0.12); }
.sim-app.is-active img { opacity: 1; box-shadow: 0 0 0 1px rgba(217, 243, 107, 0.65), 0 8px 18px -9px rgba(0, 0, 0, 0.9); }
.sim-app.is-active span { color: var(--cream); }
.sim-hint {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.44);
  text-align: center;
}

/* ---------- pamir ---------- */
.pamir {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: clamp(72px, 9vw, 122px) clamp(20px, 4vw, 48px);
}
.pamir::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(30, 25, 20, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 65%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 65%);
}
.pamir-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  width: min(1240px, 100%);
  margin: 0 auto clamp(36px, 4vw, 54px);
}
.pamir-head h2 {
  margin-top: 16px;
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.038em;
  color: var(--charcoal);
}
.pamir-side p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 44ch;
}
.wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 9999px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.wa-pill svg { width: 17px; height: 17px; fill: var(--lime); flex: 0 0 auto; }
.wa-pill:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -18px rgba(20, 20, 20, 0.8); }

.showcase {
  position: relative;
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.showcase-web {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--milk);
  border: 1px solid rgba(30, 25, 20, 0.07);
  border-radius: 26px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.showcase-web:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-lift); }
.showcase-client-browser { grid-column: span 6; }
.showcase-client-browser .showcase-meta { flex: 1 1 auto; }
.showcase-client-browser .browser-screen img { object-position: top center; }

.browser { padding: clamp(14px, 1.6vw, 22px) clamp(14px, 1.6vw, 22px) 0; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: var(--cream-deep);
  border: 1px solid rgba(30, 25, 20, 0.08);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}
.browser-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(30, 25, 20, 0.18); flex: 0 0 auto; }
.browser-url {
  flex: 1;
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: #6f685c;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 5px 12px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(30, 25, 20, 0.1);
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 24px 50px -30px rgba(30, 25, 20, 0.45);
}
.browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.9s var(--ease);
}
.showcase-web:hover .browser-screen img { transform: scale(1.02); }

.showcase-meta { padding: 20px 24px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 0 0 auto; }
.showcase-meta h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; color: var(--charcoal); }
.showcase-meta p { font-size: 13.5px; line-height: 1.5; color: var(--slate); max-width: 46ch; }

.work-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--olive);
}
.work-go {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(26, 26, 26, 0.22);
  padding-bottom: 2px;
}

/* ---------- about ---------- */
.about {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: clamp(68px, 8vw, 108px) clamp(20px, 4vw, 48px) clamp(76px, 9vw, 118px);
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  border-top: 1px solid rgba(30, 25, 20, 0.08);
}
.about .eyebrow { grid-column: 1 / -1; }
.about h2 {
  font-size: clamp(32px, 3.7vw, 54px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: var(--charcoal);
  max-width: 18ch;
}
.about-lines { list-style: none; display: grid; gap: 18px; }
.about-lines li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--slate);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(30, 25, 20, 0.09);
}
.about-lines li span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--olive);
  padding-top: 3px;
}
.about .text-link { grid-column: 2; margin-top: -10px; }

/* ---------- footer ---------- */
.contact {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: clamp(60px, 7vw, 96px) clamp(20px, 4vw, 48px) 28px;
  overflow: hidden;
}
.footer-ask {
  width: min(760px, 100%);
  margin: 0 auto clamp(52px, 6vw, 80px);
  text-align: center;
}
.footer-ask .ask-wrap { margin-top: 16px; }
.footer-ask .ask { margin-top: 0; }
.footer-ask .ask-thread { margin-bottom: 10px; }

.contact-cards {
  position: relative;
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  isolation: isolate;
}
.ribbon {
  position: absolute;
  left: -6%;
  top: -72px;
  width: 112%;
  height: calc(100% + 144px);
  z-index: -1;
  pointer-events: none;
}
.contact-card {
  position: relative;
  background: #faf7f2;
  border: 1px solid rgba(30, 25, 20, 0.06);
  border-radius: 26px;
  padding: 30px 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 210px;
}
.contact-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.025em; color: var(--charcoal); }
.contact-card p { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--slate); }
.contact-email { margin-top: 6px !important; }
.contact-email a { color: var(--slate); text-decoration: none; border-bottom: 1px solid rgba(30, 25, 20, 0.2); }
.contact-email a:hover { color: var(--ink); border-color: var(--ink); }
.outline-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  border: 1px solid rgba(26, 26, 26, 0.55);
  border-radius: 9999px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.outline-pill svg { width: 16px; height: 16px; fill: currentColor; }
.outline-pill:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.app-links { list-style: none; margin-top: 14px; display: grid; gap: 2px; }
.app-links a {
  font-size: 14.5px;
  line-height: 1.8;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.app-links a:hover { border-color: var(--ink); }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 26, 0.16);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.socials svg { width: 18px; height: 18px; fill: var(--ink); }
.socials a:hover { background: var(--lime); border-color: var(--lime); transform: translateY(-2px); }
.social-note {
  margin-top: auto !important;
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 10.5px !important;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--olive) !important;
}

.wordmark {
  margin: clamp(48px, 6vw, 80px) auto 0;
  width: 100%;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(58px, 12.4vw, 190px);
  line-height: 0.84;
  letter-spacing: -0.02em;
  text-align: center;
  color: #161616;
  white-space: nowrap;
  user-select: none;
}

.legal {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 20px;
  width: min(1160px, 100%);
  margin: clamp(44px, 5vw, 68px) auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(30, 25, 20, 0.12);
}
.legal h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 8px;
}
.legal a {
  display: block;
  font-size: 12px;
  line-height: 1.9;
  color: var(--slate-soft);
  text-decoration: none;
}
.legal a:hover { color: var(--ink); text-decoration: underline; }
.colophon {
  margin: 34px auto 0;
  text-align: center;
  font-size: 12px;
  color: var(--slate-soft);
}

/* ---------- forced static layout (reduced motion / mobile / no GSAP) ---------- */
html.static-intro .intro-viewport { height: auto; min-height: 0; overflow: visible; }
html.static-intro .hero-scene,
html.static-intro .network-scene { position: relative; inset: auto; }
html.static-intro .hero-scene { min-height: 100svh; padding-bottom: 150px; }
html.static-intro .network-scene { min-height: 0; padding-bottom: 84px; }
html.static-intro .hero-lines { opacity: 1; }
html.static-intro .network-scene {
  background: var(--obsidian);
  border-radius: 32px;
  margin: 24px clamp(12px, 2vw, 28px) 0;
  padding: 72px clamp(20px, 4vw, 48px) 84px;
}
html.static-intro .network-scene .net-card { width: 100%; }
html.static-intro .network-body { grid-template-columns: minmax(0, 1fr); gap: 14px; }
html.static-intro .network-center { display: none; }
html.static-intro .net-lines { display: none; }

html.static-products .products-stage {
  display: block;
  height: auto;
  min-height: 0;
  padding: 64px 20px 20px;
  overflow: visible;
}
html.static-products .copy-col { min-height: 0; display: block; }
html.static-products .products-stage .product-panel,
html.static-products .products-stage .product-panel[data-pos="center"] {
  position: static;
  visibility: visible !important;
  display: block;
  height: auto;
  width: 100%;
  margin: 0;
  text-align: left;
  align-items: flex-start;
  padding: 34px 0 44px;
  border-bottom: 1px solid rgba(30, 25, 20, 0.1);
}
html.static-products .products-stage .product-panel[data-pos="center"] .panel-head,
html.static-products .products-stage .product-panel[data-pos="center"] .panel-body {
  display: block;
  align-items: flex-start;
  text-align: left;
}
html.static-products .products-stage .product-panel[data-pos="center"] .lede {
  margin-left: 0;
  margin-right: 0;
}
html.static-products .phone-col { display: none; }
html.static-products .panel-phone {
  display: block;
  width: min(236px, 66vw);
  margin: 26px auto 4px;
  aspect-ratio: 552 / 1200;
  background: #0b0b0b;
  border-radius: 40px;
  padding: 7px;
  box-shadow: var(--shadow-device), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
html.static-products .panel-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 34px; }
html.static-products .index-rail { display: none; }

html.static-apps .wave-track { transform: none !important; }
html.static-apps .wave-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  mask-image: none;
  -webkit-mask-image: none;
}
html.static-apps .wave-track { justify-content: flex-start; scroll-padding-inline: 20px; }
html.static-apps .wave-phone { scroll-snap-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .net-card { grid-template-columns: 66px minmax(0, 1fr); }
  .net-shot { width: 66px; height: 94px; }
}

@media (max-width: 900px) {
  .nav-links a:nth-child(4) { display: none; }
  .product-panel h2 { font-size: clamp(30px, 4.4vw, 40px); }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about .text-link { grid-column: 1; }
  .legal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pamir-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .showcase-web, .showcase-client-browser { grid-column: span 6; }
  .sim-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sim-side p { max-width: 54ch; }
}

@media (max-width: 860px) {
  .sim-row { grid-template-columns: minmax(0, 1fr); }
  .sim-card { flex-direction: row; align-items: stretch; }
  .sim-thumb { flex: 0 0 38%; padding: 12px 0 12px 12px; background: transparent; display: flex; }
  .sim-thumb img { aspect-ratio: auto; height: 100%; max-height: 168px; border-radius: 12px; object-position: top center; }
  .sim-copy { flex: 1; justify-content: center; padding: 14px 18px; }
  .sim-copy p { font-size: 12.5px; }
}

/* phone modal goes full screen on phones (not on split-screen desktops) */
@media (max-width: 560px) {
  .sim-modal { padding: 0; place-items: stretch; }
  .sim-modal-panel {
    max-width: none;
    gap: 0;
    padding: 0;
    background: #0c0c0c;
    transform: none;
    opacity: 1;
    height: 100%;
    justify-content: flex-start;
  }
  .sim-modal.is-open .sim-modal-panel { transform: none; }
  .sim-modal-backdrop { display: none; }
  .sim-modal-top {
    position: absolute;
    top: max(8px, env(safe-area-inset-top));
    left: 12px;
    right: 12px;
    width: auto;
    z-index: 6;
    justify-content: flex-end;
    padding: 0;
  }
  .sim-modal-title { display: none; }
  .sim-close { background: rgba(20, 20, 20, 0.5); border-color: rgba(255, 255, 255, 0.26); }
  .sim-body {
    flex: 1;
    min-height: 0;
    gap: 0;
    justify-content: stretch;
    padding: 0;
  }
  .sim-phone-wrap { flex: 1; min-height: 0; width: 100%; display: flex; }
  .sim-phone {
    --frame-h: 100svh;
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 0;
    background: #0c0c0c;
    box-shadow: none;
  }
  .sim-phone::before,
  .sim-phone::after { display: none; }
  .sim-screen { border-radius: 0; box-shadow: none; }
  /* full-bleed screen: let the demo use the real device viewport instead of
     letterboxing a 390x844 canvas, so there are no side gutters on a phone */
  .sim-frame { left: 0; top: 0; width: 100%; height: 100%; transform: none; }
  .sim-status { height: 52px; padding: calc(14px + env(safe-area-inset-top)) 26px 0; font-size: 14.5px; }
  .sim-status-icons svg { height: 12px; }
  .sim-island { top: calc(11px + env(safe-area-inset-top)); height: 31px; width: 31%; }
  .sim-home { bottom: calc(7px + env(safe-area-inset-bottom)); height: 5px; width: 34%; }
  .sim-switcher {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 7;
    margin: 0 12px calc(12px + env(safe-area-inset-bottom));
    background: rgba(16, 16, 18, 0.86);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    gap: 8px;
    padding: 5px 8px;
    border-radius: 20px;
  }
  .sim-app { width: 56px; }
  .sim-app img { width: 34px; height: 34px; border-radius: 9px; }
  .sim-app span { font-size: 10px; }
  .sim-hint { display: none; }
  .sim-close { background: rgba(255, 255, 255, 0.85); border-color: rgba(30, 25, 20, 0.14); color: #16211b; }
}

/* ---------- tablet / mobile: everything stacks, no pins ---------- */
@media (max-width: 960px) {
  .intro-viewport { height: auto; min-height: 0; overflow: visible; }
  .hero-scene, .network-scene { position: relative; inset: auto; }
  .hero-scene { min-height: 100svh; }
  .network-scene { min-height: 0; padding: 72px 20px 84px; background: var(--obsidian); border-radius: 28px; margin: 20px 12px 0; }
  .network-body { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .network-center { display: none; }
  .net-lines { display: none; }
  .net-card { grid-template-columns: 72px minmax(0, 1fr); }
  .net-shot { width: 72px; height: 100px; }
  .network-head { text-align: left; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero-inner { padding: 96px 20px 0; }
  .hero h1 { font-size: clamp(40px, 7.6vw, 62px); }
  .app-chip { width: 74px; }
  .chip-icon { width: 48px; height: 48px; border-radius: 14px; }
  .app-chip .chip-label { font-size: 10.5px; }
  .ab-hub { width: 48px; height: 48px; font-size: 18px; border-radius: 13px; }
  .hero-phone { width: 218px; border-radius: 38px; padding: 6px; }
  .hero-core { gap: 14px; bottom: -150px; }
  .hero-screen { border-radius: 33px; }
  .hero-stage { min-height: 430px; }
  .chip-mamelat { left: 2%; top: 10%; }
  .chip-sprachprep { left: 0; top: 40%; }
  .chip-candleling { left: 3%; top: 70%; }
  .chip-faro { right: 2%; top: 18%; }
  .chip-pamir { right: 0; top: 56%; }

  /* products stack */
  .products-stage {
    display: block;
    height: auto;
    min-height: 0;
    padding: 64px 20px 20px;
    overflow: visible;
  }
  .copy-col { position: static; inset: auto; }
  .products-stage .product-panel,
  .products-stage .product-panel[data-pos="left"],
  .products-stage .product-panel[data-pos="center"] {
    position: static;
    visibility: visible;
    display: block;
    width: 100%;
    margin: 0;
    padding: 34px 0 44px;
    text-align: left;
    align-items: flex-start;
    border-bottom: 1px solid rgba(30, 25, 20, 0.1);
  }
  .products-stage .product-panel[data-pos="center"] .lede { margin-left: 0; margin-right: 0; }
  .product-panel h2 { font-size: clamp(30px, 8vw, 42px); max-width: 18ch; }
  .product-panel .lede { margin-top: 16px; font-size: 15px; max-width: 46ch; }
  .panel-actions { margin-top: 22px; }
  .phone-col { display: none; }
  .panel-phone {
    display: block;
    width: min(236px, 66vw);
    margin: 26px auto 4px;
    aspect-ratio: 552 / 1200;
    background: #0b0b0b;
    border-radius: 40px;
    padding: 7px;
    box-shadow: var(--shadow-device), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  }
  .panel-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 34px; }
  .index-rail { display: none; }

  /* app screens: swipeable row */
  .app-screens { padding: 46px 0 56px; }
  .app-screens-head { text-align: left; padding: 0 20px; margin-bottom: 24px; }
  .wave-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
    padding: 26px 0 8px;
  }
  .wave-track { justify-content: flex-start; gap: 16px; padding: 0 24px 0 20px; transform: none !important; }
  .wave-phone { scroll-snap-align: center; }
  .wave-device { width: min(206px, 56vw); border-radius: 34px; padding: 6px; }
  .wave-device .device-screen { border-radius: 29px; }

  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .contact-cards::before {
    content: "";
    position: absolute;
    inset: -40px -14px -30px;
    background: radial-gradient(70% 45% at 50% 24%, rgba(217, 243, 107, 0.5), rgba(217, 243, 107, 0) 72%);
    z-index: -1;
    pointer-events: none;
  }
  .ribbon { display: none; }
  .contact-card { min-height: 0; }
  .social-note { margin-top: 18px !important; }
  .wordmark { font-size: clamp(44px, 12.9vw, 96px); }
  .legal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .nav { height: 64px; padding: 0 18px; }
  .brand { font-size: 17px; }
  .nav-cta { font-size: 11.5px; padding: 9px 15px; }
  .hero-inner { padding: 84px 16px 0; }
  .hero h1 { font-size: clamp(34px, 9.8vw, 48px); letter-spacing: -0.03em; }
  .ask { margin-top: 0; min-height: 64px; padding: 7px 7px 7px 15px; gap: 9px; }
  .ask-wrap { margin-top: 16px; }
  .ask input { font-size: 18px; padding: 11px 0; }
  .ask button { padding: 14px 24px; font-size: 15px; }
  .ask-spark { width: 26px; height: 26px; font-size: 13px; }
  .hero-stage { min-height: 400px; margin-top: 8px; }
  .hero-phone { width: 176px; border-radius: 30px; padding: 5px; }
  .hero-core { gap: 12px; bottom: -128px; }
  .hero-screen { border-radius: 26px; }
  .ab-hub { width: 42px; height: 42px; font-size: 16px; border-radius: 12px; }
  .ab-hub::after { right: 6px; bottom: 6px; width: 5px; height: 5px; }
  .app-chip { width: 60px; gap: 5px; }
  .chip-icon { width: 40px; height: 40px; border-radius: 12px; }
  .chip-pamir-icon { padding: 8px 5px; }
  .app-chip .chip-label { font-size: 10.5px; letter-spacing: 0; }
  .chip-mamelat { left: 0%; top: 12%; }
  .chip-sprachprep { left: -1%; top: 42%; }
  .chip-candleling { left: 1%; top: 72%; }
  .chip-faro { right: 0%; top: 20%; }
  .chip-pamir { right: -1%; top: 58%; }
  .thread-log .msg-user { font-size: 13px; padding: 10px 13px; }
  .thread-log .msg-ai p { font-size: 13px; }
  .gen-card { padding: 12px; }
  .compare-grid { grid-template-columns: minmax(0, 1fr); }
  .gen-card .cc-stack { grid-template-columns: minmax(0, 1fr); }
  .network-scene { padding: 62px 18px 70px; }
  .network-head h2 { font-size: clamp(34px, 9.4vw, 44px); }
  .net-card { padding: 9px; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
  .net-shot { width: 62px; height: 88px; }
  .net-card h3 { font-size: 15.5px; }
  .net-card p { font-size: 11.5px; }
  .products-stage { padding: 60px 18px 8px; }
  .product-panel .pill { padding: 13px 24px; font-size: 14px; }
  .app-screens { padding: 40px 0 48px; }
  .app-screens-head { padding: 0 18px; }
  .pamir { padding: 62px 18px 66px; }
  .pamir-head h2 { font-size: clamp(32px, 9vw, 44px); }
  .wa-pill { font-size: 12px; padding: 12px 16px; }
  .showcase { gap: 14px; }
  .showcase-web, .showcase-client-browser { grid-column: span 12; }
  .browser { padding: 12px 12px 0; }
  .showcase-meta { padding: 16px 18px 20px; }
  .showcase-meta h3 { font-size: 20px; }
  .about { padding: 58px 18px 70px; }
  .about h2 { font-size: clamp(28px, 8.4vw, 38px); }
  .about-lines li { font-size: 13.5px; }
  .contact { padding: 58px 18px 24px; }
  .contact-card { padding: 24px 22px; border-radius: 22px; }
  .legal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .wordmark { font-size: clamp(38px, 13vw, 62px); letter-spacing: -0.03em; }
  .colophon { font-size: 11px; }
}

@media (max-height: 800px) and (min-width: 821px) {
  .hero-inner { padding-top: 76px; }
  .hero h1 { font-size: clamp(38px, 4.3vw, 62px); }
  .hero-stage { min-height: 380px; margin-top: 8px; }
  .hero-core { bottom: -172px; gap: 12px; }
  .hero-phone { width: 220px; }
  .ab-hub { width: 52px; height: 52px; font-size: 20px; border-radius: 14px; }
  .chip-icon { width: 50px; height: 50px; border-radius: 15px; }
  .app-chip { width: 82px; gap: 6px; }
  .app-chip .chip-label { font-size: 10.5px; }
  .chip-mamelat { left: 5%; top: 6%; }
  .chip-sprachprep { left: 1.5%; top: 42%; }
  .chip-candleling { left: 6%; top: 78%; }
  .chip-faro { right: 5%; top: 14%; }
  .chip-pamir { right: 2%; top: 62%; }
}

@media (max-height: 700px) {
  .hero-inner { padding-top: 70px; }
  .hero h1 { font-size: clamp(34px, 4.2vw, 54px); }
  .hero-stage { min-height: 300px; margin-top: 6px; }
  .hero-core { bottom: -150px; gap: 10px; }
  .hero-phone { width: 188px; }
  .ab-hub { width: 46px; height: 46px; font-size: 18px; }
  .chip-icon { width: 44px; height: 44px; border-radius: 13px; }
  .app-chip { width: 72px; }
  .app-chip .chip-label { font-size: 10.5px; }
}

@media (max-width: 380px) {
  .hero-inner { padding-left: 12px; padding-right: 12px; }
  .hero h1 { font-size: clamp(30px, 9vw, 38px); }
  .hero-stage { min-height: 360px; }
  .hero-core { bottom: -124px; gap: 10px; }
  .hero-phone { width: 152px; padding: 4px; border-radius: 25px; }
  .hero-screen { border-radius: 22px; }
  .ab-hub { width: 36px; height: 36px; font-size: 14px; border-radius: 11px; }
  .hero-stage .app-chip { width: 54px; gap: 4px; }
  .chip-icon { width: 34px; height: 34px; border-radius: 10px; }
  .chip-pamir-icon { padding: 6px 4px; }
  .hero-stage .app-chip .chip-label { font-size: 9.5px; letter-spacing: -0.01em; }
  .chip-mamelat { left: 0; top: 14%; }
  .chip-sprachprep { left: -2%; top: 44%; }
  .chip-candleling { left: 1%; top: 74%; }
  .chip-faro { right: 0; top: 22%; }
  .chip-pamir { right: 0; top: 58%; }
  .ask { padding: 6px 6px 6px 12px; gap: 7px; }
  .ask input { font-size: 16px; }
  .ask button { padding: 12px 18px; font-size: 14px; }
  .ask-spark { width: 23px; height: 23px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero h1 .line > span { transform: none !important; opacity: 1 !important; }
  .screen, .screen .shot { transition: none !important; }
  .hero-lines path { opacity: 0.85 !important; stroke-dasharray: none !important; }
  .hero-lines circle { opacity: 0.9 !important; }
  .hero-lines .vine-pulse-dot { display: none !important; }
}
