/* =====================================================================
   TOOL STREET, Landing Page Styles
   Design language: Apple 2026, Liquid Glass, Bricolage display
   ===================================================================== */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --primary: #6366f1;
  --primary-soft: rgba(99, 102, 241, 0.1);
  --primary-glow: rgba(99, 102, 241, 0.18);
  --accent: #8b5cf6;
  --accent-soft: rgba(139, 92, 246, 0.1);
  --gold: #f59e0b;
  --gold-soft: rgba(245, 158, 11, 0.1);
  --green: #10b981;
  --rose: #f43f5e;

  /* Surfaces, warm stone */
  --bg: #fafaf9;
  --bg-tint: #f5f5f4;
  --bg-deep: #f0efed;
  --card: #ffffff;
  --card-soft: #fcfcfb;

  /* Text */
  --text: #0a0a0a;
  --text-2: #44403c;
  --text-3: #78716c;
  --text-4: #a8a29e;

  /* Lines */
  --line: rgba(28, 25, 23, 0.08);
  --line-2: rgba(28, 25, 23, 0.12);
  --line-strong: rgba(28, 25, 23, 0.16);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-sm: 0 4px 14px rgba(28, 25, 23, 0.06);
  --shadow-md:
    0 12px 32px rgba(28, 25, 23, 0.08), 0 2px 6px rgba(28, 25, 23, 0.04);
  --shadow-lg:
    0 28px 64px rgba(28, 25, 23, 0.1), 0 4px 12px rgba(28, 25, 23, 0.05);
  --shadow-xl:
    0 40px 100px rgba(28, 25, 23, 0.12), 0 8px 24px rgba(28, 25, 23, 0.06);
  --shadow-glow: 0 12px 40px var(--primary-glow);

  /* Type */
  --font-display:
    "Bricolage Grotesque", "Inter", -apple-system, BlinkMacSystemFont,
    sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Motion */
  --ease-out-quart: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --container: 1200px;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
}

/* ---------- Body ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(
      ellipse 80% 60% at 50% 0%,
      rgba(99, 102, 241, 0.06) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 40% at 100% 30%,
      rgba(139, 92, 246, 0.04) 0%,
      transparent 60%
    );
  background-attachment: fixed;
}

::selection {
  background: rgba(99, 102, 241, 0.22);
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =====================================================================
   NAV
   ===================================================================== */
.nav-shell {
  position: sticky;
  top: 1rem;
  z-index: 100;
  padding: 0 1rem;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.55rem 0.55rem 0.55rem 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    box-shadow 0.4s var(--ease-out-quart),
    background 0.4s var(--ease-out-quart);
}
.nav-shell.scrolled .nav {
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
  line-height: 1;
}
.brand-stack {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}
.brand-word {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.05;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  padding: 0 5px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 4px 14px var(--primary-glow);
}
.brand-mark-dot {
  width: 4px;
  height: 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 2px;
  display: block;
}
.brand-mark-dot:nth-child(1) {
  height: 14px;
}
.brand-mark-dot:nth-child(2) {
  height: 10px;
  opacity: 0.85;
}
.brand-mark-dot:nth-child(3) {
  height: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 auto;
}
.nav-links a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-pill);
  transition:
    background 0.25s var(--ease-out-quart),
    color 0.25s var(--ease-out-quart);
}
.nav-links a:hover {
  background: var(--primary-soft);
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: var(--card);
  border: 0.5px solid var(--line);
}
.nav-burger span {
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out-quart);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(250, 250, 249, 0.98);
  backdrop-filter: blur(24px);
  flex-direction: column;
  gap: 1rem;
  padding: 6rem 2rem 2rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}
.mobile-menu[hidden] {
  display: none !important;
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--radius-pill);
  transition:
    transform 0.25s var(--ease-out-quart),
    background 0.3s var(--ease-out-quart),
    box-shadow 0.3s var(--ease-out-quart),
    color 0.25s var(--ease-out-quart);
  white-space: nowrap;
}
.btn-lg {
  padding: 0.85rem 1.45rem;
  font-size: 0.95rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow:
    0 8px 24px var(--primary-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow:
    0 16px 40px var(--primary-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 80ms;
}
.btn-primary svg {
  transition: transform 0.3s var(--ease-out-quart);
}
.btn-primary:hover svg {
  transform: translateX(2px);
}

.btn-ghost {
  background: var(--card);
  color: var(--text);
  border: 0.5px solid var(--line);
}
.btn-ghost:hover {
  background: var(--card-soft);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: aurora 22s var(--ease-in-out) infinite alternate;
}
.hero-aurora-a {
  width: 720px;
  height: 720px;
  top: -200px;
  left: -120px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 60%);
}
.hero-aurora-b {
  width: 600px;
  height: 600px;
  top: 100px;
  right: -120px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  animation-delay: -8s;
}
.hero-aurora-c {
  width: 540px;
  height: 540px;
  bottom: -160px;
  left: 30%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 60%);
  opacity: 0.25;
  animation-delay: -14s;
}
@keyframes aurora {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.08);
  }
  100% {
    transform: translate(-30px, 20px) scale(0.94);
  }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(28, 25, 23, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 25, 23, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 70% 50% at 50% 40%,
    black 30%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 70% 50% at 50% 40%,
    black 30%,
    transparent 70%
  );
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.01em;
  margin-bottom: 1.75rem;
}
.eyebrow-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: pulse 2.4s var(--ease-out-quart) infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  60% {
    box-shadow: 0 0 0 9px rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw + 1rem, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .grad {
  font-style: normal;
  background: linear-gradient(
    110deg,
    var(--primary) 0%,
    var(--accent) 60%,
    var(--gold) 110%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradShift 8s var(--ease-in-out) infinite alternate;
}
@keyframes gradShift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 2rem;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-3);
}
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.15rem;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  perspective: 1400px;
}
.device-frame {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfb 100%);
  border-radius: 22px;
  border: 0.5px solid var(--line);
  box-shadow:
    var(--shadow-xl),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(4deg) translateZ(0);
  transform-origin: center center;
  transition: transform 0.6s var(--ease-out-quart);
}
.hero-visual:hover .device-frame {
  transform: rotateY(-3deg) rotateX(2deg);
}

.device-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: var(--bg-tint);
  border-bottom: 0.5px solid var(--line);
}
.device-toolbar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-r {
  background: #f87171;
}
.dot-y {
  background: #fbbf24;
}
.dot-g {
  background: #4ade80;
}
.device-url {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
  background: var(--card);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 0.5px solid var(--line);
}
.device-body {
  position: relative;
  padding: 1.25rem 1.25rem 1.5rem;
  min-height: 460px;
}
.card-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.kw-pill,
.asin-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  background: var(--primary-soft);
  border: 0.5px solid rgba(99, 102, 241, 0.2);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}
.asin-pill {
  background: var(--bg-tint);
  border-color: var(--line);
  color: var(--text-2);
}

/* DECISION CARD */
.decision-card {
  position: relative;
  padding: 1.1rem;
  background: var(--card);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.decision-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(99, 102, 241, 0.04) 100%
  );
}
.decision-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}
.decision-badge {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}
.decision-score {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.decision-score small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-3);
}

.decision-bars {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}
.bar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.bar span {
  display: block;
  height: 5px;
  width: var(--w);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  box-shadow: 0 1px 4px var(--primary-glow);
  position: relative;
  animation: barGrow 1.4s var(--ease-out-quart) both;
}
.bar.bar-warn span {
  background: linear-gradient(90deg, var(--gold), #fb923c);
  box-shadow: 0 1px 4px rgba(245, 158, 11, 0.25);
}
.bar label {
  font-size: 0.65rem;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.02em;
}
@keyframes barGrow {
  from {
    width: 0;
  }
  to {
    width: var(--w);
  }
}

.decision-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  padding-top: 0.7rem;
  border-top: 0.5px solid var(--line);
  font-size: 0.72rem;
  color: var(--text-2);
  font-weight: 500;
}

/* FLOATING CARDS */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  box-shadow: var(--shadow-lg);
  width: 220px;
  animation: floatY 6s var(--ease-in-out) infinite alternate;
}
.floating-chain {
  bottom: 1.5rem;
  left: -2rem;
  animation-delay: -2s;
  z-index: 5;
}
.floating-listing {
  top: 3rem;
  right: -2.25rem;
  width: 240px;
  animation-delay: -4s;
  z-index: 5;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.fc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.fc-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
}
.fc-status {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}
.fc-ok {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}
.fc-ai {
  background: var(--primary-soft);
  color: var(--primary);
}
.fc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  padding: 0.18rem 0;
}
.fc-row span {
  color: var(--text-3);
}
.fc-row strong {
  color: var(--text);
  font-weight: 600;
}
.fc-listing-title {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 0.45rem;
  font-weight: 500;
}
.fc-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.fc-keywords span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 0.12rem 0.45rem;
  background: var(--bg-tint);
  color: var(--text-2);
  border-radius: var(--radius-pill);
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border-radius: 13px;
  border: 1.5px solid var(--text-3);
  display: flex;
  justify-content: center;
  padding-top: 7px;
  opacity: 0.6;
  transition: opacity 0.3s var(--ease-out-quart);
}
.hero-scroll:hover {
  opacity: 1;
}
.hero-scroll span {
  width: 3px;
  height: 7px;
  background: var(--text-2);
  border-radius: 2px;
  animation: scrollDown 1.6s var(--ease-in-out) infinite;
}
@keyframes scrollDown {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.2;
  }
}

/* =====================================================================
   SECTION (shared)
   ===================================================================== */
.section {
  padding: 7rem 0;
  position: relative;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}
.section-head .kicker {
  justify-content: center;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
  text-wrap: balance;
  margin-bottom: 1rem;
}
.section-title .grad {
  font-style: normal;
  background: linear-gradient(110deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-lede {
  font-size: 1.075rem;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
  text-wrap: pretty;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

/* =====================================================================
   PROBLEM (compact strip)
   ===================================================================== */
.problem {
  padding: 4.5rem 0;
}
.pain-strip {
  background: var(--card);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2.25rem 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}
.pain-strip-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw + 0.6rem, 2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  text-wrap: balance;
}
.pain-strip-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}
.pain-strip-items > div {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.45;
}
.pain-strip-items strong {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  margin-right: 0.4rem;
  padding: 0.05rem 0.5rem;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  vertical-align: 0.05em;
}
@media (max-width: 768px) {
  .pain-strip {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    gap: 1.5rem;
  }
  .pain-strip-items {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
  }
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pain-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--card);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-out-quart),
    box-shadow 0.4s var(--ease-out-quart);
}
.pain-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line-strong),
    transparent
  );
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pain-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-4);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}
.pain-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.pain-card p {
  color: var(--text-2);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* =====================================================================
   BENTO
   ===================================================================== */
.bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.25rem;
  min-height: 540px;
}
.bento-card {
  position: relative;
  padding: 2rem 2rem 1.75rem;
  background: var(--card);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s var(--ease-out-quart),
    box-shadow 0.4s var(--ease-out-quart),
    border-color 0.3s var(--ease-out-quart);
  isolation: isolate;
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    ellipse 100% 70% at 100% 0%,
    var(--primary-soft) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-quart);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.25);
}
.bento-card:hover::before {
  opacity: 1;
}
.bento-card:hover .bento-arrow {
  transform: translateX(4px);
  color: var(--primary);
}

.bento-large {
  grid-row: span 2;
  padding: 2.5rem 2.5rem 2rem;
}
.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.bento-mark {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.bento-large .bento-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 2rem;
}
.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
}
.bento-large h3 {
  font-size: 2.2rem;
}
.bento-card p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.55;
  flex-grow: 1;
}
.bento-large p {
  font-size: 1.05rem;
}
.bento-preview {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem 1.15rem;
  background: linear-gradient(180deg, var(--card-soft) 0%, var(--bg) 100%);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.bento-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary) 50%,
    transparent 100%
  );
  opacity: 0.6;
}
.bp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}
.bp-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.bp-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.55rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}
.bp-score-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.85rem;
}
.bp-score {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bp-score small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-3);
  background: none;
  -webkit-text-fill-color: var(--text-3);
}
.bp-rings {
  display: flex;
  gap: 0.45rem;
}
.bp-rings span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) calc(var(--p) * 360deg),
    var(--bg-deep) 0deg
  );
  position: relative;
  display: inline-block;
}
.bp-rings span::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--card);
  border-radius: 50%;
}
.bp-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
}
.bp-bar {
  height: 52px;
  background: var(--bg-tint);
  border-radius: var(--radius-xs);
  position: relative;
  overflow: hidden;
}
.bp-bar span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--w);
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-xs);
  box-shadow: 0 -2px 8px var(--primary-glow);
}
.bp-bar-warn span {
  background: linear-gradient(180deg, var(--gold) 0%, #fb923c 100%);
  box-shadow: 0 -2px 8px rgba(245, 158, 11, 0.25);
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
}
.bento-tags span {
  padding: 0.3rem 0.7rem;
  background: var(--bg-tint);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-2);
}
.bento-arrow {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 1.4rem;
  color: var(--text-4);
  transition:
    transform 0.3s var(--ease-out-quart),
    color 0.3s var(--ease-out-quart);
}
.bento-large .bento-arrow {
  top: 2.5rem;
  right: 2.5rem;
}

/* =====================================================================
   DEEP DIVES
   ===================================================================== */
.deep {
  padding: 6rem 0;
}
.deep-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 5rem;
  align-items: center;
}
.deep-grid-flip > .deep-copy {
  order: 2;
}
.deep-copy {
  max-width: 540px;
}
.deep .section-title {
  margin-bottom: 1.25rem;
}
.deep .section-lede {
  margin: 0 0 2.25rem;
  max-width: none;
  text-align: left;
}

.check-list {
  display: flex;
  flex-direction: column;
  border-top: 0.5px solid var(--line);
}
.check-list li {
  display: grid;
  grid-template-columns: 1fr;
  padding: 1.1rem 0;
  border-bottom: 0.5px solid var(--line);
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.55;
}
.check-list li strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.25rem;
}

/* ---------- Stat strip (deep dives) ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, var(--card) 0%, var(--card-soft) 100%);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}
.stat-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--accent),
    var(--gold)
  );
  opacity: 0.65;
}
.stat-pill {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-pill strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
}
.stat-pill strong small {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0;
}
.stat-pill span {
  font-size: 0.74rem;
  color: var(--text-3);
  line-height: 1.4;
  text-wrap: pretty;
}

/* ---------- How-it-works list ---------- */
.how-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.how-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  padding: 0.95rem 1rem;
  background: var(--card);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-md);
  transition:
    transform 0.3s var(--ease-out-quart),
    border-color 0.3s var(--ease-out-quart);
}
.how-list li:hover {
  transform: translateX(2px);
  border-color: rgba(99, 102, 241, 0.25);
}
.how-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--primary-soft);
  color: var(--primary);
}
.how-list li div {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.55;
}
.how-list li strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.15rem;
}

/* Hero meta small unit */
.hero-meta strong small {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.75rem;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  transition:
    gap 0.3s var(--ease-out-quart),
    background 0.3s var(--ease-out-quart);
}
.link-arrow:hover {
  gap: 0.65rem;
  background: rgba(99, 102, 241, 0.15);
}

.deep-visual {
  position: relative;
}

/* CRITERIA PANEL (engine) */
.criteria-panel {
  background: var(--card);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.criteria-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 0.5px solid var(--line);
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--card) 100%);
}
.criteria-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}
.criteria-head h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.criteria-sub {
  font-size: 0.78rem;
  color: var(--text-3);
  font-family: var(--font-mono);
}
.criteria-decision {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}
.d-badge {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}
.d-go {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.d-skip {
  background: linear-gradient(135deg, var(--rose), #be123c);
}
.d-maybe {
  background: linear-gradient(135deg, var(--gold), #d97706);
}
.d-score {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.criteria-list {
  display: flex;
  flex-direction: column;
}
.ci {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1.5rem;
  border-bottom: 0.5px solid var(--line);
  transition: background 0.25s var(--ease-out-quart);
}
.ci:last-child {
  border-bottom: 0;
}
.ci:hover {
  background: var(--bg-tint);
}
.ci-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-4);
  font-weight: 700;
}
.ci-name {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.ci-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 0.2rem 0.55rem;
  background: var(--bg-tint);
  border-radius: var(--radius-pill);
}
.ci-pos {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}
.ci-warn {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

/* DOC STACK (chain) */
.doc-stack {
  position: relative;
  padding: 2rem;
  perspective: 1400px;
}
.doc-paper {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfb 100%);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 1.25rem 1.4rem;
  margin-bottom: -2.5rem;
  transform-origin: top center;
  transition:
    transform 0.5s var(--ease-out-quart),
    box-shadow 0.4s var(--ease-out-quart);
}
.doc-paper-1 {
  transform: translateY(0) rotate(-2deg);
  z-index: 3;
}
.doc-paper-2 {
  transform: translateY(0) rotate(1.5deg);
  z-index: 2;
  opacity: 0.95;
}
.doc-paper-3 {
  transform: translateY(0) rotate(-0.6deg);
  z-index: 1;
  opacity: 0.85;
  margin-bottom: -2.5rem;
}
.doc-stack:hover .doc-paper-1 {
  transform: translateY(-12px) rotate(-3deg);
  box-shadow: var(--shadow-xl);
}
.doc-stack:hover .doc-paper-2 {
  transform: translateY(-6px) rotate(2.5deg);
}
.doc-stack:hover .doc-paper-3 {
  transform: translateY(0) rotate(-1deg);
}

.doc-paper-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.65rem;
  border-bottom: 0.5px solid var(--line);
  margin-bottom: 0.85rem;
}
.doc-paper-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--primary);
}
.doc-paper-type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--text-3);
}
.doc-paper-rows {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.doc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}
.doc-row span {
  color: var(--text-3);
}
.doc-row strong {
  color: var(--text);
  font-weight: 600;
}

.doc-paper-table {
  font-size: 0.75rem;
}
.dpt-head,
.dpt-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr 1fr;
  gap: 0.5rem;
  padding: 0.4rem 0;
  align-items: center;
}
.dpt-head {
  color: var(--text-3);
  border-bottom: 0.5px solid var(--line);
  font-weight: 600;
}
.dpt-row {
  border-bottom: 0.5px dashed var(--line);
}
.dpt-row span:first-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text);
}
.dpt-row span:nth-child(2),
.dpt-row span:nth-child(3) {
  font-family: var(--font-mono);
  color: var(--text-2);
}
.dpt-row span:last-child {
  font-family: var(--font-mono);
  color: var(--text);
  font-weight: 600;
  text-align: right;
}
.doc-paper-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.6rem;
  margin-top: 0.4rem;
  border-top: 0.5px solid var(--line);
  font-size: 0.84rem;
}
.doc-paper-foot strong {
  font-family: var(--font-mono);
  color: var(--text);
}

.reorder-pill {
  position: absolute;
  bottom: 0;
  right: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 0.5px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: floatY 5s var(--ease-in-out) infinite alternate;
  animation-delay: -1s;
  z-index: 5;
}
.reorder-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
  animation: pulse 2.4s var(--ease-out-quart) infinite;
}
.reorder-pill strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
}
.reorder-pill small {
  font-size: 0.7rem;
  color: var(--text-3);
}

/* LISTING MOCK */
.listing-mock {
  background: var(--card);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  overflow: hidden;
  position: relative;
}
.listing-mock::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--accent),
    var(--gold)
  );
}
.listing-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 0.5px solid var(--line);
}
.lm-marketplace {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 0.25rem 0.6rem;
  background: var(--bg-tint);
  border-radius: var(--radius-pill);
}
.lm-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--primary);
}
.lm-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 var(--primary-glow);
  animation: pulse 2.4s var(--ease-out-quart) infinite;
}
.lm-block {
  padding: 0.85rem 0;
  border-bottom: 0.5px solid var(--line);
}
.lm-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.lm-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.lm-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}
.lm-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.lm-bullets li {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
}
.lm-bullets li span {
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.78rem;
}
.lm-bullets li strong {
  color: var(--text);
  font-weight: 700;
}
.lm-backend {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-2);
  background: var(--bg-tint);
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.01em;
}

/* =====================================================================
   GALLERY (product screenshots)
   ===================================================================== */
.gallery {
  padding: 6rem 0;
  background:
    radial-gradient(
      ellipse 70% 50% at 50% 0%,
      rgba(99, 102, 241, 0.04) 0%,
      transparent 60%
    ),
    var(--bg);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.screen-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease-out-quart),
    box-shadow 0.45s var(--ease-out-quart),
    border-color 0.3s var(--ease-out-quart);
  min-height: 380px;
}
.screen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.2);
}
.screen-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.15rem;
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--card) 100%);
  border-bottom: 0.5px solid var(--line);
}
.screen-tool {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 0.2rem 0.55rem;
  background: var(--primary-soft);
  border-radius: var(--radius-pill);
}
.screen-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.screen-body {
  flex: 1;
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.screen-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1.15rem;
  background: var(--bg-tint);
  border-top: 0.5px solid var(--line);
  font-size: 0.7rem;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* Library list */
.screen-library .lib-row {
  display: grid;
  grid-template-columns: 1fr 40px 60px;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  background: var(--bg-tint);
  border-radius: var(--radius-sm);
  border: 0.5px solid var(--line);
}
.lib-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lib-score {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}
.lib-badge {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.45rem;
  border-radius: var(--radius-pill);
  text-align: center;
  color: #fff;
}
.lib-go {
  background: linear-gradient(135deg, #10b981, #059669);
}
.lib-skip {
  background: linear-gradient(135deg, var(--rose), #be123c);
}
.lib-maybe {
  background: linear-gradient(135deg, var(--gold), #d97706);
}

/* USP list */
.usp-source {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}
.usp-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.usp-list li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text);
  padding: 0.55rem 0.7rem;
  background: var(--bg-tint);
  border-radius: var(--radius-sm);
  border: 0.5px solid var(--line);
}
.usp-tag {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 0.18rem 0.35rem;
  border-radius: var(--radius-pill);
}
.usp-pain {
  background: rgba(244, 63, 94, 0.12);
  color: #9f1239;
}
.usp-gain {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}
.usp-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-3);
}

/* Timeline */
.screen-timeline .tl-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 0.6rem;
}
.tl-sku {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-2);
}
.tl-bar {
  position: relative;
  height: 32px;
  background: var(--bg-tint);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 0.5px solid var(--line);
}
.tl-fill {
  display: block;
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.18;
}
.tl-fill-warn {
  background: linear-gradient(90deg, var(--gold), var(--rose));
  opacity: 0.22;
}
.tl-marker {
  position: absolute;
  top: 50%;
  left: var(--p);
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
  background: var(--card);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  border: 0.5px solid var(--line);
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
}
.tl-marker-safe {
  color: #047857;
  border-color: rgba(16, 185, 129, 0.3);
}
.tl-marker-warn {
  color: #9f1239;
  border-color: rgba(244, 63, 94, 0.3);
}

/* Landed cost */
.screen-landed .lc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.82rem;
  color: var(--text-2);
  border-bottom: 0.5px dashed var(--line);
}
.lc-row.lc-total {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  padding: 0.6rem 0 0.4rem;
  border-bottom: none;
  border-top: 0.5px solid var(--text-2);
  margin-top: 0.25rem;
}
.lc-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text);
}
.lc-total .lc-val {
  font-size: 1.1rem;
  color: var(--primary);
}
.lc-margin {
  margin-top: 0.6rem;
  padding: 0.65rem 0.8rem;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-2);
}
.lc-margin strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 700;
}

/* Coverage donut */
.screen-coverage {
  flex-direction: row !important;
  align-items: center;
  gap: 1rem !important;
}
.cv-donut {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) calc(var(--cov) * 360deg),
    var(--bg-deep) 0deg
  );
  position: relative;
  flex-shrink: 0;
}
.cv-donut-inner {
  position: absolute;
  inset: 10px;
  background: var(--card);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.cv-donut-inner strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cv-donut-inner small {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
}
.cv-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
}
.cv-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-2);
}
.cv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cv-dot-on {
  background: var(--green);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}
.cv-dot-off {
  background: var(--text-4);
  opacity: 0.4;
}

/* Translation flags */
.tr-flag {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  background: var(--bg-tint);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-sm);
}
.tr-code {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  text-align: center;
  padding: 0.25rem 0;
  border-radius: var(--radius-xs);
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.tr-flag-fr .tr-code {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
}
.tr-flag-it .tr-code {
  background: linear-gradient(135deg, #10b981, #6366f1);
}
.tr-flag-us .tr-code {
  background: linear-gradient(135deg, #f43f5e, #6366f1);
}
.tr-title {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .screen-coverage {
    flex-direction: column !important;
  }
}

/* =====================================================================
   WORKFLOW
   ===================================================================== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
  position: relative;
}
.workflow-grid::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--line-strong) 0,
    var(--line-strong) 6px,
    transparent 6px,
    transparent 12px
  );
  z-index: -1;
}
.step {
  position: relative;
  padding: 2.25rem 1.75rem 1.75rem;
  background: var(--card);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition:
    transform 0.4s var(--ease-out-quart),
    box-shadow 0.4s var(--ease-out-quart);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--card);
  border: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px var(--primary-glow);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.step-tool {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--primary-soft);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary);
  text-transform: uppercase;
}
.step-time {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.25rem 0.7rem;
  background: var(--bg-tint);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-2);
}

/* =====================================================================
   WHY
   ===================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.why-quote .section-lede {
  margin-left: 0;
  max-width: 500px;
  text-align: left;
}
.why-quote .section-title {
  text-align: left;
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.stat-card {
  padding: 1.85rem 1.5rem;
  background: var(--card);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-out-quart),
    box-shadow 0.4s var(--ease-out-quart);
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.65rem;
  display: inline-flex;
  align-items: baseline;
}
.stat-num small {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-left: 0.06em;
}
.stat-label {
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.45;
  font-weight: 500;
}

/* =====================================================================
   FOUNDER
   ===================================================================== */
.founder {
  padding: 6rem 0;
}
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 4rem;
  align-items: center;
}
.founder-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(
    135deg,
    var(--primary-soft) 0%,
    var(--accent-soft) 100%
  );
  border: 0.5px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 50% 0%,
      rgba(99, 102, 241, 0.18) 0%,
      transparent 65%
    ),
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 28px,
      rgba(28, 25, 23, 0.025) 28px,
      rgba(28, 25, 23, 0.025) 29px
    );
  pointer-events: none;
}
.founder-photo-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-3);
  z-index: 1;
}
.founder-photo-placeholder svg {
  width: 96px;
  height: 96px;
  opacity: 0.55;
}
.founder-photo-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.founder-photo-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: -0.015em;
  z-index: 2;
}

.founder-copy {
  max-width: 560px;
}
.founder-copy .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.founder-lede {
  font-size: 1.025rem;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}

.founder-quote {
  position: relative;
  padding: 1.25rem 1.5rem 1.25rem 2.5rem;
  background: var(--card);
  border: 0.5px solid var(--line);
  border-left: 2px solid var(--primary);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 1.75rem;
}
.founder-quote-mark {
  position: absolute;
  top: 0.5rem;
  left: 0.85rem;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.55;
  font-style: normal;
}

.founder-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.founder-facts li {
  padding: 0.85rem 1rem;
  background: var(--bg-tint);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.founder-facts strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.founder-facts span {
  font-size: 0.75rem;
  color: var(--text-3);
  line-height: 1.4;
}

.founder-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 0.5px solid var(--line);
}
.founder-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-2);
}
.founder-meta-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .founder-photo-frame {
    max-width: 360px;
    margin: 0 auto;
  }
  .founder-facts {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .founder-facts {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-container {
  max-width: 820px;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-list details {
  border-top: 0.5px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 0.5px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  transition: color 0.25s var(--ease-out-quart);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s var(--ease-out-quart),
    background 0.3s var(--ease-out-quart),
    color 0.3s var(--ease-out-quart);
  flex-shrink: 0;
  line-height: 1;
}
.faq-list details[open] summary {
  color: var(--primary);
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.faq-list details p {
  padding: 0 0 1.4rem;
  color: var(--text-2);
  line-height: 1.6;
  font-size: 0.98rem;
  max-width: 680px;
}

/* =====================================================================
   CTA
   ===================================================================== */
.cta-section {
  padding: 4rem 0 8rem;
}
.cta-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 5rem 4rem;
  background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
}
.cta-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}
.cta-aurora-a {
  width: 500px;
  height: 500px;
  top: -200px;
  left: -100px;
  background: var(--primary);
}
.cta-aurora-b {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -80px;
  background: var(--accent);
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}
.cta-content .kicker {
  color: rgba(255, 255, 255, 0.6);
  justify-content: center;
}
.cta-content .kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw + 0.5rem, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
  margin-bottom: 1rem;
}
.cta-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.25rem;
  text-wrap: pretty;
}

.cta-form {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 0.5px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.4rem 0.4rem 1.5rem;
  max-width: 480px;
  margin: 0 auto;
  transition:
    border-color 0.3s var(--ease-out-quart),
    background 0.3s var(--ease-out-quart);
}
.cta-form:focus-within {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(255, 255, 255, 0.12);
}
.cta-form input {
  flex: 1;
  background: none;
  border: 0;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  padding: 0.6rem 0;
}
.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.cta-form .btn {
  flex-shrink: 0;
}

.cta-fineprint {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-wrap: balance;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  border-top: 0.5px solid var(--line);
  padding: 4rem 0 2rem;
  background: var(--card);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 0.5px solid var(--line);
}
.footer-tag {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--text-3);
  line-height: 1.55;
  max-width: 360px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-cols h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.85rem;
}
.footer-cols ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-cols a {
  font-size: 0.88rem;
  color: var(--text-2);
  transition: color 0.25s var(--ease-out-quart);
}
.footer-cols a:hover {
  color: var(--primary);
}
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.78rem;
  color: var(--text-3);
}

/* =====================================================================
   REVEAL ANIMATIONS
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out-quart),
    transform 0.9s var(--ease-out-quart);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
[data-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease-out-quart),
    transform 0.7s var(--ease-out-quart);
}
[data-stagger].in > * {
  opacity: 1;
  transform: none;
}
[data-stagger].in > *:nth-child(1) {
  transition-delay: 0.05s;
}
[data-stagger].in > *:nth-child(2) {
  transition-delay: 0.18s;
}
[data-stagger].in > *:nth-child(3) {
  transition-delay: 0.31s;
}
[data-stagger].in > *:nth-child(4) {
  transition-delay: 0.44s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .hero-grid-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    max-width: 540px;
    margin: 0 auto;
  }
  .deep-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .deep-grid-flip > .deep-copy {
    order: 0;
  }
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }
  .bento-large {
    grid-row: auto;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-burger {
    display: inline-flex;
    margin-left: auto;
  }
  .mobile-menu:not([hidden]) {
    display: flex;
  }

  .hero {
    padding: 3.5rem 0 4rem;
  }
  .section {
    padding: 4.5rem 0;
  }
  .deep {
    padding: 4rem 0;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .workflow-grid::before {
    display: none;
  }
  .why-stats {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .floating-card {
    display: none;
  }

  .cta-card {
    padding: 3rem 1.75rem;
  }
  .cta-form {
    flex-direction: column;
    padding: 0.5rem;
    border-radius: var(--radius-md);
  }
  .cta-form input {
    padding: 0.85rem 1rem;
  }

  .nav-shell {
    top: 0.5rem;
    padding: 0 0.5rem;
  }
  .nav {
    padding: 0.4rem 0.4rem 0.4rem 1rem;
  }
}
