/* Profitru Marketing — light + dark (data-theme on html), Syne + Manrope, blue accents */
html {
  --bg-deep: #f1f5f9;
  --bg-base: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --stroke: #e2e8f0;
  --stroke-strong: rgba(148, 163, 184, 0.45);
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #94a3b8;
  --accent: #2563eb;
  --accent-dim: rgba(37, 99, 235, 0.12);
  --accent-hot: #3b82f6;
  --accent-deep: #1d4ed8;
  --warm: #f59e0b;
  --warm-dim: rgba(245, 158, 11, 0.14);
  --success: #10b981;
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shadow-glow: 0 8px 32px rgba(37, 99, 235, 0.1);
  --nav-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-layer: 0 10px 40px rgba(15, 23, 42, 0.08);
  --shadow-layer-strong: 0 24px 56px rgba(15, 23, 42, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --bg-deep: #1e293b;
  --bg-base: #0f172a;
  --bg-elevated: #1e293b;
  --bg-card: #1e293b;
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(255, 255, 255, 0.14);
  --text: #f1f5f9;
  --text-soft: #94a3b8;
  --text-muted: #64748b;
  --accent: #3b82f6;
  --accent-dim: rgba(59, 130, 246, 0.18);
  --accent-hot: #60a5fa;
  --accent-deep: #2563eb;
  --warm: #fbbf24;
  --warm-dim: rgba(251, 191, 36, 0.14);
  --success: #34d399;
  --shadow-glow: 0 8px 36px rgba(59, 130, 246, 0.15);
  --nav-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-layer: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-layer-strong: 0 28px 64px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light dark;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
  outline: 2px solid var(--warm);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

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

.container--wide {
  width: min(1200px, 100% - 40px);
}

/* Nav — same feel as app chrome (always white bar) */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: #ffffff;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.35s var(--ease);
}

.nav.nav--scrolled {
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--accent-hot) 0%, var(--accent-deep) 100%);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-dim);
}

.logo span.accent {
  color: var(--accent-hot);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.nav-links a:not(.btn):hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.theme-toggle {
  position: relative;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.theme-toggle:hover {
  color: var(--accent-hot);
  border-color: rgba(59, 130, 246, 0.45);
  background: var(--accent-dim);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.theme-toggle .theme-toggle__sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .theme-toggle__moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .theme-toggle__sun {
  display: block;
}

/* Dark page theme: keep nav chrome readable on white */
html[data-theme="dark"] .nav {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

html[data-theme="dark"] .nav .logo {
  color: #0f172a;
}

html[data-theme="dark"] .nav-links a:not(.btn) {
  color: #475569;
}

html[data-theme="dark"] .nav-links a:not(.btn):hover {
  color: #2563eb;
}

html[data-theme="dark"] .nav-toggle {
  color: #0f172a;
}

html[data-theme="dark"] .theme-toggle {
  color: #475569;
  border-color: #e2e8f0;
}

html[data-theme="dark"] .theme-toggle:hover {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.12);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--stroke);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 108px 0 72px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(ellipse 55% 45% at 50% 0%, rgba(37, 99, 235, 0.12), transparent 65%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-glow {
    animation: hero-glow-pulse 14s var(--ease) infinite alternate;
  }
}

@keyframes hero-glow-pulse {
  0% {
    opacity: 0.85;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.hero-grid-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

html[data-theme="dark"] .hero-grid-noise {
  opacity: 0.07;
  mix-blend-mode: screen;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 16px var(--warm);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5.8vw, 3.85rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero-chapter {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.hero-title .line-accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 34rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 28rem;
}

.hero-note strong {
  color: var(--text-soft);
  font-weight: 600;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 20px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--stroke);
}

.trust-row--platforms .label {
  flex: 0 0 auto;
  max-width: 11rem;
  line-height: 1.35;
}

.platform-pills-wrap {
  flex: 1 1 280px;
  min-width: 0;
}

.platform-pills-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 40rem;
  margin-top: 14px;
}

.trust-row span.label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--stroke);
  color: var(--text-soft);
}

.platform-pill-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  color: var(--text-soft);
}

.platform-pill--more {
  font-style: italic;
  color: var(--text-muted);
  border-style: dashed;
}

html[data-theme="dark"] .platform-pill-icon {
  filter: brightness(0) invert(0.88);
}

.preview-wrap {
  position: relative;
}

.preview-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--stroke);
  border-radius: calc(var(--radius) + 4px);
  padding: 20px;
  box-shadow: var(--shadow-glow), var(--shadow-layer);
}

@media (prefers-reduced-motion: no-preference) {
  .preview-card--motion {
    animation: preview-float 7s var(--ease) infinite alternate;
  }
}

@keyframes preview-float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.preview-dots {
  display: flex;
  gap: 6px;
}

.preview-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--stroke-strong);
}

.preview-dots span:nth-child(1) {
  background: #f87171;
}

.preview-dots span:nth-child(2) {
  background: var(--warm);
}

.preview-dots span:nth-child(3) {
  background: var(--accent-hot);
}

.preview-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-hot);
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--accent-dim);
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.metric {
  background: var(--bg-deep);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.metric-val.up {
  color: var(--success);
}

.metric-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 4px;
}

.preview-chart {
  height: 120px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--accent-dim) 0%, transparent 100%);
  border: 1px solid var(--stroke);
  position: relative;
  overflow: hidden;
}

.preview-chart::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 80' preserveAspectRatio='none'%3E%3Cpath d='M0 65 L40 50 L80 58 L120 35 L160 42 L200 22 L240 30 L280 18 L320 28 L360 12 L400 20 L400 80 L0 80 Z' fill='%232563eb' fill-opacity='0.2'/%3E%3Cpath d='M0 65 L40 50 L80 58 L120 35 L160 42 L200 22 L240 30 L280 18 L320 28 L360 12 L400 20' stroke='%233b82f6' stroke-width='2' fill='none'/%3E%3C/svg%3E")
    no-repeat center bottom;
  background-size: 100% 100%;
}

.preview-float {
  position: absolute;
  right: -8px;
  bottom: 18%;
  max-width: 200px;
  background: var(--bg-elevated);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.78rem;
  color: var(--text-soft);
  box-shadow: var(--shadow-layer);
}

.preview-float strong {
  display: block;
  color: var(--warm);
  font-weight: 700;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .preview-float {
    display: none;
  }
}

.kinetic-band {
  border-block: 1px solid var(--stroke);
  background: var(--bg-deep);
  overflow: hidden;
  padding: 14px 0;
}

.kinetic-band__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.kinetic-band__track > span:not(.kinetic-band__dot) {
  white-space: nowrap;
}

.kinetic-band__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-dim);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .kinetic-band__track {
    animation: kinetic-marquee 42s linear infinite;
  }
}

@keyframes kinetic-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-hot);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-soft);
  font-size: 1.02rem;
}

.section-head--wide {
  max-width: 720px;
}

.section-head--split {
  display: grid;
  grid-template-columns: 1fr minmax(0, 320px);
  gap: 28px 40px;
  text-align: left;
  max-width: 100%;
  align-items: end;
}

@media (max-width: 768px) {
  .section-head--split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section-head--split .section-desc--hang {
    text-align: center;
    margin-inline: auto;
  }
}

.section-title--mega {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  line-height: 1.08;
}

.section-desc--hang {
  margin: 0;
  max-width: 32rem;
  line-height: 1.6;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease),
    filter 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: none;
}

.reveal--delay {
  --reveal-delay: 0.12s;
}

.reveal--delay-sm {
  --reveal-delay: 0.08s;
}

.reveal--delay-md {
  --reveal-delay: 0.16s;
}

.step--rise {
  transform: translateY(8px);
}

.step--rise.is-visible,
.reveal.step--rise.is-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

.section-pains {
  background: var(--bg-deep);
  border-block: 1px solid var(--stroke);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

.pain-card {
  background: var(--bg-elevated);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.pain-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-3px);
}

.pain-card .bad {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fca5a5;
  margin-bottom: 10px;
}

.pain-card .good {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-hot);
  margin-top: 18px;
  margin-bottom: 8px;
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.pain-card p.outcome {
  color: var(--text);
  font-weight: 500;
}

.section-steps {
  background: var(--bg-base);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 24px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--warm), #d97706);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px var(--warm-dim);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 12px 0 10px;
}

.step p {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.section-features {
  background: var(--bg-deep);
}

/* Bento feature grid — desktop mosaic; single column on tablet/phone */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 18px;
}

.bento__item--xl {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}

.bento__item--stack:nth-of-type(2) {
  grid-column: 8 / span 5;
  grid-row: 1;
}

.bento__item--stack:nth-of-type(3) {
  grid-column: 8 / span 5;
  grid-row: 2;
}

.bento__item--wide {
  grid-column: 1 / span 6;
  grid-row: 3;
}

.bento__item--sm:nth-of-type(5) {
  grid-column: 7 / span 3;
  grid-row: 3;
}

.bento__item--sm:nth-of-type(6) {
  grid-column: 10 / span 3;
  grid-row: 3;
}

/* Tablet + mobile: one column, natural row height, no squeezed side-by-side tiles */
@media (max-width: 1024px) {
  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 14px;
  }

  .bento__item--xl,
  .bento__item--stack,
  .bento__item--wide,
  .bento__item--sm {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
  }

  .bento__item--xl.feature-tile {
    min-height: 0;
  }

  .feature-tile.bento__item--xl h3 {
    font-size: clamp(1.15rem, 4.5vw, 1.35rem);
  }

  .bento__shine {
    width: 70%;
    right: -35%;
    opacity: 0.75;
  }
}

@media (max-width: 600px) {
  .feature-tile {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
  }

  .bento__item--xl.feature-tile {
    padding: 20px 18px;
  }

  .bento__item--xl .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 1.35rem;
  }

  .feature-tile h3 {
    font-size: 1rem;
  }

  .feature-tile p {
    font-size: 0.87rem;
  }
}

.feature-tile {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 22px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  overflow: hidden;
  align-items: flex-start;
}

/* Let copy wrap inside flex instead of forcing horizontal overflow */
.feature-tile > div:not(.feature-icon):not(.bento__shine) {
  min-width: 0;
  flex: 1 1 auto;
}

.bento__item--xl.feature-tile {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 100%;
  padding: 28px 26px;
}

.bento__item--xl .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 1.5rem;
}

.feature-tile.bento__item--xl h3 {
  font-size: 1.35rem;
}

.feature-tile.bento__item--xl p {
  font-size: 0.95rem;
  max-width: 28rem;
}

.bento__shine {
  position: absolute;
  top: -40%;
  right: -25%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), transparent 65%);
  pointer-events: none;
}

html[data-theme="dark"] .bento__shine {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 65%);
}

.feature-tile:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}

.feature-tile h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-tile p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.section-demo {
  background: var(--bg-base);
}

.demo-shell {
  max-width: 880px;
  margin: 0 auto;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--stroke);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-layer-strong);
}

.demo-aspect {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at center, var(--accent-dim), transparent 60%),
    var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.demo-aspect--motion .demo-play {
  position: relative;
  z-index: 1;
}

.demo-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(15, 23, 42, 0.12) 2px,
    rgba(15, 23, 42, 0.12) 3px
  );
}

html[data-theme="dark"] .demo-scanlines {
  opacity: 0.12;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.06) 2px,
    rgba(255, 255, 255, 0.06) 3px
  );
}

@media (prefers-reduced-motion: no-preference) {
  .demo-aspect--motion::before {
    content: "";
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(37, 99, 235, 0.06) 120deg, transparent 240deg);
    animation: demo-rotate 18s linear infinite;
  }
}

@keyframes demo-rotate {
  to {
    transform: rotate(360deg);
  }
}

.demo-play {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  padding-left: 4px;
  cursor: default;
}

.demo-caption {
  text-align: center;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--stroke);
}

.demo-caption p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.demo-caption .hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.demo-code {
  font-size: 0.85em;
  background: var(--bg-deep);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
}

.section-proof {
  background: var(--bg-deep);
  border-top: 1px solid var(--stroke);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .proof-grid,
  .focus-grid {
    grid-template-columns: 1fr;
  }
}

.founder-card {
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 28px 26px;
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow-layer);
  border-left: 4px solid var(--accent);
}

.founder-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-hot);
  margin-bottom: 12px;
}

.founder-body {
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0;
}

.focus-card {
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.focus-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.focus-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.focus-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

.founding-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.quote-card blockquote {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.quote-card blockquote::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 0;
  color: var(--accent);
  opacity: 0.5;
  display: block;
  margin-bottom: 8px;
}

.quote-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent-hot), var(--accent-deep));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
}

.quote-meta strong {
  display: block;
  font-size: 0.9rem;
}

.quote-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.section-trust {
  padding: 48px 0;
  background: var(--bg-elevated);
  border-block: 1px solid var(--stroke);
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
}

.trust-item {
  text-align: center;
  max-width: 200px;
}

.trust-item .icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.trust-item h3 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.section-faq {
  background: var(--bg-base);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--stroke);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-trigger span.chev {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--text-soft);
  transition: transform 0.25s var(--ease), background 0.2s;
}

.faq-item.is-open .faq-trigger span.chev {
  transform: rotate(45deg);
  background: var(--accent-dim);
  border-color: transparent;
  color: var(--accent-hot);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-panel-inner p {
  padding-bottom: 20px;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.section-cta {
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, var(--accent-dim), transparent 55%);
  pointer-events: none;
}

.section-cta .container {
  position: relative;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.cta-desc {
  color: var(--text-soft);
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer {
  border-top: 1px solid #e2e8f0;
  padding: 40px 0 32px;
  background: #ffffff;
  /* Fixed slate on white: avoids inheriting body --text (light in dark theme) after `a { color: inherit }` */
  color: #334155;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.footer .logo {
  color: #0f172a;
}

.footer-brand p {
  font-size: 0.88rem;
  color: #64748b;
  max-width: 280px;
  margin-top: 12px;
  line-height: 1.55;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: #2563eb;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.8rem;
  color: #64748b;
}

/* Mobile sticky CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  justify-content: center;
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, var(--bg-base) 55%, transparent);
  border-top: 1px solid var(--stroke);
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.06);
}

html[data-theme="dark"] .sticky-cta {
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
}

.sticky-cta[hidden] {
  display: none !important;
}

.sticky-cta__btn {
  width: min(100%, 420px);
}

body.sticky-cta--on {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 769px) {
  .sticky-cta {
    display: none !important;
  }

  body.sticky-cta--on {
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    position: relative;
    z-index: 110;
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s, visibility 0.25s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .nav-links .btn {
    margin-top: 16px;
    width: 100%;
  }

  section {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .kinetic-band__track {
    animation: none !important;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    margin-inline: auto;
    row-gap: 10px;
  }
}
