:root {
  --bg: #030303;
  --bg-soft: #080808;
  --surface: rgba(12, 12, 12, 0.8);
  --surface-solid: #101010;
  --surface-elevated: #171717;
  --text: #ffffff;
  --muted: #c7c7c7;
  --subtle: #8a8a8a;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #ef3d55;
  --accent-strong: #ff5b70;
  --signal: #ff5b70;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1180px;
  --pointer-x: 50%;
  --pointer-y: 50%;
  --pointer-shift-x: 0;
  --pointer-shift-y: 0;
  --press-x: 50vw;
  --press-y: 50vh;
  --scroll-progress: 0;
  --scroll-progress-percent: 0%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 3px,
      rgba(0, 0, 0, 0.020) 3px,
      rgba(0, 0, 0, 0.020) 4px
    ),
    radial-gradient(circle at 18% 18%, rgba(239, 61, 85, 0.20), transparent 32%),
    radial-gradient(circle at 82% 48%, rgba(239, 61, 85, 0.11), transparent 34%),
    linear-gradient(180deg, #050505 0%, #080808 46%, #030303 100%);
  background-size: auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      110deg,
      rgba(239, 61, 85, calc(0.10 + var(--scroll-progress) * 0.06)),
      transparent 36%
    ),
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.048), transparent 30%),
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.48) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 91, 112, 0.12), transparent 22rem),
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.05), transparent 12rem),
    linear-gradient(180deg, transparent, rgba(239, 61, 85, calc(var(--scroll-progress) * 0.08)));
  mix-blend-mode: screen;
  opacity: 0.72;
  transition: opacity 220ms ease;
}

body.is-pressing::after {
  background:
    radial-gradient(circle at var(--press-x) var(--press-y), rgba(255, 91, 112, 0.2), transparent 15rem),
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 91, 112, 0.14), transparent 22rem),
    linear-gradient(180deg, transparent, rgba(239, 61, 85, calc(var(--scroll-progress) * 0.08)));
  opacity: 0.95;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

#bg {
  position: fixed;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

.site,
.site-header,
main,
section,
footer {
  position: relative;
  z-index: 2;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--signal), transparent);
  box-shadow: 0 0 20px rgba(255, 91, 112, 0.44);
  opacity: 0.82;
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
}

body.is-scrolled .site-header {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(5, 5, 5, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.header-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--text);
  text-decoration: none;
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
  transition: transform 180ms ease, text-shadow 180ms ease;
}

.logo span {
  color: var(--accent-strong);
  transition: color 180ms ease, text-shadow 180ms ease;
}

.logo:hover,
.logo:focus-visible {
  transform: translateY(-1px);
  text-shadow: 0 0 22px rgba(255, 91, 112, 0.22);
}

.logo:hover span,
.logo:focus-visible span {
  color: #ff7183;
  text-shadow: 0 0 18px rgba(255, 91, 112, 0.64);
}

.logo.small {
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 6px;
  left: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.nav a:hover,
.nav a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav .nav-cta {
  color: #fff;
  background: rgba(239, 61, 85, 0.18);
  border-color: rgba(239, 61, 85, 0.4);
}

.nav .nav-cta:hover,
.nav .nav-cta:focus-visible,
.nav .nav-cta[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
}

.hero {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 42px;
  padding: 96px 0 64px;
}

.hero-home {
  min-height: calc(86svh - 75px);
}

.interior-hero {
  min-height: 54svh;
  padding-bottom: 40px;
}

.hero-content {
  max-width: 890px;
}

.hero-content h1 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 0.8rem + 5.9vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.028em;
  max-width: 960px;
}

.hero-content p {
  margin-top: 26px;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.72;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  position: relative;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 780;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -70% auto -70% -42%;
  width: 44%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  opacity: 0;
  transform: translateX(-120%) rotate(15deg);
  transition: opacity 240ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) translateZ(0);
  filter: saturate(1.06);
}

.btn:hover::before,
.btn:focus-visible::before {
  opacity: 0.72;
  transform: translateX(360%) rotate(15deg);
}

.btn.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 16px 38px rgba(239, 61, 85, 0.24);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--accent-strong);
  box-shadow: 0 18px 46px rgba(239, 61, 85, 0.34);
}

.btn.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  border-color: rgba(239, 61, 85, 0.52);
  background: rgba(239, 61, 85, 0.1);
  box-shadow: inset 0 0 0 1px rgba(239, 61, 85, 0.1), 0 14px 34px rgba(0, 0, 0, 0.24);
}

.tap-ripple {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%) scale(0);
  animation: tap-ripple 620ms ease-out forwards;
}

/* Pointer flair: a glowing orb that trails the cursor (JS sets the transform).
   Sits above the 3D canvas (z-index 0) but below page content (z-index 2). */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  pointer-events: none;
  will-change: transform, opacity;
  opacity: 0;
  transition: opacity 420ms ease;
  mix-blend-mode: screen;
  background: radial-gradient(
    circle,
    rgba(255, 91, 112, 0.22) 0%,
    rgba(239, 61, 85, 0.12) 32%,
    rgba(239, 61, 85, 0) 68%
  );
}

.cursor-glow.is-visible {
  opacity: 1;
}

/* Magnetic buttons get their JS-driven `translate` to ease smoothly. */
.btn,
.nav .nav-cta {
  transition: translate 240ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 180ms ease, border-color 180ms ease, background 180ms ease,
    box-shadow 180ms ease, filter 180ms ease, color 220ms ease;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor-glow {
    display: none;
  }
}

.btn.full {
  width: 100%;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 12, 12, 0.68);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-proof div {
  position: relative;
  min-height: 112px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  transition: background 220ms ease, transform 220ms ease;
}

.hero-proof div::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255, 91, 112, 0.18), transparent 44%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.hero-proof div:hover {
  background: rgba(255, 255, 255, 0.035);
}

.hero-proof div:hover::after {
  opacity: 1;
}

.hero-proof div + div {
  border-left: 1px solid var(--line);
}

.hero-proof dt {
  color: var(--text);
  font-weight: 800;
  margin-bottom: 6px;
}

.hero-proof dd {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(88px, 9vw, 132px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(36px, 4vw, 52px);
}

.section-heading.compact {
  max-width: 440px;
  margin-bottom: 0;
}

.section-heading h2,
.cta h2,
.result-band h2,
.contact-panel h2 {
  margin-top: 12px;
  color: var(--text);
  font-size: clamp(2.05rem, 0.9rem + 3.4vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.section-heading p,
.cta p,
.result-band p,
.contact-panel p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.grid {
  display: grid;
  gap: 16px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 16, 16, 0.78);
}

.card {
  position: relative;
  min-height: 190px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  --glow-x: 50%;
  --glow-y: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --scroll-rx: 0deg;
  transform: perspective(900px) rotateX(calc(var(--tilt-y) + var(--scroll-rx))) rotateY(var(--tilt-x)) translateY(0);
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.card::after,
.timeline article::after,
.check-list article::after,
.contact-methods a::after,
.contact-panel::after,
.lead-form::after,
.result-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255, 91, 112, 0.2), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 42%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.card > *,
.timeline article > *,
.check-list article > *,
.contact-methods a > *,
.contact-panel > *,
.lead-form > *,
.result-band > * {
  position: relative;
  z-index: 1;
}

.card:hover,
.card:focus-within {
  transform: perspective(900px) rotateX(calc(var(--tilt-y) + var(--scroll-rx) * 0.3)) rotateY(var(--tilt-x)) translateY(-6px);
  border-color: rgba(239, 61, 85, 0.42);
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(239, 61, 85, 0.08);
}

.card:hover::after,
.card:focus-within::after {
  opacity: 1;
}

.card-kicker {
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 5px 8px;
  border: 1px solid rgba(239, 61, 85, 0.42);
  border-radius: var(--radius-sm);
  color: var(--signal);
  background: rgba(239, 61, 85, 0.1);
  font-size: 0.75rem;
  font-weight: 800;
}

.card h3,
.feature h3,
.timeline h3,
.check-list h3 {
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.25;
}

.card p,
.feature p,
.timeline p,
.check-list p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

.split-section .section-heading.compact {
  position: sticky;
  top: 110px;
  padding-top: 6px;
}

@media (max-width: 820px) {
  .split-section .section-heading.compact {
    position: static;
    top: auto;
  }
}

.timeline {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 640px;
  justify-self: end;
}

.timeline article,
.check-list article {
  position: relative;
  min-height: 128px;
  padding: 26px 30px 26px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 12, 12, 0.58);
  overflow: hidden;
  isolation: isolate;
  --glow-x: 50%;
  --glow-y: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --scroll-rx: 0deg;
  transform: perspective(1000px) rotateX(calc(var(--tilt-y) + var(--scroll-rx))) rotateY(var(--tilt-x)) translateY(0);
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.timeline article::before,
.check-list article::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 0;
  z-index: 1;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--signal));
}

.timeline article:hover,
.timeline article:focus-within,
.check-list article:hover,
.check-list article:focus-within {
  transform: perspective(1000px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateY(-4px);
  border-color: rgba(239, 61, 85, 0.36);
  background: rgba(16, 16, 16, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26);
}

.timeline article:hover::after,
.timeline article:focus-within::after,
.check-list article:hover::after,
.check-list article:focus-within::after {
  opacity: 1;
}

.timeline span {
  display: block;
  margin-bottom: 8px;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  padding: 24px;
}

.check-list {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 640px;
  justify-self: end;
}

.result-band {
  position: relative;
  max-width: none;
  margin: 40px 0 0;
  width: 100%;
  padding: 78px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(239, 61, 85, 0.18), rgba(255, 255, 255, 0.035)),
    rgba(9, 9, 9, 0.78);
  overflow: hidden;
  isolation: isolate;
  --glow-x: 50%;
  --glow-y: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(1200px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.result-band:hover,
.result-band:focus-within {
  border-color: rgba(239, 61, 85, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 22px 70px rgba(0, 0, 0, 0.22);
}

.result-band:hover::after,
.result-band:focus-within::after {
  opacity: 1;
}

.cta {
  max-width: 880px;
  margin: 0 auto;
  padding: 104px 24px 118px;
  text-align: center;
}

.cta .eyebrow {
  justify-content: center;
}

.cta .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 24px;
}

.contact-panel,
.lead-form {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 13, 13, 0.76);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  --glow-x: 50%;
  --glow-y: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(1000px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.contact-panel:hover,
.contact-panel:focus-within,
.lead-form:hover,
.lead-form:focus-within {
  border-color: rgba(239, 61, 85, 0.32);
  background: rgba(16, 16, 16, 0.84);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.contact-panel:hover::after,
.contact-panel:focus-within::after,
.lead-form:hover::after,
.lead-form:focus-within::after {
  opacity: 1;
}

.contact-panel {
  padding: 28px;
  position: sticky;
  top: 96px;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-methods a {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  isolation: isolate;
  --glow-x: 50%;
  --glow-y: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(800px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateY(0);
  transition: transform 190ms ease, border-color 190ms ease, background 190ms ease, box-shadow 190ms ease;
}

.contact-methods a:hover,
.contact-methods a:focus-visible {
  transform: perspective(800px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateY(-3px);
  border-color: rgba(239, 61, 85, 0.42);
  background: rgba(239, 61, 85, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.contact-methods a:hover::after,
.contact-methods a:focus-visible::after {
  opacity: 1;
}

.contact-methods span {
  color: var(--text);
  font-size: 0.98rem;
}

.contact-methods .contact-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 61, 85, 0.36);
  border-radius: var(--radius-sm);
  color: var(--signal);
  background: rgba(239, 61, 85, 0.1);
  font-size: 1rem;
  line-height: 1;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  scroll-margin-top: 110px;
}

.field-row {
  display: grid;
  gap: 8px;
}

.field-row.full,
.lead-form .full,
.form-status {
  grid-column: 1 / -1;
}

label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 750;
  transform-origin: left center;
  transition: color 160ms ease, transform 160ms ease;
}

.field-row:focus-within label {
  color: var(--signal);
  transform: translateY(-1px);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

select {
  color-scheme: dark;
}

select option,
select optgroup {
  color: #ffffff;
  background: #101010;
}

select option:checked {
  color: #ffffff;
  background: #ef3d55;
}

textarea {
  resize: vertical;
  min-height: 132px;
}

input::placeholder,
textarea::placeholder {
  color: #7c7c7c;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(239, 61, 85, 0.78);
  box-shadow: 0 0 0 4px rgba(239, 61, 85, 0.14);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.form-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  max-width: 560px;
  margin-top: 10px;
  line-height: 1.6;
}

.site-footer .logo {
  cursor: default;
}

.site-footer .logo:hover,
.site-footer .logo:focus-visible {
  transform: none;
  text-shadow: none;
}

.site-footer .logo:hover span,
.site-footer .logo:focus-visible span {
  color: var(--accent-strong);
  text-shadow: none;
}

.site-footer address {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-style: normal;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
  text-shadow: 0 0 14px rgba(255, 91, 112, 0.28);
}

/* Give layout parents a shared 3D stage so reveals read as real depth */
.hero,
.metrics-inner,
.grid,
.timeline,
.check-list,
.use-cases,
.use-panel-body,
.contact-layout,
main > .section,
main > .cta {
  perspective: 1300px;
  perspective-origin: 50% 30%;
}

.reveal,
.motion-reveal {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  rotate: 0 0 1 0deg;
  transform-origin: center bottom;
}

/* Dramatic 3D entrance: the element tips up out of the page toward you */
.reveal.reveal-pending,
.motion-reveal.reveal-pending {
  opacity: 0;
  filter: blur(14px);
  translate: 0 70px;
  scale: 0.86;
  rotate: 1 0 0 38deg;
  transition:
    opacity 900ms ease,
    translate 1000ms cubic-bezier(0.16, 1, 0.3, 1),
    scale 1000ms cubic-bezier(0.16, 1, 0.3, 1),
    rotate 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.reveal-pending.visible,
.motion-reveal.reveal-pending.visible {
  opacity: 1;
  filter: blur(0);
  translate: 0 0;
  scale: 1;
  rotate: 0 0 1 0deg;
}

/* Cards fan in from alternating sides for extra 3D drama */
.cards-3 .card.reveal-pending:nth-child(odd),
.cards-4 .card.reveal-pending:nth-child(odd) {
  rotate: 0.5 1 0 -42deg;
  translate: -36px 60px;
}

.cards-3 .card.reveal-pending:nth-child(even),
.cards-4 .card.reveal-pending:nth-child(even) {
  rotate: 0.5 -1 0 42deg;
  translate: 36px 60px;
}

/* Timeline steps swing in like turning pages */
.timeline article.reveal-pending,
.timeline article.motion-reveal.reveal-pending {
  transform-origin: left center;
  rotate: 0 1 0 -55deg;
  translate: -50px 30px;
}

@keyframes tap-ripple {
  0% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .header-shell,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    padding-top: 70px;
  }

  .hero-home,
  .interior-hero {
    min-height: auto;
  }

  .hero-proof,
  .cards-3,
  .feature-grid,
  .split-section,
  .contact-layout,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .hero-proof div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 70px 0;
  }

  .section-heading.compact {
    max-width: 760px;
    margin-bottom: 28px;
  }

  .split-section {
    align-items: start;
  }

  .timeline,
  .check-list {
    max-width: none;
    justify-self: stretch;
  }

  .contact-panel {
    position: static;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer address {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .header-shell {
    padding: 16px 0;
  }

  .nav a {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .cards-4 {
    grid-template-columns: 1fr;
  }

  .actions,
  .actions .btn,
  .cta .btn {
    width: 100%;
  }

  .card {
    min-height: 0;
    padding: 22px;
  }

  .hero-proof div,
  .timeline article,
  .check-list article {
    min-height: 0;
  }

  .timeline article,
  .check-list article {
    padding: 22px 22px 22px 26px;
  }

  .timeline article::before,
  .check-list article::before {
    top: 22px;
    bottom: 22px;
  }

  .lead-form,
  .contact-panel {
    padding: 18px;
  }
}

@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;
  }

  .reveal,
  .reveal.reveal-pending {
    opacity: 1;
    filter: none;
    translate: 0 0;
    scale: 1;
  }
}

/* ============================================================
   HERO ENHANCEMENTS
   ============================================================ */

.hero-sub {
  margin-top: 22px;
  max-width: 600px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

@media (max-width: 820px) {
  .hero-br { display: none; }
}

/* ============================================================
   METRICS BAND
   ============================================================ */

.metrics-band {
  position: relative;
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.72);
  overflow: hidden;
}

.metrics-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(239, 61, 85, 0.07), transparent 50%, rgba(239, 61, 85, 0.04));
  pointer-events: none;
}

.metrics-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-item {
  flex: 1;
  padding: 52px 24px;
  text-align: center;
  position: relative;
  --scroll-rx: 0deg;
  transform: perspective(1100px) rotateX(var(--scroll-rx));
  transform-style: preserve-3d;
  transition: transform 240ms ease;
  will-change: transform;
}

.metric-item + .metric-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 52px;
  background: var(--line);
}

.metric-divider { display: none; }

.metric-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 10px;
}

.metric-prefix,
.metric-unit {
  font-size: 1.9rem;
  font-weight: 750;
  color: var(--accent);
  line-height: 1;
}

.metric-value {
  font-size: 3.6rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.metric-item p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  max-width: 140px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .metrics-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .metric-item {
    padding: 36px 16px;
  }

  /* Children 5 & 7 = 3rd & 4th metric-items (bottom row of 2×2 grid) */
  .metric-item:nth-child(5),
  .metric-item:nth-child(7) {
    border-top: 1px solid var(--line);
  }

  /* Remove flex divider */
  .metric-item + .metric-item::before {
    display: none;
  }

  /* Children 3 & 7 = right-column items in 2×2 grid */
  .metric-item:nth-child(3)::after,
  .metric-item:nth-child(7)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 52px;
    background: var(--line);
  }
}

@media (max-width: 560px) {
  .metric-value { font-size: 2.8rem; }
  .metric-prefix, .metric-unit { font-size: 1.5rem; }
}

/* ============================================================
   CARD LIST
   ============================================================ */

.card-list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 7px;
}

.card-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--subtle);
  font-size: 0.86rem;
  line-height: 1.4;
}

.card-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.72;
}

/* ============================================================
   USE CASES - TABS
   ============================================================ */

.use-cases-section .section-heading {
  margin-bottom: 32px;
}

.use-cases {
  width: 100%;
}

.use-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.use-tab {
  position: relative;
  padding: 14px 22px;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: var(--subtle);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease;
  letter-spacing: 0;
}

.use-tab::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--signal));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
}

.use-tab:hover { color: var(--muted); }

.use-tab.active {
  color: var(--text);
}

.use-tab.active::after {
  transform: scaleX(1);
}

.use-panels {
  position: relative;
}

.use-panel {
  display: none;
}

.use-panel.active {
  display: block;
  animation: panel-in 340ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.use-panel-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(12, 12, 12, 0.72);
  --scroll-rx: 0deg;
  transform: perspective(1400px) rotateX(var(--scroll-rx));
  transform-style: preserve-3d;
  transition: transform 260ms ease;
  will-change: transform;
}

.use-panel-info h3 {
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 800;
}

.use-panel-info > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 480px;
}

.use-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.use-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.use-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(239, 61, 85, 0.5);
}

.use-panel-stat {
  text-align: center;
  min-width: 172px;
}

.stat-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  border: 2px solid rgba(239, 61, 85, 0.28);
  background: rgba(239, 61, 85, 0.05);
  margin: 0 auto 16px;
  position: relative;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.stat-ring::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(239, 61, 85, 0.10);
}

.use-panel.active .stat-ring {
  border-color: rgba(239, 61, 85, 0.42);
  box-shadow: 0 0 32px rgba(239, 61, 85, 0.12), inset 0 0 24px rgba(239, 61, 85, 0.04);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-unit {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-left: 2px;
}

.use-panel-stat > p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 150px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .use-panel-body {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px;
  }

  .use-panel-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    text-align: left;
  }

  .stat-ring {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    margin: 0;
  }

  .stat-number { font-size: 2rem; }
  .stat-unit { font-size: 1.1rem; }

  .use-panel-stat > p {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .use-tabs { gap: 0; }
  .use-tab { padding: 12px 14px; font-size: 0.84rem; }
  .use-panel-body { padding: 22px; }
}

/* ============================================================
   INTEGRATIONS STRIP
   ============================================================ */

.integrations {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 96px;
}

.integrations-label {
  text-align: center;
  color: var(--subtle);
  font-size: 0.80rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 34px;
}

/* Centered, wrapping grid of chips on a shared 3D stage */
.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
  perspective: 1000px;
}

.integration-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  cursor: default;
  /* Entrance state: chips wait below, blurred - revealed in a soft stagger */
  opacity: 0;
  transform: perspective(1000px) translate3d(0, 26px, -60px);
  filter: blur(8px);
  transition:
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 620ms ease,
    border-color 360ms ease,
    color 360ms ease,
    background 360ms ease,
    box-shadow 360ms ease;
  transition-delay: calc(var(--i, 0) * 60ms);
}

/* When the section scrolls into view, chips settle in smoothly */
.integrations.visible .integration-chip {
  opacity: 1;
  transform: perspective(1000px) translate3d(0, 0, 0);
  filter: blur(0);
}

/* Smooth forward-then-back lift on hover (both directions animated) */
.integrations.visible .integration-chip:hover {
  border-color: rgba(239, 61, 85, 0.6);
  color: var(--text);
  background: linear-gradient(160deg, rgba(239, 61, 85, 0.18), rgba(239, 61, 85, 0.04));
  box-shadow: 0 22px 46px rgba(239, 61, 85, 0.3), 0 0 0 1px rgba(239, 61, 85, 0.2);
  transform: perspective(1000px) translate3d(0, -8px, 46px) scale(1.05);
  transition:
    transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 280ms ease,
    color 280ms ease,
    background 280ms ease,
    box-shadow 280ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .integration-chip {
    opacity: 1;
    transform: none;
    filter: none;
    transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
  }
  .integrations.visible .integration-chip:hover {
    transform: none;
  }
}

/* ============================================================
   CTA ENHANCEMENTS
   ============================================================ */

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(239, 61, 85, 0.35);
  border-radius: 999px;
  background: rgba(239, 61, 85, 0.08);
  color: var(--signal);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.cta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 61, 85, 0.4); }
  50%       { opacity: 0.7; transform: scale(0.8); box-shadow: 0 0 0 4px rgba(239, 61, 85, 0); }
}

.btn-pulse {
  position: relative;
}

.btn-pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: calc(var(--radius-sm) + 5px);
  border: 2px solid rgba(239, 61, 85, 0.38);
  animation: pulse-ring 2.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0%   { transform: scale(1);    opacity: 0.7; }
  65%  { transform: scale(1.10); opacity: 0; }
  100% { transform: scale(1.10); opacity: 0; }
}

/* ============================================================
   SCROLL PARALLAX SUPPORT
   ============================================================ */

.hero-content,
.hero-proof,
.section-heading,
.cta {
  transform: translateY(var(--parallax-offset, 0px));
  will-change: transform;
}

/* ============================================================
   HEADER SCROLL STATE
   ============================================================ */

.site-header {
  transition: background 280ms ease, box-shadow 280ms ease, backdrop-filter 280ms ease;
}

body.has-scrolled .site-header {
  background: rgba(3, 3, 3, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ============================================================
   TAP RIPPLE
   ============================================================ */

.btn {
  overflow: hidden;
}

.tap-ripple {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: tap-ripple 520ms ease-out both;
  z-index: 10;
}

/* ============================================================
   GRADIENT BORDER ANIMATION ON CARDS
   ============================================================ */

.card {
  background-image: none;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(239, 61, 85, 0), rgba(239, 61, 85, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 280ms ease, background 280ms ease;
  z-index: 0;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(239, 61, 85, 0.55), rgba(255, 91, 112, 0.12) 60%, rgba(239, 61, 85, 0));
}

/* ============================================================
   TIMELINE ENHANCEMENTS
   ============================================================ */

.timeline article {
  transition-delay: calc(var(--reveal-delay, 0ms) + 80ms);
}

/* ============================================================
   SCROLL-REACTIVE HEADINGS - exaggerated red shimmer
   --scroll-heat (0..1) is driven by scroll velocity in JS
   ============================================================ */

:root {
  --scroll-heat: 0;
}

.section-heading h2,
.cta h2,
.hero-content h1 {
  position: relative;
  background-image: linear-gradient(
    100deg,
    var(--text) 0%,
    var(--text) 42%,
    #ff8a98 49%,
    var(--accent) 53%,
    #ff8a98 57%,
    var(--text) 64%,
    var(--text) 100%
  );
  background-size: 300% 100%;
  background-position: calc(100% - var(--scroll-heat) * 100%) 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 calc(var(--scroll-heat) * 42px) rgba(255, 91, 112, calc(var(--scroll-heat) * 0.6));
  transition: background-position 140ms linear, text-shadow 200ms ease;
}

/* While actively scrolling, the gradient sweep keeps animating */
body.is-scrolling .section-heading h2,
body.is-scrolling .cta h2,
body.is-scrolling .hero-content h1 {
  animation: heading-sweep 1.1s linear infinite;
}

@keyframes heading-sweep {
  from { background-position: 100% 0; }
  to   { background-position: -120% 0; }
}

/* ============================================================
   SECTION DIVIDER LINE
   ============================================================ */

.section + .section::before,
.section + .use-cases-section::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin-bottom: 78px;
}


/* ============================================================
   PRICING PAGE
   ============================================================ */

/* Headings on the pricing page are centered so they line up with the
   centered content below them (included grid, billing toggle, plan grid). */
.page-pricing .section-heading,
.page-pricing .section-heading.compact {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  text-align: center;
}

/* - Incluso em todos os planos - */
.included-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
}

.included-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 550;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), border-color 360ms ease, background 360ms ease;
}

.included-item:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.included-item .check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239, 61, 85, 0.14);
  position: relative;
}

.included-item .check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 5px;
  height: 9px;
  border: solid var(--accent-strong);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* - Seletor de período - */
.billing-toggle {
  position: relative;
  display: inline-flex;
  margin: 0 auto 44px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  gap: 2px;
  /* center the inline-flex block */
  left: 50%;
  transform: translateX(-50%);
}

.billing-thumb {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(239, 61, 85, 0.95), rgba(239, 61, 85, 0.78));
  box-shadow: 0 10px 26px rgba(239, 61, 85, 0.34);
  transition: transform 480ms cubic-bezier(0.34, 1.4, 0.5, 1), width 480ms cubic-bezier(0.34, 1.4, 0.5, 1);
  z-index: 0;
}

.billing-option {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: none;
  background: transparent;
  color: var(--subtle);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 320ms ease;
}

.billing-option.is-active {
  color: #fff;
}

.save-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background 320ms ease, color 320ms ease;
}

.billing-option:not(.is-active) .save-badge {
  background: rgba(239, 61, 85, 0.16);
  color: var(--accent-strong);
}

/* - Cards de plano - */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008));
  box-shadow: var(--shadow);
  transition: transform 460ms cubic-bezier(0.16, 1, 0.3, 1), border-color 380ms ease, box-shadow 460ms ease;
  will-change: transform;
}

.plan-card:hover {
  transform: translateY(-10px);
  border-color: var(--line-strong);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.5);
}

.plan-card.is-featured {
  border-color: rgba(239, 61, 85, 0.55);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(239, 61, 85, 0.14), transparent 60%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  box-shadow: 0 30px 80px rgba(239, 61, 85, 0.16), var(--shadow);
}

@media (min-width: 861px) {
  .plan-card.is-featured {
    transform: scale(1.04);
  }
  .plan-card.is-featured:hover {
    transform: scale(1.04) translateY(-10px);
  }
}

.plan-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(239, 61, 85, 0.4);
  white-space: nowrap;
}

.plan-head {
  margin-bottom: 18px;
}

.plan-name {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-strong);
  margin: 0 0 6px;
}

.plan-tag {
  color: var(--subtle);
  font-size: 0.92rem;
  margin: 0;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.plan-price .currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
}

.plan-price .amount {
  font-size: 2.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.plan-price .per {
  font-size: 0.95rem;
  color: var(--subtle);
  font-weight: 600;
}

.plan-note {
  font-size: 0.82rem;
  color: var(--subtle);
  margin: 0 0 22px;
  min-height: 1em;
}

.plan-cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  padding: 22px 0 0;
  margin: auto 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.plan-features li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 0.94rem;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(239, 61, 85, 0.16);
}

.plan-features li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 4px;
  height: 7px;
  border: solid var(--accent-strong);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pricing-fineprint {
  text-align: center;
  color: var(--subtle);
  font-size: 0.85rem;
  margin: 40px auto 0;
  max-width: 560px;
}

/* - Smooth count tween on the price - */
.plan-price .amount {
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), color 220ms ease;
}
.plan-price.is-updating .amount {
  transform: translateY(-4px) scale(1.06);
  color: var(--accent-strong);
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
  .included-grid { grid-template-columns: 1fr; max-width: 460px; }
  .billing-toggle { flex-wrap: nowrap; }
  .billing-option { padding: 9px 16px; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .plan-card:hover,
  .included-item:hover { transform: none; }
  .billing-thumb { transition: none; }
}

/* ============================================================
   SEÇÕES NO ESTILO DA REFERÊNCIA (estúdio, clientes, casos,
   abordagem, processo, estatísticas, depoimentos, equipe)
   ============================================================ */

/* Barra de progresso de scroll no topo */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.scroll-progress-bar {
  display: block;
  height: 100%;
  width: calc(var(--scroll-progress, 0) * 100%);
  background: linear-gradient(90deg, var(--accent), var(--signal));
  box-shadow: 0 0 12px rgba(239, 61, 85, 0.6);
}

/* Indicador "rolar para baixo" no hero */
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 220ms ease;
}
.scroll-cue:hover,
.scroll-cue:focus-visible { color: var(--text); }
.scroll-cue-dot {
  position: relative;
  width: 22px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  flex: none;
}
.scroll-cue-dot::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(-50%);
  animation: scroll-cue 1.6s ease-in-out infinite;
}
@keyframes scroll-cue {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 12px); }
  100% { opacity: 0; }
}

/* NOSSO ESTÚDIO — frase de impacto */
.statement-section { padding-top: clamp(40px, 5vw, 72px); }
.statement { max-width: 920px; }
.statement p {
  margin-top: 22px;
  color: var(--text);
  font-size: clamp(1.6rem, 0.9rem + 2.6vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.statement em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--signal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* CLIENTES — marquee de logos */
.clients-section { padding-top: clamp(48px, 5vw, 70px); padding-bottom: clamp(48px, 5vw, 70px); }
.client-marquee {
  position: relative;
  margin-top: 36px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.client-track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  width: max-content;
  animation: client-scroll 28s linear infinite;
}
.client-logo {
  font-size: clamp(1.1rem, 0.8rem + 1vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--subtle);
  white-space: nowrap;
  transition: color 220ms ease;
}
.client-marquee:hover .client-track { animation-play-state: paused; }
.client-logo:hover { color: var(--text); }
@keyframes client-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ESTUDOS DE CASO + DEPOIMENTOS + EQUIPE: grids de 2 colunas */
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.case-card { min-height: 220px; gap: 14px; align-items: flex-start; }
.case-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  border: 1px solid rgba(239, 61, 85, 0.3);
  border-radius: 999px;
  padding: 5px 12px;
}
.case-card h3 { font-size: 1.4rem; }
.case-metric {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-strong);
  border-top: 1px solid var(--line);
  width: 100%;
}

/* NOSSA ABORDAGEM — cards de features compactos */
.feature-card { min-height: 150px; gap: 10px; }
.feature-card h3 { font-size: 1.2rem; }

/* ESTATÍSTICAS — grade de 6 números */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-cell {
  background: rgba(10, 10, 10, 0.86);
  padding: clamp(28px, 3vw, 40px) 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 220ms ease;
}
.stat-cell:hover { background: rgba(20, 20, 20, 0.92); }
.stat-figure {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(2.4rem, 1.4rem + 2.6vw, 3.6rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-cell p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* DEPOIMENTOS */
.testimonial {
  min-height: 0;
  justify-content: space-between;
  gap: 22px;
  padding: 32px;
}
.testimonial blockquote {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.1rem, 0.9rem + 0.7vw, 1.35rem);
  line-height: 1.5;
  font-weight: 500;
}
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial figcaption strong { color: var(--text); font-weight: 750; }
.testimonial figcaption span { color: var(--subtle); font-size: 0.9rem; }

/* EQUIPE */
.team-card {
  align-items: center;
  text-align: center;
  gap: 14px;
  min-height: 0;
  padding: 40px 28px;
}
.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, var(--accent), #7a1020);
  box-shadow: 0 12px 30px rgba(239, 61, 85, 0.28);
}
.team-card h3 { font-size: 1.3rem; }
.team-role { color: var(--subtle); font-size: 0.92rem; font-weight: 600; }

/* RODAPÉ EXPANDIDO */
.footer-expanded {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  align-items: start;
  gap: 36px 28px;
  padding-top: 56px;
}
.footer-brand p { margin-top: 14px; }
.footer-brand a { color: var(--muted); text-decoration: none; transition: color 200ms ease; }
.footer-brand a:hover { color: var(--text); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  margin: 0 0 4px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.96rem; transition: color 200ms ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }

/* RESPONSIVO */
@media (max-width: 880px) {
  .cards-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-expanded { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-expanded { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .client-track { animation: none; }
  .scroll-cue-dot::after { animation: none; }
}
