/* ===== FONTS ===== */
@font-face {
  font-family: 'The Seasons';
  src: url('fonts/TheSeasons-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET & VARIABLES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f7f5ef;
  --surface: #fffefa;
  --surface-alt: #eef4e9;
  --ink: #101112;
  --ink-soft: #222827;
  --border: #dbe4d2;
  --border-hover: #b7c8ad;
  --lime: #5f9f32;
  --lime-bright: #95BF47;
  --lime-glow: rgba(95, 159, 50, 0.2);
  --lime-subtle: rgba(95, 159, 50, 0.12);
  --mint: #ddf4d2;
  --sage: #8da37d;
  --white: #111111;
  --text-secondary: #51545c;
  --text-tertiary: #77736a;
  --text-muted: #9a9286;
  --purple: #7C3AED;
  --blue: #2563EB;
  --green: #22C55E;
  --red: #DC2626;
  --orange: #F97316;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-logo: 'The Seasons', serif;
  --container: 1200px;
  --px: 80px;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 18% 12%, rgba(149, 191, 71, 0.13), transparent 28vw),
    radial-gradient(circle at 82% 4%, rgba(221, 244, 210, 0.44), transparent 24vw),
    var(--bg);
  color: var(--white);
  overflow-x: clip;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
}

input,
textarea,
select {
  font-family: var(--font-body);
}

.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--px);
  box-sizing: border-box;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

.stagger>.reveal:nth-child(1) {
  transition-delay: 0s;
}

.stagger>.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger>.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.stagger>.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.stagger>.reveal:nth-child(5) {
  transition-delay: 0.4s;
}

.stagger>.reveal:nth-child(6) {
  transition-delay: 0.5s;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px var(--px);
  background: rgba(247, 245, 239, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(35, 31, 26, 0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 16px 50px rgba(35, 31, 26, 0.09);
}

.logo {
  font-family: var(--font-logo);
  font-size: 24px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 1.5px;
  -webkit-text-stroke: 0.6px currentColor;
  transition: color 0.3s ease, transform 0.3s ease;
}

.logo-mark {
  height: 44px;
  width: auto;
  display: block;
  flex: 0 0 auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-word {
  height: 28px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo:hover .logo-mark {
  transform: rotate(15deg) scale(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-links a.btn-primary,
.nav-links a.btn-primary:hover,
.nav-links a.btn-primary:focus {
  color: #fff;
}

.nav-links a.btn-primary::after {
  display: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  position: relative;
  z-index: 110;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle span+span {
  margin-top: 6px;
}

.mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 6px);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -6px);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 105;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  perspective: 1400px;
  perspective-origin: 0% 50%;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Full-screen “page” that flips in from the spine (left edge) */
.mobile-nav-sheet {
  position: absolute;
  inset: 0;
  background: rgba(255, 253, 248, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform-origin: left center;
  transform: rotateY(-92deg);
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.mobile-nav.open .mobile-nav-sheet {
  transform: rotateY(0deg);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    perspective: none;
  }

  .mobile-nav-sheet {
    transform: none;
    transition: opacity 0.2s ease;
    opacity: 0;
  }

  .mobile-nav.open .mobile-nav-sheet {
    opacity: 1;
  }

  .hero-orbit,
  .hero-node,
  .hero-panel-meter::before,
  .badge-dot,
  .particle {
    animation: none !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    transition-duration: 0.01ms !important;
  }
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 106;
  font-size: 28px;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.mobile-nav-close:hover,
.mobile-nav-close:focus-visible {
  color: var(--lime);
  border-color: var(--lime);
  background: var(--lime-subtle);
  outline: none;
}

.mobile-nav-close .ph-duotone {
  --ph-duotone-opacity: 0.35;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--lime);
}

.mobile-nav a.active {
  color: var(--lime);
  font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.btn:active {
  transform: translateY(0) scale(0.98) !important;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  padding: 14px 28px;
  font-size: 15px;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.14);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 38px rgba(17, 17, 17, 0.22), 0 0 0 4px rgba(149, 191, 71, 0.18);
  background: #232323;
}

.btn-primary:active {
  background: #000;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

.btn-secondary {
  background: var(--surface);
  color: var(--white);
  border: 1px solid var(--border);
  padding: 14px 28px;
  font-size: 15px;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  background: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
  padding: 14px 28px;
  font-size: 15px;
}

.btn-outline:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: var(--lime-subtle);
  transform: translateY(-2px);
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--lime);
  box-shadow: 0 12px 34px rgba(35, 31, 26, 0.06);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: dotPulse 2s ease infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(95, 159, 50, 0.34);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(95, 159, 50, 0);
  }
}

/* ===== SECTION HELPERS ===== */
.section {
  padding: 88px 0;
  position: relative;
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(238, 244, 233, 0.86)),
    var(--surface-alt);
}

.section-border-top {
  border-top: 1px solid var(--border);
}

.section-border-bottom {
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.section-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
}

.section-title .muted {
  color: var(--text-tertiary);
}

.section-title .lime {
  color: var(--lime);
}

/* Large CTA headlines — fluid type; :not() in media queries so these aren’t overridden */
.section-title.section-title--cta {
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  font-size: clamp(1.45rem, 5.2vw + 0.4rem, 3.25rem);
  overflow-wrap: anywhere;
  padding: 0 2px;
}

.section-title.section-title--mid {
  font-size: clamp(1.35rem, 4vw + 0.45rem, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

/* ===== HERO ===== */
.hero {
  min-height: 86svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px var(--px) 36px;
  gap: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 980px;
  height: 980px;
  background: radial-gradient(circle, rgba(149, 191, 71, 0.2) 0%, rgba(255, 255, 255, 0.2) 28%, transparent 66%);
  pointer-events: none;
  animation: heroPulse 6s ease-in-out infinite;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 82px 0 auto;
  height: min(68vh, 660px);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
  opacity: 0.34;
  pointer-events: none;
  z-index: -3;
}

@keyframes heroPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 4.7vw, 4.25rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 890px;
}

.hero-line {
  display: block;
}

.hero-line--nowrap {
  white-space: nowrap;
}

.hero h1 .lime {
  color: #4f8f27;
  background: none;
}

.hero-sub {
  max-width: 700px;
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stage {
  width: min(860px, 94vw);
  min-height: 124px;
  position: relative;
  margin: 8px auto 0;
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--hero-rx, 0deg)) rotateY(var(--hero-ry, 0deg));
  transition: transform 0.25s ease-out;
}

.hero-orbit {
  position: absolute;
  left: 50%;
  top: 54%;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(66deg);
  box-shadow: inset 0 0 22px rgba(95, 159, 50, 0.08);
}

.hero-orbit:nth-child(1) {
  width: 580px;
  height: 210px;
  animation: orbitDrift 12s linear infinite;
}

.hero-orbit:nth-child(2) {
  width: 740px;
  height: 270px;
  animation: orbitDrift 18s linear infinite reverse;
}

.hero-orbit:nth-child(3) {
  width: 900px;
  height: 330px;
  animation: orbitDrift 24s linear infinite;
  opacity: 0.55;
}

.hero-node,
.hero-panel {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(17, 17, 17, 0.11);
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(35, 31, 26, 0.12);
}

.hero-node {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  animation: floatNode 6s ease-in-out infinite;
}

.hero-node i {
  color: var(--lime);
  font-size: 18px;
}

.hero-node--left {
  left: 8%;
  top: 42%;
}

.hero-node--right {
  right: 8%;
  top: 32%;
  animation-delay: -1.6s;
}

.hero-node--bottom {
  left: 43%;
  bottom: 6%;
  animation-delay: -3s;
}

.hero-panel {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 84vw);
  min-height: 104px;
  border-radius: 24px;
  padding: 18px;
}

.hero-panel-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: var(--lime-bright);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.18);
  flex: 0 0 auto;
}

.hero-panel-copy {
  text-align: left;
  min-width: 0;
}

.hero-panel-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.1;
}

.hero-panel-copy span {
  color: var(--text-secondary);
  font-size: 13px;
}

.hero-panel-meter {
  position: absolute;
  left: 92px;
  right: 24px;
  bottom: 16px;
  height: 5px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.09);
  overflow: hidden;
}

.hero-panel-meter::before {
  content: '';
  position: absolute;
  inset: 0 38% 0 0;
  background: linear-gradient(90deg, var(--lime), var(--lime-bright));
  border-radius: inherit;
  animation: meterBreathe 3.8s ease-in-out infinite;
}

@keyframes orbitDrift {
  to {
    transform: translate(-50%, -50%) rotateX(66deg) rotateZ(360deg);
  }
}

@keyframes floatNode {

  0%,
  100% {
    transform: translate3d(0, 0, 24px);
  }

  50% {
    transform: translate3d(0, -14px, 24px);
  }
}

@keyframes meterBreathe {

  0%,
  100% {
    transform: translateX(-8%);
  }

  50% {
    transform: translateX(52%);
  }
}

.page-hero {
  padding: 132px var(--px) 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(149, 191, 71, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 600px;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== STATS ===== */
.stats-row {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 10px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
}

.stat-label {
  font-size: 14px;
  color: var(--text-tertiary);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(35, 31, 26, 0.07);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 70px rgba(35, 31, 26, 0.13);
}

.card:hover::before {
  opacity: 1;
}

.ph-duotone {
  --ph-duotone-opacity: 0.2;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.card-icon.purple {
  color: #a78bfa;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.18), inset 0 0 24px rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.15);
}

.card-icon.green {
  color: var(--lime);
  box-shadow: 0 0 24px rgba(95, 159, 50, 0.14), inset 0 0 24px rgba(95, 159, 50, 0.05);
  border-color: rgba(95, 159, 50, 0.12);
}

.card-icon.orange {
  color: #fb923c;
  box-shadow: 0 0 24px rgba(249, 115, 22, 0.18), inset 0 0 24px rgba(249, 115, 22, 0.06);
  border-color: rgba(249, 115, 22, 0.15);
}

.card-icon.blue {
  color: #60a5fa;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.18), inset 0 0 24px rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.15);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== APP CARDS ===== */
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 18px 50px rgba(35, 31, 26, 0.07);
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(35, 31, 26, 0.13);
}

.app-card.featured {
  border-color: rgba(95, 159, 50, 0.3);
}

.app-card.featured:hover {
  border-color: rgba(95, 159, 50, 0.52);
  box-shadow: 0 24px 70px rgba(95, 159, 50, 0.12);
}

.app-card-top {
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 36px;
}

.app-card-top .app-card-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.app-card-badge {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 100px;
  background: #111;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.app-card-icon {
  opacity: 0.6;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.app-card:hover .app-card-icon {
  transform: scale(1.15) rotate(5deg);
  opacity: 1;
}

.app-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.app-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.app-card-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--lime);
}

.app-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.app-card-features li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-card-features li svg {
  color: var(--lime);
  flex-shrink: 0;
}

.app-card-features li .ph-duotone {
  color: var(--lime);
  flex-shrink: 0;
  font-size: 18px;
}

.btn .ph-duotone {
  font-size: 18px;
}

.notify-input .ph-duotone {
  color: var(--text-muted);
  flex-shrink: 0;
  font-size: 18px;
}

/* ===== BRANDS ===== */
.brands-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.brand-pill {
  padding: 16px 28px;
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.66);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 1px;
  transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.brand-pill:hover {
  transform: translateY(-4px);
  color: var(--white);
  background: #fff;
}

.brand-pill.active {
  color: var(--ink);
  border-color: rgba(95, 159, 50, 0.38);
  background: rgba(221, 244, 210, 0.72);
}

/* ===== TESTIMONIAL ===== */
.testimonial {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.testimonial:hover {
  border-color: var(--border-hover);
  box-shadow: 0 18px 54px rgba(35, 31, 26, 0.09);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: var(--lime);
  line-height: 0.5;
}

.testimonial blockquote {
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.testimonial-author strong {
  font-weight: 600;
}

.testimonial-author span {
  color: var(--text-tertiary);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  object-fit: cover;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-meta strong {
  font-size: 14px;
}

.testimonial-meta span {
  font-size: 13px;
  color: var(--text-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 18px 54px rgba(35, 31, 26, 0.12);
}

.testimonial-card .stars {
  color: var(--lime);
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 15px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

/* Carousel: avoid flex-basis quirks that clip quote to one line; still pin author with margin-top:auto */
.carousel-track .testimonial-card blockquote {
  flex: 0 1 auto;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.testimonial-card .testimonial-author {
  margin-top: auto;
  min-width: 0;
  gap: 12px;
}

.testimonial-card .testimonial-meta {
  min-width: 0;
  overflow-wrap: break-word;
}

/* ===== TESTIMONIAL CAROUSEL ===== */
.testimonials-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  gap: 24px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 8px 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* Fixed flex-basis so quote text wraps inside the card (min-width alone lets content grow the card) */
.carousel-track .testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  width: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  box-sizing: border-box;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.carousel-arrow:hover {
  background: #fff;
  border-color: var(--lime);
  color: var(--lime);
  transform: scale(1.08);
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
  background: var(--lime);
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: var(--text-secondary);
}

.brands-case-link {
  text-align: center;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
}

.brands-case-link a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.brands-case-link a:hover {
  color: var(--lime);
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-track .testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2);
    width: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
    min-width: 0;
  }
}

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

  .carousel-track .testimonial-card {
    flex: 0 0 85%;
    width: 85%;
    max-width: 85%;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .testimonials-carousel {
    gap: 8px;
  }
}

/* ===== FORMS ===== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-subtle);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-select option {
  background: var(--surface);
  color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-error {
  font-size: 13px;
  color: var(--red);
  display: none;
}

.form-group.error .form-input,
.form-group.error .form-textarea,
.form-group.error .form-select {
  border-color: var(--red);
}

.form-group.error .form-error {
  display: block;
}

.inline-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.inline-form .form-input {
  flex: 1;
}

.notify-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.notify-input:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-subtle);
}

.notify-input svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.notify-input input {
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 14px;
  width: 100%;
  font-family: var(--font-body);
}

.notify-input input::placeholder {
  color: var(--text-muted);
}

.notify-input--bounded {
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
}

/* success toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 16px 32px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 40px var(--lime-glow);
  z-index: 200;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ===== CASE STUDY CARDS ===== */
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(35, 31, 26, 0.13);
}

/* Case study: desktop + phone preview side by side */
.case-card-media {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  min-height: 200px;
  height: 220px;
  padding: 12px;
  background: #191919;
  position: relative;
  overflow: hidden;
}

.case-card-pane--desktop {
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0a0a0a;
}

.case-card-pane--desktop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.case-card-pane--mobile {
  flex-shrink: 0;
  width: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-card-phone {
  height: 100%;
  max-height: 196px;
  aspect-ratio: 9 / 19.5;
  width: auto;
  max-width: 100%;
  background: #050508;
  border-radius: 18px;
  border: 3px solid #2a2a32;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
}

.case-card-phone img.case-card-mobile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.case-card-media-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, var(--surface), transparent 50%);
  z-index: 2;
}

@media (max-width: 480px) {
  .case-card-media {
    height: 200px;
    gap: 8px;
    padding: 10px;
  }

  .case-card-pane--mobile {
    width: 78px;
  }

  .case-card-phone {
    max-height: 180px;
    border-radius: 14px;
    border-width: 2px;
  }
}

.case-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.case-card-body h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.case-card-body h3 a:hover {
  color: var(--lime);
}

.case-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.case-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.case-card-stats {
  display: flex;
  gap: 24px;
  padding-top: 8px;
}

.case-stat {
  font-size: 13px;
  color: var(--text-tertiary);
}

.case-stat strong {
  color: var(--lime);
  font-weight: 700;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.4s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-muted);
}

img.team-avatar {
  display: block;
  object-fit: cover;
  flex-shrink: 0;
}

.team-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.team-card .role {
  font-size: 14px;
  color: var(--lime);
  font-weight: 500;
}

.team-card p {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-left: 56px;
  padding-bottom: 48px;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--bg);
}

.timeline-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-item .timeline-date {
  font-size: 13px;
  color: var(--lime);
  font-weight: 500;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
  padding: 56px var(--px) 48px;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.58), rgba(238, 244, 233, 0.9)),
    var(--surface-alt);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-brand .logo {
  font-size: 17px;
  margin-bottom: 12px;
}

.footer-brand .logo-mark {
  height: 28px;
}

.footer-brand .logo-word {
  height: 18px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 40px auto;
  max-width: var(--container);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  max-width: var(--container);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-secondary);
}

/* ===== PARTICLES & GLOW ===== */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mix-blend-mode: multiply;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--sage);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }

  10% {
    opacity: 0.3;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    opacity: 0;
    transform: translateY(-10vh) scale(1);
  }
}

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 159, 50, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: left 0.15s ease-out, top 0.15s ease-out;
}

/* ===== MAP ===== */
.map-wrapper {
  border-radius: 0;
  overflow: hidden;
  max-width: 100%;
}

#map {
  max-width: 100%;
}

.leaflet-container {
  max-width: 100% !important;
}

.bespop-marker {
  position: relative;
}

.map-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  background: var(--lime-bright);
  border-radius: 50%;
  border: 3px solid var(--surface);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(95, 159, 50, 0.45);
  z-index: 2;
}

.map-ping {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  background: rgba(95, 159, 50, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: mapPulse 2s ease-out infinite;
  z-index: 1;
}

@keyframes mapPulse {
  0% {
    width: 16px;
    height: 16px;
    opacity: 0.6;
  }

  100% {
    width: 60px;
    height: 60px;
    opacity: 0;
  }
}

.leaflet-popup-content-wrapper {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(35, 31, 26, 0.16);
}

.leaflet-popup-tip {
  background: var(--surface);
}

.leaflet-popup-close-button {
  color: var(--text-secondary) !important;
}

.leaflet-popup-close-button:hover {
  color: var(--lime) !important;
}

.leaflet-control-zoom a {
  background: var(--surface) !important;
  color: var(--text-secondary) !important;
  border-color: var(--border) !important;
}

.leaflet-control-zoom a:hover {
  color: var(--lime) !important;
  background: #fff !important;
}

.leaflet-control-attribution {
  background: rgba(255, 253, 248, 0.86) !important;
  color: var(--text-muted) !important;
}

.leaflet-control-attribution a {
  color: var(--text-secondary) !important;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--px) 80px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 48px 0 16px;
}

.legal-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  :root {
    --px: 48px;
  }
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 56px;
  }

  .hero-stage {
    width: min(720px, 94vw);
    min-height: 168px;
  }

  .hero-orbit:nth-child(1) {
    width: 500px;
  }

  .hero-orbit:nth-child(2) {
    width: 620px;
  }

  .hero-orbit:nth-child(3) {
    width: 760px;
  }

  .page-hero h1 {
    font-size: 44px;
  }

  .section-title:not(.section-title--cta):not(.section-title--mid) {
    font-size: 40px;
  }

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

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

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --px: 24px;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav-close {
    display: flex;
  }

  .logo {
    font-size: 16px;
    gap: 8px;
  }

  .logo-mark {
    height: 34px;
  }

  .logo-word {
    height: 22px;
  }

  .hero {
    padding: 120px var(--px) 60px;
    gap: 28px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 34px;
    letter-spacing: 0;
    overflow-wrap: normal;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stage {
    min-height: 280px;
    margin-top: 4px;
  }

  .hero-orbit {
    display: none;
  }

  .hero-panel {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    min-height: 112px;
  }

  .hero-node {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: fit-content;
    margin: 10px auto 0;
  }

  .hero-node--left {
    margin-left: 0;
  }

  .hero-node--right {
    margin-right: 0;
  }

  .page-hero {
    padding: 104px var(--px) 44px;
  }

  .page-hero h1 {
    font-size: 36px;
    overflow-wrap: anywhere;
  }

  .page-hero p {
    font-size: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title:not(.section-title--cta):not(.section-title--mid) {
    font-size: 32px;
    overflow-wrap: anywhere;
  }

  .hero-ctas .btn-secondary {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .section-sub {
    font-size: 15px;
  }

  .stats-row {
    gap: 24px;
  }

  .stat-num {
    font-size: 28px;
  }

  .stat-divider {
    display: none;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
  }

  .brands-row {
    gap: 12px;
  }

  .brand-pill {
    padding: 12px 20px;
    font-size: 13px;
  }

  .testimonial {
    padding: 28px 24px;
  }

  .testimonial blockquote {
    font-size: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .inline-form {
    flex-direction: column;
  }

  .inline-form .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Copyright sits between muted tagline and legal links — lift contrast on small screens */
  .footer-bottom>span {
    color: var(--text-secondary);
    font-size: 14px;
  }

  .footer-links {
    justify-content: center;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .section-title:not(.section-title--cta):not(.section-title--mid) {
    font-size: 28px;
  }

  .stat {
    min-width: 100px;
  }

  .hero-ctas .btn-secondary {
    font-size: 14px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-hero {
    padding-top: 96px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 22px;
  }
}

@media (max-width: 320px) {
  .hero h1 {
    font-size: 20px;
  }
}

/* Full-width sections: keep content from forcing horizontal scroll */
.section>.container {
  max-width: min(var(--container), 100%);
}