*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar {
  width: 6px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #a31515;
  border-radius: 10px;
}

/* Ensure the drawer button interacts with the custom cursor */
#menuBtn,
#closeBtn {
  cursor: none; /* Keeps it consistent with your site's logic */
}

/* Optional: Prevent body scroll when drawer is open */
body.drawer-open {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}
body {
  cursor: none;
  overflow-x: hidden;
}

/* Custom cursor */
.cursor {
  width: 12px;
  height: 12px;
  background: #a31515;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transition:
    transform 0.15s,
    background 0.2s;
}
.cursor-ring {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(200, 151, 58, 0.5);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition:
    transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.3s;
}

/* @media (max-width: 768px) {
  .cursor {
    width: 8px;
    height: 8px;
    opacity: 0.7;
  }

  .cursor-ring {
    width: 30px;
    height: 30px;
    border-width: 1px;
    opacity: 0.4;
  }
} */

@media (hover: none) and (pointer: coarse) {
  .cursor,
  .cursor-ring {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }
}

select option {
  background-color: #1a1a1a; /* Matches your dark2 color */
  color: #f5f5f1; /* Matches your cream color */
}
/* Start with nothing on mobile */
.hero-sep::after {
  content: none;
}

/* Hero diagonal separator - Only visible on tablets/desktops */
@media (min-width: 768px) {
  .hero-sep::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 60px);
    width: 120px;
    background: #faf6f0;
    clip-path: polygon(0 0, 100% 0, 0% 100%, 0 100%);
    z-index: 3;
    pointer-events: none;
  }
}

/* step left accent */
.step {
  position: relative;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: #a31515;
  transition: height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.step:hover::before {
  height: 100%;
}
.step:hover .step-num {
  color: #a3151592 !important;
}

/* book-cover inner border */
.book-cover::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(200, 151, 58, 0.4);
  pointer-events: none;
}

/* fv1 overlay text */
.fv1-text {
  position: relative;
}
.fv1-text::after {
  content: "REFINED";
  font-family: "Bebas Neue", sans-serif;
  font-size: 72px;
  color: #a31515;
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.9;
}

/* manifesto circle */
.manifesto-section::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 80px solid rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

/* fv3 rings animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.fv3-rings div {
  animation: spin 8s linear infinite;
}
.fv3-rings div:nth-child(2) {
  animation-duration: 5s;
  animation-direction: reverse;
}
.fv3-rings div:nth-child(3) {
  animation-duration: 3s;
}
.fv3-rings div:nth-child(4) {
  animation: none;
}

/* stats strip diagonal bg */
.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(0, 0, 0, 0.04) 10px,
    rgba(0, 0, 0, 0.04) 11px
  );
  pointer-events: none;
}

/* final-cta bg text */
.final-cta::before {
  content: "WRITE";
  font-family: "Bebas Neue", sans-serif;
  font-size: 360px;
  color: rgba(250, 246, 240, 0.02);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
  user-select: none;
}

/* feature-link arrow */
.feature-link::after {
  content: "→";
}
.feature-link:hover {
  gap: 16px;
}

/* plan features checkmarks */
.plan-features li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.plan-features li::before {
  content: "✓";
  color: #c8973a;
  font-weight: 700;
  flex-shrink: 0;
}
.plan-features li.muted::before {
  content: "–";
  color: #7a7a7a;
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.1s;
}
.d2 {
  transition-delay: 0.2s;
}
.d3 {
  transition-delay: 0.3s;
}
.d4 {
  transition-delay: 0.4s;
}
a,
button {
  cursor: none;
}
