/* ================================================================
   ODDLYJOBS LANDING — PAGE-SPECIFIC STYLES
   Built on design-system.css tokens. No magic numbers.

   CRITICAL: No opacity:0 or display:none on content elements.
   GSAP uses gsap.from() to animate FROM offset states.
   CSS defines the FINAL/RESTING state only.
   ================================================================ */


/* ================================================================
   1. PRELOADER ENHANCEMENTS
   Base .preloader lives in design-system.css.
   These additions handle the expand-ring exit, tagline, and
   the body overflow lock during load.
   ================================================================ */

.preloader {
  flex-direction: column;
  gap: var(--space-lg);
}

.preloader__counter {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--accent-light);
  line-height: 1;
  letter-spacing: var(--ls-tight);
}

.preloader__expand-ring {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-round);
  border: 1px solid var(--border-subtle);
  transform: scale(0);
  will-change: transform;
  pointer-events: none;
  opacity: 0;
}

.preloader__tagline {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

/* Lock scroll while preloader is active */
body:not(.loaded) {
  overflow: hidden;
}


/* ================================================================
   2. NAVIGATION ENHANCEMENTS
   Base .nav lives in design-system.css.
   Adds scroll-hide transform and smooths it with the nav's
   existing transition set.
   ================================================================ */

.nav {
  transition:
    height var(--dur-fast) var(--ease-smooth),
    background var(--dur-fast) var(--ease-smooth),
    backdrop-filter var(--dur-fast) var(--ease-smooth),
    box-shadow var(--dur-fast) var(--ease-smooth),
    transform var(--dur-fast) var(--ease-mdx);
}

.nav.nav-hidden {
  transform: translateY(-100%);
}


/* ================================================================
   3. HERO SECTION
   Full-viewport opener. Centered content, bg textures behind,
   scroll indicator pinned to bottom.
   ================================================================ */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) var(--content-padding);
  padding-top: calc(var(--nav-height) + var(--space-lg));
}

/* ---- Hero content layer ---- */

.hero__content {
  position: relative;
  z-index: var(--z-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
}

/* ---- Hero label (above headline) ---- */

.hero__label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-ultra-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

/* ---- Hero headline ---- */

.hero__headline {
  font-family: var(--font-primary);
  font-size: var(--fs-h1);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
  max-width: 900px;
  margin-bottom: var(--space-md);
}

/* SplitText character spans — resting state is fully visible */
.hero__headline .char {
  display: inline-block;
}

/* Teal accent words */
.hero__headline .accent-word {
  color: var(--accent-light);
}

/* Gradient text variant for accent spans */
.hero__headline .accent {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Hero subtitle ---- */

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

/* ---- Hero CTA group spacing ---- */

.hero .cta-group {
  margin-bottom: var(--space-lg);
}

/* ---- Hero scroll indicator ---- */

.hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ================================================================
   4. FLOATING PILLS (job category ticker in hero)
   Horizontal infinite-scroll row of category labels.
   ================================================================ */

.pills-track {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.pills-inner {
  display: flex;
  gap: var(--space-sm);
  width: max-content;
  animation: pills-scroll 40s linear infinite;
}

.pill {
  flex-shrink: 0;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  white-space: nowrap;
  transition:
    border-color var(--dur-fast) var(--ease-smooth),
    color var(--dur-fast) var(--ease-smooth),
    background var(--dur-fast) var(--ease-smooth);
}

.pill:hover {
  border-color: var(--border-accent);
  color: var(--accent-light);
  background: var(--bg-glass-hover);
}

@keyframes pills-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ================================================================
   5. COMMUNITY SPOTLIGHT / PREVIEW
   3-column post-card grid showcasing live community posts.
   ================================================================ */

.community-spotlight,
#community-preview {
  position: relative;
  overflow: hidden;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* ---- Post card (community job listing) ---- */

.post-card {
  background: var(--bg-glass);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-card), var(--shadow-inset);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--dur-medium) var(--ease-mdx),
    border-color var(--dur-fast) var(--ease-smooth),
    box-shadow var(--dur-medium) var(--ease-mdx);
}

/* Top shimmer line */
.post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  pointer-events: none;
}

.post-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-elevated), var(--shadow-glow);
  transform: translateY(-6px);
}

/* ---- Post card header ---- */

.post-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
}

/* ---- Post card category ---- */

.post-card__category {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

/* ---- Post card title ---- */

.post-card__title {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  line-height: var(--lh-heading);
}

/* ---- Post card meta ---- */

.post-card__meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

/* ---- Post card description ---- */

.post-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-body);
  margin-top: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Post card location ---- */

.post-card__location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.post-card__location svg {
  width: 12px;
  height: 12px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

/* ---- Post card budget badge ---- */

.post-card__budget {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--highlight-subtle);
  border: 1px solid var(--border-highlight);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--highlight);
  white-space: nowrap;
}


/* ================================================================
   6. MARQUEE SECTION
   Wrapper that adds section-level padding around the
   base .marquee component from design-system.css.
   ================================================================ */

.marquee-section {
  padding: calc(var(--space-section) / 2) 0;
  overflow: hidden;
  position: relative;
}

/* Stats-flavored marquee (border-topped strip) */
.stats-marquee {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.stats-marquee .marquee-inner__item {
  color: var(--accent);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
}

.stats-marquee .marquee-inner__item::after {
  color: var(--highlight);
}


/* ================================================================
   7. PILLAR SECTIONS (three-pillar narrative)
   Full-height storytelling sections: Community, Tools, Weird.
   Watermark text sits behind, content layer above.
   ================================================================ */

.pillar {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pillar__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pillar__content {
  position: relative;
  z-index: var(--z-base);
}

.pillar__number {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-ultra-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.pillar__heading {
  font-family: var(--font-primary);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.pillar__body {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  max-width: 540px;
}


/* ================================================================
   8. HOW IT WORKS
   3-step process with numbered circles, glass-card bodies,
   and a connecting horizontal line on desktop.
   ================================================================ */

.how-section {
  position: relative;
}

.how-steps,
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
}

/* Connecting line between step cards (desktop only) */
.how-steps__line {
  position: absolute;
  top: 24px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent),
    rgba(var(--accent-rgb), 0.2),
    var(--accent)
  );
  transform: translateY(0);
  z-index: 0;
}

.how-step,
.how-card {
  position: relative;
  z-index: var(--z-base);
}

/* ---- Step number circle ---- */

.how-step__number,
.how-card__number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-round);
  background: var(--accent);
  color: var(--bg-primary);
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  box-shadow: 0 0 30px var(--accent-glow);
}

/* ---- Step icon ---- */

.how-step__icon,
.how-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--accent-subtle);
  margin: 0 auto var(--space-sm);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-step__icon svg,
.how-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* ---- Step/card titles & body ---- */

.how-card__title {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.how-card__body {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-body);
}


/* ================================================================
   9. STATS SECTION
   Prominent centered stat numbers with glass background.
   ================================================================ */

.stats-section {
  background: var(--bg-secondary);
  padding: calc(var(--space-section) / 2) 0;
  position: relative;
  overflow: hidden;
}

.stats-section .stats-row {
  justify-content: center;
  text-align: center;
}


/* ================================================================
   10. WEIRD JOBS SHOWCASE
   Horizontal draggable carousel of weird-job cards (pillar 3),
   plus the 4-up feature grid teaser section.
   ================================================================ */

/* ---- Weird section (teaser, yellow-accented) ---- */

.weird-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.weird-section .pillar__watermark {
  color: rgba(245, 158, 11, 0.03);
}

/* ---- Carousel layout (horizontal scroll) ---- */

.weird-cards {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-sm) 0;
  cursor: grab;
}

.weird-cards::-webkit-scrollbar {
  display: none;
}

.weird-cards:active {
  cursor: grabbing;
}

/* ---- Grid layout (used in teaser section) ---- */

.weird-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* ---- Weird card (individual job) ---- */

.weird-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-glass);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-card), var(--shadow-inset);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--dur-medium) var(--ease-mdx),
    border-color var(--dur-fast) var(--ease-smooth),
    box-shadow var(--dur-medium) var(--ease-mdx),
    background var(--dur-fast) var(--ease-smooth);
}

.weird-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  pointer-events: none;
}

.weird-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-elevated), var(--shadow-glow);
  transform: translateY(-6px);
  background: var(--bg-glass-hover);
}

/* ---- Weird card category badge ---- */

.weird-card__category {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

/* ---- Weird card emoji ---- */

.weird-card__emoji {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

/* ---- Weird card title ---- */

.weird-card__title {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  line-height: var(--lh-heading);
}

/* ---- Weird card company ---- */

.weird-card__company {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

/* ---- Weird card salary ---- */

.weird-card__salary {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--accent-light);
  margin-bottom: var(--space-xs);
}

/* ---- Weird card description ---- */

.weird-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Oddity badge (top-right corner) ---- */

.weird-card__oddity {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
}

/* ---- Weird feature cards (4-up teaser grid) ---- */

.weird-feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.weird-feature {
  background: var(--bg-glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--dur-medium) var(--ease-mdx),
    border-color var(--dur-fast) var(--ease-smooth),
    box-shadow var(--dur-medium) var(--ease-mdx);
}

/* Highlight line reveal on hover */
.weird-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--highlight),
    transparent
  );
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-smooth);
}

.weird-feature:hover::before {
  opacity: 1;
}

.weird-feature:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-highlight-glow);
  transform: translateY(-6px);
}

.weird-feature__emoji {
  font-size: var(--fs-h2);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.weird-feature__title {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.weird-feature__salary {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--highlight);
  margin-bottom: var(--space-xs);
}

.weird-feature__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-body);
  font-style: italic;
}


/* ================================================================
   11. TOOLS SECTION
   Tool cards, compare rows, and savings callout.
   ================================================================ */

.tools-section,
.tools-showcase {
  position: relative;
  overflow: hidden;
}

/* ---- Tool grid ---- */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* ---- Tool card ---- */

.tool-card {
  background: var(--bg-glass);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-card), var(--shadow-inset);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--dur-medium) var(--ease-mdx),
    border-color var(--dur-fast) var(--ease-smooth),
    box-shadow var(--dur-medium) var(--ease-mdx);
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  pointer-events: none;
}

.tool-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-elevated), var(--shadow-glow);
  transform: translateY(-6px);
}

/* ---- Tool card icon ---- */

.tool-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: var(--fs-lg);
  transition: background var(--dur-fast) var(--ease-smooth);
}

.tool-card:hover .tool-card__icon {
  background: rgba(var(--accent-rgb), 0.2);
}

/* ---- Tool card name ---- */

.tool-card__name {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

/* ---- Tool card versus (pricing comparison) ---- */

.tool-card__versus {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.tool-card__versus s {
  text-decoration: line-through;
  color: var(--error);
  opacity: 0.7;
}

.tool-card__versus strong {
  color: var(--accent-light);
  font-weight: var(--fw-semibold);
}

/* ---- Tool card price (standalone FREE callout) ---- */

.tool-card__price {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--accent-light);
  line-height: 1;
  margin-top: var(--space-xs);
}

/* ---- Tool card savings ---- */

.tool-card__savings {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--highlight);
  margin-top: var(--space-xs);
}

/* ---- Tools total savings callout ---- */

.tools-total {
  text-align: center;
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  position: relative;
}

.tools-total::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: var(--radius-round);
  background: radial-gradient(
    circle,
    rgba(var(--accent-rgb), 0.12) 0%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.tools-total > * {
  position: relative;
  z-index: 1;
}

/* ---- Compare rows (SaaS vs OddlyJobs) ---- */

.tools-compare {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.compare-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--dur-fast) var(--ease-smooth);
}

.compare-row:hover {
  border-color: var(--border-accent);
}

.compare-row__saas {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.compare-row__saas s {
  text-decoration: line-through;
  color: var(--error);
  opacity: 0.6;
}

.compare-row__arrow {
  color: var(--accent);
  font-size: var(--fs-sm);
  flex-shrink: 0;
  margin: 0 var(--space-sm);
}

.compare-row__ours {
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--accent-light);
}

/* ---- SaaS counter ---- */

.saas-counter {
  text-align: center;
  margin-top: var(--space-lg);
}

.saas-counter__label {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.saas-counter__value {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--accent-light);
  line-height: 1;
}

/* ---- Savings display ---- */

.savings-number {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  color: var(--accent-light);
  line-height: 1;
}

.savings-caption {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}


/* ================================================================
   12. CTA SECTION
   Full-height final call-to-action with centered headline,
   teal glow behind.
   ================================================================ */

.cta-section,
.final-cta {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-section) var(--content-padding);
}

.cta-section__heading,
.final-cta__headline {
  font-family: var(--font-primary);
  font-size: var(--fs-h1);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
  max-width: 800px;
  margin-bottom: var(--space-md);
  word-break: keep-all;
  overflow-wrap: normal;
}

.cta-section__sub,
.final-cta__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: var(--space-lg);
  line-height: var(--lh-body);
}


/* ================================================================
   13. FOOTER
   Brand column + link columns grid, social icons, bottom bar,
   and the repeating NEIGHBORS HIRING NEIGHBORS marquee.
   ================================================================ */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-lg);
  background: var(--bg-secondary);
}

/* ---- Footer marquee ---- */

.footer-marquee {
  padding: var(--space-md) 0;
  margin-bottom: var(--space-lg);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-marquee .marquee-inner__item {
  font-size: var(--fs-h2);
  font-weight: var(--fw-black);
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: var(--ls-wide);
}

/* Hide the separator dot in footer marquee */
.footer-marquee .marquee-inner__item::after {
  display: none;
}

/* ---- Footer grid ---- */

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

/* ---- Footer brand text ---- */

.footer__brand-text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-body);
  max-width: 400px;
  margin-top: var(--space-sm);
}

/* ---- Footer column titles ---- */

.footer__col-title {
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

/* ---- Footer links ---- */

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__link {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  position: relative;
  display: inline-block;
  transition: color var(--dur-fast) var(--ease-smooth);
}

.footer__link:hover {
  color: var(--text-primary);
}

/* Underline slide on hover */
.footer__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--dur-fast) var(--ease-mdx);
}

.footer__link:hover::after {
  width: 100%;
}

/* ---- Footer social icons ---- */

.footer__socials {
  display: flex;
  gap: var(--space-sm);
}

.footer__social {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-round);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition:
    border-color var(--dur-fast) var(--ease-smooth),
    color var(--dur-fast) var(--ease-smooth),
    background var(--dur-fast) var(--ease-smooth);
}

.footer__social:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-subtle);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ---- Footer bottom bar ---- */

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: var(--ls-wide);
}

.footer__copyright {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}


/* ================================================================
   14. NUMBER COUNTER ANIMATION
   Tabular-nums for smooth counting. Utility class.
   ================================================================ */

.counter-value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}


/* ================================================================
   15. GSAP ANIMATION MARKER CLASSES
   These define the RESTING/FINAL state. GSAP will use
   gsap.from() to animate FROM an offset position TO these.
   No opacity:0 here — content is visible on load.
   ================================================================ */

.gs-fade,
.gs-fade-left,
.gs-fade-right,
.gs-scale {
  will-change: transform, opacity;
}


/* ================================================================
   16. RESPONSIVE — 1024px (small laptops, large tablets)
   ================================================================ */

@media (max-width: 1024px) {

  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .weird-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .weird-feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* How-grid: 2 + 1 layout */
  .how-steps,
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-steps > :last-child,
  .how-grid > :last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
  }

  .how-steps__line {
    display: none;
  }
}


/* ================================================================
   17. RESPONSIVE — 768px (tablets)
   ================================================================ */

@media (max-width: 768px) {

  /* Hero adjustments */
  .hero {
    min-height: 80vh;
    min-height: 80dvh;
  }

  .hero__headline {
    font-size: clamp(36px, 8vw, 64px);
  }

  /* All grids collapse to single column */
  .community-grid,
  .weird-grid,
  .weird-feature-cards,
  .tool-grid,
  .how-steps,
  .how-grid {
    grid-template-columns: 1fr;
  }

  /* Reset the last-child centering from 1024 breakpoint */
  .how-steps > :last-child,
  .how-grid > :last-child {
    max-width: 100%;
  }

  /* Split layouts stack */
  .split-50-50,
  .split-60-40,
  .split-40-60 {
    grid-template-columns: 1fr;
  }

  /* Footer grid to 2 columns */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer bottom stacks */
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* Final CTA adjusts */
  .final-cta__headline,
  .cta-section__heading {
    font-size: clamp(32px, 6vw, 56px);
  }
}


/* ================================================================
   18. RESPONSIVE — 480px (phones)
   ================================================================ */

@media (max-width: 480px) {

  /* Hero shrinks */
  .hero {
    min-height: 80vh;
    padding-top: calc(var(--nav-height) + var(--space-md));
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .hero__headline {
    font-size: clamp(32px, 9vw, 48px);
  }

  .hero__subtitle {
    font-size: var(--fs-body);
  }

  /* CTA buttons go full-width */
  .cta-group .btn,
  .final-cta .btn,
  .cta-section .btn {
    width: 100%;
    justify-content: center;
  }

  /* Reduce section padding */
  .section {
    padding-top: calc(var(--space-section) * 0.6);
    padding-bottom: calc(var(--space-section) * 0.6);
  }

  .final-cta,
  .cta-section {
    min-height: 60vh;
    padding: var(--space-xl) var(--space-md);
  }

  /* Footer to single column */
  .footer__grid {
    grid-template-columns: 1fr;
  }

  /* Weird cards narrower in carousel */
  .weird-card {
    flex: 0 0 260px;
  }

  /* Pillar sections reduce min-height */
  .pillar {
    min-height: auto;
    padding: var(--space-xl) 0;
  }

  /* Pills smaller */
  .pill {
    padding: 8px 16px;
    font-size: var(--fs-xs);
  }

  /* Compare rows stack on very small screens */
  .compare-row {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }

  .compare-row__arrow {
    margin: 0;
  }
}


/* ================================================================
   19. RESPONSIVE — 320px (smallest phones)
   ================================================================ */

@media (max-width: 320px) {

  .hero__headline {
    font-size: clamp(28px, 8vw, 40px);
  }

  .pill {
    padding: 6px 12px;
    font-size: 11px;
  }

  .weird-card {
    flex: 0 0 240px;
  }

  .savings-number {
    font-size: var(--fs-h2);
  }
}


/* ================================================================
   20. REDUCED MOTION OVERRIDE
   If user prefers-reduced-motion, strip will-change hints
   and keep everything static. Base animations disabled in
   design-system.css; this handles landing-specific bits.
   ================================================================ */

@media (prefers-reduced-motion: reduce) {

  .gs-fade,
  .gs-fade-left,
  .gs-fade-right,
  .gs-scale {
    will-change: auto;
  }

  .pills-inner {
    animation: none;
  }

  .post-card:hover,
  .tool-card:hover,
  .weird-card:hover,
  .weird-feature:hover {
    transform: none;
  }
}
