/* AM One-Pager Layout & Components */

/* Layout */
.page {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-top: 72px;
  --section-space-y: clamp(82px, 10vw, 126px);
  --section-space-y-compact: clamp(68px, 8vw, 96px);
  --card-lift: -3px;
  --card-lift-soft: -2px;
  --interactive-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 12px 30px -16px rgba(0, 0, 0, 0.78);
}

.shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 6, 10, 0.7);
  border-bottom: 1px solid var(--border);
  transition:
    background-color 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}
.header.is-scrolled {
  background: rgba(5, 6, 10, 0.9);
  border-bottom-color: var(--border-strong);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.85);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-lockup img {
  height: 42px;
  width: auto;
  display: block;
}
.logo-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  line-height: 1;
}
.logo-text b { font-weight: 800; }
.logo-text span { font-weight: 300; opacity: 0.85; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--fg-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition:
    color 180ms var(--ease-out),
    text-shadow 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}
.nav a:hover {
  color: var(--fg-1);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}
.nav a.is-active {
  color: #f2f4ff;
  background: linear-gradient(135deg, rgba(129, 36, 217, 0.2), rgba(129, 36, 217, 0.12));
  border-color: rgba(129, 36, 217, 0.5);
  box-shadow:
    0 0 0 1px rgba(129, 36, 217, 0.22) inset,
    0 8px 20px -14px rgba(129, 36, 217, 0.55);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: clamp(96px, 11vw, 142px) 0 clamp(74px, 8vw, 108px);
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(129,36,217,0.18), rgba(217,2,199,0.18));
  border: 1px solid rgba(129,36,217, 0.55);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 36px;
  box-shadow:
    0 0 0 1px rgba(129,36,217,0.15),
    0 0 22px rgba(129,36,217,0.32),
    0 0 46px rgba(217,2,199,0.18);
  animation: hero-eyebrow-glow 6.2s ease-in-out infinite;
}
@keyframes hero-eyebrow-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(129,36,217,0.15),
      0 0 20px rgba(129,36,217,0.3),
      0 0 44px rgba(217,2,199,0.18);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(217,2,199,0.2),
      0 0 26px rgba(129,36,217,0.42),
      0 0 60px rgba(217,2,199,0.24);
  }
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-magenta);
  box-shadow: 0 0 14px var(--brand-magenta), 0 0 28px var(--brand-magenta);
  animation: hero-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes hero-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.25); }
}
.hero h1 {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--fg-1);
  margin: 0 auto 28px;
  max-width: 960px;
  text-wrap: balance;
}
.hero h1 .tag {
  display: block;
  font-size: clamp(13px, 1vw, 14px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 18px;
}
.hero h1 .grad,
.section h2 .grad,
.grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.hero-sub {
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}
.hero-cta-row {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--fg-1);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.2);
}
.btn-cta-lg {
  padding: 14px 26px;
  font-size: 15px;
  border-radius: 999px;
}

/* Hero product mock */
.hero-product {
  margin: clamp(56px, 6vw, 84px) auto 0;
  max-width: 1100px;
  position: relative;
}
.hero-product-frame {
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 50px 100px -30px rgba(129,36,217,0.4),
    0 30px 60px -20px rgba(0,0,0,0.8);
  overflow: hidden;
}
.hero-product-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(60% 50% at 50% 100%, rgba(217,2,199,0.25), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

/* Marquee */
.marquee {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(11, 12, 19, 0.5);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: scroll 68s linear infinite;
  width: max-content;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-2);
  white-space: nowrap;
}
.marquee-item .obj-strike {
  color: var(--accent-red);
  text-decoration: line-through;
  font-weight: 500;
}
.marquee-item .obj-author {
  color: var(--fg-3);
  font-size: 12px;
}
.marquee-item .pipe {
  color: var(--fg-4);
}

/* ============ SECTION GENERIC ============ */
.section {
  padding: var(--section-space-y) 0;
  position: relative;
}
.section[id],
.contact[id] {
  scroll-margin-top: 92px;
}
.section + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 64px));
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 12%,
    rgba(255, 255, 255, 0.10) 50%,
    rgba(255, 255, 255, 0.03) 88%,
    transparent 100%
  );
}
.section-header {
  max-width: 880px;
  margin: 0 auto clamp(44px, 5.2vw, 72px);
  text-align: center;
}
.section-header.left {
  text-align: left;
  margin: 0 0 clamp(36px, 4.8vw, 64px);
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #d8d0f4;
  padding: 7px 14px;
  border: 1px solid rgba(129, 36, 217, 0.38);
  border-radius: 999px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(129, 36, 217, 0.14), rgba(129, 36, 217, 0.07));
  box-shadow: 0 0 0 1px rgba(129, 36, 217, 0.12) inset;
}
.section-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(206, 161, 255, 0.9);
  box-shadow: 0 0 10px rgba(178, 76, 255, 0.45);
}
.section h2,
.contact h2 {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--fg-1);
  margin: 0 0 20px;
  text-wrap: balance;
}
.solution-card h3,
.fwalk-item h3,
.why-card h3,
.pain-card h3 {
  font-family: var(--font-headline);
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.62;
  color: var(--fg-2);
  max-width: 720px;
  margin: 0 auto;
  text-wrap: pretty;
}
.section-header.left .section-sub { margin: 0; }

/* ============ PAIN CAROUSEL ============ */
.pain-carousel {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(129,36,217,0.10) 0%, transparent 70%),
    #07070A;
  padding: 56px 56px 56px 64px;
  isolation: isolate;
  box-shadow:
    0 0 0 1px rgba(129,36,217,0.10),
    0 0 48px rgba(129,36,217,0.14),
    0 0 92px rgba(217,2,199,0.08);
}
.pain-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.pain-glow--1 {
  width: 50%; aspect-ratio: 1;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(129,36,217,0.20) 0%, transparent 70%);
  animation: pain-pulseC 14s ease-in-out infinite;
}
.pain-glow--2 { display: none; }
.pain-glow--3 { display: none; }
@keyframes pain-pulseC {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; }
  50%     { transform: translate(-50%,-50%) scale(1.15); opacity: 1; }
}

.pain-stack {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  /* All quotes occupy the same grid cell, only the active one is visible */
  grid-template-areas: "quote";
  align-items: center;
  justify-items: center;
}
.pain-quote {
  grid-area: quote;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  text-align: left;
  opacity: 0;
  transform: translateX(70px) scale(0.96);
  transition:
    opacity 0.6s cubic-bezier(0.32, 0.72, 0.24, 1),
    transform 0.7s cubic-bezier(0.32, 0.72, 0.24, 1);
  pointer-events: none;
}
.pain-quote.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.pain-quote.is-leaving {
  opacity: 0;
  transform: translateX(-70px) scale(0.96);
}

.pain-icon {
  flex-shrink: 0;
  width: 44px;
  aspect-ratio: 84 / 60;
  margin-top: 6px;
  filter: drop-shadow(0 0 18px rgba(217,2,199,0.35));
}
.pain-icon svg { width: 100%; height: 100%; display: block; }

.pain-text {
  flex: 0 1 auto;
  max-width: 32ch;
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  text-wrap: balance;
}
.pain-text b {
  font-weight: 700;
  font-style: italic;
  color: #fff;
  background: linear-gradient(135deg, rgba(129,36,217,0.55) 0%, rgba(217,2,199,0.55) 50%, rgba(217,2,199,0.55) 100%);
  padding: 0 0.18em;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.pain-dots {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.pain-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transition: all 0.5s cubic-bezier(0.32, 0.72, 0.24, 1);
}
.pain-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(0deg, #8124D9 0%, #D902C7 100%);
  box-shadow: 0 0 12px rgba(217,2,199,0.6);
}

/* ============ PAIN GRID (legacy) ============ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pain-card {
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 180ms var(--ease-out);
}
.pain-card:hover { border-color: var(--border-strong); }
.pain-card .num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-4);
  letter-spacing: 0.1em;
}
.pain-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(239,68,68,0.12);
  color: var(--accent-red);
  margin-bottom: 18px;
}
.pain-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fg-1);
  margin: 0;
  text-wrap: pretty;
}

/* ============ SOLUTION / FEATURE CARDS (10) — wide, alternating image side ============ */
.fcards {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.3vw, 30px);
}

.fcard {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 3vw, 40px);
  padding: clamp(30px, 3.6vw, 42px);
  align-items: stretch;
  transition:
    border-color 180ms var(--ease-out),
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
  position: relative;
  overflow: hidden;
}
.fcard:hover {
  border-color: var(--border-strong);
  transform: translateY(var(--card-lift));
  box-shadow: var(--interactive-shadow), var(--shadow-card-hover);
}

/* Even cards: visual on the left */
.fcard--flip .fcard-text   { order: 2; }
.fcard--flip .fcard-visual { order: 1; }

.fcard-text {
  display: flex;
  flex-direction: column;
}

/* Number badge */
.fcard-num {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.fcard-num .bracket { color: var(--fg-4); }
.fcard-num .digit { color: var(--brand-magenta); font-weight: 600; }

/* Title */
.fcard h3 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--fg-1);
  margin: 0 0 16px;
  text-wrap: balance;
}

/* Body copy */
.fcard .copy {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-2);
  text-wrap: pretty;
  flex: 1;
}
.fcard .copy code {
  font-family: var(--font-sans);
  font-style: normal;
  background: var(--violet-soft);
  color: var(--brand-violet-2);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: inherit;
}

/* Tags */
.fcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.fcard-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(209, 132, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(165, 87, 255, 0.22) 0%, rgba(66, 30, 106, 0.2) 100%),
    rgba(10, 14, 28, 0.78);
  color: rgba(245, 236, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(167, 96, 255, 0.16),
    0 10px 24px rgba(129, 36, 217, 0.22);
  transition:
    transform 180ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    border-color 180ms var(--ease-out),
    filter 180ms var(--ease-out);
}
.fcard-tag:hover {
  transform: translateY(-1px);
  border-color: rgba(221, 164, 255, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(188, 120, 255, 0.3),
    0 0 28px rgba(188, 120, 255, 0.34),
    0 12px 30px rgba(129, 36, 217, 0.28);
  filter: saturate(1.08);
}
.fcard:hover .fcard-tag {
  border-color: rgba(218, 150, 255, 0.62);
}

/* Visual side — fixed landscape aspect on all breakpoints; iframe inside is
   scaled to fit (see .feature-visual-wrap). */
.fcard-visual {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-surface-2);
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  align-self: stretch;
}

/* Embedded HTML visual — loaded via iframe so its own styles/scripts stay
   isolated. Each visual is authored at a fixed landscape design size
   (640×480 in Solution.jsx) and scaled to fit the container via JS, so
   internal text and mock UIs keep their intended proportions on mobile. */
.feature-visual-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.feature-visual-frame {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  /* width/height/transform set inline by VisualSlot */
  border: 0;
  background: transparent;
  transform-origin: 50% 50%;
}
.feature-visual-idle {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 28, 0.92);
}
.feature-visual-idle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder slot — geometric, intentional, "to be filled" */
.solution-visual-slot {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 70% 30%, rgba(129,36,217,0.18), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(217,2,199,0.12), transparent 55%),
    var(--bg-surface-2);
}
.slot-frame {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 28px;
}
.slot-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-4);
}
.slot-title {
  font-family: var(--font-headline);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.025em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.slot-sub {
  font-size: 13px;
  color: var(--fg-3);
  max-width: 32ch;
  margin-top: 4px;
}
.slot-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 1px;
  z-index: 1;
  opacity: 0.35;
}
.slot-grid span {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
}

/* MessagingMock visuals */
.visual-messaging {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}
.visual-messaging .vm-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.vm-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--brand-gradient);
  flex-shrink: 0;
}
.vm-name { font-size: 13px; color: var(--fg-1); font-weight: 600; }
.vm-role { font-size: 11px; color: var(--fg-3); margin-top: 2px; }
.vm-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
}
.vm-label--teal    { color: var(--accent-teal); }
.vm-label--magenta { color: var(--brand-magenta); }
.vm-block {
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.55;
  padding: 12px;
  background: var(--bg-input);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.vm-block--accent {
  color: var(--fg-1);
  background: rgba(129,36,217,0.08);
  border-color: rgba(129,36,217,0.25);
}

/* ============ FEATURE WALK (11 numbered) ============ */
.fwalk {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 2.4vw, 30px);
}
.fwalk-item {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.fwalk-item:nth-child(even) {
  grid-template-columns: 1.1fr 1fr;
}
.fwalk-item:nth-child(even) .fwalk-text { order: 2; }
.fwalk-item:nth-child(even) .fwalk-visual { order: 1; }
.fwalk-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.fwalk-num .bracket { color: var(--fg-4); }
.fwalk-num .digit { color: var(--brand-magenta); font-weight: 600; }
.fwalk-item h3 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--fg-1);
  margin: 0 0 18px;
  text-wrap: balance;
}
.fwalk-item .copy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  text-wrap: pretty;
}
.fwalk-item .copy code {
  font-family: var(--font-sans);
  font-style: normal;
  background: var(--violet-soft);
  color: var(--brand-violet-2);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 14px;
}
.fwalk-tags {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.fwalk-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(209, 132, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(165, 87, 255, 0.22) 0%, rgba(66, 30, 106, 0.2) 100%),
    rgba(10, 14, 28, 0.78);
  color: rgba(245, 236, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(167, 96, 255, 0.16),
    0 10px 24px rgba(129, 36, 217, 0.22);
  transition:
    transform 180ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    border-color 180ms var(--ease-out),
    filter 180ms var(--ease-out);
}
.fwalk-tag:hover {
  transform: translateY(-1px);
  border-color: rgba(221, 164, 255, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(188, 120, 255, 0.3),
    0 0 28px rgba(188, 120, 255, 0.34),
    0 12px 30px rgba(129, 36, 217, 0.28);
  filter: saturate(1.08);
}
.fwalk-item:hover .fwalk-tag {
  border-color: rgba(218, 150, 255, 0.62);
}
.fwalk-visual {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: var(--bg-surface-2);
  position: relative;
}
.fwalk-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ EXAMPLES MARQUEE ============ */
.examples-track-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 -32px;
  padding: 0 32px;
}
.examples-track-wrap::before,
.examples-track-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.examples-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-page), transparent);
}
.examples-track-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-page), transparent);
}
.examples-track {
  display: flex;
  gap: 48px;
  animation: scroll 72s linear infinite;
  width: max-content;
}
.examples-track.is-paused {
  animation-play-state: paused;
}
.example-card {
  flex-shrink: 0;
  height: 380px;
  width: auto;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  display: flex;
}
.example-card img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  /* Image bg is dark — `screen` lifts only the colourful pixels over the page bg,
     so the dark frame around each post fades into the section seamlessly. */
  mix-blend-mode: screen;
}

/* ============ WHY / REALITY GRID ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
}
.why-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(26px, 2.8vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition:
    border-color 180ms var(--ease-out),
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}
.why-card:hover {
  border-color: var(--border-strong);
  transform: translateY(var(--card-lift-soft));
  box-shadow: var(--interactive-shadow), var(--shadow-card-hover);
}
.why-card .visual {
  aspect-ratio: 16/10;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-surface-2);
  overflow: hidden;
}
.why-visual-embed {
  width: 100%;
  height: 100%;
}
.why-visual-idle {
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 28, 0.92);
}
.why-visual-idle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.why-card .visual img { width: 100%; height: 100%; object-fit: cover; }
.why-card .visual .why-visual-idle img { object-fit: contain; }
.why-card .eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-magenta);
}
.why-card h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0;
  text-wrap: balance;
}

/* ============ STACK (5 layers) ============ */
.stack-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
.stack-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-surface);
  padding: clamp(20px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    transform 240ms var(--ease-out),
    border-color 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out);
}
.stack-card:hover {
  border-color: var(--border-strong);
  transform: translateY(var(--card-lift-soft));
  box-shadow: var(--interactive-shadow);
}
.stack-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-4);
  letter-spacing: 0.1em;
}
.stack-card .glyph {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 14px;
  position: relative;
}
.stack-card h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-1);
  margin: 0;
}

/* ============ TESTIMONIALS ============ */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.test-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(26px, 2.7vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.test-card .quote {
  font-size: 17px;
  line-height: 1.5;
  color: var(--fg-1);
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: pretty;
}
.test-card .author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.test-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-surface-2);
  flex-shrink: 0;
}
.test-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.test-card .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-1);
  line-height: 1.3;
}
.test-card .role {
  font-size: 12px;
  color: var(--fg-3);
}

/* ============ PRICING ============ */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: clamp(34px, 4vw, 54px);
}
.pricing-toggle button {
  padding: 9px 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--fg-3);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 180ms var(--ease-out);
}
.pricing-toggle button.active {
  background:
    linear-gradient(180deg, rgba(160, 82, 255, 0.28) 0%, rgba(66, 30, 106, 0.3) 100%),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 22px rgba(129, 36, 217, 0.28);
  color: var(--fg-1);
}
.pricing-toggle .save {
  font-size: 11px;
  color: var(--brand-magenta);
  margin-left: 4px;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}
.pricing-grid--two {
  grid-template-columns: repeat(2, minmax(0, 480px));
  justify-content: center;
}
.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(28px, 3vw, 38px) clamp(24px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition:
    border-color 180ms var(--ease-out),
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}
.price-card:hover {
  border-color: var(--border-strong);
  transform: translateY(var(--card-lift-soft));
  box-shadow: var(--interactive-shadow), var(--shadow-card-hover);
}
.price-card.featured {
  border-color: rgba(129,36,217,0.5);
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(129,36,217,0.12), transparent 70%),
    var(--bg-surface);
  box-shadow: 0 0 40px -10px rgba(129,36,217,0.4);
}
.price-card .badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--cta-gradient);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-card .tier {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-1);
}
.price-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-card .price {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg-1);
  line-height: 1;
}
.price-card .price-suffix {
  font-size: 14px;
  color: var(--fg-3);
}
.price-card .price-tag {
  font-size: 13px;
  color: var(--fg-3);
}
.price-card .price-yearly-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--fg-2);
  font-weight: 500;
}
.price-card .features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.price-card .features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.5;
}
.price-card .features svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-violet-2);
}

/* ============ TEAM ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.team-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  position: relative;
  aspect-ratio: 1/1;
  transition:
    border-color 180ms var(--ease-out),
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}
.team-card:nth-child(odd) {
  background:
    radial-gradient(110% 70% at 50% 100%, rgba(129, 36, 217, 0.10), transparent 65%),
    var(--bg-surface);
}
.team-card:nth-child(even) {
  background:
    radial-gradient(110% 70% at 50% 100%, rgba(217, 2, 199, 0.08), transparent 65%),
    var(--bg-surface);
}
.team-card:hover {
  border-color: var(--border-strong);
  transform: translateY(var(--card-lift-soft));
  box-shadow: var(--interactive-shadow), var(--shadow-card-hover);
}
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms var(--ease-out);
}
.team-card:hover img {
  transform: scale(1.035);
}
.team-card .info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(5,6,10,0.95) 0%, rgba(5,6,10,0.7) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(1px);
}
.team-card .info .role {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f3b4ff;
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(217, 2, 199, 0.28);
  background: rgba(217, 2, 199, 0.10);
}
.team-card .info .name {
  font-size: 23px;
  font-weight: 750;
  color: var(--fg-1);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

/* ============ FAQ ============ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  background: var(--bg-surface);
  border-radius: 16px;
  overflow: hidden;
  transition:
    border-color 180ms var(--ease-out),
    background-color 180ms var(--ease-out);
}
.faq-item:hover {
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.015);
}
.faq-item.open { border-color: var(--border-strong); }
.faq-q {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--fg-1);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.faq-q .chev {
  transition: transform 240ms var(--ease-out);
  color: var(--fg-3);
  flex-shrink: 0;
}
.faq-item.open .chev { transform: rotate(180deg); color: var(--brand-magenta); }
.faq-a {
  padding: 0 28px 22px;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ============ CONTACT / FINAL CTA ============ */
.contact {
  position: relative;
  border-top: 1px solid var(--border);
  padding: var(--section-space-y) 0;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 50% 50%, rgba(217,2,199,0.18), transparent 60%),
    radial-gradient(40% 50% at 30% 70%, rgba(129,36,217,0.16), transparent 60%);
  z-index: -1;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact--demo-page {
  min-height: calc(100vh - 82px);
  padding: 44px 0 28px;
  display: flex;
  align-items: center;
}
.contact--demo-page .contact-grid {
  align-items: center;
}
.contact--demo-page .contact-cta-wrap {
  text-align: left;
  align-items: flex-start;
  max-width: 620px;
}
.contact--demo-page .contact-bullets {
  margin: 14px 0 0;
  padding: 16px 16px 4px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.contact--demo-page .form-card {
  padding: 24px;
}
.contact--demo-page .form-row {
  gap: 11px;
}
/* Demo-Seite soll ohne Scrollen auf eine Höhe passen — vertikales Spacing
   der Card straffen (nur hier, nicht im Landing-Kontaktformular). */
.contact--demo-page .demo-flow-steps {
  margin-bottom: 10px;
}
.contact--demo-page .demo-flow-progress {
  margin-bottom: 12px;
}
.contact--demo-page .contact-form-head h3 {
  font-size: 26px;
  margin-bottom: 6px;
}
.contact--demo-page .form-field label {
  margin-bottom: 5px;
}
.contact--demo-page .form-field input {
  padding: 10px 14px;
}
.contact--demo-page .contact-cta-wrap .section-sub {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.demo-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.demo-proof-pill {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #d9d5ff;
  border: 1px solid rgba(174, 131, 255, 0.35);
  background: rgba(140, 72, 245, 0.14);
  border-radius: 999px;
  padding: 7px 12px;
  transition:
    transform 160ms var(--ease-out),
    border-color 160ms var(--ease-out),
    background-color 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out);
}
.demo-proof-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(206, 60, 255, 0.72);
  background: rgba(140, 72, 245, 0.22);
  box-shadow: 0 10px 24px -14px rgba(206, 60, 255, 0.65);
}
.demo-benefit-head {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.demo-benefit-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.demo-benefit-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  color: var(--fg-2);
}
.demo-benefit-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--brand-violet-2);
}
.demo-benefit-list strong,
.demo-benefit-list span span {
  display: block;
}
.demo-benefit-list strong {
  color: var(--fg-1);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.demo-benefit-list span span {
  margin-top: 6px;
  color: var(--fg-3);
  font-size: 14px;
  line-height: 1.55;
}
.contact-cta-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-cta-wrap h2 { margin-bottom: 16px; }
.contact-cta-wrap .section-sub {
  max-width: 640px;
  margin: 0 auto;
}
.contact-bullets {
  list-style: none;
  padding: 0;
  margin: 34px 0 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
}
.contact-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-2);
  font-size: 15px;
}
.contact-bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(129,36,217, 0.15);
  display: grid;
  place-items: center;
  color: var(--brand-violet-2);
  flex-shrink: 0;
}
.contact-cta-btn {
  padding: 16px 40px;
  font-size: 16px;
}
.contact h2 { margin-bottom: 20px; }
.contact .form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--interactive-shadow);
}
#demo-call-form {
  scroll-margin-top: 100px;
}
.form-row { display: flex; flex-direction: column; gap: 18px; }
.form-row-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-form-head h3 {
  font-family: var(--font-headline);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 0 10px;
}
.contact-form-head p {
  margin: 0;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.55;
}
.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  transition: border-color 180ms var(--ease-out);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(129, 36, 217, 0.16);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-error {
  margin: 8px 2px 0;
  color: #ffb4d9;
  font-size: 12px;
  line-height: 1.4;
}
.form-meta {
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.5;
}
.form-meta a { color: var(--brand-violet-2); }
.form-row button[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
}
.demo-flow-progress {
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}
.demo-flow-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-violet-1), var(--brand-magenta));
  transition: width 260ms var(--ease-out);
}
.demo-flow-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.demo-step-tab {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
  border-radius: 12px;
  color: var(--fg-3);
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.demo-step-tab[aria-disabled='true'] {
  opacity: 0.7;
  cursor: default;
}
.demo-step-tab-index {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 12px;
}
.demo-step-tab.is-active {
  color: #f7ecff;
  border-color: rgba(206, 60, 255, 0.75);
  background: rgba(181, 60, 255, 0.16);
}
.demo-step-tab.is-active .demo-step-tab-index {
  border-color: rgba(206, 60, 255, 0.8);
  background: rgba(206, 60, 255, 0.24);
}
.demo-step-tab.is-done {
  color: #d9c7ff;
  border-color: rgba(131, 84, 225, 0.65);
}
.demo-step-tab.is-done .demo-step-tab-index {
  border-color: rgba(131, 84, 225, 0.75);
  background: rgba(131, 84, 225, 0.22);
}
.demo-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.goal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.goal-card {
  border: 1px solid var(--border);
  background: var(--bg-input);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: left;
  color: var(--fg-1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition:
    border-color 160ms var(--ease-out),
    background-color 160ms var(--ease-out),
    transform 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out);
}
.goal-card:hover {
  border-color: var(--border-focus);
  background: rgba(129, 36, 217, 0.12);
  transform: translateY(-1px);
}
.goal-card.is-active {
  border-color: rgba(206, 60, 255, 0.9);
  background: linear-gradient(180deg, rgba(129, 36, 217, 0.24), rgba(129, 36, 217, 0.1));
  box-shadow: 0 0 0 1px rgba(206, 60, 255, 0.25) inset;
}
.goal-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(178, 76, 255, 0.2);
  display: grid;
  place-items: center;
  color: #d8b1ff;
}
.goal-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.goal-sub {
  font-size: 13px;
  line-height: 1.4;
  color: var(--fg-3);
}
.goal-pill-row {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
}
.goal-pill-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 4px;
}
.goal-pill-values {
  font-size: 14px;
  color: var(--fg-1);
}
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--fg-2);
  font-size: 13px;
  line-height: 1.45;
}
.consent-row input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
}
.form-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.form-success h3 {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg-1);
}
.form-success p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
}
.form-success-icon {
  width: 28px;
  height: 28px;
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: clamp(56px, 6vw, 78px) 0 32px;
  background: var(--bg-nav);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 18px;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-list a {
  color: var(--fg-2);
  text-decoration: none;
  font-size: 14px;
  transition: color 180ms var(--ease-out);
}
.footer-list a:hover { color: var(--fg-1); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--fg-3);
  font-size: 12px;
}
.footer-bottom .links {
  display: flex;
  gap: 20px;
}
.footer-bottom a { color: var(--fg-3); text-decoration: none; }
.footer-bottom a:hover { color: var(--fg-1); }

/* ============ ACCESSIBILITY ============ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand-magenta);
  outline-offset: 2px;
}

.logo-lockup:focus-visible,
.am-btn-primary:focus-visible,
.btn-ghost:focus-visible,
.faq-q:focus-visible,
.hamburger:focus-visible {
  border-radius: 12px;
}

/* ============ HAMBURGER + MOBILE DRAWER ============ */
.hamburger {
  display: none; /* shown via media query on tablet/mobile */
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 180ms var(--ease-out), border-color 180ms var(--ease-out);
  flex-shrink: 0;
}
.hamburger:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg-1);
  border-radius: 2px;
  transition: transform 220ms var(--ease-out), opacity 180ms var(--ease-out);
}
.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-page, #05060a);
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 96px 28px 32px;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
  overflow-y: auto;
}
.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav a {
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 500;
  color: var(--fg-1);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.mobile-nav a:hover { color: var(--brand-violet-2); }
.mobile-nav a.is-active {
  color: #e6dcff;
  background: rgba(129, 36, 217, 0.14);
}
.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.mobile-cta .am-btn-primary,
.mobile-cta .btn-ghost {
  width: 100%;
  justify-content: center;
  padding: 14px 22px;
  font-size: 14px;
}

/* Header CTA buttons baseline (desktop) */
.header-login { padding: 8px 14px; font-size: 13px; }
.header-demo  { font-size: 13px; }

/* ============================================================================
   ONEPAGE TEXT-ALIGN DEFENSE
   ----------------------------------------------------------------------------
   When this HTML is pasted into a OnePage.io HTML container, OnePage's own
   stylesheet often applies `text-align: center` to a high-level wrapper. To
   prevent our left-aligned content from being centered against our will, we
   force a `text-align: left` baseline on every block element inside our root
   shell, then opt-in to `text-align: center` on the elements that should be.
   ============================================================================ */
.page,
.page * {
  text-align: inherit;
}
.page {
  text-align: left;
}
/* Explicit centering — these are the only places that should be centered */
.page .hero,
.page .hero h1,
.page .hero-eyebrow,
.page .hero-sub,
.page .hero-cta-row,
.page .section-header:not(.left),
.page .section-header:not(.left) h2,
.page .section-header:not(.left) .section-eyebrow,
.page .section-header:not(.left) .section-sub,
.page .contact-cta-wrap,
.page .contact-cta-wrap h2,
.page .contact-cta-wrap .section-sub,
.page .contact-cta-wrap .section-eyebrow,
.page .pricing-toggle,
.page .pricing-toggle button,
.page .pain-dots,
.page .pain-dot,
.page .am-btn-primary,
.page .btn-ghost,
.page .btn-cta-lg,
.page .price-card .badge,
.page .form-meta,
.page .footer-bottom,
.page .marquee-item,
.page .slot-frame,
.page .slot-meta,
.page .slot-title,
.page .slot-sub {
  text-align: center;
}
.page .contact--demo-page .contact-cta-wrap,
.page .contact--demo-page .contact-cta-wrap h2,
.page .contact--demo-page .contact-cta-wrap .section-sub,
.page .contact--demo-page .contact-cta-wrap .section-eyebrow {
  text-align: left;
}
/* Marquee items need their own row alignment, but icon row inside is flex */
.page .marquee-track { text-align: left; }

/* ============================================================================
   RESPONSIVE — Tablet (≤1024px) and Mobile (≤640px)
   ============================================================================ */

/* ---- TABLET ≤1024px ---- */
@media (max-width: 1024px) {
  .shell { padding: 0 24px; }
  .section { padding: var(--section-space-y-compact) 0; }
  .page { padding-top: 64px; }

  /* Header — hide nav links, keep logo + CTA, show hamburger */
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 64px; }

  /* Hero — slightly tighter */
  .hero { padding: 82px 0 58px; }
  .hero-product { margin-top: 50px; }

  /* Feature cards stack — visual + text in column */
  .fcard {
    grid-template-columns: 1fr !important;
    padding: 28px;
    gap: 24px;
  }
  /* Mobile order: number+headline → visual → body → tags */
  .fcard--flip .fcard-text   { order: 2; }
  .fcard--flip .fcard-visual { order: 1; }
  /* Visual keeps its 4/3 landscape aspect from the base rule —
     no min-height override needed, iframe is scaled to fit. */

  .fwalk-item {
    grid-template-columns: 1fr !important;
    padding: 32px;
    gap: 32px;
  }
  .fwalk-item:nth-child(even) .fwalk-text { order: 1; }
  .fwalk-item:nth-child(even) .fwalk-visual { order: 2; }

  /* Pricing — keep 2 cols if 2 plans, else 1 col */
  .pricing-grid:not(.pricing-grid--two) {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .pricing-grid--two {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Team / Why / Stack — 2 cols */
  .why-grid, .team-grid, .test-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-rail { grid-template-columns: repeat(2, 1fr); }

  /* Contact — stack */
  .contact { padding: var(--section-space-y-compact) 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact--demo-page {
    min-height: auto;
    display: block;
    padding: 64px 0;
  }
  .contact--demo-page .contact-cta-wrap {
    max-width: 100%;
  }
  .demo-proof-row {
    margin-top: 16px;
  }

  /* Footer — 2 cols */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---- MOBILE ≤640px ---- */
@media (max-width: 640px) {
  .shell { padding: 0 18px; }
  .section { padding: 62px 0; }
  .page { padding-top: 60px; }

  /* Header — hide login + demo button on mobile, only logo + hamburger */
  .header-login,
  .header-demo { display: none; }
  .header-inner { height: 60px; }
  .logo-lockup img { height: 36px; }

  /* HERO */
  .hero { padding: 56px 0 42px; }
  .hero-eyebrow {
    padding: 9px 16px;
    font-size: 11px;
    margin-bottom: 22px;
    letter-spacing: 0.14em;
  }
  .hero h1 {
    font-size: clamp(32px, 9vw, 44px);
    margin-bottom: 18px;
  }
  .hero h1 .tag {
    font-size: 11px;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
  }
  .hero-sub {
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.62;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-cta-row .am-btn-primary,
  .hero-cta-row .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .hero-cta-row .btn-ghost {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.03);
    color: #f3f5fb;
  }
  .hero-cta-row .btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.07);
  }
  .hero-product { margin-top: 36px; }

  /* SECTION HEADERS */
  .section-header { margin-bottom: 36px; max-width: 100%; }
  .section h2 {
    font-size: clamp(26px, 7.5vw, 36px);
  }
  .contact h2 {
    font-size: clamp(26px, 7.5vw, 36px);
  }
  .section-sub { font-size: 15px; }

  /* PAIN CAROUSEL — compact */
  .pain-carousel {
    padding: 30px 22px;
    border-radius: 18px;
    max-width: 100%;
  }
  .pain-text {
    font-size: 18px;
    max-width: 100%;
    line-height: 1.35;
  }
  .pain-icon {
    width: 28px;
  }
  .pain-quote {
    gap: 14px;
  }
  .pain-dots { margin-top: 16px; }
  .pain-dot { width: 8px; height: 8px; }
  .pain-dot.is-active { width: 22px; }

  /* SOLUTION FEATURE CARDS — explicit mobile order
     Number+badge → headline → visual → body → tags */
  .fcard {
    padding: 22px;
    gap: 18px;
    border-radius: 16px;
  }
  .fcard-text {
    display: contents; /* let the children flow into the card grid directly */
  }
  .fcard {
    grid-template-columns: 1fr !important;
    grid-auto-flow: row;
  }
  .fcard .fcard-num    { order: 1; margin-bottom: 0; }
  .fcard h3            { order: 2; font-size: 24px; margin: 0; }
  .fcard .fcard-visual { order: 3; margin-top: 6px; }
  .fcard .copy         { order: 4; font-size: 14px; }
  .fcard .fcard-tags   { order: 5; margin-top: 4px; }
  .fcard--flip .fcard-text,
  .fcard--flip .fcard-visual { order: unset; }
  .fcard--flip .fcard-num    { order: 1; }
  .fcard--flip h3            { order: 2; }
  .fcard--flip .fcard-visual { order: 3; }
  .fcard--flip .copy         { order: 4; }
  .fcard--flip .fcard-tags   { order: 5; }

  /* WHY / STACK / TEAM / TESTIMONIALS — single column */
  .why-grid, .team-grid, .test-grid, .stack-rail {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* PRICING */
  .price-card { padding: 28px 22px; }
  .price-card .price { font-size: 40px; }
  .pricing-toggle { font-size: 12px; }

  /* FAQ */
  .faq-item { padding: 18px; }
  .faq-q { font-size: 15px; }

  /* CONTACT FORM */
  .contact { padding: 64px 0; }
  .contact .form-card { padding: 24px; border-radius: 18px; }
  .contact-form-head h3 { font-size: 25px; }
  .form-row-inline,
  .goal-grid,
  .form-actions-row,
  .demo-flow-steps {
    grid-template-columns: 1fr;
  }
  .goal-card { min-height: 0; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center !important;
  }
  .footer-bottom .links { flex-wrap: wrap; justify-content: center; }

  /* MARQUEE — slower / thinner on mobile */
  .marquee { padding: 12px 0; }
  .marquee-item { font-size: 12px; }
  .marquee-track {
    gap: 32px;
    animation-duration: 92s;
  }
  .examples-track { animation-duration: 94s; }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  .fcard,
  .fwalk-item,
  .why-card,
  .team-card,
  .stack-card,
  .price-card,
  .btn-ghost,
  .nav a {
    transition: none !important;
  }
  .marquee-track,
  .examples-track,
  .hero-eyebrow,
  .hero-eyebrow .dot,
  .pain-glow--1 {
    animation: none !important;
  }
}

/* ---- VERY SMALL ≤380px ---- */
@media (max-width: 380px) {
  .shell { padding: 0 14px; }
  .hero h1 { font-size: 30px; }
  .section h2 { font-size: 24px; }
  .pain-text { font-size: 17px; }
}

/* ---- LARGE DESKTOP ≥1920px ---- */
@media (min-width: 1920px) {
  .shell {
    max-width: 1360px;
    padding: 0 40px;
  }

  .section {
    padding: clamp(98px, 7.2vh, 150px) 0;
  }

  .hero {
    padding: clamp(102px, 8.4vh, 156px) 0 clamp(82px, 6.4vh, 118px);
  }

  .hero h1 {
    max-width: 1080px;
    font-size: clamp(54px, 4.6vw, 98px);
  }

  .hero-sub {
    max-width: 800px;
    font-size: 19px;
    line-height: 1.65;
  }

  .section-header {
    max-width: 980px;
  }

  .fcards,
  .fwalk {
    gap: 32px;
  }

  .why-grid,
  .team-grid,
  .pricing-grid,
  .test-grid {
    gap: 28px;
  }
}

/* ---- XL DESKTOP ≥2560px ---- */
@media (min-width: 2560px) {
  .shell {
    max-width: 1480px;
    padding: 0 52px;
  }

  .section {
    padding: clamp(108px, 7.8vh, 172px) 0;
  }

  .hero {
    padding: clamp(112px, 9.2vh, 176px) 0 clamp(88px, 6.8vh, 128px);
  }

  .section-header {
    max-width: 1040px;
  }
}
