/* ─────────────────────────────────────────────────────────────────────────
   Majors Media. Custom CSS that extends Tailwind utilities.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --silk: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-feature-settings: "ss01" on, "ss02" on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ─── Brand text selection + focus ring ────────────────────────────────── */
::selection {
  background: #d4a85f;
  color: #0f1b2d;
}

:focus-visible {
  outline: 2px solid #d4a85f;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Eyebrow utility (mono caps with a leading 1px gold rule) ─────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d4a85f;
  white-space: nowrap;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1px;
  background: #d4a85f;
  flex-shrink: 0;
  animation: eyebrowPulse 3.2s ease-in-out infinite;
}
@keyframes eyebrowPulse {
  0%, 100% { opacity: 1; transform: scaleX(1); }
  50%      { opacity: 0.45; transform: scaleX(0.7); }
}
.eyebrow-muted {
  color: #6b7280;
}
.eyebrow-muted::before {
  background: rgba(15, 27, 45, 0.18);
}

/* ─── Nav link with underline-on-hover (scaled from origin-left) ───────── */
.nav-link {
  position: relative;
  padding-bottom: 4px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #d4a85f;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--silk);
}
.nav-link:hover::after {
  transform: scaleX(1);
}

/* ─── Ambient cursor glow ──────────────────────────────────────────────── */
/* Follows the cursor on hover-capable devices. Pointer-events-none.
   Hidden by default; main.js adds .is-active when (hover: hover) matches. */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  height: 360px;
  margin-left: -180px;
  margin-top: -180px;
  border-radius: 9999px;
  background: radial-gradient(
    circle,
    rgba(212, 168, 95, 0.14) 0%,
    rgba(212, 168, 95, 0.06) 30%,
    rgba(212, 168, 95, 0.015) 55%,
    transparent 78%
  );
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  transform: translate3d(-1000px, -1000px, 0);
  transition: opacity 0.4s var(--silk);
  will-change: transform;
}
.cursor-glow.is-active {
  opacity: 1;
}

/* Hide nav when scrolling down past 80px */
[data-nav].nav-hidden {
  transform: translateY(calc(-100% - 1.25rem));
}

/* Hide nav when scrolling down past 80px */
[data-nav].nav-hidden {
  transform: translateY(calc(-100% - 1.25rem));
}

/* ─── Hero dark zone: layered ambient (Zentaura-style discipline) ─────── */
.hero-dark {
  position: relative;
  background: radial-gradient(ellipse 90% 70% at 65% 35%, #122339 0%, #0F1B2D 55%, #0A1424 100%);
  color: #FAFAFA;
  isolation: isolate;
  overflow: hidden;
}
/* Subtle grid pattern overlay (depth — bumped to ~7% for visibility) */
.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 18%, transparent 78%);
          mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 18%, transparent 78%);
}
.hero-dark > *:not(.hero-orb):not(.hero-mesh):not(.hero-rule-top):not(.hero-grain):not(.hero-dots):not(.hero-blob):not(.float-card) {
  position: relative;
  z-index: 3;
}

/* Ambient mesh layer — strong gold bleed top-right + secondary radials */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 92% 8%, rgba(212, 168, 95, 0.32) 0%, rgba(212, 168, 95, 0.12) 30%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 18% 82%, rgba(212, 168, 95, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 75% 55%, rgba(212, 168, 95, 0.06) 0%, transparent 65%);
}

/* Gradient mesh blob (Stripe-style) behind the pricing card area — slow pulse */
.hero-blob {
  position: absolute;
  top: 25%;
  right: 8%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(212, 168, 95, 0.18) 0%, rgba(212, 168, 95, 0.06) 35%, transparent 65%),
    radial-gradient(circle at 70% 70%, rgba(15, 60, 100, 0.15) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: blobPulse 9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes blobPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: 0.85; }
}

/* Floating UI fragments (Vercel/Linear/Resend-style — small glass cards in the empty zones) */
.float-card {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: rgba(20, 32, 50, 0.7);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow:
    0 30px 50px -15px rgba(0, 0, 0, 0.6),
    0 8px 16px -6px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  font-size: 12px;
  color: rgba(250, 250, 250, 0.85);
  width: max-content;
  max-width: 240px;
  animation:
    floatCardReveal 1s cubic-bezier(0.22, 1, 0.36, 1) var(--float-reveal-delay, 0.6s) both,
    floatCardDrift var(--float-dur, 9s) cubic-bezier(0.22, 1, 0.36, 1) var(--float-drift-delay, 0s) infinite alternate;
  transform: rotate(var(--float-rot, 0deg));
}
@keyframes floatCardReveal {
  from { opacity: 0; transform: rotate(var(--float-rot, 0deg)) translateY(20px) scale(0.94); }
  to   { opacity: 1; transform: rotate(var(--float-rot, 0deg)) translateY(0) scale(1); }
}
@keyframes floatCardDrift {
  from { transform: rotate(var(--float-rot, 0deg)) translateY(0); }
  to   { transform: rotate(var(--float-rot, 0deg)) translateY(-10px); }
}

/* Card 1: Deployment notification (top-left) */
.float-card-deploy {
  top: 12%;
  left: 3%;
  --float-rot: -4deg;
  --float-dur: 8s;
  --float-drift-delay: 0s;
  --float-reveal-delay: 0.55s;
}

/* Card 2: Stripe payment confirmation (right side, above/around spec card area) */
.float-card-charge {
  top: 18%;
  right: 2%;
  --float-rot: 3deg;
  --float-dur: 10s;
  --float-drift-delay: 1.2s;
  --float-reveal-delay: 0.75s;
}

/* Card 3: Build status timeline (bottom-left) */
.float-card-build {
  bottom: 12%;
  left: 5%;
  --float-rot: 2deg;
  --float-dur: 12s;
  --float-drift-delay: 2.4s;
  --float-reveal-delay: 0.9s;
}

/* Card internal styling */
.float-card-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.float-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(212, 168, 95, 0.16);
  border: 1px solid rgba(212, 168, 95, 0.4);
  color: #D4A85F;
  flex-shrink: 0;
}
.float-card-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.float-card-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(250, 250, 250, 0.95);
  letter-spacing: -0.005em;
}
.float-card-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.62);
}
.float-card-amount {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 18px;
  font-weight: 600;
  color: #FAFAFA;
  letter-spacing: -0.02em;
}
.float-card-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D4A85F;
  box-shadow: 0 0 8px rgba(212, 168, 95, 0.5);
  flex-shrink: 0;
}

/* Build timeline rows */
.float-build-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  padding: 3px 0;
}
.float-build-step .check {
  color: #D4A85F;
  flex-shrink: 0;
}
.float-build-step.pending {
  color: rgba(255, 255, 255, 0.45);
}
.float-build-step.pending .check {
  color: rgba(212, 168, 95, 0.4);
}

/* Hide cards on smaller viewports — they need space to not overlap content */
@media (max-width: 1280px) {
  .float-card { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .float-card {
    animation: none;
    transform: rotate(var(--float-rot, 0deg));
  }
}

/* Scattered tiny gold dot pattern — adds texture across the hero */
.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(212, 168, 95, 0.18) 1px, transparent 1.5px);
  background-size: 96px 96px;
  background-position: 12px 18px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 90%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 90%);
  opacity: 0.7;
}

/* Tiny drifting orbs — 5-6% opacity (NOT 30%), small, blurred */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 95, 1) 0%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.hero-orb-a {
  top: 8%; left: 4%;
  width: 360px; height: 360px;
  opacity: 0.05;
  animation: orbDrift 11s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: 0s;
}
.hero-orb-b {
  top: 58%; right: 4%;
  width: 440px; height: 440px;
  opacity: 0.035;
  animation: orbDrift 13s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: 2.4s;
}
.hero-orb-c {
  top: 28%; left: 72%;
  width: 220px; height: 220px;
  opacity: 0.06;
  animation: orbDrift 9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: 1.1s;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, -20px) scale(1.1); }
}

/* Top horizontal rule — gradient line spanning hero (editorial detail) */
.hero-rule-top {
  position: absolute;
  top: 92px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(212, 168, 95, 0.25) 50%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Grain layer — hero-only, mix-blend overlay for proper texture on dark bg */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0.22 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Dark-zone text/border overrides (existing utility classes adapt to navy bg) */
.hero-dark .text-navy        { color: #FAFAFA; }
.hero-dark .text-steel       { color: rgba(250, 250, 250, 0.72); }
.hero-dark .text-whisper     { color: rgba(250, 250, 250, 0.5); }
.hero-dark .border-hairline  { border-color: rgba(255, 255, 255, 0.08); }
.hero-dark .text-hairline    { color: rgba(255, 255, 255, 0.18); }


/* ─── Section divider: small gold dot + thin line accent ───────────────── */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2.5rem 0;
}
.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 95, 0.4), transparent);
}
.section-divider .dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #d4a85f;
  box-shadow: 0 0 0 4px rgba(212, 168, 95, 0.12);
}

/* ─── How it works: cream bg with warm gradients + dot pattern ─────────── */
.how-bg {
  position: relative;
  background:
    radial-gradient(circle, rgba(15, 27, 45, 0.06) 1px, transparent 1.5px) 0 0 / 56px 56px,
    radial-gradient(ellipse 60% 70% at 85% 15%, rgba(212, 168, 95, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 55% 70% at 8% 90%, rgba(15, 27, 45, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 50% 50%, rgba(212, 168, 95, 0.06) 0%, transparent 70%),
    #F5F1E8;
}
.how-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 90% at 50% 50%, transparent 30%, rgba(245, 241, 232, 0.3) 90%);
  z-index: 0;
}
.how-bg > * {
  position: relative;
  z-index: 1;
}

/* Gold halo behind step numerals — gives them visual weight */
.step-num {
  position: relative;
  z-index: 1;
}
.step-num::before {
  content: "";
  position: absolute;
  inset: -25% -15%;
  background: radial-gradient(circle at center, rgba(212, 168, 95, 0.22) 0%, rgba(212, 168, 95, 0.06) 35%, transparent 70%);
  filter: blur(36px);
  z-index: -1;
  pointer-events: none;
}

/* Generic cream section bg for below-hero sections */
.section-cream {
  background: #F5F1E8;
}

/* ─── Recently shipped: bento cards with browser-framed screenshots ────── */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 27, 45, 0.08);
  border-radius: 1.25rem;
  padding: 0.625rem 0.625rem 1.5rem;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 18px 40px -16px rgba(15, 27, 45, 0.10);
  position: relative;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 95, 0.4);
  box-shadow:
    0 32px 60px -18px rgba(15, 27, 45, 0.2),
    0 0 0 1px rgba(212, 168, 95, 0.18),
    0 0 36px -6px rgba(212, 168, 95, 0.22);
}

.work-card-frame {
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 14px -6px rgba(15, 27, 45, 0.12);
  margin-bottom: 1.125rem;
}

.work-card-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: linear-gradient(180deg, #FAFAFA 0%, #F2F1ED 100%);
  border-bottom: 1px solid rgba(15, 27, 45, 0.06);
}
.work-card-chrome .traffic {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.work-card-chrome .traffic-r { background: #FF5F56; }
.work-card-chrome .traffic-y { background: #FFBD2E; }
.work-card-chrome .traffic-g { background: #27C93F; }
.work-card-url {
  margin-left: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  color: rgba(15, 27, 45, 0.55);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-card-preview {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(15, 27, 45, 0.04) 0%, rgba(212, 168, 95, 0.06) 100%),
    #FAFAFA;
  overflow: hidden;
  position: relative;
}
.work-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
  /* Default browser bicubic interpolation — sharpest result for downscaled screenshots */
  image-rendering: auto;
}
.work-card:hover .work-card-preview img {
  transform: scale(1.03);
}
/* Subtle gold corner accent */
.work-card-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 70%, rgba(15, 27, 45, 0.06) 100%);
}

.work-card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.875rem;
}
.work-card-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F1B2D;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.work-card-info p {
  font-size: 0.82rem;
  color: #6B7280;
}
.work-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 500;
  color: #B98C48;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  white-space: nowrap;
  padding-top: 4px;
  flex-shrink: 0;
}
.work-card-arrow svg {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-card:hover .work-card-arrow svg {
  transform: translateX(4px);
}

/* ─── Closing CTA: dark navy zone (second hero moment for visual rhythm) ─ */
.cta-dark-zone {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%, rgba(212, 168, 95, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 75% 50%, rgba(15, 27, 45, 0.6) 0%, transparent 70%),
    linear-gradient(180deg, #0F1B2D 0%, #122339 50%, #0F1B2D 100%);
  color: #FAFAFA;
  isolation: isolate;
  overflow: hidden;
}
/* Subtle grid pattern on the closing CTA */
.cta-dark-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 20%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 20%, transparent 80%);
  z-index: 0;
}
.cta-dark-zone > * {
  position: relative;
  z-index: 1;
}
/* Text overrides for dark zone */
.cta-dark-zone .text-navy   { color: #FAFAFA; }
.cta-dark-zone .text-steel  { color: rgba(250, 250, 250, 0.72); }
.cta-dark-zone .text-whisper { color: rgba(250, 250, 250, 0.5); }
.cta-dark-zone .border-hairline { border-color: rgba(255, 255, 255, 0.08); }

/* Section divider transitions when switching between cream and dark zones */
.section-divider-fade-down {
  height: 80px;
  background: linear-gradient(to bottom, #F5F1E8 0%, rgba(245, 241, 232, 0.6) 30%, rgba(15, 27, 45, 0) 100%);
  position: relative;
  margin-bottom: -80px;
  pointer-events: none;
  z-index: 5;
}
.section-divider-fade-up {
  height: 80px;
  background: linear-gradient(to top, #F5F1E8 0%, rgba(245, 241, 232, 0.6) 30%, rgba(15, 27, 45, 0) 100%);
  position: relative;
  margin-top: -80px;
  pointer-events: none;
  z-index: 5;
}

/* ─── Tier blocks (inside glass spec card on dark hero) ────────────────── */
.tier-block {
  position: relative;
  padding: 1.125rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s var(--silk), transform 0.4s var(--silk),
    border-color 0.4s var(--silk);
}
.tier-block:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}
/* Care tier: gold glow + tinted background + perpetual pulse */
.tier-block-care {
  background: linear-gradient(135deg, rgba(212, 168, 95, 0.18) 0%, rgba(212, 168, 95, 0.06) 100%);
  border: 1px solid rgba(212, 168, 95, 0.4);
  animation: carePulse 3.6s ease-in-out infinite;
}
.tier-block-care:hover {
  animation-play-state: paused;
  background: linear-gradient(135deg, rgba(212, 168, 95, 0.24) 0%, rgba(212, 168, 95, 0.09) 100%);
  border-color: rgba(212, 168, 95, 0.6);
  box-shadow:
    0 0 0 1px rgba(212, 168, 95, 0.18),
    0 0 44px -4px rgba(212, 168, 95, 0.5),
    inset 0 1px 0 rgba(212, 168, 95, 0.22);
}
@keyframes carePulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(212, 168, 95, 0.08),
      0 0 24px -6px rgba(212, 168, 95, 0.28),
      inset 0 1px 0 rgba(212, 168, 95, 0.12);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(212, 168, 95, 0.16),
      0 0 38px -4px rgba(212, 168, 95, 0.45),
      inset 0 1px 0 rgba(212, 168, 95, 0.2);
  }
}
.tier-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FAFAFA;
  margin-bottom: 0.4rem;
}
.tier-price {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 2rem;
  font-weight: 500;
  color: #FAFAFA;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.tier-price-suffix {
  font-size: 0.95rem;
  color: rgba(250, 250, 250, 0.55);
  font-weight: 400;
}
.tier-blurb {
  color: rgba(250, 250, 250, 0.7);
  font-size: 0.875rem;
  line-height: 1.55;
}
/* Care tier price gets gold accent for visual emphasis */
.tier-block-care .tier-price {
  color: #D4A85F;
}
.tier-block-care .tier-price-suffix {
  color: rgba(212, 168, 95, 0.7);
}

/* Mobile: scale down spec card content so it fits narrow viewports */
@media (max-width: 640px) {
  .spec-core {
    padding: 1.125rem;
  }
  .tier-block {
    padding: 0.875rem 0.75rem;
  }
  .tier-price {
    font-size: 1.65rem;
  }
  .tier-price-suffix {
    font-size: 0.85rem;
    display: block;
    margin-top: 2px;
  }
  .tier-features li {
    font-size: 0.78rem;
  }
}
/* (legacy .grain-overlay + .hero-bg classes removed — replaced by .hero-grain inside .hero-dark) */

/* ─── CTA primary button (magnetic, with nested icon) ─────────────────── */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  background: #D4A85F;
  color: #0F1B2D;
  padding: 1rem 1.25rem 1rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
  transition: background 0.4s var(--silk), color 0.4s var(--silk),
    transform 0.4s var(--silk), box-shadow 0.4s var(--silk);
  will-change: transform;
  box-shadow:
    0 10px 30px -8px rgba(212, 168, 95, 0.45),
    0 4px 8px -4px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.cta-primary:hover {
  background: #E0B772;
  box-shadow:
    0 16px 40px -10px rgba(212, 168, 95, 0.6),
    0 6px 12px -4px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.cta-primary:active {
  transform: scale(0.98) translateY(1px);
}
.cta-primary .cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 9999px;
  background: rgba(15, 27, 45, 0.15);
  transition: transform 0.4s var(--silk), background 0.4s var(--silk);
}
.cta-primary:hover .cta-icon {
  background: rgba(15, 27, 45, 0.28);
  transform: translate(2px, -1px);
}

/* ─── Spec card: glassmorphic bezel (sits over dark hero) ──────────────── */
.spec-shell {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 0.5rem;
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.5),
    0 10px 24px -8px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  animation: blurReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}
.spec-shell:hover {
  transform: translateY(-3px);
  box-shadow:
    0 40px 70px -15px rgba(0, 0, 0, 0.55),
    0 14px 30px -8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.spec-core {
  position: relative;
  background: rgba(15, 27, 45, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: calc(1.5rem - 0.5rem);
  padding: 1.5rem;
  color: #FAFAFA;
}
.spec-core .text-navy { color: #FAFAFA; }
.spec-core .text-steel { color: rgba(250, 250, 250, 0.72); }
.spec-core .text-whisper { color: rgba(250, 250, 250, 0.5); }
.spec-core .border-hairline { border-color: rgba(255, 255, 255, 0.08); }

/* ─── Kinetic marquee ──────────────────────────────────────────────────── */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-content {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-shrink: 0;
  padding-right: 2.5rem;
}
.marquee-content .dot {
  color: rgba(212, 168, 95, 0.7);
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ─── How it works: alternating editorial steps ───────────────────────── */
.steps {
  display: grid;
  gap: 4rem;
  list-style: none;
  padding: 0;
}
@media (min-width: 768px) {
  .steps {
    gap: 6rem;
  }
}

.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .step {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3rem;
    align-items: center;
  }
  .step-reverse {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .step-reverse .step-num {
    order: 2;
    text-align: right;
  }
  .step-reverse .step-body {
    order: 1;
    text-align: right;
    margin-left: auto;
  }
}

.step-num {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  color: #d4a85f;
  line-height: 0.85;
  font-size: clamp(5rem, 14vw, 11rem);
  letter-spacing: -0.04em;
}
.step-body {
  max-width: 50ch;
}
.step-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.step-text {
  color: #6b7280;
  line-height: 1.65;
  font-size: 1.05rem;
}

/* ─── Page entrance animation (was IntersectionObserver-driven) ──────────
 * CRITICAL FIX: Previous implementation kept everything at opacity:0 until
 * JS attached IntersectionObserver class. On mobile, if user scrolled fast
 * before main.js executed (500-1500ms gap), sections passed the viewport
 * while still invisible. The observer only fires for elements CURRENTLY
 * intersecting — already-scrolled-past sections stayed invisible forever.
 *
 * Now pure CSS keyframe with backwards fill: content is ALWAYS visible at
 * the end state regardless of JS readiness. The animation just plays once
 * on initial paint. If JS fails entirely, content still shows.
 */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(20px); filter: blur(2px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

[data-reveal] {
  animation: revealUp 0.7s var(--silk) backwards;
  animation-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
  /* Kept for backwards-compat with main.js IO logic; effectively a no-op
     since the keyframe already lands on the same end-state. */
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .marquee-track {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ─── Text-balance fallback for older browsers ─────────────────────────── */
.text-balance {
  text-wrap: balance;
}

/* ─── Hero split-pill eyebrow + concentric pulsing dot ─────────────────── */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: blurReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}
.eyebrow-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(212, 168, 95, 0.08);
  border: 1px solid rgba(212, 168, 95, 0.25);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  color: #E0BC76;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow-secondary {
  padding: 6px 12px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Concentric pulsing dot — outer ring scales/fades, inner solid stays */
.pulse-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}
.pulse-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #D4A85F;
  animation: pulseDotRing 2.4s ease-in-out infinite;
}
.pulse-dot::after {
  content: "";
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D4A85F;
}
@keyframes pulseDotRing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.7); opacity: 0.3; }
}

/* ─── Mixed-weight hero headline + emphasis underline ──────────────────── */
.hero-headline {
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #F7FAF9;
  max-width: 18ch;
  text-wrap: balance;
  animation: blurReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}
.hd-emphasis,
.gold-underline {
  position: relative;
  font-weight: 600;
  color: #D4A85F;
  white-space: nowrap;
}
.hd-emphasis::after,
.gold-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212, 168, 95, 0.55) 30%,
    rgba(212, 168, 95, 0.55) 70%,
    transparent 100%);
}
.hd-price {
  font-weight: 600;
  color: #D4A85F;
}

/* ─── Hero subhead with muted secondary fragment ───────────────────────── */
.hero-subhead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  max-width: 52ch;
  animation: blurReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}
.hero-subhead .muted {
  color: rgba(255, 255, 255, 0.4);
}

/* Hero stat chips — small glass pills between subhead and CTA */
.stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: blurReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}
.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 168, 95, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: -0.005em;
  transition: border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat-chip:hover {
  border-color: rgba(212, 168, 95, 0.5);
  background: rgba(212, 168, 95, 0.06);
}
.stat-chip svg {
  color: #D4A85F;
  flex-shrink: 0;
}

/* Hero CTA block — staggered after stat chips */
.hero-cta-block {
  animation: blurReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

/* Hero trust bar — glass pill bar with gold dividers (replaces plain text) */
.hero-trust-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  padding: 10px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  animation: blurReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
  max-width: 100%;
  overflow: hidden;
}
.hero-trust-bar > span {
  padding: 4px 16px;
  white-space: nowrap;
}
.hero-trust-bar > .trust-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: linear-gradient(180deg, transparent, rgba(212, 168, 95, 0.55), transparent);
  flex-shrink: 0;
  padding: 0;
}
@media (max-width: 640px) {
  .hero-trust-bar {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    padding: 6px 2px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-trust-bar > span:not(.trust-divider) {
    padding: 4px 8px;
  }
  .hero-trust-bar > .trust-divider {
    display: none;
  }
}

/* Gold rule utility — thin gradient line for threading gold through the design */
.gold-rule {
  display: block;
  width: 100%;
  height: 1px;
  border: none;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212, 168, 95, 0.45) 25%,
    rgba(212, 168, 95, 0.55) 50%,
    rgba(212, 168, 95, 0.45) 75%,
    transparent 100%);
}
.gold-rule-soft {
  display: block;
  width: 100%;
  height: 1px;
  border: none;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212, 168, 95, 0.28) 50%,
    transparent 100%);
}

/* Tier feature checklist — replaces single descriptive sentence with bulleted list */
.tier-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.825rem;
  line-height: 1.4;
  color: rgba(250, 250, 250, 0.78);
}
.tier-features li svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: rgba(212, 168, 95, 0.85);
}
.tier-block-care .tier-features li svg {
  color: #D4A85F;
}

/* Launch tier subtle gold accent — top border line (vs the Care tier's full gold treatment) */
.tier-block:not(.tier-block-care) {
  position: relative;
}
.tier-block:not(.tier-block-care)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212, 168, 95, 0.4) 50%,
    transparent 100%);
}

/* Section divider — bolder gold dot + glow + flanking gradient lines */
.section-divider .dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #d4a85f;
  box-shadow:
    0 0 0 4px rgba(212, 168, 95, 0.14),
    0 0 16px 2px rgba(212, 168, 95, 0.4);
}
.section-divider::before,
.section-divider::after {
  max-width: 120px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 95, 0.55), transparent);
}

/* Hero → cream sections smooth transition (gradient fade instead of hard color break) */
.hero-fade-out {
  height: 100px;
  background: linear-gradient(to bottom, #0F1B2D 0%, rgba(15, 27, 45, 0.6) 40%, rgba(245, 241, 232, 0) 100%);
  position: relative;
  margin-top: -100px;
  pointer-events: none;
  z-index: 5;
}

@keyframes blurReveal {
  from { opacity: 0; transform: translateY(24px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow-pill,
  .hero-headline,
  .hero-subhead,
  .hero-cta-block,
  .hero-trust-row {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ─── Modal (form lives inside) ────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal[hidden] { display: none; }
html.modal-open,
body.modal-open {
  overflow: hidden;
}
body.modal-open {
  /* Prevent layout shift when scrollbar disappears */
  padding-right: var(--scrollbar-width, 0);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 45, 0.78);
  backdrop-filter: blur(10px) saturate(110%);
  -webkit-backdrop-filter: blur(10px) saturate(110%);
  animation: modalFadeIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.modal-container {
  position: relative;
  background: #FFFFFF;
  border-radius: 1.5rem;
  max-width: 720px;
  width: 100%;
  margin: auto;
  padding: 2.5rem 2rem 2rem;
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.5),
    0 20px 40px -10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(212, 168, 95, 0.15);
  animation: modalSlideUp 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}
@media (max-width: 640px) {
  .modal { padding: 0; }
  .modal-container {
    border-radius: 0;
    margin: 0;
    padding: 2rem 1.25rem 1.5rem;
    min-height: 100dvh;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 27, 45, 0.06);
  border: 1px solid rgba(15, 27, 45, 0.08);
  color: #6B7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--silk), color 0.3s var(--silk), transform 0.3s var(--silk);
  z-index: 2;
}
.modal-close:hover {
  background: rgba(212, 168, 95, 0.12);
  color: #B98C48;
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 2rem;
  padding-right: 2.5rem;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop, .modal-container { animation: none; }
}

/* ─── Intake form ──────────────────────────────────────────────────────── */
.form-zone {
  position: relative;
}

.form-section {
  border-top: 1px solid rgba(15, 27, 45, 0.08);
  padding: 3rem 0;
}
.form-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(212, 168, 95, 0.85);
  padding-top: 0.35rem;
  flex-shrink: 0;
}
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0F1B2D;
  margin-bottom: 0.25rem;
}
.section-sub {
  font-size: 0.9rem;
  color: #6B7280;
  line-height: 1.5;
}

.field-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Field — label-above-input, full bordered boxes (clear click target) */
.form-field { position: relative; }
.form-field label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0F1B2D;
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}
/* Required + Optional pills (small mono caps next to label) */
.form-field label .req,
.form-field label .opt {
  display: inline-flex;
  align-items: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 9999px;
}
.form-field label .req {
  font-weight: 600;
  color: #B98C48;
  background: rgba(212, 168, 95, 0.12);
  border: 1px solid rgba(212, 168, 95, 0.3);
}
.form-field label .opt {
  font-weight: 500;
  color: #6B7280;
  background: rgba(15, 27, 45, 0.04);
  border: 1px solid rgba(15, 27, 45, 0.08);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea,
.form-field select {
  width: 100%;
  background: #FAFAFA;
  border: 1.5px solid rgba(15, 27, 45, 0.14);
  border-radius: 0.625rem;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: #0F1B2D;
  outline: none;
  transition:
    border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  appearance: none;
  -webkit-appearance: none;
  min-height: 48px;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9CA3AF;
}
.form-field input:hover:not(:focus),
.form-field textarea:hover:not(:focus),
.form-field select:hover:not(:focus) {
  border-color: rgba(15, 27, 45, 0.3);
  background: #FFFFFF;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: #D4A85F;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(212, 168, 95, 0.15);
}
.form-field textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.55;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Field metadata + helper + counter */
.field-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.4rem;
}
.helper {
  display: block;
  font-size: 0.78rem;
  color: #9CA3AF;
  margin-top: 0.4rem;
  line-height: 1.45;
}
.counter {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: #9CA3AF;
  white-space: nowrap;
  flex-shrink: 0;
}
.counter.over { color: #B98C48; }

/* Toggle row (smart-default checkboxes for site_email/site_phone) */
.toggle-row {
  display: inline-flex !important;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.875rem !important;
  font-weight: 500;
  color: #0F1B2D;
  margin-bottom: 0 !important;
}
.toggle-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #D4A85F;
  cursor: pointer;
  flex-shrink: 0;
}

/* Tier selector cards */
.tier-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .tier-selector { grid-template-columns: 1fr 1fr; }
}

.tier-card {
  position: relative;
  display: block;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(15, 27, 45, 0.08);
  border-radius: 1rem;
  padding: 1.25rem;
  transition:
    background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.tier-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tier-card:hover {
  border-color: rgba(212, 168, 95, 0.3);
  transform: translateY(-2px);
}
.tier-card:has(input:checked) {
  background: rgba(212, 168, 95, 0.07);
  border-color: rgba(212, 168, 95, 0.55);
  box-shadow:
    0 0 0 1px rgba(212, 168, 95, 0.25),
    0 12px 32px -8px rgba(212, 168, 95, 0.18);
}

.tier-card-eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9CA3AF;
}
.tier-card:has(input:checked) .tier-card-eyebrow { color: #B98C48; }

.tier-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F1B2D;
  letter-spacing: -0.01em;
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
}
.tier-card-price {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  color: #0F1B2D;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.tier-card-price > span:first-child { font-size: 1.5rem; }
.tier-card-suffix {
  font-size: 0.85rem;
  color: #6B7280;
  font-weight: 400;
  margin-left: 4px;
}
.tier-card-blurb {
  font-size: 0.82rem;
  color: #6B7280;
  line-height: 1.45;
}

/* File drop zone */
.file-drop {
  position: relative;
  border: 1.5px dashed rgba(15, 27, 45, 0.18);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.4);
  padding: 1.75rem 1rem;
  transition:
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}
.file-drop:hover,
.file-drop.is-drag-active {
  border-color: rgba(212, 168, 95, 0.6);
  background: rgba(212, 168, 95, 0.05);
}
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-drop-prompt {
  text-align: center;
  color: #6B7280;
  pointer-events: none;
}
.file-drop-prompt svg {
  margin: 0 auto 0.5rem;
  color: #D4A85F;
}
.file-drop-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0F1B2D;
  margin-bottom: 0.15rem;
}
.file-drop-sub {
  font-size: 0.78rem;
  color: #6B7280;
}
.file-drop-meta {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  color: #9CA3AF;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.file-drop-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
}
/* The HTML `hidden` attribute should win over our `display: flex`. Without
   this rule, the preview area (with broken empty <img>) leaks visible even
   when no file is uploaded. */
.file-drop-preview[hidden] {
  display: none;
}
.file-preview-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid rgba(15, 27, 45, 0.06);
  flex-shrink: 0;
}
.file-preview-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.file-preview-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0F1B2D;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-preview-size {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  color: #9CA3AF;
}
.file-preview-remove {
  background: none;
  border: 1px solid rgba(15, 27, 45, 0.12);
  color: #6B7280;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.file-preview-remove:hover {
  border-color: rgba(212, 168, 95, 0.5);
  color: #B98C48;
}

/* Color pickers */
.color-pickers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.color-picker-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6B7280;
  margin-bottom: 0.4rem;
  display: block;
}
.color-picker-inner {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem;
  border: 1px solid rgba(15, 27, 45, 0.1);
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.color-picker-inner:hover {
  border-color: rgba(212, 168, 95, 0.5);
  background: rgba(255, 255, 255, 0.85);
}
.color-picker-inner:focus-within {
  border-color: #D4A85F;
  box-shadow: 0 0 0 4px rgba(212, 168, 95, 0.15);
}
.color-picker input[type="color"] {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 0.4rem;
  background: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.color-picker input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.color-picker input[type="color"]::-webkit-color-swatch {
  border: 1px solid rgba(15, 27, 45, 0.1);
  border-radius: 0.4rem;
}
.color-hex {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  color: #0F1B2D;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

/* Payment summary */
.payment-summary {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: rgba(212, 168, 95, 0.06);
  border: 1px solid rgba(212, 168, 95, 0.25);
  border-radius: 0.875rem;
}
.payment-summary-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B98C48;
}
.payment-summary-amount {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 1.4rem;
  font-weight: 600;
  color: #0F1B2D;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.4rem;
}
.payment-summary-note {
  font-size: 0.78rem;
  color: #6B7280;
  line-height: 1.45;
}

/* Stripe card element */
.stripe-card-element {
  background: #fff;
  border: 1.5px solid rgba(15, 27, 45, 0.12);
  border-radius: 0.625rem;
  padding: 0.9rem 1rem;
  transition: border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.stripe-card-element.StripeElement--focus {
  border-color: #D4A85F;
}
.stripe-card-element.StripeElement--invalid {
  border-color: #B98C48;
}
.card-errors {
  font-size: 0.78rem;
  color: #B98C48;
  margin-top: 0.4rem;
  min-height: 1.2em;
}

/* Acknowledgment checkbox — emphasized box so it's obvious it's required */
.ack-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.125rem;
  font-size: 0.9rem;
  color: #0F1B2D;
  line-height: 1.5;
  cursor: pointer;
  background: rgba(212, 168, 95, 0.05);
  border: 1.5px solid rgba(212, 168, 95, 0.25);
  border-radius: 0.625rem;
  transition: border-color 0.25s var(--silk), background 0.25s var(--silk);
}
.ack-checkbox:hover {
  border-color: rgba(212, 168, 95, 0.5);
  background: rgba(212, 168, 95, 0.08);
}
.ack-checkbox:has(input:checked) {
  background: rgba(212, 168, 95, 0.1);
  border-color: rgba(212, 168, 95, 0.6);
}
.ack-checkbox input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #D4A85F;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Submit button */
.submit-btn {
  width: 100%;
  justify-content: center;
  padding: 1.125rem 1.5rem;
  font-size: 1rem;
}
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.submit-btn.is-loading {
  pointer-events: none;
}
/* Success state — overrides the disabled gold with a clear green confirmation. */
.submit-btn.is-success,
.submit-btn.is-success:disabled {
  background: #2F8E5C;
  color: #fff;
  opacity: 1;
  cursor: default;
  pointer-events: none;
  border-color: #2F8E5C;
}
.submit-btn.is-success [data-submit-label] {
  color: #fff;
}
.submit-btn.is-success .cta-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.form-status.is-success {
  background: rgba(47, 142, 92, 0.08);
  border: 1px solid rgba(47, 142, 92, 0.35);
  color: #1f5e3d;
}
.submit-btn.is-loading [data-submit-label] {
  position: relative;
  background: linear-gradient(90deg,
    rgba(15, 27, 45, 0.6) 0%,
    rgba(15, 27, 45, 1) 50%,
    rgba(15, 27, 45, 0.6) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: submitShimmer 1.5s linear infinite;
}
@keyframes submitShimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* Form status (error / success) */
.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.form-status.is-error {
  background: rgba(185, 140, 72, 0.1);
  border: 1px solid rgba(185, 140, 72, 0.4);
  color: #8a6624;
}
/* .form-status.is-success — see green override under .submit-btn.is-success */

/* Field-level error state (real-time inline feedback) */
.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select {
  border-color: #B98C48 !important;
  background: rgba(185, 140, 72, 0.04) !important;
  box-shadow: 0 0 0 3px rgba(185, 140, 72, 0.12);
}
.field-error {
  font-size: 0.78rem;
  color: #8a6624;
  margin-top: 0.45rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}
.field-error::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #B98C48;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 1px;
}

/* ─── FAQ accordion ────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid rgba(15, 27, 45, 0.08);
}
.faq-item:last-child {
  border-bottom: 1px solid rgba(15, 27, 45, 0.08);
}
.faq-q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #0F1B2D;
  transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: #B98C48; }
.faq-toggle {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: #D4A85F;
  transform: translate(-50%, -50%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-a {
  padding: 0 0 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #6B7280;
  max-width: 65ch;
}
.faq-a em {
  color: #B98C48;
  font-style: italic;
}

/* ─── Scroll progress bar (fixed top, gold gradient fill) ──────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  z-index: 60;
  background: rgba(15, 27, 45, 0.06);
}
.scroll-progress::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--scroll-pct, 0%);
  background: linear-gradient(90deg,
    rgba(212, 168, 95, 0.4),
    #d4a85f 50%,
    rgba(224, 183, 114, 0.95));
  box-shadow: 0 0 14px rgba(212, 168, 95, 0.5);
  transition: width 0.08s linear;
}

/* In-form payment-required notice (section 07, above submit) */
.payment-required-note {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6B7280;
  background: rgba(212, 168, 95, 0.08);
  border: 1px solid rgba(212, 168, 95, 0.25);
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  margin: 0 0 1rem;
}
.payment-required-note strong {
  color: #B98C48;
  font-weight: 600;
}

/* ─── QR projector zone ──────────────────────────────────────────────────
 * Renders large enough to be readable from the back of a classroom when
 * projected. White card on cream bg gives the QR maximum contrast for any
 * camera. URL text is huge so people in the back can verify the destination
 * before scanning.
 */
.qr-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 27, 45, 0.08);
  border-radius: 28px;
  padding: 3rem 2rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 30px 80px -30px rgba(15, 27, 45, 0.18);
}
@media (min-width: 768px) {
  .qr-card { padding: 4rem 3rem; }
}
.qr-eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #B98C48;
  margin-bottom: 1rem;
}
.qr-headline {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  color: #0F1B2D;
  margin: 0 0 2rem;
  text-wrap: balance;
}
.qr-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  background: #FFFFFF;
  border: 1px solid rgba(15, 27, 45, 0.06);
  border-radius: 16px;
  margin: 0 auto 1.75rem;
  width: fit-content;
}
.qr-image-wrap img {
  display: block;
  width: clamp(260px, 38vw, 480px);
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.qr-url {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: 0.02em;
  font-weight: 500;
  color: #0F1B2D;
  margin-bottom: 0.75rem;
}
.qr-helper {
  font-size: 0.95rem;
  color: #6B7280;
  margin: 0;
}

/* ─── Self-hosted fonts ──────────────────────────────────────────────────
 * Cabinet Grotesk + JetBrains Mono served locally so the page doesn't have
 * to dial out to api.fontshare.com and fonts.googleapis.com on every cold
 * load (each = DNS lookup + TLS handshake + roundtrip = ~500-1000ms on
 * mobile cellular). Files are pre-cached aggressively via /_headers.
 */
@font-face {
  font-family: "Cabinet Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cabinet-400.woff2") format("woff2");
}
@font-face {
  font-family: "Cabinet Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cabinet-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cabinet Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/cabinet-700.woff2") format("woff2");
}
@font-face {
  font-family: "Cabinet Grotesk";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/cabinet-800.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/jetbrains-400.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/jetbrains-500.woff2") format("woff2");
}

/* ─── Mobile: kill infinite animations ──────────────────────────────────
 * 9 infinite animations (orbDrift × 3, blobPulse, marquee, eyebrowPulse,
 * carePulse, pulseDotRing) keep the GPU painting continuously on every
 * frame, which kills mobile battery and causes input/scroll lag.
 * Static state on small screens — visual difference is negligible because
 * users mostly see only one section at a time anyway.
 */
@media (max-width: 768px) {
  .hero-blob,
  .hero-orb,
  .hero-orb-2,
  .hero-orb-3,
  .marquee-track,
  .eyebrow-pulse,
  .care-pulse,
  .pulse-dot-ring,
  [class*="orb"],
  [class*="-pulse"] {
    animation: none !important;
  }
  /* Keep the marquee static (don't scroll). Scrolling text on mobile
     creates a constant repaint area that fights touch scrolling for GPU. */
  .marquee-track {
    transform: none !important;
  }

  /* Disable the scroll-reveal entrance animation entirely on mobile.
     Content is always visible, no JS or animation dependency. This is the
     fix for "scroll fast, sections blank, scroll back, sections still gone"
     — that bug came from the animation interacting with mobile compositing
     layers as content moved on/off screen. */
  [data-reveal] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  /* Float cards: tiny decorative floating UI cards over the hero. They use
     backdrop-filter + box-shadow + transforms — heavy compositing for cards
     that don't load-bear. Hidden entirely on mobile to keep the GPU cool. */
  .float-card {
    display: none !important;
  }

  /* Hero decorative blur layers — these are always-rendered blurred radial
     gradients that consume GPU memory in compositing layers even when static.
     The hero-mesh underneath provides plenty of visual richness without them.
     - .hero-blob: 40px blur on a large radial gradient
     - .hero-orb*: 8px blur on small glowing dots
     - .step-num::before: 36px blur glow behind each step number (×3) */
  .hero-blob,
  .hero-orb,
  .hero-orb-a,
  .hero-orb-b,
  .hero-orb-c,
  [class*="hero-orb"] {
    display: none !important;
  }
  .step-num::before {
    display: none !important;
  }

  /* `will-change: transform` forces a permanent GPU compositing layer per
     element. The cta-primary button is used 5+ times across the page (hero,
     plans cards, footer, modal). Each instance got its own permanent layer
     — wasted on mobile where memory matters more than micro-smoothness on
     hover. Mobile keeps the button, just lets browser decide compositing. */
  .cta-primary {
    will-change: auto;
  }

  /* Simplify the modal's 3-stack box-shadow to a single shadow on mobile.
     Each shadow layer triggers a separate paint pass — for an actively
     animated modal that's measurable input lag. */
  .modal-container {
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.35);
    /* Skip the slide-up animation on mobile too — instant open feels
       snappier and avoids the 450ms perceived "stall" while it tweens. */
    animation: none;
  }
  .modal-backdrop {
    animation: none;
  }
}

/* ─── Mobile performance overrides ───────────────────────────────────────
 * Mobile GPUs (especially iOS Safari) struggle with backdrop-filter and
 * heavy paint operations. These rules disable the most expensive effects
 * on small screens so typing in form fields, scrolling, and tapping all
 * stay responsive. The visual difference at <=768px is negligible — the
 * underlying solid background colors carry the design.
 */
@media (max-width: 768px) {
  /* All backdrop-filter usage off. Nav pill, modal backdrop, modal interior,
     floating cards, hero glass shells — everything. */
  .float-card,
  [data-nav] > div > div,
  .modal-backdrop,
  .modal-content,
  .modal-content::before,
  .floating-stat,
  .lift-card,
  .glass-shell,
  .liquid-shine,
  .header-pill,
  [class*="backdrop-blur"] {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* Pointer-only effects (cursor-glow, magnetic CTA, hover halos) — don't
 * fire on touch devices. `(hover: hover) and (pointer: fine)` is the modern
 * way to detect a real mouse, not just a screen size. */
@media not (hover: hover) and (pointer: fine) {
  .cursor-glow,
  #cursor-glow {
    display: none !important;
  }
}

