/* ===== Acta by Found — Design System (dark premium, gradient accents; adapted from Found's) ===== */

:root {
  --bg: #0a0c0a;
  --bg-elevated: #14170f;
  --bg-elevated-2: #1a1e14;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f6f0;
  --muted: #9a9c92;
  --faint: #6c6e64;

  --emerald: #34d399;
  --lime: #34d399;
  --ink: #0a0c0a;
  --gradient: linear-gradient(90deg, var(--emerald), var(--lime));

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 10px 30px -14px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 24px 60px -20px rgba(0, 0, 0, 0.7);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --max-width: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

section {
  position: relative;
  z-index: 1;
  padding: 5.5rem 1.5rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

p {
  color: var(--muted);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

/* ===== Card (generic dark elevated panel) ===== */
.glass {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.35s var(--ease);
}

.btn-primary {
  background: var(--gradient);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.cta-band .btn-primary {
  background: var(--ink);
  color: var(--text);
}

.cta-band .btn-primary:hover {
  background: #000;
}

/* ===== Navbar ===== */
.navbar {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.navbar .logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}

.navbar .logo span {
  color: var(--lime);
}

.navbar nav ul {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.navbar nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.navbar nav a:not(.btn):hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 9rem;
  padding-bottom: 6rem;
  background:
    radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px) 0 0/26px 26px,
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background:
    radial-gradient(circle at 30% 40%, rgba(52, 211, 153, 0.28), transparent 55%),
    radial-gradient(circle at 70% 50%, rgba(214, 255, 74, 0.18), transparent 55%);
  filter: blur(48px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p.lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ===== Service cards ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  position: relative;
  display: block;
  padding: 2.25rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-elevated-2);
  border-color: var(--border-strong);
}

.service-card::after {
  content: "";
  position: absolute;
  left: 2.25rem;
  right: 2.25rem;
  bottom: 0;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: left;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.service-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 0.4rem 0.85rem 0.4rem 0.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lime);
  margin-bottom: 1.5rem;
}

.offer-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
}

.offer-icon svg,
.contact-info-icon svg {
  width: 18px;
  height: 18px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.offer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--lime);
  transition: gap 0.3s var(--ease);
}

.service-card:hover .offer-link {
  gap: 0.8rem;
}

/* ===== Generic section blocks ===== */
.section-header {
  max-width: 620px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header.left {
  margin: 0 0 3rem;
  text-align: left;
}

/* ===== Why us / stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.stat-card {
  padding: 1.75rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ===== Process ===== */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 2rem;
}

.process-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.85rem 2rem;
}

.process-index {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--faint);
  flex-shrink: 0;
}

/* ===== CTA band ===== */
.cta-band {
  text-align: center;
  padding: 4.5rem 3rem;
  position: relative;
  overflow: hidden;
  background: var(--gradient) !important;
  border: none !important;
}

.cta-band .eyebrow {
  background: rgba(10, 12, 10, 0.14);
  color: var(--ink);
  border-color: rgba(10, 12, 10, 0.18);
}

.cta-band .eyebrow::before {
  background: var(--ink);
}

.cta-band h2 {
  margin-bottom: 1.1rem;
  color: var(--ink);
}

.cta-band p {
  max-width: 460px;
  margin: 0 auto 2.25rem;
  color: rgba(10, 12, 10, 0.7);
}

/* ===== Footer ===== */
footer {
  padding: 3.5rem 1.5rem 2.25rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand .logo span {
  display: block;
  width: 30px;
  height: 3px;
  margin-top: 6px;
  background: var(--emerald);
  border-radius: 2px;
  font-size: 0;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.footer-newsletter {
  max-width: 320px;
}

.footer-newsletter h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.6rem;
  color: var(--faint);
}

.footer-newsletter p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
}

.newsletter-form input[type="text"]:focus,
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--emerald);
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--faint);
}

.newsletter-consent input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--emerald);
  flex-shrink: 0;
}

.newsletter-consent a {
  color: var(--muted);
  text-decoration: underline;
}

.newsletter-form button {
  padding: 0.65rem 1.15rem;
  font-size: 0.88rem;
  align-self: flex-start;
}

.footer-newsletter .newsletter-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--emerald);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.footer-social a:hover {
  color: var(--lime);
  border-color: var(--border-strong);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-links {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
  color: var(--faint);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

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

.footer-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--faint);
}

/* ===== Custom cursor ===== */
@media (hover: hover) and (pointer: fine) {
  body.cursor-ready {
    cursor: none;
  }

  body.cursor-ready a,
  body.cursor-ready button {
    cursor: none;
  }
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  opacity: 0;
  width: 6px;
  height: 6px;
  background: var(--lime);
}

body.cursor-ready .cursor-dot {
  opacity: 1;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.story-inner > .reveal:nth-child(1) { transition-delay: 0s; }
.story-inner > .reveal:nth-child(2) { transition-delay: 0.08s; }
.story-inner > .reveal:nth-child(3) { transition-delay: 0.16s; }
.story-inner > .reveal:nth-child(4) { transition-delay: 0.24s; }
.story-inner > .reveal:nth-child(5) { transition-delay: 0.32s; }
.story-inner > .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ===== Page transition overlay ===== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.page-transition.is-active {
  opacity: 1;
  pointer-events: all;
}

/* ===== Intro loader (homepage) ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
  text-align: center;
  opacity: 0;
  animation: loaderReveal 0.7s var(--ease) 0.1s forwards;
}

.loader-logo span {
  display: block;
  width: 52px;
  height: 4px;
  margin: 8px auto 0;
  background: var(--emerald);
  border-radius: 2px;
  font-size: 0;
}

@keyframes loaderReveal {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== Hero entrance animation ===== */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > *,
.page-hero .container > * {
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease) forwards;
}

/* Homepage hero waits for the intro loader to clear first */
.hero-content > *:nth-child(1) { animation-delay: 0.55s; }
.hero-content > *:nth-child(2) { animation-delay: 0.68s; }
.hero-content > *:nth-child(3) { animation-delay: 0.8s; }
.hero-content > *:nth-child(4) { animation-delay: 0.92s; }
.hero-content > *:nth-child(5) { animation-delay: 1.04s; }

/* Subpages have no loader, so animate in right away */
.page-hero .container > *:nth-child(1) { animation-delay: 0.1s; }
.page-hero .container > *:nth-child(2) { animation-delay: 0.22s; }
.page-hero .container > *:nth-child(3) { animation-delay: 0.34s; }
.page-hero .container > *:nth-child(4) { animation-delay: 0.46s; }
.page-hero .container > *:nth-child(5) { animation-delay: 0.58s; }

/* ===== Page hero (service/contact pages) ===== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: 6.5rem;
  padding-bottom: 2.5rem;
  background:
    radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px) 0 0/26px 26px,
    var(--bg);
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 400px;
  top: -160px;
  right: -100px;
  background:
    radial-gradient(circle at 40% 40%, rgba(52, 211, 153, 0.22), transparent 55%),
    radial-gradient(circle at 60% 60%, rgba(214, 255, 74, 0.14), transparent 55%);
  filter: blur(48px);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

#picker-tool {
  padding-top: 0;
  padding-bottom: 2.5rem;
  margin-top: -5rem;
}

#compare-section {
  padding-top: 0;
  padding-bottom: 2.5rem;
  margin-top: 1.5rem;
}

#contact-form-section {
  padding-top: 0;
  margin-top: -2.5rem;
}

.page-hero h1 {
  margin-bottom: 1.5rem;
}

.page-hero p.lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 620px;
  margin-bottom: 2rem;
}

.case-hero-stat {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--emerald);
}

.case-hero-stat span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--faint);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--text);
}

/* ===== Feature list (service pages) ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-top: 2.5rem;
}

.feature-grid-3col {
  grid-template-columns: repeat(3, 1fr);
}

.cite {
  font-size: 0.68em;
  font-weight: 500;
  color: var(--emerald);
  text-decoration: none;
  margin-left: 0.3em;
  opacity: 0.75;
  white-space: nowrap;
}

.cite:hover {
  opacity: 1;
  text-decoration: underline;
}

.case-stat .cite {
  display: inline-block;
  margin-left: 0.4em;
  vertical-align: middle;
}

/* Offline marketing: tighter vertical rhythm across a long stack of sections */
#problem,
#solution,
#stats,
#how-it-works,
#services,
#offline-faq {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

#problem .feature-grid,
#services .feature-grid {
  margin-top: 1.75rem;
}

#solution .compare-block {
  margin-top: 0.5rem;
}

.region-note {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.18);
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 760px;
}

.feature-card {
  padding: 1.85rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.92rem;
}

/* ===== Contact form ===== */

.form-card {
  padding: 2.25rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.05rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--emerald);
  background: var(--bg-elevated-2);
}

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

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-info-item {
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-optional {
  font-weight: 400;
  color: var(--faint);
  text-transform: none;
}

.form-micro {
  font-size: 0.85rem;
  color: var(--faint);
  text-align: center;
  margin-top: 1rem;
}

.compare-block {
  padding: 2.5rem;
  margin-bottom: 1rem;
}

.compare-block h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 2rem;
  max-width: 640px;
}

.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 1.5rem;
}

.compare-col {
  box-sizing: border-box;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem;
}

.compare-col-with {
  background: rgba(52, 211, 153, 0.07);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.compare-col-without {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.compare-col-head {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.compare-col-with .compare-col-head {
  color: var(--emerald);
}

.compare-col-without .compare-col-head {
  color: var(--faint);
}

.compare-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.compare-col li {
  font-size: 0.92rem;
  line-height: 1.4;
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
}

.compare-col-with li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 800;
}

.compare-col-without li::before {
  content: "\2212";
  position: absolute;
  left: 0;
  color: var(--faint);
  font-weight: 800;
}

.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.process-flow::before {
  content: "";
  position: absolute;
  top: 20px;
  left: calc(16.666% + 20px);
  right: calc(16.666% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--border), var(--emerald));
  opacity: 0.35;
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 1.75rem 1.5rem;
}

.process-step-num {
  width: 40px;
  height: 40px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--emerald);
  color: var(--emerald);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.process-email {
  text-align: center;
  font-size: 0.92rem;
  color: var(--faint);
}

.process-email a {
  color: var(--emerald);
  text-decoration: underline;
}

#contact-form-final {
  padding-top: 0;
}

/* ===== Story nav (persistent, with real links) ===== */
.story-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 2rem;
  background: rgba(10, 12, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.story-nav .logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.story-nav .logo span {
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 5px;
  background: var(--emerald);
  border-radius: 2px;
  font-size: 0;
}

.story-nav nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.story-nav nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 0.4rem;
  border-left: 1px solid var(--border);
}

.lang-switcher a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--faint);
  transition: color 0.3s var(--ease);
}

.lang-switcher a:hover {
  color: var(--text);
}

.lang-switcher a.is-active {
  color: var(--lime);
}

.story-nav nav a:not(.btn):hover {
  color: var(--text);
}

/* ===== Story sections (generic) ===== */
.story-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.story-inner {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.story-inner.centered {
  text-align: center;
}

.story-inner.centered .story-headline,
.story-inner.centered .story-sub {
  margin-left: auto;
  margin-right: auto;
}

.story-index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--faint);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.story-headline {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  margin-bottom: 2rem;
}

.story-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.story-value {
  font-size: 1.05rem;
  color: var(--emerald);
  font-weight: 600;
  max-width: 560px;
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
}

.story-list {
  font-size: 0.92rem;
  color: var(--faint);
  letter-spacing: 0.01em;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.story-inner .offer-link {
  margin-top: 2.5rem;
}

.story-list span {
  color: var(--muted);
}

.story-list span:not(:last-child)::after {
  content: "  /  ";
  color: var(--faint);
}

/* ===== Proof section ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.case-card {
  display: block;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.case-stat {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--emerald);
  line-height: 1.1;
  margin-bottom: 0.9rem;
}

.case-stat span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--faint);
  margin-top: 0.35rem;
  letter-spacing: 0.01em;
}

.case-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.case-line {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.proof-subhead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--faint);
  margin-bottom: 1.25rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.proof-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.proof-thumb {
  height: 170px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.25), rgba(214, 255, 74, 0.15));
  position: relative;
}

.proof-thumb-img {
  height: 170px;
  width: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.proof-thumb-logo {
  height: 170px;
  background: #060606;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  position: relative;
}

.proof-thumb-logo img {
  max-width: 65%;
  max-height: 65%;
  object-fit: contain;
}

.proof-thumb {
  position: relative;
}

.proof-card {
  display: block;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.proof-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.proof-body {
  padding: 1.25rem 1.4rem 1.5rem;
}

.proof-body h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.proof-body p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.proof-stat {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.testimonial-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  padding: 1.75rem;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-card span {
  font-size: 0.85rem;
  color: var(--faint);
}

/* ===== Final CTA form ===== */
.story-final {
  padding-bottom: 5rem;
}

.final-form {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.final-form .form-group {
  margin-bottom: 1.1rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .service-grid,
  .feature-grid,
  .feature-grid-3col,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .compare-table {
    grid-template-columns: 1fr;
  }

  .navbar nav,
  .story-nav nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1.5rem;
    right: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
  }

  .navbar nav.is-open,
  .story-nav nav.is-open {
    display: block;
  }

  .navbar nav ul,
  .story-nav nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .lang-switcher {
    padding-left: 0;
    border-left: none;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0.5rem 0 0 1rem;
    margin-top: 0.5rem;
    display: none;
  }

  .nav-dropdown-menu-inner {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }

  .nav-toggle {
    display: block;
  }


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

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

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

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

  .bar-chart {
    opacity: 0.4;
  }

  .browser-stack {
    height: 250px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 3.75rem 1.25rem;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-grid {
    flex-direction: column;
  }

  .story-section {
    padding: 5rem 1.25rem;
    min-height: auto;
  }

  .proof-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .loader {
    display: none;
  }

  .hero-content > *,
  .page-hero .container > * {
    opacity: 1;
    animation: none;
  }

  .organic-blobs span {
    animation: none;
  }

  .bar-chart span {
    transition: none;
    transform: scaleY(1);
  }

  .cursor-dot {
    display: none;
  }

  body.cursor-ready {
    cursor: auto;
  }
}

/* ===== Cookie consent banner ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-strong);
  padding: 1.25rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-inner p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  flex: 1;
  min-width: 240px;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-banner-link {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: underline;
  white-space: nowrap;
}

.cookie-banner-link:hover {
  color: var(--text);
}

.cookie-banner .btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.88rem;
}

.cookie-prefs-link {
  font-size: 0.85rem;
  color: var(--faint);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0;
}

.cookie-prefs-link:hover {
  color: var(--muted);
}

@media (max-width: 700px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    justify-content: flex-end;
  }
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  padding: 1.5rem 1.75rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--emerald);
  font-size: 1.4rem;
  font-weight: 400;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Blog ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.blog-card {
  display: block;
  padding: 1.85rem;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.blog-card-meta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lime);
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.blog-card p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--faint);
  margin-bottom: 2.5rem;
}

/* ===== Legal content (privacy / legal notice prose) ===== */
.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.9rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text);
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-content li {
  list-style: disc;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-content a {
  color: var(--emerald);
  text-decoration: underline;
}

