/* ==========================================================================
   ProAI — design tokens
   ========================================================================== */
:root {
  color-scheme: light;
  --ink: #0c1820;
  --ink-2: #143035;
  --deep: #10282e;
  --teal: #14766f;
  --teal-2: #168982;
  --mint: #4fc7ad;
  --mint-2: #6bdac4;
  --gold: #e8ad4a;
  --blue: #4d6fd3;
  --paper: #fbfcfa;
  --paper-2: #f3f6f2;
  --surface: #ffffff;
  --soft: #e9efeb;
  --muted: #5a6968;
  --muted-2: #78888a;
  --line: rgba(12, 24, 32, 0.09);
  --line-strong: rgba(12, 24, 32, 0.15);
  --white: #ffffff;
  --shadow-sm: 0 4px 14px rgba(12, 24, 32, 0.05);
  --shadow-md: 0 12px 30px rgba(12, 24, 32, 0.08);
  --shadow-lg: 0 24px 64px rgba(12, 24, 32, 0.12);
  --shadow-xl: 0 36px 90px rgba(12, 24, 32, 0.18);
  --grad-brand: linear-gradient(120deg, #4fc7ad 0%, #4d6fd3 100%);
  --grad-brand-2: linear-gradient(120deg, #14766f 0%, #4d6fd3 55%, #e8ad4a 100%);
  --grad-dark: linear-gradient(135deg, #0c1820 0%, #12383b 100%);
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 34%, #f4f7f3 100%);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}

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

a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

::selection { background: rgba(82, 208, 181, 0.32); color: var(--ink); }

/* Reveal-on-scroll base state */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: background 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.site-header.has-shadow {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 26px rgba(12, 24, 32, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 1;
}
.brand-mark svg { width: 100%; height: 100%; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
  color: #22383a;
  position: relative;
  transition: color 180ms var(--ease);
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
}
.site-nav a:hover { color: var(--teal); }
.site-nav a:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white) !important;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(12, 24, 32, 0.2);
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px; height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
}

/* ==========================================================================
   Global buttons
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}
.button svg { width: 18px; height: 18px; }
.button.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(12, 24, 32, 0.18);
}
.button.primary:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(12, 24, 32, 0.24);
}
.button.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
}
.button.secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button.glow { position: relative; }
.button.glow::before { display: none; }
@keyframes glow-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.04); }
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.section {
  padding: clamp(68px, 8vw, 118px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}
.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}
.section-heading h2 {
  margin: 0;
  max-width: 900px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.1rem, 3.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 600;
}
.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 8vw, 118px) clamp(20px, 5vw, 72px) clamp(72px, 8vw, 112px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(251,252,250,0.9)),
    radial-gradient(circle at 78% 22%, rgba(79, 199, 173, 0.12), transparent 34%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 24, 32, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 24, 32, 0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 78%);
}
.orb {
  display: none;
}
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(82, 208, 181, 0.55), transparent 65%); top: -180px; left: -120px; }
.orb-2 { width: 640px; height: 640px; background: radial-gradient(circle, rgba(88, 119, 216, 0.42), transparent 65%); top: 20%; right: -220px; animation-delay: -8s; }
.orb-3 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(245, 183, 89, 0.35), transparent 65%); bottom: -160px; left: 30%; animation-delay: -14s; }

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -20px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(0.94); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  align-items: center;
  gap: clamp(40px, 6vw, 92px);
  max-width: 1360px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.72rem, 5vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--ink);
}

.gradient-text {
  background: var(--grad-brand-2);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-slide 8s ease-in-out infinite;
  display: inline;
}
@keyframes gradient-slide {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero .lead {
  max-width: 640px;
  margin: 26px 0 0;
  color: #35494b;
  font-size: clamp(1.04rem, 1.25vw, 1.18rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.hero-actions .button.secondary {
  background: rgba(255, 255, 255, 0.9);
}
.hero-actions .button.secondary svg {
  color: #25d366;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 46px;
}
.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}
.stat strong {
  display: block;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 8px;
}
.stat span:not([data-counter]) {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
  display: block;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(12, 24, 32, 0.12);
  box-shadow: 0 34px 70px rgba(12, 24, 32, 0.16);
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  animation: hero-float 8s ease-in-out infinite;
  transform-origin: center center;
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 65%, rgba(79, 199, 173, 0.18));
  pointer-events: none;
  z-index: 1;
}
@keyframes hero-float {
  0%, 100% { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg) translateY(-10px); }
}

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  font-size: 0.86rem;
  z-index: 2;
  animation: float-card 6s ease-in-out infinite;
}
.hero-float strong { display: block; color: var(--ink); font-weight: 700; font-size: 0.88rem; }
.hero-float span { display: block; color: var(--muted); font-size: 0.78rem; }
.hero-float-icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--tint, rgba(82,208,181,0.2));
  color: var(--color, var(--mint));
  flex-shrink: 0;
}
.hero-float-icon svg { width: 18px; height: 18px; }
.hero-float-1 { top: 9%; left: -1%; animation-delay: 0s; }
.hero-float-2 { top: 42%; right: -1%; animation-delay: -2s; }
.hero-float-3 { bottom: 12%; left: 7%; animation-delay: -4s; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-flow {
  position: absolute;
  left: 50%;
  bottom: 1%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  z-index: 3;
}
.hero-flow span {
  position: relative;
  padding: 8px 14px;
  color: #314447;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}
.hero-flow span + span::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 50%;
  width: 1px;
  height: 18px;
  background: var(--line);
  transform: translateY(-50%);
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar {
  position: relative;
  padding: 38px clamp(20px, 5vw, 72px);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.trust-label {
  margin: 0 0 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 34px;
  align-items: center;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: #2f4143;
  white-space: nowrap;
}
.marquee-track span.dot {
  color: var(--mint);
  font-size: 1.6rem;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Services
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(12, 24, 32, 0.03);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease), background 260ms var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 260ms var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 127, 120, 0.35);
  background: #fcfefd;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--tint, rgba(82,208,181,0.18));
  color: var(--color, var(--teal));
  margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }

.card-number {
  color: var(--teal);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: inline-block;
}

.service-card h3 {
  margin: 0 0 12px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.28rem, 1.6vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 600;
}
.service-card > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.98rem;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.service-list li {
  position: relative;
  padding-left: 18px;
  color: #37494b;
  font-size: 0.88rem;
  font-weight: 500;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

/* ==========================================================================
   Process
   ========================================================================== */
.process-section {
  background: var(--grad-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.light-heading h2 { color: var(--white); }
.light-heading .eyebrow { color: var(--mint); }
.light-heading p:not(.eyebrow) { color: rgba(255,255,255,0.75); }

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(82, 208, 181, 0.4), rgba(82, 208, 181, 0.4), transparent);
}
.process-step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: transform 260ms var(--ease), background 260ms var(--ease), border-color 260ms var(--ease);
}
.process-step:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(82, 208, 181, 0.3);
}
.process-number {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--grad-brand);
  color: var(--ink);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(82, 208, 181, 0.35);
}
.process-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(82, 208, 181, 0.16);
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.process-step h3 {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 600;
}
.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ==========================================================================
   Solutions (Feature section)
   ========================================================================== */
.feature-section {
  background: linear-gradient(180deg, var(--paper-2), #ffffff);
}

.featured-solution {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-bottom: 22px;
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(79, 199, 173, 0.12), transparent 42%),
    linear-gradient(135deg, var(--deep) 0%, #173f44 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: rgba(82, 208, 181, 0.18);
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.featured-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(82, 208, 181, 0.6);
  animation: featured-pulse 1.8s ease-out infinite;
}
@keyframes featured-pulse {
  0% { box-shadow: 0 0 0 0 rgba(82, 208, 181, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(82, 208, 181, 0); }
  100% { box-shadow: 0 0 0 0 rgba(82, 208, 181, 0); }
}
.featured-solution h3 {
  margin: 20px 0 14px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 600;
}
.featured-solution > .featured-content > p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.6;
}
.featured-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.featured-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
}
.featured-list li::before {
  content: '';
  position: absolute;
  top: 10px; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(82, 208, 181, 0.5);
}
.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 14px 24px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: background 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.featured-cta:hover {
  background: var(--mint-2);
  transform: translateX(3px);
  box-shadow: 0 12px 30px rgba(82, 208, 181, 0.35);
}
.featured-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 260px;
  margin-left: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}
.featured-visual svg {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.solution-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(12, 24, 32, 0.03);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 127, 120, 0.4);
  background: #fcfefd;
}
.solution-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: rgba(82, 208, 181, 0.18);
  color: var(--teal);
}
.solution-icon svg { width: 26px; height: 26px; }
.solution-card:nth-child(2) .solution-icon { background: rgba(245, 183, 89, 0.22); color: #a3700f; }
.solution-card:nth-child(3) .solution-icon { background: rgba(88, 119, 216, 0.16); color: var(--blue); }
.solution-card:nth-child(5) .solution-icon { background: rgba(245, 183, 89, 0.22); color: #a3700f; }
.solution-card:nth-child(6) .solution-icon { background: rgba(88, 119, 216, 0.16); color: var(--blue); }

.solution-card h3 {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.2rem;
  line-height: 1.22;
  letter-spacing: 0;
  font-weight: 600;
}
.solution-card > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.94rem;
}
.solution-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.solution-tags span {
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  background: rgba(12, 24, 32, 0.06);
  color: #314447;
  font-size: 0.76rem;
  font-weight: 600;
}

/* ==========================================================================
   Results
   ========================================================================== */
.results-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.result-card {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--radius-md);
  background: #fbfdfb;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}
.result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 118, 111, 0.28);
}
.result-card::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79, 199, 173, 0.12), rgba(77, 111, 211, 0.1));
  pointer-events: none;
}
.result-value {
  display: block;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: 0;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.result-unit {
  display: inline-block;
  color: var(--muted);
  font-size: 1.06rem;
  font-weight: 600;
  margin: 6px 0 0;
}
.result-card p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ==========================================================================
   Packages
   ========================================================================== */
.packages-section {
  background: var(--paper);
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}
.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 127, 120, 0.35);
}
.package-card.featured {
  background: linear-gradient(160deg, var(--ink) 0%, #143b3d 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}
.package-card.featured:hover {
  transform: translateY(-12px);
}
.package-flag {
  position: absolute;
  top: -14px; left: 32px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--grad-brand);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(82, 208, 181, 0.35);
}
.package-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}
.package-head h3 {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 600;
}
.package-duration {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(12, 24, 32, 0.06);
  font-size: 0.76rem;
  font-weight: 700;
  color: #314447;
}
.package-card.featured .package-duration {
  background: rgba(82, 208, 181, 0.18);
  color: var(--mint);
}
.package-card > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.package-card.featured > p {
  color: rgba(255, 255, 255, 0.78);
}
.package-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}
.package-list li {
  position: relative;
  padding-left: 26px;
  color: #37494b;
  font-size: 0.95rem;
  line-height: 1.45;
}
.package-card.featured .package-list li { color: rgba(255, 255, 255, 0.86); }
.package-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(82, 208, 181, 0.2);
  border: 2px solid var(--mint);
  box-sizing: border-box;
}
.package-list li::after {
  content: '';
  position: absolute;
  left: 4px; top: 10px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
}
.package-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 200ms var(--ease);
  align-self: flex-start;
}
.package-cta:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateX(3px);
}
.package-cta.primary {
  background: var(--mint);
  color: var(--ink);
  border-color: var(--mint);
}
.package-cta.primary:hover {
  background: var(--mint-2);
  color: var(--ink);
  border-color: var(--mint-2);
  box-shadow: 0 12px 28px rgba(82, 208, 181, 0.4);
}

/* ==========================================================================
   Governance
   ========================================================================== */
.governance {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.9fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.governance-copy h2 {
  margin: 8px 0 20px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.1rem, 3.4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 600;
}
.governance-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}
.governance-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(82, 208, 181, 0.12), rgba(88, 119, 216, 0.06));
  border: 1px solid rgba(82, 208, 181, 0.3);
}
.governance-badge svg {
  width: 42px; height: 42px;
  color: var(--teal);
  flex-shrink: 0;
}
.governance-badge strong {
  display: block;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.06rem;
  color: var(--ink);
  font-weight: 700;
}
.governance-badge span {
  color: #37494b;
  font-size: 0.9rem;
  line-height: 1.5;
}

.governance-list {
  display: grid;
  gap: 14px;
}
.governance-list div {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.governance-list div:hover {
  transform: translateX(4px);
  border-color: var(--mint);
}
.governance-list strong {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
}
.governance-list span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  background: var(--paper-2);
}
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 26px;
  transition: box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 127, 120, 0.35);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  letter-spacing: 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--teal);
  border-radius: 2px;
  transition: transform 240ms var(--ease);
}
.faq-icon::before {
  top: 10px; left: 3px;
  width: 16px; height: 2px;
}
.faq-icon::after {
  left: 10px; top: 3px;
  width: 2px; height: 16px;
}
.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
}
.faq-body {
  overflow: hidden;
  padding: 0 0 22px;
}
.faq-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
  gap: clamp(40px, 6vw, 96px);
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(135deg, var(--ink) 0%, #143b3d 55%, #10282e 100%);
  background-size: 72px 72px, 72px 72px, auto;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  display: none;
}
.contact-copy { position: relative; z-index: 1; }
.contact-copy h2 {
  margin: 8px 0 22px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.1rem, 3.4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--white);
}
.contact-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
  line-height: 1.6;
}
.contact-section .eyebrow { color: var(--mint); }

.contact-expect {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  gap: 12px;
}
.contact-expect li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
}
.contact-check {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: var(--radius-sm);
  background: var(--mint);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.contact-alt {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.contact-alt-label {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-alt-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin: 0 8px 8px 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.contact-alt-link svg { width: 18px; height: 18px; color: var(--mint); }
.contact-alt-link:hover {
  background: rgba(82, 208, 181, 0.16);
  border-color: var(--mint);
  transform: translateY(-2px);
}

.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-xl);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  font-size: 0.9rem;
}
.contact-form label span em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  margin-left: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted-2);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(82, 208, 181, 0.2);
}
.contact-form textarea { resize: vertical; min-height: 130px; }

.contact-form .button {
  margin-top: 6px;
  width: 100%;
  background: var(--mint);
  color: var(--ink);
  border: 0;
}
.contact-form .button:hover {
  background: var(--mint-2);
  box-shadow: 0 16px 34px rgba(82, 208, 181, 0.4);
}

.form-note {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px clamp(20px, 5vw, 72px) 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 80px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .brand {
  color: var(--white);
  margin-bottom: 16px;
}
.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  max-width: 360px;
  line-height: 1.55;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-nav > div {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer-nav strong {
  color: var(--white);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.footer-nav a, .footer-nav span {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 180ms var(--ease);
}
.footer-nav a:hover { color: var(--mint); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-inner,
  .section-heading,
  .governance,
  .contact-section,
  .featured-solution {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .solutions-grid,
  .process-track,
  .results-grid,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process-track::before { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .package-card.featured { transform: translateY(0); }
  .package-card.featured:hover { transform: translateY(-6px); }
  .hero-visual { min-height: 380px; margin-top: 12px; }
  .featured-visual { order: -1; margin: 0 auto; }
  .contact-section::before { width: 400px; height: 400px; }
}

/* ==========================================================================
   Legal / secondary pages (pricing, terms, refund, privacy)
   ========================================================================== */
.legal-hero {
  position: relative;
  padding: clamp(78px, 9vw, 124px) clamp(20px, 5vw, 72px) 48px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(251,252,250,0.94)),
    radial-gradient(circle at 80% 10%, rgba(79, 199, 173, 0.12), transparent 34%);
  overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(12, 24, 32, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 24, 32, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 76%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 76%);
  pointer-events: none;
}
.legal-hero-inner {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
}
.legal-hero h1 {
  margin: 20px 0 12px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 600;
  max-width: 900px;
}
.legal-meta {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 920px;
}

.legal-content {
  padding: 56px clamp(20px, 5vw, 72px) clamp(80px, 9vw, 132px);
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  max-width: 1360px;
  margin: 0 auto;
}
.legal-toc {
  align-self: start;
  position: sticky;
  top: 100px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  display: grid;
  gap: 6px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.legal-toc strong {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.legal-toc a {
  color: #37494b;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0;
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
.legal-toc a:hover {
  color: var(--teal);
  border-left-color: var(--mint);
}

.legal-body {
  width: 100%;
  max-width: none;
  min-width: 0;
}
.legal-body > section:not(#tiers),
.legal-cta {
  max-width: 820px;
}
.legal-body section {
  margin-bottom: 44px;
  scroll-margin-top: 100px;
}
.legal-body h2 {
  margin: 0 0 16px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--ink);
}
.legal-body h3 {
  margin: 26px 0 10px;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
}
.legal-body p, .legal-body li {
  color: #35494b;
  line-height: 1.7;
  font-size: 1rem;
}
.legal-body p { margin: 0 0 16px; }
.legal-body ul, .legal-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal-body li { margin-bottom: 8px; }
.legal-body a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: rgba(22, 127, 120, 0.4);
  text-underline-offset: 3px;
  transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease);
}
.legal-body a:hover {
  color: var(--teal-2);
  text-decoration-color: currentColor;
}
.legal-body strong { color: var(--ink); font-weight: 700; }
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.94rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.legal-body th, .legal-body td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal-body th {
  background: var(--paper-2);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
.legal-body tr:last-child td { border-bottom: 0; }
.legal-callout {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(79, 199, 173, 0.1), rgba(77, 111, 211, 0.05));
  border: 1px solid rgba(82, 208, 181, 0.3);
  margin: 24px 0;
}
.legal-callout p:last-child { margin-bottom: 0; }
.legal-cta {
  margin-top: 60px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--ink) 0%, #143b3d 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.legal-cta::after {
  display: none;
}
.legal-cta h3 {
  position: relative;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.5rem;
  margin: 0 0 12px;
  color: var(--white);
  letter-spacing: 0;
  font-weight: 600;
}
.legal-cta p {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px;
}
.legal-cta .button {
  position: relative;
  background: var(--mint);
  color: var(--ink);
}
.legal-cta .button:hover {
  background: var(--mint-2);
  box-shadow: 0 16px 34px rgba(82, 208, 181, 0.4);
}

/* Pricing tiers grid on pricing page */
.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 24px 0 46px;
  padding: 0;
  list-style: none;
}
.pricing-tier {
  position: relative;
  min-width: 0;
  padding: clamp(28px, 3vw, 36px);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  column-gap: clamp(28px, 4vw, 48px);
  row-gap: 12px;
  align-items: start;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}
.pricing-tier:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 118, 111, 0.28);
}
.pricing-tier.featured {
  background: linear-gradient(160deg, var(--ink), #143b3d);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}
.pricing-tier.featured:hover { transform: translateY(-10px); }
.pricing-tier-flag {
  position: absolute;
  top: -14px; left: 26px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--grad-brand);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(82, 208, 181, 0.35);
}
.pricing-tier-name {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.32rem;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: 0;
  color: inherit;
}
.pricing-tier-duration {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.pricing-tier.featured .pricing-tier-duration { color: rgba(255,255,255,0.65); }
.pricing-tier-price {
  display: grid;
  gap: 6px;
  align-items: start;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--ink);
  margin: 0 0 8px;
  min-width: 0;
}
.pricing-tier.featured .pricing-tier-price {
  color: inherit;
}
.pricing-amount {
  display: block;
  min-width: 0;
  font-size: clamp(2rem, 3vw, 2.58rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.pricing-tier.featured .pricing-amount {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pricing-unit {
  display: inline-block;
  max-width: 100%;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.pricing-tier.featured .pricing-unit {
  color: rgba(255,255,255,0.65);
  background: none;
  -webkit-text-fill-color: rgba(255,255,255,0.65);
}
.pricing-tier-from {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 22px;
  font-weight: 600;
}
.pricing-tier.featured .pricing-tier-from { color: rgba(255,255,255,0.55); }
.pricing-tier-list {
  list-style: none;
  grid-column: 2;
  grid-row: 1 / span 6;
  padding: 0 0 0 28px;
  margin: 0;
  display: grid;
  gap: 12px;
  border-top: 0;
  border-left: 1px solid var(--line);
}
.pricing-tier.featured .pricing-tier-list {
  border-left-color: rgba(255,255,255,0.14);
}
.pricing-tier-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.94rem;
  color: #35494b;
  line-height: 1.5;
}
.pricing-tier.featured .pricing-tier-list li { color: rgba(255,255,255,0.85); }
.pricing-tier-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(82, 208, 181, 0.2);
  border: 2px solid var(--mint);
  box-sizing: border-box;
}
.pricing-tier-list li::after {
  content: '';
  position: absolute;
  left: 4px; top: 9px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
}
.pricing-tier-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  grid-column: 1;
  margin-top: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  transition: all 200ms var(--ease);
  align-self: end;
  justify-self: start;
}
.pricing-tier-cta:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.pricing-tier.featured .pricing-tier-cta {
  background: var(--mint);
  color: var(--ink);
  border-color: var(--mint);
}
.pricing-tier.featured .pricing-tier-cta:hover {
  background: var(--mint-2);
  border-color: var(--mint-2);
  box-shadow: 0 12px 28px rgba(82, 208, 181, 0.4);
}

@media (max-width: 1080px) {
  .legal-content { grid-template-columns: 1fr; }
  .legal-toc { position: static; order: -1; max-height: none; }
  .pricing-tier.featured { transform: translateY(0); }
  .pricing-tier.featured:hover { transform: translateY(-4px); }
}

@media (max-width: 760px) {
  .menu-toggle { display: grid; place-items: center; }
  .site-nav {
    position: absolute;
    top: 78px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 8px; }
  .site-nav a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 6px; }

  .section { padding: 68px 20px; }
  .hero { padding-bottom: 80px; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.6rem); }

  .service-grid,
  .solutions-grid,
  .process-track,
  .results-grid,
  .package-grid,
  .hero-stats,
  .pricing-tiers,
  .form-row,
  .footer-nav {
    grid-template-columns: 1fr;
  }
  .legal-content { padding-top: 40px; }
  .legal-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }
  .pricing-tier { padding: 28px 22px; }
  .pricing-tier {
    grid-template-columns: 1fr;
  }
  .pricing-tier-list {
    grid-column: auto;
    grid-row: auto;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .pricing-tier.featured .pricing-tier-list {
    border-top-color: rgba(255,255,255,0.14);
    border-left: 0;
  }
  .hero-stats { gap: 16px; padding-top: 22px; margin-top: 40px; }
  .hero-actions .button {
    flex: 1 1 100%;
    width: 100%;
  }
  .hero-visual { flex-direction: column; }
  .hero-flow {
    position: static;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
  }
  .hero-flow span {
    flex: 1 1 120px;
    text-align: center;
    white-space: normal;
  }
  .hero-flow span + span::before { display: none; }
  .contact-form { padding: 22px; }
  .package-card { padding: 30px 24px; }
  .footer-bottom { flex-direction: column; }
  .hero-float { font-size: 0.78rem; padding: 10px 14px 10px 10px; }
  .hero-float strong { font-size: 0.82rem; }
  .hero-float span { font-size: 0.72rem; }
  .hero-float-icon { width: 30px; height: 30px; }
  .hero-float-icon svg { width: 14px; height: 14px; }
  .hero-image { max-width: 100%; transform: none; animation: none; }
}
