/* ============================================================
   PIVORA — Premium Dark Glassmorphism Design System
   Aesthetic: Linear / Vercel / Modern AI Routing Platform
   Typeface: Plus Jakarta Sans. Mobile-first.
   Brand accents: Orchid #D55EE3 · Salmon #F1756B
   ============================================================ */

:root {
  --orchid: #C084FC;
  --salmon: #FB7185;
  --orchid-rgb: 192, 132, 252;
  --salmon-rgb: 251, 113, 133;
  --gradient-brand: linear-gradient(135deg, var(--orchid) 0%, var(--salmon) 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(var(--orchid-rgb), 0.15) 0%, rgba(var(--salmon-rgb), 0.15) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(var(--orchid-rgb), 0.4) 0%, rgba(var(--salmon-rgb), 0.4) 100%);

  /* Deep void surfaces */
  --bg: #09090B;
  --bg-deep: #060608;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-raised: rgba(255, 255, 255, 0.05);
  --surface-glass: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);
  --line-glow: rgba(var(--orchid-rgb), 0.2);

  --ink: #FAFAFA;
  --ink-soft: rgba(255, 255, 255, 0.6);
  /* captions/labels must stay readable on the near-black canvas:
     0.45 ≈ 4.4:1, 0.4 ≈ 3.8:1 (they used to be 0.35 / 0.2) */
  --ink-faint: rgba(255, 255, 255, 0.45);
  --ink-muted: rgba(255, 255, 255, 0.4);

  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1120px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 0 0 1px rgba(255,255,255,0.06), 0 20px 50px -12px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(var(--orchid-rgb), 0.15);
  --shadow-hover: 0 0 0 1px rgba(var(--orchid-rgb), 0.3), 0 25px 60px -12px rgba(0,0,0,0.6);
  --ease-fluid: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Radial mesh background on body */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(var(--orchid-rgb), 0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(var(--salmon-rgb), 0.06), transparent 50%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(var(--orchid-rgb), 0.04), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

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

h1, h2, h3 {
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

a { color: inherit; }

button { font-family: inherit; }

::selection { background: var(--orchid); color: #fff; }

:focus-visible {
  outline: 2px solid var(--orchid);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: 80px 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  /* deep brand purple so the white label stays legible (7:1) — the
     bright orchid only reaches 2.6:1 behind white text */
  background: #6D28D9;
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  transition: top 0.2s var(--ease-fluid);
}
.skip-link:focus { top: 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-fluid);
  position: relative;
}

.btn-primary {
  background: var(--gradient-brand);
  background-size: 150% 150%;
  color: #fff;
  box-shadow: 0 0 20px rgba(var(--orchid-rgb), 0.3), 0 4px 12px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(var(--orchid-rgb), 0.4), 0 8px 20px rgba(0,0,0,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: rgba(var(--orchid-rgb), 0.4);
  color: var(--ink);
  background: rgba(var(--orchid-rgb), 0.06);
  transform: translateY(-1px);
}

.btn-wa {
  background: rgba(37, 211, 102, 0.08);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.25);
}
.btn-wa:hover {
  background: rgba(37, 211, 102, 0.16);
  transform: translateY(-1px);
  border-color: rgba(37, 211, 102, 0.4);
}

.btn-small { padding: 10px 18px; font-size: 13px; }

.btn .btn-arrow, .btn span[aria-hidden="true"] { transition: transform 0.25s var(--ease-fluid); }
.btn:hover span[aria-hidden="true"] { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(9, 9, 11, 0.7);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-fluid), box-shadow 0.3s var(--ease-fluid);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 16px;
}
.brand-logo { width: 32px; height: 32px; object-fit: contain; }

.nav-links {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  display: none;
  flex-direction: column;
  gap: 2px;
  background: rgba(15, 15, 20, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-card);
}
.nav-links.open { display: flex; }

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links .nav-cta {
  margin-top: 4px;
  justify-content: center;
  background: var(--gradient-brand);
  color: #fff;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
  border-radius: 8px;
}
.nav-links .nav-cta:hover { filter: brightness(1.15); background: var(--gradient-brand); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.nav-toggle:hover { border-color: rgba(var(--orchid-rgb), 0.4); }
.nav-toggle span {
  display: block;
  width: 100%; height: 1.5px;
  border-radius: 2px;
  background: var(--ink-soft);
  transition: transform 0.25s var(--ease-fluid), opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
  text-align: center;
}

/* Cinematic radial glow */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  width: 500px; height: 500px;
  left: -180px; top: -150px;
  background: radial-gradient(circle, rgba(var(--orchid-rgb), 0.6), transparent 70%);
  animation: drift-a 18s ease-in-out infinite alternate;
}
.hero::after {
  width: 400px; height: 400px;
  right: -160px; bottom: -100px;
  background: radial-gradient(circle, rgba(var(--salmon-rgb), 0.5), transparent 70%);
  animation: drift-b 22s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.1); }
}
@keyframes drift-b {
  from { transform: translate(0, 0) scale(1.05); }
  to   { transform: translate(-50px, -30px) scale(0.9); }
}

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

/* Glowing status pill */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5), 0 0 8px rgba(34, 197, 94, 0.4);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5), 0 0 8px rgba(34, 197, 94, 0.4); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0), 0 0 8px rgba(34, 197, 94, 0.2); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0), 0 0 8px rgba(34, 197, 94, 0.2); }
}

.hero-title {
  font-size: clamp(32px, 8vw, 64px);
  font-weight: 800;
  margin: 28px 0 20px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.hero-gradient {
  background: var(--gradient-brand);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-flow 8s ease infinite;
}
@keyframes gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-sub {
  max-width: 48ch;
  margin: 0 auto 32px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Hero stat cards — glassmorphism */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 520px;
  margin: 48px auto 0;
}
.hero-stats div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 10px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s var(--ease-fluid), transform 0.3s var(--ease-fluid);
}
.hero-stats div:hover {
  border-color: var(--line-glow);
  transform: translateY(-2px);
}
.hero-stats dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hero-stats dd {
  font-size: 16px;
  font-weight: 700;
  margin-top: 4px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Meet ---------- */
.meet-section {
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
  position: relative;
}
/* subtle top glow */
.meet-section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: var(--gradient-brand);
  opacity: 0.4;
}
.meet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.meet-copy h2 { font-size: clamp(26px, 6vw, 40px); font-weight: 800; }
.meet-copy p {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 38ch;
  line-height: 1.7;
}

.meet-list { display: grid; gap: 10px; }
.meet-item {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--orchid);
  border-radius: 12px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-fluid);
}
.meet-item:nth-child(even) { border-left-color: var(--salmon); }
.meet-item:hover {
  transform: translateX(4px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}
.meet-item strong { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.meet-item span { color: var(--ink-soft); font-size: 13px; line-height: 1.6; }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: 40px; }
.section-head h2 {
  font-size: clamp(26px, 5.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section-head p { color: var(--ink-soft); margin-top: 10px; max-width: 50ch; font-size: 15px; }

/* ---------- Solutions: filter tabs ---------- */
.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.tab {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s var(--ease-fluid);
}
.tab:hover {
  border-color: rgba(var(--orchid-rgb), 0.3);
  color: var(--ink);
  background: rgba(var(--orchid-rgb), 0.06);
}
.tab.is-active {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 20px rgba(var(--orchid-rgb), 0.3);
}

/* ---------- Solutions grid & cards ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: all 0.35s var(--ease-fluid);
  overflow: hidden;
}

/* Top accent line on hover */
.solution-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.35s var(--ease-fluid);
}
.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--orchid-rgb), 0.3);
  box-shadow: 0 0 40px rgba(var(--orchid-rgb), 0.1), 0 20px 50px -12px rgba(0,0,0,0.5);
}
.solution-card:hover::before { opacity: 1; }

.solution-card.is-hidden { display: none; }

.solution-card.is-entering { animation: card-in 0.45s var(--ease-fluid) both; }
@keyframes card-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.solution-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Glowing audience badge */
.solution-aud {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orchid);
  background: rgba(var(--orchid-rgb), 0.1);
  border: 1px solid rgba(var(--orchid-rgb), 0.2);
  padding: 3px 10px;
  border-radius: 6px;
}
.solution-icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--salmon);
  background: rgba(var(--salmon-rgb), 0.08);
  border: 1px solid rgba(var(--salmon-rgb), 0.2);
  transition: all 0.3s var(--ease-fluid);
}
.solution-card:hover .solution-icon {
  background: rgba(var(--salmon-rgb), 0.14);
  box-shadow: 0 0 16px rgba(var(--salmon-rgb), 0.2);
}

.solution-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }

.solution-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.65; }

.solution-points {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 4px 0 10px;
  color: var(--ink-soft);
  font-size: 13px;
}
.solution-points li { display: flex; gap: 10px; align-items: baseline; }
.solution-points li::before {
  content: "";
  flex: 0 0 auto;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gradient-brand);
  translate: 0 -1px;
}

.solution-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- The Standard ---------- */
.standard-section {
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.standard-section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: var(--gradient-brand);
  opacity: 0.3;
}
.standard-inner { position: relative; z-index: 1; }
.standard-section h2 {
  font-size: clamp(24px, 5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.standard-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 32px;
}
.pillar {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-fluid);
}
.pillar:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.pillar strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pillar span { color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.pillar:nth-child(1) { border-top: 2px solid var(--orchid); }
.pillar:nth-child(2) { border-top: 2px solid var(--salmon); }
.pillar:nth-child(3) { border-top: 2px solid var(--orchid); }

.standard-pay {
  margin-top: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}
.standard-pay strong { color: var(--ink); font-weight: 700; }

/* ---------- Brief form ---------- */
.brief-section {
  position: relative;
  overflow-x: clip;
}
.brief-section::before {
  content: "";
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: min(500px, 100vw); height: min(500px, 100vw);
  background: radial-gradient(circle, rgba(var(--orchid-rgb), 0.08), transparent 70%);
  pointer-events: none;
}
.brief-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }

.brief-intro h2 { font-size: clamp(28px, 6.5vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.brief-intro p { color: var(--ink-soft); margin-top: 12px; max-width: 38ch; font-size: 15px; line-height: 1.7; }

.brief-meta {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-soft);
}
.brief-meta a {
  color: var(--orchid);
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: opacity 0.2s;
}
.brief-meta a:hover { opacity: 0.8; }
.brief-pay {
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  width: fit-content;
  background: var(--surface-glass);
  font-size: 13px;
}

.brief-form {
  display: grid;
  gap: 18px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 13px; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orchid);
  box-shadow: 0 0 0 3px rgba(var(--orchid-rgb), 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: var(--salmon);
  box-shadow: 0 0 0 3px rgba(var(--salmon-rgb), 0.15);
}

.field-hint { color: var(--ink-faint); font-size: 12px; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 14px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--ink-faint);
  border-bottom: 1.5px solid var(--ink-faint);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  color: var(--ink);
}
.field select:invalid,
.field select option[value=""] { color: var(--ink-faint); }
.field select option { background: var(--bg); color: var(--ink); }

.btn-submit { width: 100%; padding-block: 14px; font-size: 15px; }
.btn-submit[disabled] { opacity: 0.5; cursor: progress; transform: none; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding: 40px 0;
}
.footer-inner {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}
.brand-footer { font-size: 14px; letter-spacing: 0.04em; }
.footer-tag {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.footer-legal a {
  color: var(--ink-faint);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--orchid); }
.footer-copy { font-size: 12px; color: var(--ink-muted); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-fluid), transform 0.6s var(--ease-fluid);
}
.reveal.visible { opacity: 1; transform: none; }
.no-observer .reveal { opacity: 1; transform: none; }

/* ============================================================
   Tablet & up  (≥ 720px)
   ============================================================ */
@media (min-width: 720px) {
  .container { padding-inline: 32px; }
  .section { padding: 100px 0; }

  .hero { padding: 100px 0 120px; }
  .hero-actions { gap: 12px; }
  .hero-stats { margin-top: 56px; }

  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-card { padding: 28px 26px; }

  .meet-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

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

  .brief-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
  .brief-form { padding: 36px 34px; }
}

/* ============================================================
   Desktop  (≥ 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-links a { padding: 6px 2px; }
  .nav-links .nav-cta { margin-top: 0; padding: 10px 20px; }

  .hero { text-align: left; }
  .hero-sub { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-stats { margin-inline: 0; grid-template-columns: repeat(3, minmax(120px, 160px)); }

  .hero::before { width: 600px; height: 600px; }
  .hero::after { width: 500px; height: 500px; }

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

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: grid; gap: 8px; max-width: 720px; }

.faq-item {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease-fluid);
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item[open] { border-color: rgba(var(--orchid-rgb), 0.3); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--orchid); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -4px; }

.faq-chev {
  flex: 0 0 auto;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--orchid);
  border-bottom: 1.5px solid var(--orchid);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease-fluid);
}
.faq-item[open] .faq-chev { transform: rotate(225deg); }

.faq-item p {
  padding: 0 20px 16px;
  color: var(--ink-soft);
  font-size: 13.5px;
  max-width: 58ch;
  line-height: 1.7;
}
.faq-item p a { color: var(--orchid); font-weight: 600; }

/* ============================================================
   Contact + QR
   ============================================================ */
.contact-section {
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
  position: relative;
}
.contact-section::before {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: var(--gradient-brand);
  opacity: 0.3;
}
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }

.contact-copy h2 { font-size: clamp(24px, 5.5vw, 38px); font-weight: 800; letter-spacing: -0.03em; }
.contact-copy > p { color: var(--ink-soft); margin-top: 12px; max-width: 44ch; font-size: 15px; line-height: 1.7; }

.contact-tiles { display: grid; gap: 8px; margin-top: 24px; }
.contact-tile {
  display: grid;
  gap: 3px;
  text-decoration: none;
  padding: 16px 18px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--orchid);
  border-radius: 12px;
  transition: all 0.3s var(--ease-fluid);
}
.contact-tile:nth-child(even) { border-left-color: var(--salmon); }
.contact-tile:hover {
  transform: translateX(4px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}
.contact-tile strong { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.contact-tile span {
  font-weight: 700;
  font-size: 16px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}
.contact-tile em { font-style: normal; color: var(--ink-faint); font-size: 12px; }

.qr-block {
  justify-self: center;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  max-width: 300px;
  transition: all 0.3s var(--ease-fluid);
}
.qr-block:hover {
  border-color: var(--line-glow);
  box-shadow: var(--shadow-hover);
}
.qr-block img {
  width: 200px; height: 200px;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}
.qr-block strong { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.qr-block span { color: var(--ink-soft); font-size: 12.5px; max-width: 28ch; line-height: 1.6; }
.qr-block .btn { margin-top: 6px; }

/* ============================================================
   Floating WhatsApp button
   ============================================================ */
.wa-fab {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 70;
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3), 0 0 0 1px rgba(37, 211, 102, 0.2);
  transition: all 0.3s var(--ease-fluid);
}
.wa-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4), 0 0 0 1px rgba(37, 211, 102, 0.3);
}

/* ============================================================
   Legal / prose pages (terms.html, privacy.html)
   ============================================================ */
.prose-page main {
  max-width: 720px;
  margin-inline: auto;
  padding: 56px 20px 80px;
}
.prose-page h1 { font-size: clamp(26px, 5.5vw, 38px); font-weight: 800; margin-bottom: 8px; }
.prose-page .prose-updated { color: var(--ink-faint); font-size: 12px; margin-bottom: 36px; }
.prose-page h2 { font-size: 17px; font-weight: 700; margin: 32px 0 10px; }
.prose-page p, .prose-page li { color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.prose-page ul { padding-left: 22px; display: grid; gap: 8px; margin: 10px 0; }
.prose-page a { color: var(--orchid); font-weight: 600; }
.prose-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 16px;
  margin-bottom: 32px;
  transition: all 0.2s;
}
.prose-back:hover { border-color: rgba(var(--orchid-rgb), 0.3); color: var(--ink); }

/* Responsive additions */
@media (min-width: 720px) {
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; }
  .qr-block { justify-self: end; }
}

/* Print — flyers & QR */
@media print {
  .site-header, .nav-toggle, .wa-fab, .skip-link,
  .hero-actions, .filter-tabs, .brief-form, .faq-list,
  .contact-tiles, .solution-card .btn, .footer-legal { display: none !important; }
  body { background: #fff; color: #111; }
  body::before { display: none; }
  .qr-block { box-shadow: none; border-color: #ccc; }
  .qr-block img { width: 4cm; height: 4cm; }
  a { color: inherit; text-decoration: none; }
}

/* ============================================================
   Print-ready flyer page (flyer.html)
   ============================================================ */
.flyer-hint {
  text-align: center;
  color: var(--ink-faint);
  font-size: 13px;
  padding: 20px;
}

.flyer {
  width: min(148mm, 94vw);
  margin: 24px auto;
  background: #fff;
  color: #242424;
  border-radius: 18px;
  padding: 30px 26px;
  display: grid;
  gap: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.flyer-head {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}
.flyer-logo { width: 72px; height: 72px; object-fit: contain; }
.flyer-head h1 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #333;
}
.flyer-slogan {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.32em;
  background: linear-gradient(112deg, #D55EE3 8%, #F1756B 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.flyer-hook {
  margin-top: 10px;
  text-align: center;
  font-weight: 900;
  font-size: 19px;
  line-height: 1.25;
  text-transform: uppercase;
  color: #333;
}
.flyer-sub {
  text-align: center;
  color: #555;
  font-size: 14px;
}

.flyer-services {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 8px 0;
  padding: 14px 16px;
  border: 1.5px dashed #d8d8d8;
  border-radius: 12px;
}
.flyer-services li { font-size: 12.5px; color: #444; line-height: 1.45; }
.flyer-services strong { color: #333; }

.flyer-scan {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  padding: 6px 0;
}
.flyer-scan img { width: 34mm; height: 34mm; }
.flyer-scan p { font-size: 12.5px; color: #555; max-width: 30ch; }
.flyer-scan strong { color: #333; letter-spacing: 0.08em; }

.flyer-foot {
  border-top: 2px solid #eee;
  padding-top: 12px;
  display: grid;
  gap: 4px;
  text-align: center;
}
.flyer-wa { font-size: 16px; color: #333; }
.flyer-wa strong { font-weight: 900; }
.flyer-loc { font-size: 12px; color: #666; }
.flyer-pay { font-size: 11.5px; font-weight: 700; color: #444; }
.flyer-founder { font-size: 10px; letter-spacing: 0.14em; color: #888; margin-top: 4px; }

@media print {
  .flyer { box-shadow: none; margin: 0 auto; border-radius: 0; width: 100%; }
  .flyer-hint { display: none; }
  body { background: #fff; }
}

/* ============================================================
   Leads dashboard (leads.html) — internal, token-gated
   ============================================================ */
.leads-app {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  display: grid;
  gap: 20px;
}
.leads-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.leads-head .brand { font-size: 14px; }
.leads-head-actions { display: flex; gap: 8px; }

.leads-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.leads-stats div {
  display: grid;
  gap: 2px;
  justify-items: center;
  padding: 16px 8px;
  background: var(--surface-glass);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.leads-stats strong {
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.leads-stats span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.leads-status { color: var(--ink-soft); font-size: 13px; min-height: 1.4em; }

.leads-list { display: grid; gap: 10px; }
.lead-card {
  display: grid;
  gap: 6px;
  background: var(--surface-glass);
  border: 1px solid var(--line);
  border-left: 2px solid var(--orchid);
  border-radius: 12px;
  padding: 16px 18px;
}
.lead-card:nth-child(even) { border-left-color: var(--salmon); }
.lead-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: baseline;
}
.lead-top strong { font-size: 15px; }
.lead-time { color: var(--ink-faint); font-size: 11px; }
.lead-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orchid);
  width: fit-content;
}
.lead-msg { color: var(--ink-soft); font-size: 13px; }
.lead-actions { display: flex; gap: 8px; margin-top: 4px; }
.lead-actions a {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 12px;
  transition: all 0.2s;
}
.lead-actions a:hover { border-color: rgba(var(--orchid-rgb), 0.3); color: var(--orchid); }
.lead-actions a.lead-wa { color: #25d366; border-color: rgba(37, 211, 102, 0.3); }
.lead-actions a.lead-wa:hover { background: rgba(37, 211, 102, 0.08); }

.leads-note {
  color: var(--ink-faint);
  font-size: 12px;
  text-align: center;
  margin-top: 12px;
}

/* Gate */
.leads-gate {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(6, 6, 8, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 20px;
}
.leads-gate[hidden] { display: none; }
.leads-gate-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  max-width: 360px;
  width: 100%;
  box-shadow: var(--shadow-card);
}
.leads-gate-card h1 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.leads-gate-card p { color: var(--ink-soft); font-size: 13px; }
.leads-gate-card input {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.15em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
.leads-gate-card input:focus {
  outline: none;
  border-color: var(--orchid);
  box-shadow: 0 0 0 3px rgba(var(--orchid-rgb), 0.15);
}
.leads-gate-error { color: var(--salmon); font-weight: 600; font-size: 13px; }
.leads-gate-error[hidden] { display: none; }

/* ============================================================
   v3 ADDITIONS — live feed, status banner, photo inputs, admin
   ============================================================ */

/* --- "Latest from Pivora" feed --- */
.feed-section { border-top: 1px solid var(--line); }
.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5, 24px);
}
.feed-card {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: feedIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: all 0.3s var(--ease-fluid);
}
.feed-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
@keyframes feedIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.feed-tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--salmon);
  background: rgba(var(--salmon-rgb), 0.1);
  border: 1px solid rgba(var(--salmon-rgb), 0.2);
  border-radius: 6px;
  padding: 3px 10px;
}
.feed-title { margin: 0; font-size: 1rem; font-weight: 700; color: #fff; }
.feed-body { margin: 0; color: var(--ink-soft); font-size: 0.88rem; line-height: 1.6; overflow-wrap: anywhere; }
.feed-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.feed-link { color: var(--orchid); font-weight: 600; font-size: 0.88rem; text-decoration: none; }
.feed-link:hover { opacity: 0.8; }

/* --- Site-wide status banner (open/closed) --- */
.status-banner {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  text-align: center;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 10px 16px;
  border-radius: 10px;
  margin: 16px auto 0;
  max-width: 1100px;
}

/* --- Visible form status line (success / error feedback) --- */
.form-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orchid);
}

/* --- File inputs (brief form + admin) --- */
.input-file {
  display: block;
  width: 100%;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.input-file::file-selector-button {
  font-family: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  color: #fff;
  background: rgba(var(--orchid-rgb), 0.12);
  border: 1px solid rgba(var(--orchid-rgb), 0.3);
  border-radius: 8px;
  padding: 8px 14px;
  margin-right: 12px;
  cursor: pointer;
  transition: background 0.2s;
}
.input-file::file-selector-button:hover { background: rgba(var(--orchid-rgb), 0.2); }
.optional-tag { font-weight: 400; opacity: 0.5; font-size: 0.85em; }

/* --- Leads dashboard: photo link --- */
.lead-photo {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orchid);
  text-decoration: none;
  margin-top: 2px;
}
.lead-photo:hover { opacity: 0.8; }

/* --- Admin page cards --- */
.admin-card {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-card h1 { font-size: 1.1rem; margin: 0 0 2px; color: #fff; }
.admin-card h2 { font-size: 1rem; margin: 6px 0 2px; color: #fff; }
.admin-sub { margin: 0 0 10px; font-size: 0.82rem; color: var(--ink-soft); }

/* ============================================================
   v6 ADDITIONS — light/dark theme + language toggle
   ============================================================ */

/* --- Light theme --- */
html[data-theme="light"] {
  --bg: #FAFAFA;
  --bg-deep: #F3F1F5;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-raised: rgba(255, 255, 255, 0.9);
  --surface-glass: rgba(255, 255, 255, 0.6);
  --line: rgba(0, 0, 0, 0.06);
  --line-strong: rgba(0, 0, 0, 0.12);
  --line-glow: rgba(var(--orchid-rgb), 0.25);
  --ink: #1A1523;
  --ink-soft: rgba(26, 21, 35, 0.65);
  /* on white, 0.62 ≈ 4.9:1 and 0.58 ≈ 4.4:1 — the old 0.45 / 0.42
     looked washed out */
  --ink-faint: rgba(26, 21, 35, 0.62);
  --ink-muted: rgba(26, 21, 35, 0.6);
  --shadow-card: 0 0 0 1px rgba(0,0,0,0.04), 0 16px 40px -8px rgba(80, 50, 110, 0.1);
  --shadow-glow: 0 0 40px rgba(var(--orchid-rgb), 0.15);
  --shadow-hover: 0 0 0 1px rgba(var(--orchid-rgb), 0.2), 0 20px 48px -8px rgba(80, 50, 110, 0.15);
}
html[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(var(--orchid-rgb), 0.06), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(var(--salmon-rgb), 0.03), transparent 50%);
}
html[data-theme="light"] .site-header { background: rgba(250, 250, 250, 0.85); }
html[data-theme="light"] .site-header.scrolled { background: rgba(250, 250, 250, 0.95); box-shadow: 0 1px 0 0 rgba(0,0,0,0.04); }
html[data-theme="light"] .hero::before,
html[data-theme="light"] .hero::after { opacity: 0.25; }
html[data-theme="light"] .status-banner {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-soft);
  border-color: rgba(var(--orchid-rgb), 0.2);
}
html[data-theme="light"] .feed-tag { color: #c4384e; }
html[data-theme="light"] .input-file { color: var(--ink-soft); }
html[data-theme="light"] .brand-name,
html[data-theme="light"] .feed-title,
html[data-theme="light"] .admin-card h1,
html[data-theme="light"] .admin-card h2 { color: var(--ink); }
html[data-theme="light"] .nav-links {
  background: rgba(255, 255, 255, 0.92);
}
html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea {
  background: rgba(0, 0, 0, 0.02);
}

/* --- Header toggles (theme + language) --- */
.header-toggles { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-glass);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s var(--ease-fluid);
}
.toggle-btn:hover {
  border-color: rgba(var(--orchid-rgb), 0.3);
  color: var(--orchid);
  transform: translateY(-1px);
}
.toggle-btn svg { width: 16px; height: 16px; }
html[data-theme="dark"] .toggle-icon-sun { display: none; }
html[data-theme="light"] .toggle-icon-moon { display: none; }
@media (max-width: 720px) {
  .header-toggles { margin-left: auto; }
  .nav-wrap { flex-wrap: wrap; }
}

/* --- v9: CMS service cards, stats grid, admin layout --- */
.solution-price { margin: 4px 0 0; font-weight: 700; font-size: 0.88rem; color: var(--salmon); }
.service-photo {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
}
.admin-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .admin-grid2 { grid-template-columns: 1fr; } }
.admin-actions-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.admin-stats { grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); }
.lead-flag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #FB7185;
  background: rgba(var(--salmon-rgb), 0.1);
  border: 1px solid rgba(var(--salmon-rgb), 0.25);
  border-radius: 6px;
  padding: 2px 8px;
}

/* ============================================================
   Noise texture overlay (subtle grain)
   ============================================================ */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
}
/* ============================================================
   v11 — DEPTH · MOTION · SPOTLIGHT
   Ambient canvas background, the Live Douala Dispatch terminal,
   radar ping, cursor-tracking spotlight borders, load stagger,
   metal titles and shimmering primary CTAs.
   Everything degrades gracefully: with no JS and no CDN the page
   still renders, animates and converts.
   ============================================================ */

/* ---------- 1 · Ambient background: canvas + mesh grid ---------- */
.pv-bg,
.pv-grid {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.pv-bg { display: block; opacity: 0.85; }

.pv-grid {
  background-image:
    linear-gradient(to right, rgba(var(--orchid-rgb), 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--orchid-rgb), 0.055) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 78%);
}

html[data-theme="light"] .pv-bg { opacity: 0.45; }
html[data-theme="light"] .pv-grid {
  background-image:
    linear-gradient(to right, rgba(var(--orchid-rgb), 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--orchid-rgb), 0.1) 1px, transparent 1px);
}

/* the deep section bands let the ambient layer bleed through instead of
   stamping a hard box over it */
html[data-theme="dark"] .meet-section,
html[data-theme="dark"] .standard-section { background: rgba(6, 6, 8, 0.78); }
html[data-theme="light"] .meet-section,
html[data-theme="light"] .standard-section { background: rgba(243, 241, 245, 0.84); }

/* ---------- 2 · Hero grid + staggered load-in ---------- */
.hero-grid { display: grid; gap: 44px; align-items: center; }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: 58px; }
  /* the hero headline now shares its row with the terminal — scale it to the column */
  .hero-title { font-size: clamp(34px, 4.6vw, 60px); }
}

@media (min-width: 1200px) {
  .hero .container { max-width: 1240px; }
}

.hero-copy > *,
.hero-terminal {
  opacity: 0;
  transform: translateY(20px);
  animation: pv-rise 0.9s var(--ease-fluid) forwards;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.36s; }
.hero-terminal { animation-delay: 0.3s; }

@keyframes pv-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 1023px) {
  .hero-terminal { width: 100%; max-width: 520px; margin-inline: auto; }
}

/* ---------- 3 · Live Douala Dispatch terminal ---------- */
.hero-terminal { perspective: 1200px; }

.terminal {
  position: relative;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(var(--orchid-rgb), 0.16), transparent 58%),
    radial-gradient(120% 90% at 0% 100%, rgba(var(--salmon-rgb), 0.1), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 30px 70px -24px rgba(0, 0, 0, 0.75),
    0 0 70px rgba(var(--orchid-rgb), 0.14);
  transition: box-shadow 0.4s var(--ease-fluid);
  will-change: transform;
}

html[data-theme="light"] .terminal {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(var(--orchid-rgb), 0.13), transparent 58%),
    radial-gradient(120% 90% at 0% 100%, rgba(var(--salmon-rgb), 0.09), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.03),
    0 26px 54px -22px rgba(80, 50, 110, 0.28),
    0 0 54px rgba(var(--orchid-rgb), 0.1);
}

/* slow scan-line so the board reads as "live" */
.terminal::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(var(--orchid-rgb), 0.07), transparent);
  transform: translateY(-120%);
  animation: term-scan 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes term-scan {
  0%        { transform: translateY(-120%); opacity: 0; }
  12%       { opacity: 1; }
  60%       { opacity: 0.85; }
  75%, 100% { transform: translateY(260%); opacity: 0; }
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.terminal-dots { display: inline-flex; gap: 5px; }
.terminal-dots i { display: block; width: 7px; height: 7px; border-radius: 50%; }
.terminal-dots i:nth-child(1) { background: #d55ee3; }
.terminal-dots i:nth-child(2) { background: #f1756b; }
.terminal-dots i:nth-child(3) { background: #22d3ee; }

.terminal-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.terminal-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #4ade80;
}

.terminal-body { display: grid; gap: 15px; padding: 18px 18px 16px; }

/* ---------- 4 · Radar ping (hub + hero location badge) ---------- */
.radar-dot {
  position: relative;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.75);
}
.radar-dot::before,
.radar-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.6);
  animation: radar-ping 2.8s var(--ease-fluid) infinite;
}
.radar-dot::after { animation-delay: 1.4s; }
.radar-dot-lg { width: 10px; height: 10px; }

@keyframes radar-ping {
  0%    { transform: scale(1); opacity: 0.85; }
  70%   { transform: scale(3.8); opacity: 0; }
  100%  { transform: scale(3.8); opacity: 0; }
}

/* the LOGPOM · PETRO CITY badge gets the same continuous ping */
.pulse-dot { position: relative; }
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.6);
  animation: radar-ping 2.8s var(--ease-fluid) infinite;
}

/* ---------- 5 · Terminal internals ---------- */
.terminal-hub { display: flex; align-items: center; gap: 12px; }

.terminal-hub-ic {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.22);
  animation: hub-glow 3.6s ease-in-out infinite;
}
@keyframes hub-glow {
  0%, 100% { box-shadow: inset 0 0 22px rgba(34, 197, 94, 0.12), 0 0 18px rgba(34, 197, 94, 0.1); }
  50%      { box-shadow: inset 0 0 26px rgba(34, 197, 94, 0.2), 0 0 30px rgba(34, 197, 94, 0.22); }
}

.terminal-hub-txt { display: grid; gap: 2px; min-width: 0; }
.terminal-hub-txt strong { font-size: 15px; font-weight: 700; letter-spacing: -0.015em; }
.terminal-hub-txt em { font-style: normal; font-size: 12px; color: var(--ink-faint); }
.terminal-hub .radar-dot-lg { margin-left: auto; }

/* Lucide slots — sized even before the icons hydrate */
[data-lucide] { display: inline-block; width: 14px; height: 14px; flex: 0 0 auto; }
.terminal-hub-ic [data-lucide],
.terminal-hub-ic svg { width: 20px; height: 20px; }

.terminal-pills { display: flex; flex-wrap: wrap; gap: 7px; }

.t-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: border-color 0.3s var(--ease-fluid), color 0.3s var(--ease-fluid), transform 0.3s var(--ease-fluid);
}
.t-pill:hover { border-color: rgba(var(--orchid-rgb), 0.35); color: var(--ink); transform: translateY(-1px); }
.t-pill b { color: var(--ink); font-weight: 700; }
.t-pill [data-lucide] { color: var(--orchid); }
html[data-theme="light"] .t-pill { background: rgba(255, 255, 255, 0.75); }

/* simulated dispatch rows */
.terminal-feed { list-style: none; display: grid; gap: 7px; }

.terminal-feed li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
  font-size: 12.5px;
  color: var(--ink-soft);
  animation: feed-in 0.55s var(--ease-fluid) both;
}
@keyframes feed-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.terminal-feed li b { color: var(--ink); font-weight: 700; }
.terminal-feed .t-loc,
.terminal-feed .t-state-label { font-size: 11px; color: var(--ink-faint); }
.terminal-feed .t-time {
  margin-left: auto;
  padding-left: 8px;
  font-size: 11px;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.t-state { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; }
.t-state-done { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); }
.t-state-now { background: #fbbf24; box-shadow: 0 0 8px rgba(251, 191, 36, 0.6); animation: state-pulse 1.8s ease-in-out infinite; }
.t-state-queue { background: rgba(255, 255, 255, 0.22); }
@keyframes state-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.82); }
}

/* "listening for briefs" caret line */
.terminal-typing {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--ink-faint);
}

.typing-caret {
  width: 7px;
  height: 14px;
  border-radius: 2px;
  background: var(--orchid);
  box-shadow: 0 0 10px rgba(var(--orchid-rgb), 0.6);
  animation: caret-blink 1.15s steps(1) infinite;
}
@keyframes caret-blink {
  0%, 49%    { opacity: 1; }
  50%, 100%  { opacity: 0.15; }
}

.typing-dots { display: inline-flex; gap: 3px; }
.typing-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  animation: dot-wave 1.4s ease-in-out infinite;
}
.typing-dots i:nth-child(2) { animation-delay: 0.18s; }
.typing-dots i:nth-child(3) { animation-delay: 0.36s; }
@keyframes dot-wave {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(-2px); }
}

.terminal-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.terminal-eta { display: grid; gap: 1px; }
.terminal-eta em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.terminal-eta strong { font-size: 13px; font-weight: 700; }

@media (max-width: 420px) {
  .terminal-body { padding: 16px 14px 14px; }
  .t-pill { font-size: 11px; padding: 5px 10px 5px 8px; }
  .terminal-cta { flex-wrap: wrap; }

  /* keep the three hero stat tiles legible without wrapping mid-value */
  .hero-stats { gap: 8px; }
  .hero-stats div { padding: 14px 8px; }
  .hero-stats dt { font-size: 9px; letter-spacing: 0.06em; }
  .hero-stats dd { font-size: 14px; }
}

/* ---------- 6 · Cursor spotlight on cards ---------- */
.spotlight { position: relative; }

.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
    rgba(var(--orchid-rgb), 0.95),
    rgba(var(--salmon-rgb), 0.35) 45%,
    transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s var(--ease-fluid);
  pointer-events: none;
  z-index: 3;
}
.spotlight:hover::after,
.spotlight:focus-within::after { opacity: 1; }

/* the ambient fill that follows the cursor inside each card */
.solution-card,
.pillar,
.qr-block,
.contact-tile,
.faq-item,
.hero-stats div {
  background-image: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%),
    rgba(var(--orchid-rgb), 0.1), transparent 68%);
}

/* ---------- 7 · Typography: metal titles + tighter tracking ---------- */
.title-metal {
  background-image: linear-gradient(180deg, #ffffff 0%, #ffffff 42%, rgba(255, 255, 255, 0.58) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="light"] .title-metal {
  background-image: linear-gradient(180deg, #17121f 0%, #17121f 42%, rgba(23, 18, 31, 0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .title-metal { background-image: none; color: var(--ink); }
}

h1, h2 { letter-spacing: -0.035em; text-wrap: balance; }
.hero-title { letter-spacing: -0.042em; }

/* modern check marks instead of plain bullets */
.solution-points li::before {
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: var(--orchid);
  background-image: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  translate: 0 3px;
}

/* ---------- 8 · Buttons: shimmer + rotating border glow ---------- */
@property --pv-spin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.5) 50%, transparent 66%);
  background-repeat: no-repeat;
  background-size: 240% 100%;
  background-position: 160% 50%;
  opacity: 0;
  transition: background-position 0.9s var(--ease-fluid), opacity 0.35s var(--ease-fluid);
}
.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  background-position: -60% 50%;
  opacity: 1;
}

.btn-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--pv-spin, 0deg),
    rgba(var(--orchid-rgb), 0.06),
    rgba(var(--orchid-rgb), 0.9),
    rgba(var(--salmon-rgb), 0.95),
    rgba(34, 211, 238, 0.6),
    rgba(var(--orchid-rgb), 0.06));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: pv-spin 5s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes pv-spin { to { --pv-spin: 360deg; } }

.btn-glow { box-shadow: 0 0 26px rgba(var(--orchid-rgb), 0.32), 0 6px 18px rgba(0, 0, 0, 0.32); }
.btn-glow:hover { box-shadow: 0 0 36px rgba(var(--orchid-rgb), 0.45), 0 10px 26px rgba(0, 0, 0, 0.4); }

/* ---------- 9 · Print: no ambient layers, no hidden copy ---------- */
@media print {
  .pv-bg,
  .pv-grid,
  .terminal::after { display: none !important; }
  .hero-copy > *,
  .hero-terminal,
  .hero-copy > *:nth-child(n) {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ============================================================
   v13 — CASE STUDIES · before / after, one per service
   Fed by the Services tab (admin.html); the four written into
   index.html stay on the page until the Sheet has real results.
   ============================================================ */
.cases-section { position: relative; }

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
}

.case-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s var(--ease-fluid), transform 0.3s var(--ease-fluid);
}
.case-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }

.case-aud {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orchid);
}

.case-row { display: grid; gap: 4px; }
.case-row em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.case-row p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }

/* the "after" half is the point of the card — accent + full contrast */
.case-row-after { padding-left: 12px; border-left: 2px solid rgba(var(--orchid-rgb), 0.45); }
.case-row-after em { color: var(--orchid); }
.case-row-after p { color: var(--ink); }

@media (min-width: 760px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cases-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .case-card { padding: 22px 20px; }
}

/* phones: Before and After sit side by side so the strip stays short */
@media (max-width: 520px) {
  .cases-grid { gap: 10px; margin-top: 26px; }
  .case-card { grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 16px; }
  .case-aud { grid-column: 1 / -1; }
  .case-row p { font-size: 12.5px; }
}

/* ============================================================
   v14 · LIGHT-THEME ACCENT LEGIBILITY + BUTTON/SKIP-LINK TEXT
   Bright orchid/salmon/WhatsApp-green read beautifully on the dark
   canvas but only reach ~1.8–2.6:1 as small text on near-white
   surfaces. In light theme, accent *text* drops one step deeper in
   the same hue; backgrounds, borders, glows and gradients keep the
   original tokens, so the brand look is unchanged.
   ============================================================ */
html[data-theme="light"] .solution-aud,
html[data-theme="light"] .case-aud,
html[data-theme="light"] .case-row-after em,
html[data-theme="light"] .t-pill [data-lucide],
html[data-theme="light"] .feed-link,
html[data-theme="light"] .faq-item p a,
html[data-theme="light"] .faq-item summary:hover,
html[data-theme="light"] .prose-page a,
html[data-theme="light"] .brief-meta a,
html[data-theme="light"] .footer-legal a:hover,
html[data-theme="light"] .toggle-btn:hover,
html[data-theme="light"] .lead-actions a:hover { color: #6D28D9; }

html[data-theme="light"] .solution-price,
html[data-theme="light"] .leads-gate-error,
html[data-theme="light"] .lead-flag { color: #C2185B; }

html[data-theme="light"] .btn-wa,
html[data-theme="light"] .lead-actions a.lead-wa,
html[data-theme="light"] .terminal-live { color: #0E7A3F; }

/* gradient headlines (violet → rose) also darken for light theme —
   the bright brand gradient only reaches ~2.6:1 on white */
html[data-theme="light"] .text-gradient,
html[data-theme="light"] .hero-gradient {
  background-image: linear-gradient(135deg, #6D28D9 0%, #C2185B 100%);
}

/* ============================================================
   v19 · BACK-TO-TOP BUTTON + HONEYPOT FIELD
   Both are injected/used by main.js; nothing here ships a new
   colour — everything rides the existing tokens.
   ============================================================ */

/* Injected on content pages only (not the dashboards, not the flyer) */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface-raised);
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease-fluid), transform 0.25s var(--ease-fluid),
    visibility 0.25s, border-color 0.25s var(--ease-fluid), color 0.25s var(--ease-fluid);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--line-glow); color: var(--orchid); }
.to-top:focus-visible { outline: 2px solid var(--orchid); outline-offset: 2px; }

html[data-theme="light"] .to-top:hover { color: #6D28D9; border-color: rgba(109, 40, 217, 0.35); }

/* sit above the floating WhatsApp button when the page has one */
body:has(.wa-fab) .to-top { bottom: 82px; }

/* Honeypot: parked off-screen instead of display:none — some bots skip hidden
   inputs entirely, and a filled field is our signal that a submission is not human. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  pointer-events: none;
}
.hp-field input { width: 1px; height: 1px; border: 0; padding: 0; }

@media (max-width: 640px) {
  .to-top { right: 14px; bottom: 14px; width: 40px; height: 40px; }
  body:has(.wa-fab) .to-top { bottom: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; }
}
