/* DMreach — Devin-inspired product site */
:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-elev: #0b0b0b;
  --bg-panel: #101010;
  --bg-soft: #161616;
  --text: #f4f4f5;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #fafafa;
  --accent-ink: #09090b;
  --good: #4ade80;
  --warn: #fbbf24;
  --danger: #f87171;
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --display: "Outfit", "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-unlock {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.hidden, [hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  z-index: 10000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.atmosphere__glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.atmosphere__glow--a {
  top: -20vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
}
.atmosphere__glow--b {
  top: 30vh;
  right: -20vw;
  background: radial-gradient(circle, rgba(120,120,120,0.18), transparent 70%);
}
.atmosphere__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 70%);
  opacity: 0.45;
}
.atmosphere__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.75) 100%);
}

#view-landing, #view-unlock { position: relative; z-index: 1; }

/* Nav */
#nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
#nav.is-scrolled {
  background: rgba(5, 5, 5, 0.88);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav__logo img { border-radius: 8px; }
#nav-menu {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
  min-width: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.1rem;
  margin: 0;
}
.nav__link {
  padding: 0.5rem 0.75rem;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.nav__cta:hover { transform: translateY(-1px); opacity: 0.92; }
#nav-toggle {
  display: none;
  margin-left: 0.55rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  place-items: center;
  padding: 0;
}
.nav__burger {
  display: grid;
  gap: 5px;
  width: 18px;
  margin: auto;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
.nav__toggle-v {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

/* Account profile in nav */
.nav-account {
  position: relative;
  flex-shrink: 0;
  margin-left: 0.35rem;
}
.nav-account__btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, #1c1c1c, #0d0d0d);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.nav-account__btn:hover,
.nav-account.is-open .nav-account__btn {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
.nav-account__avatar {
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-account__menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  width: min(240px, calc(100vw - 2rem));
  padding: 0.45rem;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  z-index: 60;
  animation: nav-account-in 0.2s var(--ease) both;
}
@keyframes nav-account-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.nav-account__head {
  padding: 0.7rem 0.75rem 0.8rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.3rem;
}
.nav-account__head strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
}
.nav-account__head span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--text-3);
}
.nav-account__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.nav-account__item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.nav-account__item--btn {
  color: var(--text-3);
  margin-top: 0.15rem;
}
.nav-account__item--btn:hover {
  color: var(--danger);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { opacity: 0.92; }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vh, 4.5rem) 0 0;
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  flex-direction: column;
}
.hero__top {
  width: min(900px, calc(100% - 2.5rem));
  margin: 0 auto 2.5rem;
  text-align: center;
}
.hero__brand {
  font-family: var(--display);
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
}
.hero__title {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text-2);
  line-height: 1.25;
}
.hero__title .accent { color: var(--text); }
.hero__sub {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  color: var(--text-3);
  font-size: 1.05rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.hero__stage {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 30%),
    var(--bg-elev);
  padding: clamp(1.25rem, 3vw, 2rem) 0 0;
  overflow: hidden;
}

/* Hero app demo — 1:1 product UI */
.app-demo {
  width: min(1180px, calc(100% - 1.25rem));
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #050505;
  box-shadow:
    0 -24px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  font-family: var(--sans, "Manrope", system-ui, sans-serif);
  color: #f5f5f5;
  animation: heroShotIn 0.9s var(--ease) both;
}
@keyframes heroShotIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.app-demo__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 0.85rem 0 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: #0a0a0a;
}
.app-demo__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}
.app-demo__brand img {
  border-radius: 5px;
}
.app-demo__brand strong { font-weight: 650; letter-spacing: -0.02em; }
.app-demo__win {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.app-demo__win span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 -1px 1px rgba(0,0,0,0.25);
}
.app-demo__win span:nth-child(1) { background: #ff5f57; }
.app-demo__win span:nth-child(2) { background: #febc2e; }
.app-demo__win span:nth-child(3) { background: #28c840; }
.app-demo__body {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.78fr);
  min-height: clamp(520px, 58vh, 640px);
}
.app-demo__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.35rem 1.4rem 1.15rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  background: #070707;
}
.app-demo__head {
  text-align: center;
}
.app-demo__head h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.app-demo__head p {
  margin: 0.35rem auto 0;
  max-width: 30rem;
  color: #737373;
  font-size: 0.86rem;
  line-height: 1.4;
}
.app-demo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.15rem;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}
.app-demo-card {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(165deg, rgba(255,255,255,0.035) 0%, transparent 40%),
    #0c0c0c;
  min-height: 0;
  overflow: hidden;
}
.app-demo-card__head {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  align-items: flex-start;
  text-align: left;
}
.app-demo-card__step {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #a3a3a3;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}
.app-demo-card__head > div {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.app-demo-card__head h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 650;
}
.app-demo-card__head p {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: #737373;
  line-height: 1.4;
}
.app-demo-session {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.app-demo-session__live {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  min-height: 0;
}
.app-demo-session__form {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.15rem;
  border-radius: 14px;
  background: #0c0c0c;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
}
.app-demo-hint {
  margin: 0 0 0.7rem;
  font-size: 0.74rem;
  color: #737373;
  text-align: center;
}
.app-demo-hint kbd,
.app-demo-hint code {
  font-family: var(--mono, "JetBrains Mono", monospace);
  font-size: 0.68rem;
  padding: 0.12rem 0.32rem;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}
.app-demo-json {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #080808;
  font-family: var(--mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  color: #a3a3a3;
  line-height: 1.6;
  margin-bottom: 0.85rem;
  text-align: center;
}
.app-demo-json__line { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-demo-session__save {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  height: 2.4rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: #f5f5f5;
  color: #0a0a0a;
  font-size: 0.84rem;
  font-weight: 650;
}
.app-demo-session__banner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(74, 222, 128, 0.22);
  background: rgba(74, 222, 128, 0.08);
  opacity: 0;
  transform: translateY(8px);
  flex-shrink: 0;
}
.app-demo-session__check {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.14);
  flex-shrink: 0;
}
.app-demo-session__banner strong {
  display: block;
  color: #4ade80;
  font-size: 0.9rem;
}
.app-demo-session__banner span {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.74rem;
  color: #a3a3a3;
}
.app-demo-session__banner em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.72rem;
  color: #a3a3a3;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.32rem 0.65rem;
}
.app-demo-profile {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  text-align: left;
  flex: 1;
  min-height: 0;
}
.app-demo-profile--session {
  opacity: 0;
  transform: translateY(10px);
}
.app-demo-profile--target {
  opacity: 0;
  transform: translateY(10px);
  margin-top: 0.15rem;
  flex: 1;
}
.app-demo-profile__avatar {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0a0a0a;
  background: linear-gradient(145deg, #f5f5f5, #d4d4d4);
}
.app-demo-profile__avatar--self {
  background: linear-gradient(145deg, #4ade80, #22c55e);
  color: #052e16;
}
.app-demo-profile__meta { min-width: 0; flex: 1; text-align: left; }
.app-demo-profile__name strong { font-size: 0.92rem; }
.app-demo-profile__full {
  margin: 0.18rem 0 0;
  font-size: 0.78rem;
  color: #a3a3a3;
}
.app-demo-profile__bio {
  margin: 0.4rem 0 0;
  font-size: 0.74rem;
  color: #737373;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.app-demo-profile__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.app-demo-profile__stats div {
  text-align: center;
  padding: 0.5rem 0.25rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}
.app-demo-profile__stats b {
  display: block;
  font-size: 0.84rem;
}
.app-demo-profile__stats span {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #737373;
}
.app-demo-field {
  text-align: left;
  flex-shrink: 0;
}
.app-demo-field span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.74rem;
  color: #a3a3a3;
}
.app-demo-input {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  min-height: 2.85rem;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #080808;
  font-size: 0.95rem;
}
.app-demo-input em {
  font-style: normal;
  color: #737373;
}
.app-demo-type {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
}
.app-demo-caret {
  width: 1px;
  height: 1em;
  background: #f5f5f5;
  opacity: 0;
  margin-left: 1px;
}
.app-demo__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.9rem;
  padding-top: 0.75rem;
}
.app-demo-next {
  height: 2.55rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: #f5f5f5;
  color: #0a0a0a;
  font-size: 0.88rem;
  font-weight: 650;
  cursor: default;
}
.app-demo-console {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #050505;
  padding: 0.85rem 0.8rem 0.9rem;
}
.app-demo-console__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}
.app-demo-console__head strong {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #a3a3a3;
}
.app-demo-console__head strong i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45);
  animation: demoPulseDot 1.8s ease-out infinite;
}
.app-demo-console__head div {
  display: flex;
  gap: 0.35rem;
}
.app-demo-console__head span {
  font-size: 0.65rem;
  color: #a3a3a3;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
}
.app-demo-console__log {
  position: relative;
  flex: 1;
  min-height: 12rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: #000;
  overflow: hidden;
}
.app-demo-console__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1rem;
  text-align: center;
  color: #525252;
  font-size: 0.78rem;
  transition: opacity 0.4s;
}
.app-demo-console__lines {
  position: absolute;
  inset: 0;
  padding: 0.85rem 0.9rem;
  font-family: var(--mono, "JetBrains Mono", monospace);
  font-size: 0.7rem;
  line-height: 1.65;
  color: #a3a3a3;
  opacity: 0;
}
.app-demo-console__lines div { opacity: 0; transform: translateY(6px); }
.app-demo-console__lines .is-live { color: #4ade80; }

/* Demo timeline loop (~10s) */
.app-demo-session__form { animation: demoFormCycle 10s ease-in-out infinite; }
.app-demo-session__banner { animation: demoBannerCycle 10s ease-in-out infinite; }
.app-demo-profile--session { animation: demoSessionProfile 10s ease-in-out infinite; }
.app-demo-type { animation: demoType 10s steps(13, end) infinite; }
.app-demo-caret { animation: demoCaret 10s linear infinite; }
.app-demo-profile--target { animation: demoTargetProfile 10s ease-in-out infinite; }
.app-demo-console__empty { animation: demoConsoleEmpty 10s ease-in-out infinite; }
.app-demo-console__lines { animation: demoConsoleLines 10s ease-in-out infinite; }
.app-demo-console__lines div:nth-child(1) { animation: demoLogLine 10s ease-in-out infinite; }
.app-demo-console__lines div:nth-child(2) { animation: demoLogLine 10s ease-in-out infinite 0.35s; }
.app-demo-console__lines div:nth-child(3) { animation: demoLogLine 10s ease-in-out infinite 0.7s; }
.app-demo-session__save { animation: demoSavePress 10s ease-in-out infinite; }
.app-demo-next { animation: demoNextGlow 10s ease-in-out infinite; }

@keyframes demoPulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}
@keyframes demoFormCycle {
  0%, 12% { opacity: 1; visibility: visible; transform: none; }
  18%, 88% { opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none; }
  94%, 100% { opacity: 1; visibility: visible; transform: none; }
}
@keyframes demoBannerCycle {
  0%, 14% { opacity: 0; transform: translateY(8px); }
  20%, 88% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(8px); }
}
@keyframes demoSessionProfile {
  0%, 22% { opacity: 0; transform: translateY(10px); }
  28%, 88% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(10px); }
}
@keyframes demoType {
  0%, 30% { max-width: 0; }
  48%, 88% { max-width: 12ch; }
  94%, 100% { max-width: 0; }
}
@keyframes demoCaret {
  0%, 28% { opacity: 0; }
  30%, 48% { opacity: 1; }
  50%, 88% { opacity: 0; }
  94%, 100% { opacity: 0; }
}
@keyframes demoTargetProfile {
  0%, 48% { opacity: 0; transform: translateY(10px); }
  56%, 88% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(10px); }
}
@keyframes demoConsoleEmpty {
  0%, 58% { opacity: 1; }
  64%, 88% { opacity: 0; }
  94%, 100% { opacity: 1; }
}
@keyframes demoConsoleLines {
  0%, 58% { opacity: 0; }
  64%, 88% { opacity: 1; }
  94%, 100% { opacity: 0; }
}
@keyframes demoLogLine {
  0%, 58% { opacity: 0; transform: translateY(6px); }
  66%, 88% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(6px); }
}
@keyframes demoSavePress {
  0%, 10% { transform: none; }
  12% { transform: scale(0.96); }
  16%, 100% { transform: none; }
}
@keyframes demoNextGlow {
  0%, 70% { box-shadow: none; }
  78%, 86% { box-shadow: 0 0 0 4px rgba(255,255,255,0.08); }
  94%, 100% { box-shadow: none; }
}

@media (max-width: 900px) {
  .app-demo__body { grid-template-columns: 1fr; }
  .app-demo-console { min-height: 200px; border-top: 1px solid rgba(255,255,255,0.07); }
  .app-demo__main { border-right: 0; }
}
@media (max-width: 720px) {
  .app-demo__grid { grid-template-columns: 1fr; }
  .app-demo-session__form { position: relative; inset: auto; margin-bottom: 0.75rem; }
}

/* Simulation windows (product / feature sections) */
.sim-shell {
  width: min(1080px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 0;
}
.sim-window {
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: #0a0a0a;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sim-window__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #0e0e0e;
}
.sim-window__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3f3f46;
}
.sim-window__dot:nth-child(1) { background: #52525b; }
.sim-window__dot:nth-child(2) { background: #3f3f46; }
.sim-window__label {
  margin-left: 0.55rem;
  font-size: 0.78rem;
  color: var(--text-3);
  font-family: var(--mono);
}
.sim-window__body {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  min-height: min(52vh, 520px);
}
.sim-side {
  border-right: 1px solid var(--line);
  padding: 1rem 0.85rem;
  background: #090909;
}
.sim-side h4 {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 650;
}
.sim-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.sim-nav-item.is-active {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.sim-nav-item i { width: 16px; height: 16px; opacity: 0.7; }
.sim-main {
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sim-main__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sim-main__head strong {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.sim-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: var(--good);
  background: rgba(74, 222, 128, 0.08);
  font-size: 0.75rem;
  font-weight: 650;
}
.sim-pill__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.sim-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.sim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  animation: rowIn 0.55s var(--ease) both;
}
@keyframes rowIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.sim-row__name { font-weight: 650; font-size: 0.92rem; }
.sim-row__meta { color: var(--text-3); font-size: 0.78rem; margin-top: 0.15rem; }
.sim-badge {
  font-size: 0.72rem;
  font-weight: 650;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.sim-badge--ok { color: var(--good); background: rgba(74,222,128,0.1); }
.sim-badge--send { color: #93c5fd; background: rgba(147,197,253,0.1); }
.sim-badge--wait { color: var(--warn); background: rgba(251,191,36,0.1); }

.sim-chat {
  border-left: 1px solid var(--line);
  padding: 1rem;
  background: #080808;
  display: flex;
  flex-direction: column;
}
.sim-chat__user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.sim-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3f3f46, #18181b);
  border: 1px solid var(--line);
}
.sim-chat__user strong { font-size: 0.9rem; display: block; }
.sim-chat__user span { font-size: 0.75rem; color: var(--text-3); }
.sim-bubbles {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.sim-bubble {
  max-width: 88%;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text-2);
  opacity: 0;
  animation: bubbleIn 0.5s var(--ease) forwards;
}
.sim-bubble--in {
  align-self: flex-start;
  background: #1a1a1a;
  border: 1px solid var(--line);
}
.sim-bubble--out {
  align-self: flex-end;
  background: #f4f4f5;
  color: #09090b;
}
.sim-bubble:nth-child(1) { animation-delay: 0.4s; }
.sim-bubble:nth-child(2) { animation-delay: 1.4s; }
.sim-bubble:nth-child(3) { animation-delay: 2.6s; }
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.sim-typing {
  margin-top: 0.75rem;
  color: var(--text-3);
  font-size: 0.75rem;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}
.sim-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-3);
  animation: blink 1.2s infinite;
}
.sim-typing i:nth-child(2) { animation-delay: 0.15s; }
.sim-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; }
  40% { opacity: 1; }
}

/* Sections */
.section {
  padding: clamp(4.5rem, 10vh, 7.5rem) 0;
  border-top: 1px solid var(--line);
}
.section-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 650;
}
.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
  max-width: 16ch;
}
.section-lead {
  margin: 0;
  max-width: 38rem;
  color: var(--text-2);
  font-size: 1.05rem;
}
.section-num {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 650;
}
.accent { color: var(--text); }
.section-title .line { display: block; }
.section-head {
  margin-bottom: 2.75rem;
}

/* Demo grid — short looping simulations */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.demo-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.demo-card__stage {
  flex: 1;
  position: relative;
  background: #080808;
  border-bottom: 1px solid var(--line);
  padding: 1.1rem;
  overflow: hidden;
}
.demo-card__copy {
  padding: 1.15rem 1.2rem 1.3rem;
}
.demo-card__copy h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.demo-card__copy p {
  margin: 0;
  color: var(--text-3);
  font-size: 0.92rem;
}

/* Mini sims inside demo cards */
.mini-login {
  display: grid;
  gap: 0.55rem;
  max-width: 220px;
  margin: 1.5rem auto 0;
}
.mini-login__field {
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #121212;
  position: relative;
  overflow: hidden;
}
.mini-login__field::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: fillField 4.5s var(--ease) infinite;
}
.mini-login__field:nth-child(2)::after { animation-delay: 0.8s; }
@keyframes fillField {
  0%, 15% { width: 0; }
  40%, 70% { width: 100%; }
  100% { width: 0; }
}
.mini-login__btn {
  height: 38px;
  border-radius: 999px;
  background: #fafafa;
  color: #111;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  animation: btnPulse 4.5s ease infinite;
}
@keyframes btnPulse {
  0%, 45% { transform: scale(1); opacity: 0.55; }
  55%, 75% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(1); opacity: 0.55; }
}
.mini-login__ok {
  text-align: center;
  color: var(--good);
  font-size: 0.78rem;
  font-weight: 650;
  opacity: 0;
  animation: showOk 4.5s ease infinite;
}
@keyframes showOk {
  0%, 60% { opacity: 0; }
  70%, 90% { opacity: 1; }
  100% { opacity: 0; }
}

.mini-target {
  max-width: 240px;
  margin: 1.2rem auto 0;
}
.mini-target__search {
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #121212;
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  gap: 0.5rem;
  color: var(--text-3);
  font-size: 0.85rem;
  font-family: var(--mono);
}
.mini-target__search span {
  overflow: hidden;
  white-space: nowrap;
  border-right: 1px solid var(--text-3);
  animation: typeUser 5s steps(14) infinite;
  width: 0;
}
@keyframes typeUser {
  0%, 10% { width: 0; }
  45%, 75% { width: 11ch; }
  100% { width: 0; }
}
.mini-target__hit {
  margin-top: 0.75rem;
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  display: flex;
  gap: 0.7rem;
  align-items: center;
  opacity: 0;
  transform: translateY(8px);
  animation: hitIn 5s var(--ease) infinite;
}
@keyframes hitIn {
  0%, 40% { opacity: 0; transform: translateY(8px); }
  55%, 85% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(8px); }
}
.mini-target__hit strong { display: block; font-size: 0.88rem; }
.mini-target__hit span { color: var(--text-3); font-size: 0.75rem; }

.mini-send {
  max-width: 250px;
  margin: 0.8rem auto 0;
  display: grid;
  gap: 0.45rem;
}
.mini-send__msg {
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: #f4f4f5;
  color: #111;
  font-size: 0.78rem;
  opacity: 0;
  transform: translateY(6px);
  animation: sendMsg 5.5s var(--ease) infinite;
}
.mini-send__msg:nth-child(1) { animation-delay: 0s; }
.mini-send__msg:nth-child(2) { animation-delay: 0.9s; }
.mini-send__msg:nth-child(3) { animation-delay: 1.8s; }
@keyframes sendMsg {
  0%, 8% { opacity: 0; transform: translateY(6px); }
  18%, 78% { opacity: 1; transform: none; }
  90%, 100% { opacity: 0; }
}
.mini-send__status {
  margin-top: 0.4rem;
  color: var(--good);
  font-size: 0.75rem;
  font-weight: 650;
  text-align: right;
  opacity: 0;
  animation: sendOk 5.5s ease infinite;
}
@keyframes sendOk {
  0%, 45% { opacity: 0; }
  55%, 80% { opacity: 1; }
  100% { opacity: 0; }
}

/* How */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: how;
}
.how-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  min-height: 220px;
}
.how-step::before {
  counter-increment: how;
  content: counter(how, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 1.4rem;
}
.how-step h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.how-step p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
}

/* Feature split */
.feat-split {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 2rem;
  align-items: center;
}
.feat-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.feat-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  color: var(--text-2);
  font-size: 0.98rem;
}
.feat-list i {
  width: 18px;
  height: 18px;
  color: var(--text);
  margin-top: 0.15rem;
}

.feat-mock {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feat-mock__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #0d0d0d;
}
.feat-mock__bar span:last-child {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-3);
  font-family: var(--mono);
}
.feat-mock__body { padding: 1.1rem; }
.feat-mock__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.feat-mock__stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  background: rgba(255,255,255,0.02);
}
.feat-mock__stat small {
  display: block;
  color: var(--text-3);
  font-size: 0.72rem;
  margin-bottom: 0.35rem;
}
.feat-mock__stat [data-feat-value] {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.feat-mock__stat [data-feat-delta] {
  display: block;
  margin-top: 0.2rem;
  color: var(--good);
  font-size: 0.75rem;
}
.feat-mock__stat.is-tick { animation: tick 0.55s var(--ease); }
@keyframes tick {
  0% { transform: scale(1); }
  40% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.feat-mock__limit {
  display: flex;
  justify-content: space-between;
  color: var(--text-3);
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}
.feat-mock__barline {
  height: 8px;
  border-radius: 999px;
  background: #1a1a1a;
  overflow: hidden;
  margin-bottom: 1rem;
}
.feat-mock__barline i {
  display: block;
  height: 100%;
  width: var(--bar, 62%);
  border-radius: inherit;
  background: linear-gradient(90deg, #e4e4e7, #fafafa);
  transition: width 0.5s var(--ease);
}
.feat-mock__feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.feat-mock__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
}
.feat-mock__row.is-enter { animation: rowIn 0.4s var(--ease); }
.feat-mock__row.is-exit { opacity: 0; transform: translateY(-6px); transition: 0.25s; }
.feat-mock__row-name { font-weight: 650; font-size: 0.88rem; }
.feat-mock__row-meta { color: var(--text-3); font-size: 0.74rem; margin-top: 0.1rem; }
.feat-mock__badge {
  font-size: 0.7rem;
  font-weight: 650;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}
.feat-mock__badge--ok { color: var(--good); background: rgba(74,222,128,0.1); }
.feat-mock__badge--send { color: #93c5fd; background: rgba(147,197,253,0.1); }
.feat-mock__badge--wait { color: var(--warn); background: rgba(251,191,36,0.1); }

/* Tutorial */
.tutorial-split {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.tutorial-copy .section-title {
  max-width: 11ch;
}
.tutorial-points {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.tutorial-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-2);
  font-size: 0.95rem;
}
.tutorial-points i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: var(--text);
  opacity: 0.85;
}
.tutorial-stage {
  position: relative;
  width: 100%;
}
.tutorial-stage::before {
  content: "";
  position: absolute;
  inset: 18% 6% -6%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.12), transparent 70%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
}
.tutorial-frame {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  background: #050505;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 36px 90px rgba(0, 0, 0, 0.6);
}
.tutorial-frame__chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #141414, #0d0d0d);
}
.tutorial-frame__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tutorial-frame__dot:nth-child(1) { background: #ff5f57; }
.tutorial-frame__dot:nth-child(2) { background: #febc2e; }
.tutorial-frame__dot:nth-child(3) { background: #28c840; }
.tutorial-frame__title {
  margin-left: 0.5rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.tutorial-frame__media {
  position: relative;
  background: #000;
  isolation: isolate;
}
.tutorial-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  display: block;
}
.tutorial-frame__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.18), rgba(0,0,0,0.42));
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  z-index: 1;
}
.tutorial-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 88px;
  height: 88px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
}
.tutorial-play__pulse {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: tutorialPulse 2.4s ease-out infinite;
  pointer-events: none;
}
.tutorial-play__glass {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.tutorial-play__rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03) 42%, rgba(0, 0, 0, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s;
}
.tutorial-play__rim::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.tutorial-play__rim::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 14px;
  right: 14px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0.55;
  pointer-events: none;
}
.tutorial-play__core {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
}
.tutorial-play__core svg {
  margin-left: 2px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.tutorial-play:hover .tutorial-play__rim {
  transform: scale(1.04);
  border-color: rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05) 42%, rgba(0, 0, 0, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 16px 48px rgba(0, 0, 0, 0.42);
}
.tutorial-play:hover .tutorial-play__core {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.tutorial-play:active .tutorial-play__glass {
  transform: scale(0.97);
}
.tutorial-play:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 5px;
  border-radius: 50%;
}
@keyframes tutorialPulse {
  0% { transform: scale(0.92); opacity: 0.55; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
.tutorial-frame.is-playing .tutorial-frame__media::after,
.tutorial-frame.is-playing .tutorial-play {
  opacity: 0;
  pointer-events: none;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
.price-card--featured {
  border-color: rgba(255,255,255,0.2);
  box-shadow: var(--shadow);
}
.price-card__badge {
  display: inline-flex;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--text-2);
  margin-bottom: 1.1rem;
}
.price-card__name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.price-card__desc {
  margin: 0.45rem 0 1.35rem;
  color: var(--text-3);
}
.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.35rem;
}
.price-card__amount strong {
  font-family: var(--display);
  font-size: 3.4rem;
  letter-spacing: -0.05em;
  line-height: 1;
}
.price-card__amount span { color: var(--text-3); }
.price-card__features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.price-card__features li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 0.95rem;
}
.price-card__features i { width: 16px; height: 16px; margin-top: 0.15rem; flex-shrink: 0; }
.price-card .btn { width: 100%; }
.price-card--soon { opacity: 0.72; }
.price-note {
  margin-top: 1.25rem;
  color: var(--text-3);
  font-size: 0.9rem;
}


/* Platforms */
.platforms-view {
  min-height: 100dvh;
  padding: 1.25rem 0 3.5rem;
}
.platforms-view__top {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 1.5rem;
}
.platforms-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.platforms-head .section-title {
  max-width: none;
  margin-inline: auto;
}
.platforms-head .section-lead {
  margin-inline: auto;
}
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.platform-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-panel);
  box-shadow: var(--shadow);
  transition:
    transform 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    background 0.28s var(--ease);
}
.platform-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
  background: #121212;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 28px 60px rgba(0, 0, 0, 0.55);
}
.platform-card.is-preferred {
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), var(--shadow);
}
.platform-card--web {
  border-color: rgba(255,255,255,0.16);
}
.platform-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  display: grid;
  place-items: center;
  color: var(--text);
  margin-bottom: 1.15rem;
  transition: transform 0.28s var(--ease), border-color 0.28s, background 0.28s;
}
.platform-card:hover .platform-card__icon {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}
.platform-card .license-btn {
  width: 100%;
  margin-top: 1.35rem;
  transition: transform 0.22s var(--ease), opacity 0.22s, background 0.22s, border-color 0.22s;
}
.platform-card:hover .license-btn {
  transform: translateY(-1px);
}
.platform-card .license-btn:hover {
  transform: translateY(-2px) scale(1.01);
  opacity: 0.94;
}
@media (prefers-reduced-motion: reduce) {
  .platform-card,
  .platform-card__icon,
  .platform-card .license-btn {
    transition: none;
  }
  .platform-card:hover,
  .platform-card:hover .platform-card__icon,
  .platform-card:hover .license-btn,
  .platform-card .license-btn:hover {
    transform: none;
  }
}
.platform-card__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #141414, #0d0d0d);
}
.platform-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.platform-card__dot:nth-child(1) { background: #ff5f57; }
.platform-card__dot:nth-child(2) { background: #febc2e; }
.platform-card__dot:nth-child(3) { background: #28c840; }
.platform-card__label {
  margin-left: 0.45rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-3);
}
.platform-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem 1.4rem;
}
.platform-card__title {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}
.platform-card__text {
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.5;
}
.platform-card__list {
  list-style: none;
  margin: 1.25rem 0 auto;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--text-3);
  font-size: 0.88rem;
}
.platform-card__list li {
  padding-left: 1rem;
  position: relative;
}
.platform-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-3);
}
.platform-error {
  margin: 1rem auto 0;
  max-width: 36rem;
  text-align: center;
  color: #f87171;
  font-size: 0.9rem;
}
.platforms-view .ios-notice {
  margin: 1rem auto 0;
  text-align: center;
  max-width: 36rem;
}

@media (max-width: 960px) {
  .platforms-grid { grid-template-columns: 1fr; }
  .platform-card { min-height: 0; }
  .platforms-view {
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
  }
  .unlock-view {
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
  }
  .platform-card { min-height: 0; }
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 760px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.faq-item__trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: 1rem;
}
.faq-item__trigger span:last-child {
  color: var(--text-3);
  font-weight: 400;
}
.faq-item__panel {
  padding: 0 1.2rem 1.15rem;
  color: var(--text-2);
  font-size: 0.95rem;
}
.faq-item.is-open .faq-item__trigger span:last-child { transform: rotate(45deg); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
}
.site-footer__meta {
  color: var(--text-3);
  font-size: 0.88rem;
  text-align: right;
}
.site-footer__meta a:hover { color: var(--text); }

/* Unlock view */
.unlock-view {
  min-height: 100dvh;
  padding: 1.25rem 0 3rem;
}
.unlock-view__top {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 1.5rem;
}
.unlock-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-2);
  font-size: 0.92rem;
}
.unlock-back:hover { color: var(--text); }
.unlock-back__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.unlock-back__icon svg { width: 16px; height: 16px; }
.unlock-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.unlock-info .section-title { max-width: none; }
.unlock-info__list {
  margin: 1.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-2);
  display: grid;
  gap: 0.55rem;
}
.unlock-info__tips {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}
.unlock-tip {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.75rem;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
}
.unlock-tip__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: grid;
  place-items: center;
}
.unlock-tip__icon i { width: 16px; height: 16px; }
.unlock-tip strong { display: block; margin-bottom: 0.2rem; }
.unlock-tip p { margin: 0; color: var(--text-3); font-size: 0.88rem; }
.unlock-trust {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.unlock-trust span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.78rem;
}
.unlock-form-col {
  padding-top: 0.35rem;
}

.license-share-warning {
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1rem;
  margin-bottom: 0.9rem;
}
.license-share-warning strong { color: #fecaca; display: block; margin-bottom: 0.35rem; }
.license-share-warning p { margin: 0; color: #fca5a5; font-size: 0.88rem; }

.unlock-panel-window {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-panel);
  box-shadow: var(--shadow);
}
.unlock-panel-window__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #0d0d0d;
}
.unlock-panel-window__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3f3f46;
}
.unlock-panel-window__dot:nth-child(1) { background: #ff5f57; }
.unlock-panel-window__dot:nth-child(2) { background: #febc2e; }
.unlock-panel-window__dot:nth-child(3) { background: #28c840; }
.unlock-panel-window__label {
  margin-left: 0.45rem;
  font-size: 0.75rem;
  color: var(--text-3);
  font-family: var(--mono);
}
.license-panel { padding: 1.35rem 1.25rem 1.4rem; }
.license-form__label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-2);
  font-weight: 600;
}
.license-input-shell {
  position: relative;
}
.license-form__input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #0a0a0a;
  color: var(--text);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  outline: none;
}
.license-form__input:focus {
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}
.license-form__input.is-invalid { border-color: var(--danger); }
.license-form__input.shake { animation: shake 0.45s ease; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.license-typewriter {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 0.92rem;
}
.license-typewriter.is-hidden { opacity: 0; }
.license-typewriter__caret {
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 1px;
  background: var(--text-3);
  vertical-align: -0.1em;
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% { opacity: 0; }
}
.license-form__hint {
  margin: 0.55rem 0 0;
  color: var(--text-3);
  font-size: 0.82rem;
}
.license-error {
  margin-top: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(248,113,113,0.25);
  background: rgba(248,113,113,0.08);
  color: #fecaca;
  font-size: 0.88rem;
}
.license-form__actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.15rem;
}
.license-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 650;
}
.license-btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.license-btn--ghost,
.license-btn--secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.unlock-support {
  margin-top: 1rem;
  color: var(--text-3);
  font-size: 0.88rem;
}
.unlock-support a { text-decoration: underline; text-underline-offset: 3px; }

/* Modals shared */
.license-overlay,
.license-success,
.license-help-modal,
.buy-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.license-overlay__backdrop,
.license-success__backdrop,
.license-help-modal__backdrop,
.buy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
}
.license-overlay__card,
.license-success__card,
.license-help-modal__card,
.buy-modal__card {
  position: relative;
  width: min(440px, 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0d0d0d;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.license-success__close,
.license-help-modal__close,
.buy-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.license-success__badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(74,222,128,0.12);
  color: var(--good);
  margin-bottom: 0.85rem;
}
.license-success__badge svg { width: 22px; height: 22px; }
.license-success__title,
.license-help-modal__title,
.buy-modal__title {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.license-success__text,
.license-help-modal__body,
.buy-modal__sub {
  color: var(--text-2);
  font-size: 0.95rem;
}
.platform-selector {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.15rem;
}
.ios-notice {
  margin-top: 0.85rem;
  color: var(--text-3);
  font-size: 0.85rem;
}
.license-progress-wrap { margin: 1rem 0; }
.license-progress {
  height: 6px;
  border-radius: 999px;
  background: #1a1a1a;
  overflow: hidden;
}
.license-progress__bar {
  height: 100%;
  width: 0%;
  background: #fafafa;
  transition: width 0.25s linear;
}
.license-checks {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  color: var(--text-3);
  font-size: 0.85rem;
  display: grid;
  gap: 0.35rem;
}
.license-help-modal__body { display: grid; gap: 0.75rem; }
.license-help-modal__body p { margin: 0; }
.license-help-modal__note {
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
  color: #fecaca;
}
.license-help-modal__actions { margin-top: 1rem; }
.license-help-modal__actions .license-btn { width: 100%; }

.buy-modal__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--text-3);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.buy-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 1rem 0;
  background: rgba(255,255,255,0.02);
}
.buy-summary__plan { font-weight: 650; }
.buy-summary__meta { color: var(--text-3); font-size: 0.82rem; margin-top: 0.15rem; }
.buy-summary__price {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.buy-form { display: grid; gap: 0.85rem; }
.buy-form__row--2 {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 560px) {
  .buy-form__row--2 { grid-template-columns: 1fr 1fr; }
}
.buy-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-2);
}
.buy-field input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0a0a0a;
  color: var(--text);
  outline: none;
}
.buy-field input:focus { border-color: var(--line-strong); }
.buy-form__error { color: var(--danger); font-size: 0.85rem; min-height: 1.2em; }
.buy-form__actions .btn { width: 100%; }
.buy-form__note { color: var(--text-3); font-size: 0.8rem; margin: 0; }
.order-tracker {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}
.order-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-3);
  font-size: 0.78rem;
}
.order-step__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.order-step__line {
  width: 28px;
  height: 1px;
  background: var(--line);
}
.order-info-box {
  padding: 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.9rem;
  background: rgba(255,255,255,0.02);
}
.order-key-box {
  margin-top: 0.85rem;
  padding: 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(74,222,128,0.25);
  background: rgba(74,222,128,0.06);
}
.order-key-box__label { font-size: 0.78rem; color: var(--text-3); margin-bottom: 0.35rem; }
.order-key-box__key {
  font-family: var(--mono);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.order-key-box__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 960px) {
  .sim-window__body { grid-template-columns: 1fr; }
  .sim-side, .sim-chat { display: none; }
  .demo-grid, .how-grid, .pricing-grid, .feat-split, .unlock-split, .tutorial-split {
    grid-template-columns: 1fr;
  }
  .feat-mock__stats { grid-template-columns: 1fr; }
  .hero__brand { font-size: clamp(2.8rem, 14vw, 4.5rem); }

  /* No giant hero app simulation on phones */
  .hero__stage { display: none !important; }
  .hero {
    min-height: 0;
    padding-top: clamp(1.5rem, 4vh, 2.5rem);
    padding-bottom: 1.25rem;
  }
  .hero__top {
    margin-bottom: 0.35rem;
  }
  #product {
    padding-top: clamp(1.5rem, 4vh, 2.5rem);
  }

  /* Only Basic license on mobile */
  .price-card--soon,
  .pricing-grid [data-plan="pro"] {
    display: none !important;
  }
  .pricing-grid {
    max-width: 420px;
    margin-inline: auto;
  }

  /* Produkt: sticky stack cards while scrolling */
  .demo-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 18vh;
  }
  .demo-card {
    position: sticky;
    top: calc(var(--nav-h) + 0.75rem);
    margin: 0;
    border-radius: 18px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(180deg, #121212, #0a0a0a);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    transform-origin: center top;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  }
  .demo-card:nth-child(1) { z-index: 1; }
  .demo-card:nth-child(2) { z-index: 2; top: calc(var(--nav-h) + 1.35rem); }
  .demo-card:nth-child(3) { z-index: 3; top: calc(var(--nav-h) + 1.95rem); }
  .demo-card.is-stacked {
    transform: scale(0.97);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
  .demo-card__stage {
    min-height: 160px;
  }

  /* Ablauf: same sticky stack */
  .how-grid {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding-bottom: 16vh;
  }
  .how-step {
    position: sticky;
    top: calc(var(--nav-h) + 0.75rem);
    margin: 0;
    padding: 1.35rem 1.25rem;
    border-radius: 18px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(180deg, #121212, #0a0a0a);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    z-index: 1;
  }
  .how-step:nth-child(2) { z-index: 2; top: calc(var(--nav-h) + 1.35rem); }
  .how-step:nth-child(3) { z-index: 3; top: calc(var(--nav-h) + 1.95rem); }

  /* Soften feat mock on mobile */
  .feat-mock { max-width: 100%; }
}

@media (max-width: 820px) {
  .nav__logo {
    display: none;
  }
  #nav-toggle {
    display: grid;
    order: -1;
    margin-left: 0;
    margin-right: auto;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    border-radius: 10px;
  }
  #nav-toggle:hover,
  #nav.is-open #nav-toggle {
    background: rgba(255, 255, 255, 0.05);
  }
  .nav-account:not([hidden]) {
    margin-left: auto;
  }
  .nav-account:not([hidden]) + #nav-toggle {
    margin-left: 0;
  }
  #nav-menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: rgba(5,5,5,0.96);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-left: 0;
  }
  #nav.is-open #nav-menu { display: flex; }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    flex-wrap: wrap;
  }
  .nav__link { white-space: normal; }
  .nav__cta--desktop { display: none; }
  .nav__cta--mobile { width: 100%; margin-top: 0.35rem; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .site-footer__meta { text-align: left; }
}

@media (min-width: 821px) {
  .nav__cta--mobile { display: none; }
}
