/* ══════════════════════════════════════════════════════════════
   BENYAPP 2026 — main.css
   Consolidated: tokens, reset, layout, components, pages.
   Google Fonts loaded via <link> in header.php (not @import).
   ══════════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────────────── */
:root {
  /* Colors */
  --color-primary:       #2A5298;
  --color-primary-dark:  #1A3A7A;
  --color-primary-light: #EEF4FF;
  --color-accent:        #3B82F6;
  --color-success:       #10B981;
  --color-text:          #0F172A;
  --color-text-muted:    #64748B;
  --color-text-light:    #94A3B8;
  --color-bg:            #FFFFFF;
  --color-surface:       #F8FAFC;
  --color-surface-2:     #F1F5F9;
  --color-border:        #E2E8F0;
  --color-border-light:  #F1F5F9;
  --color-white:         #FFFFFF;
  --color-dark:          #0F172A;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:   0 20px 40px rgba(0,0,0,0.10), 0 8px 16px rgba(0,0,0,0.06);
  --shadow-glow: 0 0 40px rgba(42,82,152,0.18);

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width:  1200px;
  --header-h:   72px;
  --section-py: 48px;
}

@media (min-width: 768px)  { :root { --section-py: 64px; } }
@media (min-width: 1024px) { :root { --section-py: 96px; } }

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

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

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

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Skip link ──────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 1rem; }

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

/* ── Focus ring ─────────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Container ──────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 8px 24px rgba(42,82,152,0.35);
}

.btn-ghost {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-ghost:hover { background: var(--color-primary-light); }

.btn-ghost-white {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); }

.btn-white { background: #fff; color: var(--color-primary); }
.btn-white:hover {
  background: var(--color-primary-light);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── Badges ─────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-primary { background: var(--color-primary-light); color: var(--color-primary); }
.badge-success { background: #ECFDF5; color: #059669; }
.badge-dark    { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.2); }

/* ── Cards ───────────────────────────────────────────────────────── */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-featured { border-top: 3px solid var(--color-primary); }

/* ── Section base ────────────────────────────────────────────────── */
.section      { padding-block: var(--section-py); }
.section-alt  { background: var(--color-surface); padding-block: var(--section-py); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.section-tag      { margin-bottom: 0.25rem; }
.section-title    { font-size: clamp(1.625rem, 3.5vw, 2.25rem); font-weight: 800; line-height: 1.15; }
.section-subtitle { font-size: 1.0625rem; color: var(--color-text-muted); line-height: 1.65; max-width: 520px; }

/* ── Grid layouts ─────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base);
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.95);
}

.header-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .header-inner { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .header-inner { padding-inline: 2rem; } }

/* Logo */
.site-logo, .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--color-primary);
  transform: rotate(45deg);
  border-radius: 2px;
  flex-shrink: 0;
}
.logo-mark--white { background: #fff; }
.logo-text {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.footer-logo .logo-text { color: #fff; }

/* Primary nav */
.primary-nav { flex: 1; display: none; }
@media (min-width: 768px) { .primary-nav { display: block; } }

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.nav-list li { list-style: none; }
.nav-list a {
  display: block;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  /* WCAG AA fix: #334155 on white = 8.2:1 ✓ */
  color: #334155;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 12px;
  width: 0; height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: width var(--transition-base);
}
.nav-list a:hover,
.nav-list a.is-active {
  color: var(--color-primary);
}
.nav-list a:hover::after,
.nav-list a.is-active::after {
  width: calc(100% - 24px);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.nav-toggle:hover { background: var(--color-surface); }
@media (min-width: 768px) { .nav-toggle { display: none; } }

.hamburger-bar {
  display: block;
  width: 100%; height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.mobile-overlay.is-visible { opacity: 1; }
@media (max-width: 767px) { .mobile-overlay { display: block; } }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 100vw);
  background: #fff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
}
.mobile-menu:not([hidden]) { display: flex; }
.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu-header .logo-text { color: var(--color-primary); }

.mobile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: background var(--transition-fast);
}
.mobile-close:hover { background: var(--color-surface); }

.mobile-nav-list {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.mobile-nav-list li { list-style: none; }
.mobile-nav-list a {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-md);
  min-height: 48px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.mobile-nav-list a:hover,
.mobile-nav-list a.is-active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.mobile-menu-cta {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.mobile-menu-cta .btn { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════════════════════
   PAGE HERO — dark header for all inner pages
   ══════════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--color-dark);
  min-height: 280px;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.page-hero--compact { min-height: 200px; }

.page-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  padding-block: 3rem;
  max-width: 720px;
}
.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.page-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  line-height: 1.65;
  margin: 0;
}

/* ── Page body ──────────────────────────────────────────────────── */
.page-body { padding-block: 3rem; }
@media (min-width: 1024px) { .page-body { padding-block: 4.5rem; } }

.page-body--legal {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

/* ══════════════════════════════════════════════════════════════
   PROSE / CONTENT TYPOGRAPHY
   ══════════════════════════════════════════════════════════════ */
.prose { font-size: 1rem; line-height: 1.75; color: var(--color-text); }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 2rem; margin-bottom: 0.75rem; font-weight: 700; color: var(--color-text); }
.prose h1 { font-size: 2.5rem; margin-top: 0; margin-bottom: 2rem; }
.prose h2 { font-size: 1.375rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--color-border); }
.prose h3 { font-size: 1.125rem; }
.prose p  { margin-bottom: 1rem; }
.prose ul, .prose ol { margin-left: 1.5rem; margin-bottom: 1rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.375rem; }
.prose a  { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--color-primary-dark); }
.prose hr { border: none; border-top: 1px solid var(--color-border); margin-block: 2rem; }
.prose strong { font-weight: 600; }
.prose code, .prose pre {
  font-size: 0.875em;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.15em 0.4em;
}
.prose pre { padding: 1rem; overflow-x: auto; }
.prose pre code { background: none; border: none; padding: 0; }

.legal-prose { max-width: 800px; margin-inline: auto; }
.post-prose  { max-width: 760px; margin-inline: auto; }

/* ══════════════════════════════════════════════════════════════
   BLOG / POSTS
   ══════════════════════════════════════════════════════════════ */
.post-meta, .post-meta-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.post-featured-image { padding-block: 1.5rem; }
.post-featured-image img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius-lg); }

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card-image { display: block; overflow: hidden; }
.post-card-image img { width: 100%; height: 200px; object-fit: cover; transition: transform var(--transition-slow); }
.post-card:hover .post-card-image img { transform: scale(1.04); }
.post-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card-title { font-size: 1.0625rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.625rem; }
.post-card-title a { color: var(--color-text); }
.post-card-title a:hover { color: var(--color-primary); }
.post-card-excerpt { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.post-read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap var(--transition-fast);
}
.post-read-more:hover { gap: 8px; }

.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; align-items: center; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.pagination .page-numbers:hover { background: var(--color-surface); color: var(--color-primary); }
.pagination .page-numbers.current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pagination .page-numbers.prev,
.pagination .page-numbers.next { width: auto; padding-inline: 1rem; }

.post-navigation { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-navigation a {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.post-navigation a:hover { border-color: var(--color-primary); background: var(--color-primary-light); }
.nav-label { font-size: 0.75rem; color: var(--color-text-muted); font-weight: 500; }
.nav-title  { font-size: 0.9rem; font-weight: 600; color: var(--color-text); }

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE — HERO
   ══════════════════════════════════════════════════════════════ */
.section-hero {
  min-height: 100vh;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}
.section-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none; z-index: 0;
}

.hero-blob {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(42,82,152,0.28) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none; z-index: 0;
  top: -200px; right: -150px;
}
.hero-blob--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  top: auto; right: auto;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 800px;
  text-align: center;
  padding-block: 4rem;
}
.hero-badge { margin-bottom: 1.5rem; }
.hero-heading {
  font-size: clamp(2.25rem, 7vw, 5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  min-height: 1.2em;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
/* Full-width buttons on narrow mobile */
@media (max-width: 479px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.hero-trust-item svg { color: var(--color-success); }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  z-index: 1;
}

/* ── Stats bar ──────────────────────────────────────────────────── */
.section-stats {
  padding-block: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-block: 2.5rem;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
  }
}

.stat-item { text-align: center; padding: 1rem; }
.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.375rem;
}
.stat-label { font-size: 0.8125rem; color: var(--color-text-muted); font-weight: 500; }
.stat-divider { display: none; width: 1px; height: 48px; background: var(--color-border); }
@media (min-width: 768px) { .stat-divider { display: block; } }

/* ── Services ───────────────────────────────────────────────────── */
.service-card { display: flex; flex-direction: column; gap: 0.875rem; }
.service-icon-wrap {
  width: 48px; height: 48px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}
.service-title { font-size: 1.0625rem; font-weight: 700; margin-top: 0.25rem; }
.service-desc  { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.65; flex: 1; }
.service-link  {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap var(--transition-fast);
}
.service-link:hover { gap: 8px; }

/* ── Product spotlight ──────────────────────────────────────────── */
.section-product {
  background: var(--color-dark);
  padding-block: var(--section-py);
}
.product-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.product-content { display: flex; flex-direction: column; gap: 1.25rem; }
.product-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: #fff; line-height: 1.15; }
.product-desc  { font-size: 1.0625rem; color: rgba(255,255,255,0.78); line-height: 1.65; }

/* Loss-aversion hook (before/after) */
.product-pain {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: -0.5rem;
}
.product-pain::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: rgba(255,255,255,0.3);
}

.product-pills { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.product-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
}
.product-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* Fake dashboard */
.mock-window {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  transform: rotate(-1.5deg);
}
/* Remove tilt on mobile — prevents corner clipping */
@media (max-width: 639px) { .mock-window { transform: none; } }

.mock-titlebar {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.875rem 1.25rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.mock-dot--red    { background: #ff5f56; }
.mock-dot--yellow { background: #febc2e; }
.mock-dot--green  { background: #27c840; }
.mock-label { font-size: 0.7rem; color: rgba(255,255,255,0.4); margin-left: auto; letter-spacing: 0.06em; }
.mock-body  { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.mock-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.mock-kpi { background: rgba(255,255,255,0.06); border-radius: var(--radius-md); padding: 0.875rem 1rem; text-align: center; }
.mock-kpi-num   { font-size: 1.375rem; font-weight: 800; color: #3AA6B9; line-height: 1; margin-bottom: 0.25rem; }
.mock-kpi-label { font-size: 0.68rem; color: rgba(255,255,255,0.55); }
.mock-rows { display: flex; flex-direction: column; gap: 0.5rem; }
.mock-row {
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.875rem;
  font-size: 0.825rem;
  color: rgba(255,255,255,0.8);
}
.mock-status { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mock-status--in  { background: #27c840; }
.mock-status--out { background: #ff5f56; }
.mock-badge { margin-left: auto; font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-full); }
.mock-badge--in  { background: rgba(39,200,64,0.2);  color: #27c840; }
.mock-badge--out { background: rgba(255,95,86,0.2);   color: #ff5f56; }

/* ── Process steps ──────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .process-steps { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 0; }
}

.process-step { text-align: center; padding: 1.5rem; }
.process-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.process-step-title { font-size: 1.1875rem; font-weight: 700; margin-bottom: 0.625rem; }
.process-step-desc  { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.65; }

/* Dark bg overrides for process-strip */
.process-strip .process-step-title { color: #fff; }
.process-strip .process-step-desc  { color: rgba(255,255,255,0.65); }
.process-strip .process-number     { color: rgba(42,82,152,0.8); }

.process-connector {
  display: none;
  width: 60px; height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-border) 0, var(--color-border) 6px,
    transparent 6px, transparent 12px
  );
  align-self: center;
  margin-top: -1.5rem;
}
@media (min-width: 768px) { .process-connector { display: block; } }

/* ── Portfolio ──────────────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.portfolio-card { border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--transition-base), box-shadow var(--transition-base); }
.portfolio-image-wrap { position: relative; }
.portfolio-image-wrap img {
  width: 100%; height: 280px;
  object-fit: cover; object-position: top;
  transition: transform var(--transition-slow);
}
@media (max-width: 600px) { .portfolio-image-wrap img { height: 200px; } }

.portfolio-card:hover .portfolio-image-wrap img { transform: scale(1.06); }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(42,82,152,0.88);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }

/* Always show label on touch/mobile devices */
.portfolio-label-mobile {
  display: none;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(15,23,42,0.85));
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}
@media (hover: none) {
  .portfolio-overlay { display: none; }
  .portfolio-label-mobile { display: block; }
}

.portfolio-label { color: #fff; font-weight: 700; font-size: 0.9375rem; text-align: center; padding-inline: 1rem; }
.portfolio-arrow { color: rgba(255,255,255,0.7); font-size: 1.5rem; }

/* ── Partners ───────────────────────────────────────────────────── */
.partners-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
}
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.partner-logo {
  display: block;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity var(--transition-base), filter var(--transition-base);
}
.partner-logo:hover { opacity: 1; filter: none; }
.partner-logo img { height: 36px; width: auto; max-width: 120px; object-fit: contain; }

/* ── Testimonial ────────────────────────────────────────────────── */
.section-testimonial { background: var(--color-dark); }
.section-testimonial .section-title { color: #fff; }

.testimonial-card {
  max-width: 700px;
  margin-inline: auto;
  position: relative;
  padding: 2.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
}
.testimonial-quote-mark {
  position: absolute;
  top: 1.5rem; left: 2rem;
  font-size: 5rem;
  color: var(--color-primary);
  opacity: 0.3;
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-text {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.88);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  padding-top: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
}
.testimonial-name  { font-weight: 700; font-size: 0.9rem; color: #fff; }
.testimonial-role  { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.testimonial-stars { margin-left: auto; color: #fbbf24; font-size: 1rem; letter-spacing: 0.1em; }

/* ── Team ───────────────────────────────────────────────────────── */
.team-grid { display: flex; justify-content: center; }
.team-card {
  max-width: 360px; width: 100%;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  padding: 2.5rem;
}
.team-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary-light);
}
.team-name { font-size: 1.1875rem; font-weight: 700; }
.team-role { font-size: 0.875rem; color: var(--color-primary); font-weight: 600; }
.team-bio  { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.65; }

/* ── CTA Banner ─────────────────────────────────────────────────── */
.section-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding-block: var(--section-py);
  position: relative;
  overflow: hidden;
}
.cta-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape  { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); }
.cta-shape--1 { width: 400px; height: 400px; top: -200px; right: -100px; }
.cta-shape--2 { width: 300px; height: 300px; bottom: -150px; left: 5%; }
.cta-content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.cta-title { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 800; color: #fff; margin-bottom: 0.875rem; }
.cta-sub   { font-size: 1.0625rem; color: rgba(255,255,255,0.82); margin-bottom: 2rem; line-height: 1.65; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   All text on #0F172A background. WCAG AA minimums enforced.
   ══════════════════════════════════════════════════════════════ */
.site-footer { background: #0F172A; color: rgba(255,255,255,0.72); }

.footer-top { padding-block: 5rem 3.5rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; } }

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }

/* 0.68 = rgba(255,255,255,0.68) → 4.1:1 on #0F172A — WCAG AA ✓ */
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.68); line-height: 1.65; }

.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
/* 0.75 = 4.7:1 on #0F172A — WCAG AA ✓ */
.footer-contact-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition-fast);
}
.footer-contact-item:hover { color: #fff; }
.footer-contact-item svg { flex-shrink: 0; opacity: 0.7; }

/* Column headers — decorative uppercase labels */
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.footer-nav-list { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav-list li { list-style: none; }
/* 0.72 = 4.5:1 on #0F172A — WCAG AA ✓ */
.footer-nav-list a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  transition: color var(--transition-fast);
}
.footer-nav-list a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 1.5rem;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
/* Small legal text — lower contrast acceptable per WCAG for decorative/secondary */
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.45); margin: 0; }

/* ══════════════════════════════════════════════════════════════
   404
   ══════════════════════════════════════════════════════════════ */
.error-404-wrap {
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  padding-top: var(--header-h);
}
.error-404-inner {
  text-align: center;
  max-width: 500px;
  margin-inline: auto;
  padding-block: 4rem;
}
.error-404-code {
  font-size: clamp(6rem, 18vw, 10rem);
  font-weight: 800;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: 0;
  letter-spacing: -0.05em;
}
.error-404-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 0.75rem; }
.error-404-desc  { color: var(--color-text-muted); margin-bottom: 2rem; }
.error-404-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════ */
.contact-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 360px; } }

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-info-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--color-border); }
.contact-info-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.9375rem; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 36px; height: 36px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-text strong { display: block; font-size: 0.75rem; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.contact-info-text a { color: var(--color-text); }
.contact-info-text a:hover { color: var(--color-primary); }

.contact-section-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.cal-embed { margin-top: 2.5rem; border-radius: var(--radius-lg); overflow: hidden; }
.cal-embed iframe { display: block; width: 100%; height: 700px; border: none; }

/* ── Forms ──────────────────────────────────────────────────────── */
.sureforms-form input,
.sureforms-form textarea,
.sureforms-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  margin-bottom: 1rem;
}
.sureforms-form input:focus,
.sureforms-form textarea:focus,
.sureforms-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(42,82,152,0.1);
}

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════════ */
.about-mission { background: #fff; padding-block: var(--section-py); }
.about-pillars { padding-block: var(--section-py); }
.about-values  { background: var(--color-dark); padding-block: var(--section-py); }
.about-founder { background: var(--color-surface); padding-block: var(--section-py); }

.about-values .section-title { color: #fff; }

.mission-wrap { max-width: 800px; margin-inline: auto; text-align: center; position: relative; padding: 2rem 1rem; }
.mission-quote {
  position: absolute; top: -1rem; left: -0.5rem;
  font-size: 8rem; font-weight: 800;
  color: #EEF4FF; line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none; user-select: none; z-index: 0;
}
.mission-text {
  position: relative; z-index: 1;
  font-size: 1.25rem;
  color: #334155;
  line-height: 1.8;
  font-style: italic;
  margin: 0;
}
@media (max-width: 639px) { .mission-text { font-size: 1.0625rem; } }

.pillar-icon {
  width: 56px; height: 56px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}
.pillar-title { font-size: 1.125rem; font-weight: 700; color: var(--color-text); }
.pillar-text  { font-size: 0.9375rem; color: #475569; line-height: 1.7; margin: 0; }

.values-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px)  { .values-grid { grid-template-columns: repeat(2, 1fr); } }

.value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: background var(--transition-fast);
}
.value-card:hover { background: rgba(255,255,255,0.08); }
.value-title { font-size: 1.0625rem; font-weight: 600; color: #fff; margin-bottom: 0.5rem; }
.value-desc  { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.65; margin: 0; }

.founder-card-wrap { display: flex; justify-content: center; }
.founder-card {
  max-width: 500px; width: 100%;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 0.75rem; padding: 2.5rem;
}
.founder-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--color-primary-light); }
.founder-info  { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.founder-name  { font-size: 1.25rem; font-weight: 700; color: var(--color-text); margin: 0; }
.founder-bio   { font-size: 0.9375rem; color: #475569; line-height: 1.65; max-width: 340px; margin: 0.5rem 0; }
.founder-email {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 500;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}
.founder-email:hover { color: var(--color-primary-dark); }

/* ══════════════════════════════════════════════════════════════
   SERVICES PAGE
   ══════════════════════════════════════════════════════════════ */
.services-intro        { background: #fff; padding-block: var(--section-py); }
.services-grid-section { padding-block: var(--section-py); }
.process-strip         { background: var(--color-dark); padding-block: var(--section-py); }

.services-intro-wrap {
  max-width: 700px; margin-inline: auto;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.services-intro-text { font-size: 1.125rem; color: #334155; line-height: 1.75; margin-bottom: 1rem; max-width: 660px; }
.services-intro-sub  { font-size: 1rem; color: var(--color-text-muted); line-height: 1.7; margin: 0; max-width: 600px; }

.svc-card  { display: flex; flex-direction: column; gap: 0.875rem; }
.svc-icon  {
  width: 56px; height: 56px;
  background: var(--svc-bg, var(--color-primary-light));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--svc-color, var(--color-primary));
  flex-shrink: 0;
}
.svc-title { font-size: 1.0625rem; font-weight: 700; color: var(--color-text); }
.svc-desc  { font-size: 0.9375rem; color: #475569; line-height: 1.7; flex: 1; margin: 0; }
.svc-link  {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.875rem; font-weight: 600;
  color: var(--color-primary);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: transparent;
  margin-top: auto;
  transition: gap var(--transition-fast), text-decoration-color var(--transition-fast);
}
.svc-link:hover { gap: 8px; text-decoration-color: var(--color-primary); }

/* ══════════════════════════════════════════════════════════════
   PRODUCTS PAGE
   ══════════════════════════════════════════════════════════════ */
.products-showcase { background: #fff; padding-block: var(--section-py); }
.products-coming   { background: var(--color-surface); padding-block: var(--section-py); }

.product-feature-row { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .product-feature-row { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.product-feature-text { display: flex; flex-direction: column; gap: 1.25rem; }
.product-feature-name {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.03em;
  line-height: 1.1; margin: 0;
}
.product-feature-tagline { font-size: 1.375rem; color: #475569; font-weight: 500; margin: 0; }
.product-feature-desc    { font-size: 1rem; color: #475569; line-height: 1.7; margin: 0; }
.product-feature-pills   { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pf-pill {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
}
.product-feature-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }
@media (max-width: 479px) { .product-feature-actions { flex-direction: column; } .product-feature-actions .btn { justify-content: center; } }

.product-feature-mock { perspective: 800px; }
.pf-mock-card {
  background: var(--color-dark);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--color-primary);
  padding: 1.5rem;
  box-shadow: var(--shadow-glow);
  transform: rotate(2deg);
  animation: floatCard 4s ease-in-out infinite;
}
@media (max-width: 639px) { .pf-mock-card { transform: none; } }

.pf-mock-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem; padding-bottom: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pf-mock-brand { font-size: 0.875rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.pf-mock-live  { font-size: 0.75rem; color: #10B981; font-weight: 600; }

.pf-mock-stats { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.25rem; }
.pf-stat-row   { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.pf-dot        { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pf-dot--teal  { background: #3AA6B9; }
.pf-dot--blue  { background: #3B82F6; }
.pf-dot--green { background: #10B981; }
.pf-stat-label { flex: 1; }
.pf-stat-val   { font-weight: 700; color: #fff; }

.pf-mock-divider { height: 1px; background: rgba(255,255,255,0.07); margin-bottom: 1rem; }
.pf-mock-entries { display: flex; flex-direction: column; gap: 0.5rem; }
.pf-entry {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  font-size: 0.8125rem; color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
}
.pf-entry-badge { font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-full); white-space: nowrap; }
.pf-entry-badge--in  { background: rgba(16,185,129,0.2); color: #10B981; }
.pf-entry-badge--out { background: rgba(239,68,68,0.15);  color: #F87171; }

.coming-wrap { max-width: 600px; margin-inline: auto; }
.coming-card {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center; background: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  transition: border-color var(--transition-fast);
}
.coming-card:hover  { border-color: var(--color-primary); }
.coming-plus  { font-size: 2.5rem; color: var(--color-primary); font-weight: 300; line-height: 1; }
.coming-label { font-size: 1rem; font-weight: 600; color: var(--color-text); margin: 0; }
.coming-sub   { font-size: 0.875rem; color: var(--color-text-muted); margin: 0; }
.coming-sub a { color: var(--color-primary); }
@media (max-width: 479px) { .coming-card { padding: 2rem 1.25rem; } }

/* ── No posts ────────────────────────────────────────────────────── */
.no-posts { text-align: center; color: var(--color-text-muted); padding: 4rem 1rem; font-size: 1.0625rem; }

/* ── Print ──────────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .btn, .section-cta,
  .hero-scroll-hint, .nav-toggle, .mobile-menu, .mobile-overlay { display: none !important; }
  .page-body--legal { padding-top: 2rem; }
  .legal-prose { max-width: 100%; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
}

/* ── Language switcher ───────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.75rem;
}
.lang-btn {
  background: none;
  border: none;
  padding: 0.25rem 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  border-radius: 3px;
  transition: color 0.15s, background 0.15s;
  line-height: 1;
}
.lang-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.lang-btn.active {
  color: #fff;
  background: rgba(255,255,255,0.15);
}
.lang-sep {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}


/* ─────────────────────────────────────────────────────────────────────────
   Legal page styles
   ───────────────────────────────────────────────────────────────────────── */

.legal-prose {
    max-width: 72ch;
}

.legal-prose h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

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

.legal-prose p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
}

.legal-prose a {
    color: var(--accent, #6c8cf4);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-prose a:hover {
    color: #fff;
}

.legal-prose code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.85em;
    background: rgba(255, 255, 255, 0.07);
    padding: 0.1em 0.35em;
    border-radius: 3px;
}

/* Lang note banner */
.legal-lang-note {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid rgba(255, 255, 255, 0.25);
    padding: 0.75rem 1rem;
    margin-bottom: 2rem;
    border-radius: 0 4px 4px 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* English summary block */
.legal-english-summary {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Non-binding tag */
.legal-note-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.07);
    padding: 0.15em 0.5em;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 0.5rem;
}