/* ============================================================
   SMARTWAY - Premium Strategic Technology Website
   style.css - Complete design system
   ============================================================ */

/* ---- 1. RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.65; overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---- 2. CUSTOM PROPERTIES ---- */
:root {
  /* Fonts */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hebrew: 'Heebo', -apple-system, sans-serif;

  /* Colors */
  --bg:             #F9FAFB;
  --bg-alt:         #F3F5F8;
  --bg-dark:        #0D1117;
  --bg-dark-alt:    #111827;
  --surface:        #FFFFFF;
  --surface-raised: #FFFFFF;

  --ink:            #0D1117;
  --ink-2:          #374151;
  --ink-3:          #6B7280;
  --ink-light:      #9CA3AF;
  --ink-inv:        #F9FAFB;
  --ink-inv-2:      #D1D5DB;
  --ink-inv-3:      #9CA3AF;

  --accent:         #1B3A6B;
  --accent-mid:     #2550A3;
  --accent-bright:  #2563EB;
  --accent-hover:   #1D4ED8;
  --accent-subtle:  rgba(27, 58, 107, 0.07);
  --accent-border:  rgba(37, 99, 235, 0.18);
  --accent-glow:    rgba(37, 99, 235, 0.12);

  --border:         rgba(0, 0, 0, 0.07);
  --border-dark:    rgba(255, 255, 255, 0.08);

  /* Spacing */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 2.5rem;
  --s6: 3rem;
  --s8: 4rem;
  --s10: 5rem;
  --s12: 6rem;
  --s16: 8rem;
  --s20: 10rem;

  /* Section padding */
  --section-y: clamp(5rem, 10vw, 8rem);

  /* Radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.10), 0 4px 14px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
  --shadow-accent: 0 8px 32px rgba(37, 99, 235, 0.22);

  /* Transitions */
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.18s;
  --t-base: 0.25s;
  --t-slow: 0.55s;

  /* Layout */
  --max-w: 1160px;
  --max-w-text: 720px;
  --header-h: 72px;
}

/* Hebrew font override */
html[lang="he"] { font-family: var(--font-hebrew), sans-serif; }
html[lang="he"] body { font-family: var(--font-hebrew), sans-serif; }

/* ---- 3. SCROLL PROGRESS ---- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent-mid), var(--accent-bright));
  z-index: 9999; transition: width 0.1s linear;
  pointer-events: none;
}

/* ---- 4. TYPOGRAPHY ---- */
.display {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 300; letter-spacing: -0.03em; line-height: 1.1;
}
h1, .h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 400; letter-spacing: -0.025em; line-height: 1.15;
}
h2, .h2 {
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.2;
}
h3, .h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500; letter-spacing: -0.01em; line-height: 1.35;
}
h4, .h4 {
  font-size: 1rem; font-weight: 600;
  letter-spacing: 0.01em; line-height: 1.4;
}
.body-lg { font-size: 1.125rem; line-height: 1.75; }
.body-sm { font-size: 0.9375rem; line-height: 1.65; }
.caption { font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.label {
  display: inline-flex; align-items: center; gap: var(--s1);
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-bright);
}
.label::before {
  content: ''; display: block; width: 20px; height: 1px;
  background: var(--accent-bright); flex-shrink: 0;
}
html[dir="rtl"] .label { flex-direction: row-reverse; }
html[dir="rtl"] .label::before { order: 1; }

/* ---- 5. LAYOUT ---- */
.container {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.container-narrow {
  width: 100%; max-width: var(--max-w-text);
  margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding: var(--section-y) 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }

/* ---- 6. BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.875rem 2rem;
  font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.01em;
  border-radius: var(--r-sm);
  transition: background-color var(--t-fast) var(--ease-in-out),
              color var(--t-fast) var(--ease-in-out),
              border-color var(--t-fast) var(--ease-in-out),
              box-shadow var(--t-base) var(--ease-in-out),
              transform var(--t-base) var(--ease-in-out);
  white-space: nowrap; cursor: pointer; text-decoration: none;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background var(--t-fast) var(--ease-out);
}
.btn:hover::after { background: rgba(255,255,255,0.08); }

.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(27,58,107,0.22);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--ink-3); background: var(--surface);
  box-shadow: var(--shadow-sm); transform: translateY(-1px);
}
.btn-ghost-inv {
  background: transparent; color: var(--ink-inv);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost-inv:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06); transform: translateY(-1px);
}
.btn-accent-inv {
  background: #fff; color: var(--accent);
  box-shadow: var(--shadow-md);
}
.btn-accent-inv:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-2px);
}
.btn-sm { padding: 0.625rem 1.375rem; font-size: 0.875rem; }
.btn-lg { padding: 1.125rem 2.5rem; font-size: 1rem; }

.btn-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9375rem; font-weight: 500; color: var(--accent-bright);
  transition: gap var(--t-base) var(--ease-spring);
}
.btn-arrow:hover { gap: 0.875rem; }
.btn-arrow .arrow { transition: transform var(--t-base) var(--ease-spring); }
.btn-arrow:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn-arrow:hover .arrow { transform: translateX(-4px); }

/* ---- 6a. SCREEN READER ONLY ---- */
.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;
}

/* ---- 6b. FOCUS STATES ---- */
:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
/* Buttons already have border-radius context - tighten offset */
.btn:focus-visible,
.btn-hero-primary:focus-visible,
.btn-accent-inv:focus-visible {
  outline-offset: 2px;
}
/* Pill-shaped elements */
.lang-toggle:focus-visible {
  outline-offset: 2px;
  border-radius: var(--r-full);
}
/* Arrow links */
.btn-arrow:focus-visible {
  outline-offset: 4px;
}
/* Nav links */
.nav-links a:focus-visible,
.mobile-nav-links a:focus-visible {
  outline-offset: 2px;
}
/* Sprint callout CTA */
.sprint-callout-cta:focus-visible {
  outline-offset: 2px;
}
/* Footer links */
.footer-links a:focus-visible,
.footer-legal a:focus-visible {
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
/* Skip link (hidden until focused) */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--s3);
  z-index: 9999;
  background: var(--accent-bright);
  color: #fff;
  padding: 0.625rem 1.25rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s var(--ease-out);
}
.skip-link:focus {
  top: var(--s2);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---- 7. CARDS ---- */
.card {
  background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid var(--border); padding: var(--s6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-3px);
}
.card-dark {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-dark);
  backdrop-filter: blur(8px);
}
.card-dark:hover {
  background: rgba(255,255,255,0.08); transform: translateY(-3px);
}
.card-accent {
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
}

/* ---- 8. HEADER ---- */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);
  z-index: 900; transition: background var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out), backdrop-filter var(--t-base) var(--ease-out);
}
#site-header.scrolled {
  background: rgba(249, 250, 251, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 24px rgba(0,0,0,0.04);
}
.header-inner {
  height: var(--header-h); display: flex; align-items: center;
  justify-content: space-between; gap: var(--s4);
}
.logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.025em;
  color: var(--ink); flex-shrink: 0;
  transition: opacity var(--t-fast);
}
.logo:hover { opacity: 0.75; }
.logo-mark {
  width: 28px; height: 28px; flex-shrink: 0;
}
.logo-accent { color: var(--accent-bright); }

/* Image logo */
.logo-img {
  height: 48px; width: auto; max-width: 280px;
  object-fit: contain; display: block;
}
/* Footer version: invert for dark background */
.logo-img-footer {
  height: 44px;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.875rem; font-size: 0.9375rem; font-weight: 450;
  color: var(--ink-2); border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--ink); background: rgba(0,0,0,0.04); }
.nav-links a.active { color: var(--accent); font-weight: 500; }

.header-actions {
  display: flex; align-items: center; gap: var(--s2);
  flex-shrink: 0;
}
.lang-toggle {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.75rem; font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--ink-2);
  border: 1.5px solid var(--border); border-radius: var(--r-full);
  transition: all var(--t-fast); background: transparent;
}
.lang-toggle:hover { color: var(--ink); border-color: var(--ink-3); background: var(--surface); }
.lang-toggle svg { flex-shrink: 0; opacity: 0.7; }

.menu-toggle {
  display: none; flex-direction: column; gap: 4.5px;
  width: 28px; padding: 4px; background: none;
  transition: opacity var(--t-fast);
}
.menu-toggle:hover { opacity: 0.6; }
.menu-toggle span {
  display: block; height: 1.5px; background: var(--ink);
  border-radius: 2px; transition: transform var(--t-base) var(--ease-in-out), opacity var(--t-fast);
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- 9. MOBILE MENU ---- */
.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: rgba(249,250,251,0.97); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 899; padding: var(--s4) 0 var(--s5);
  transform: translateY(-110%); opacity: 0;
  transition: transform var(--t-base) var(--ease-in-out), opacity var(--t-base) var(--ease-in-out);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0); opacity: 1; pointer-events: auto;
}
.mobile-nav-links { padding: 0 var(--s5); }
.mobile-nav-links li { border-bottom: 1px solid var(--border); }
.mobile-nav-links a {
  display: block; padding: 1rem 0;
  font-size: 1.125rem; font-weight: 450; color: var(--ink-2);
  transition: color var(--t-fast);
}
.mobile-nav-links a:hover { color: var(--ink); }
.mobile-menu-footer {
  padding: var(--s4) var(--s5) 0; display: flex; flex-direction: column; gap: var(--s2);
}

/* ---- 10. HERO SECTION ---- */
.hero {
  position: relative;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)) 0 clamp(3rem, 6vw, 5rem);
  background: var(--bg); overflow: hidden;
}
/* Subtle depth: soft radial bloom behind the card surface */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 72% 45%, rgba(255,255,255,0.9), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  padding-top: 0.5rem;
}
.hero-headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.15;
  color: var(--ink); margin-bottom: var(--s3);
}
.hero-headline em {
  font-style: normal; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem); color: var(--ink-2);
  max-width: 460px; line-height: 1.7; margin-bottom: var(--s4);
  font-weight: 400;
}

/* Proof metrics strip - single horizontal row */
.hero-metrics {
  display: flex; align-items: center; gap: var(--s3);
  margin-bottom: var(--s4); flex-wrap: nowrap;
}
.hero-metric {
  display: flex; flex-direction: column; gap: 3px; flex-shrink: 0;
}
.hero-metric-num {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.04em;
  color: var(--ink); line-height: 1;
}
.hero-metric-label {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3); white-space: nowrap;
}
.hero-metric-sep {
  display: block; width: 1px; height: 36px;
  background: var(--border); flex-shrink: 0;
}

/* Hero CTAs */
.hero-actions { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--accent-bright); color: #fff;
  border-radius: var(--r-sm);
  box-shadow: 0 4px 16px rgba(37,99,235,0.25); letter-spacing: -0.01em;
}
.btn-hero-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.38);
}
/* Secondary CTA - subordinate text link with soft underline */
.hero-text-cta {
  font-size: 0.9375rem; font-weight: 400;
  color: var(--ink-3); letter-spacing: -0.01em;
  text-decoration: underline;
  text-decoration-color: rgba(107,114,128,0.3);
  text-underline-offset: 3px;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
  white-space: nowrap;
}
.hero-text-cta:hover {
  color: var(--ink);
  text-decoration-color: rgba(13,17,23,0.35);
}

/* ---- DECISION EVIDENCE PANEL (hero right column) ---- */
.hero-visual {
  display: flex; flex-direction: column;
  align-items: stretch;
  position: relative; z-index: 1;
}
.insight-card {
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  width: 100%;
  box-shadow: 0 32px 80px rgba(0,0,0,0.22), 0 8px 24px rgba(0,0,0,0.12);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.insight-card-header {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 1.125rem 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  flex-shrink: 0;
}
.insight-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; flex-shrink: 0;
  box-shadow: 0 0 6px rgba(74,222,128,0.7);
  animation: insight-blink 2.4s ease-in-out infinite;
}
@keyframes insight-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.insight-card-label {
  font-size: 0.725rem; font-weight: 600;
  color: rgba(255,255,255,0.6); letter-spacing: 0.08em;
  text-transform: uppercase;
}
.insight-card-note {
  margin-left: auto; flex-shrink: 0;
  font-size: 0.6875rem; font-weight: 400;
  color: rgba(255,255,255,0.3); letter-spacing: 0.02em;
}
.insight-body {
  position: relative;
  height: 260px;
  flex-shrink: 0;
}
.insight-statement {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 1.75rem 2rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
/* Double-class specificity ensures opacity:1 wins regardless of cascade order */
.insight-statement.insight-statement--active {
  opacity: 1;
  pointer-events: auto;
}
/* Finding card anatomy */
.finding-week {
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(255,255,255,0.47);
  margin-bottom: 0.75rem;
}
.finding-tag {
  display: inline-flex; align-items: center;
  font-size: 0.625rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.2rem 0.625rem; border-radius: 4px;
  margin-bottom: 1rem;
}
.finding-tag--amber {
  background: rgba(245,158,11,0.12);
  color: #F59E0B;
  border: 1px solid rgba(245,158,11,0.28);
}
.finding-tag--red {
  background: rgba(239,68,68,0.10);
  color: #F87171;
  border: 1px solid rgba(239,68,68,0.25);
}
.finding-tag--blue {
  background: rgba(96,165,250,0.10);
  color: #60A5FA;
  border: 1px solid rgba(96,165,250,0.25);
}
.finding-text {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 500; line-height: 1.55;
  letter-spacing: -0.015em;
  color: rgba(255,255,255,0.92);
  margin-bottom: 1rem;
}
.finding-divider {
  width: 100%; height: 1px;
  background: rgba(255,255,255,0.07);
  margin-bottom: 0.875rem;
}
.finding-prevented {
  font-size: 0.8125rem; font-weight: 400;
  color: rgba(255,255,255,0.62); line-height: 1.5;
}
.finding-prevented span {
  color: #4ade80; font-weight: 500;
}
.insight-pips {
  display: flex; align-items: center; gap: 6px;
  padding: 1rem 2rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.insight-pip {
  display: block; width: 20px; height: 2px;
  border-radius: 2px; background: rgba(255,255,255,0.15);
  transition: background 0.4s ease, width 0.4s ease;
}
.insight-pip--active {
  background: rgba(255,255,255,0.7); width: 32px;
}

/* ---- 11. PROBLEM SECTION ---- */
.problem-section {
  background: var(--bg-dark); color: var(--ink-inv);
  padding: var(--section-y) 0; position: relative; overflow: hidden;
}
.problem-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 80% 50%, rgba(37,99,235,0.07), transparent);
  pointer-events: none;
}
.problem-headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300; letter-spacing: -0.025em; line-height: 1.15;
  color: var(--ink-inv); margin-bottom: var(--s8);
  max-width: 22rem;
}
.problem-text {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.8;
  color: var(--ink-inv-2); max-width: 560px;
}
.problem-text p { margin-bottom: var(--s3); }
.problem-text p:last-child { margin-bottom: 0; }
.problem-text strong { color: #fff; font-weight: 600; }
.problem-layout {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s16);
  align-items: center;
}
.problem-stat {
  font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 200;
  letter-spacing: -0.04em; color: rgba(255,255,255,0.07);
  line-height: 1; user-select: none; text-align: right;
}

/* ---- 12. SOLUTION SECTION ---- */
.solution-section { background: var(--bg); padding: var(--section-y) 0; }
.solution-inner { text-align: center; max-width: 580px; margin: 0 auto; }
.solution-headline {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 500;
  letter-spacing: -0.025em; color: var(--ink); margin-bottom: var(--s4);
}
.solution-headline em {
  font-style: italic; font-weight: 300; color: var(--accent-bright);
}
.solution-text {
  font-size: 1.125rem; color: var(--ink-2); line-height: 1.8;
}

/* ---- 13. CLARITY SPRINT SECTION ---- */
.sprint-section { background: var(--bg-alt); padding: var(--section-y) 0; }
.sprint-header { margin-bottom: var(--s12); }
.sprint-eyebrow { margin-bottom: var(--s3); }
.sprint-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 400;
  letter-spacing: -0.022em; color: var(--ink); margin-bottom: var(--s3);
}
.sprint-sub { font-size: 1.0625rem; color: var(--ink-3); max-width: 520px; }
.sprint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s3);
}
.sprint-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--s5);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
  position: relative; overflow: hidden;
}
.sprint-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(to bottom, var(--accent-mid), var(--accent-bright));
  opacity: 0; transition: opacity var(--t-base);
  border-radius: 0 0 0 var(--r-md);
}
html[dir="rtl"] .sprint-item::before { left: auto; right: 0; }
.sprint-item:hover { border-color: var(--accent-border); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sprint-item:hover::before { opacity: 1; }
.sprint-num {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-bright);
  margin-bottom: var(--s2);
}
.sprint-item-title {
  font-size: 1.0625rem; font-weight: 600; color: var(--ink);
  margin-bottom: var(--s1); letter-spacing: -0.01em;
}
.sprint-item-desc { font-size: 0.9375rem; color: var(--ink-3); line-height: 1.65; }


/* Build / Pivot / Kill standalone callout */
.sprint-callout {
  margin-top: var(--s5);
  display: flex; align-items: center; gap: var(--s6);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 3rem);
  background: var(--accent);
  border-radius: var(--r-lg);
  flex-wrap: wrap;
}
.sprint-callout-num {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  flex-shrink: 0; align-self: flex-start; padding-top: 4px;
}
.sprint-callout-body { flex: 1; min-width: 200px; }
.sprint-callout-title {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 600; color: #fff; letter-spacing: -0.02em;
  line-height: 1.15; margin-bottom: 0.5rem;
}
.sprint-callout-desc {
  font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.65;
}
.sprint-callout-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: #fff; color: var(--accent);
  font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em;
  border-radius: var(--r-sm);
  transition: box-shadow var(--t-base), transform var(--t-base);
  flex-shrink: 0; white-space: nowrap;
}
.sprint-callout-cta:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

.sprint-footer {
  margin-top: var(--s8); padding-top: var(--s6);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s4);
}
.sprint-footer-text { font-size: 0.9375rem; color: var(--ink-3); max-width: 420px; }
.sprint-footer-text strong { color: var(--ink); font-weight: 600; }

/* ---- 14. HOW IT WORKS SECTION ---- */
.process-section { background: var(--bg); padding: var(--section-y) 0; }
.process-header { text-align: center; margin-bottom: var(--s12); }
.process-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 400;
  letter-spacing: -0.022em; color: var(--ink); margin-bottom: var(--s3);
}
.process-sub { font-size: 1.0625rem; color: var(--ink-3); max-width: 480px; margin: 0 auto; }
.process-timeline {
  position: relative; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 0;
}
.process-line {
  position: absolute; top: 36px; left: 12.5%; right: 12.5%;
  height: 1px; background: var(--border); z-index: 0;
}
.process-line-fill {
  height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent-mid), var(--accent-bright));
  transition: width 1.2s var(--ease-out);
}
.process-step {
  position: relative; z-index: 1; padding: 0 var(--s3); text-align: center;
}
.process-node {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto var(--s4);
  background: var(--surface); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.process-step.active .process-node {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 4px var(--accent-glow), var(--shadow-md);
  transform: scale(1.05);
}
.process-week {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-bright); margin-bottom: var(--s1);
}
.process-step-num {
  font-size: 1.5rem; font-weight: 300; color: var(--ink-3);
  letter-spacing: -0.02em;
}
.process-step-title {
  font-size: 1.0625rem; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em; margin-bottom: var(--s2);
}
.process-step-desc {
  font-size: 0.9375rem; color: var(--ink-3); line-height: 1.65;
}

/* ---- 15. WHY SMARTWAY SECTION ---- */
.why-section { background: var(--bg-alt); padding: var(--section-y) 0; }
.why-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s16);
  align-items: center;
}
.why-content {}
.why-eyebrow { margin-bottom: var(--s4); }
.why-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 400;
  letter-spacing: -0.022em; color: var(--ink); margin-bottom: var(--s5);
}
.why-text { font-size: 1.0625rem; color: var(--ink-2); line-height: 1.8; margin-bottom: var(--s5); }
.why-stat-block {}
.why-big-number { display: none; }
.why-quote {
  font-size: 1.375rem; font-weight: 300; font-style: italic;
  color: var(--ink-2); letter-spacing: -0.01em; line-height: 1.5;
  border-left: 3px solid var(--accent-bright); padding-left: var(--s4);
  margin-bottom: var(--s4);
}
html[dir="rtl"] .why-quote { border-left: none; border-right: 3px solid var(--accent-bright); padding-left: 0; padding-right: var(--s4); }
.why-details { display: flex; flex-direction: column; gap: var(--s4); }
.why-detail {
  display: flex; gap: var(--s3); align-items: flex-start;
  padding: var(--s4); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-md);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.why-detail:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
html[dir="rtl"] .why-detail:hover { transform: translateX(-4px); }
.why-detail-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--accent-subtle); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.why-detail-content {}
.why-detail-title { font-size: 0.9375rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.why-detail-text { font-size: 0.875rem; color: var(--ink-3); line-height: 1.6; }

/* ---- 16. ADAPTIVE EXPERTISE SECTION ---- */
.adaptive-section {
  background: var(--accent); color: #fff; padding: var(--section-y) 0;
  position: relative; overflow: hidden;
}
.adaptive-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(255,255,255,0.04), transparent),
              radial-gradient(ellipse 40% 60% at 80% 20%, rgba(255,255,255,0.03), transparent);
  pointer-events: none;
}
.adaptive-inner {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s16);
  align-items: center; position: relative; z-index: 1;
}
.adaptive-label { color: rgba(255,255,255,0.5); margin-bottom: var(--s4); }
.adaptive-label::before { background: rgba(255,255,255,0.5); }
.adaptive-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 400;
  letter-spacing: -0.022em; color: #fff; margin-bottom: var(--s5);
}
.adaptive-text {
  font-size: 1.0625rem; color: rgba(255,255,255,0.75);
  line-height: 1.8; margin-bottom: var(--s5);
}
.adaptive-points { display: flex; flex-direction: column; gap: var(--s3); }
.adaptive-point {
  display: flex; align-items: flex-start; gap: var(--s3);
  padding: var(--s4); background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-md);
  transition: background var(--t-base);
}
.adaptive-point:hover { background: rgba(255,255,255,0.11); }
.adaptive-point-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.6); flex-shrink: 0; margin-top: 6px;
}
.adaptive-point-text { font-size: 0.9375rem; color: rgba(255,255,255,0.8); line-height: 1.65; }
.adaptive-note {
  margin-top: var(--s6); padding-top: var(--s4);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem; color: rgba(255,255,255,0.4);
  font-style: italic;
}
.adaptive-note--prominent {
  font-size: 1.0625rem; font-style: normal; font-weight: 600;
  color: rgba(255,255,255,0.9);
  border-top-color: rgba(255,255,255,0.2);
}

/* ---- 17. PROOF SECTION ---- */
.proof-section { background: var(--bg); padding: var(--section-y) 0; }
.proof-header { text-align: center; margin-bottom: var(--s12); }
.proof-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 400;
  letter-spacing: -0.022em; color: var(--ink);
}
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.proof-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: clamp(2rem, 4vw, 3.5rem);
  position: relative; overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.proof-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.proof-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--accent-subtle), transparent);
  pointer-events: none;
}
.proof-stat {
  font-size: clamp(3rem, 6vw, 5rem); font-weight: 200;
  letter-spacing: -0.04em; color: var(--accent);
  line-height: 1; margin-bottom: var(--s3);
}
.proof-card-title {
  font-size: 1.1875rem; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em; margin-bottom: var(--s3);
}
.proof-card-desc {
  font-size: 0.9375rem; color: var(--ink-3); line-height: 1.7;
  max-width: 360px;
}
.proof-card-tag {
  display: inline-flex; align-items: center; gap: 0.375rem;
  margin-bottom: var(--s4); padding: 0.25rem 0.75rem;
  background: var(--accent-subtle); border: 1px solid var(--accent-border);
  border-radius: var(--r-full);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--accent);
}

/* ---- 18. RISK SECTION ---- */
.risk-section { background: var(--bg-alt); padding: var(--section-y) 0; }
.risk-header { margin-bottom: var(--s12); }
.risk-title {
  font-size: clamp(1.875rem, 3.5vw, 2.875rem); font-weight: 400;
  letter-spacing: -0.022em; color: var(--ink); margin-bottom: var(--s4);
}
.risk-text { font-size: 1.0625rem; color: var(--ink-3); max-width: 560px; line-height: 1.75; }
.risk-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3);
}
.risk-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--s5);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.risk-card:hover { border-color: var(--accent-border); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.risk-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--accent-subtle); margin-bottom: var(--s3);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.risk-card-title {
  font-size: 1rem; font-weight: 600; color: var(--ink);
  margin-bottom: var(--s2);
}
.risk-card-desc { font-size: 0.875rem; color: var(--ink-3); line-height: 1.65; }

/* ---- 19. FINAL CTA SECTION ---- */
.cta-section {
  background: var(--accent); padding: var(--section-y) 0;
  position: relative; overflow: hidden; text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 100%, rgba(37,99,235,0.3), transparent);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-label { margin-bottom: var(--s4); justify-content: center; }
.cta-label::before { background: rgba(255,255,255,0.5); }
.cta-title {
  font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 300;
  letter-spacing: -0.025em; color: #fff;
  line-height: 1.15; margin-bottom: var(--s4);
}
.cta-text {
  font-size: 1.0625rem; color: rgba(255,255,255,0.7);
  line-height: 1.75; margin-bottom: var(--s8);
}
.cta-actions { display: flex; align-items: center; justify-content: center; gap: var(--s3); flex-wrap: wrap; }

/* ---- 20. FOOTER ---- */
.site-footer {
  background: var(--bg-dark); color: var(--ink-inv);
  padding: var(--s16) 0 var(--s8);
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s8); margin-bottom: var(--s12);
}
.footer-brand {}
.footer-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.025em;
  color: #fff; margin-bottom: var(--s3);
}
.footer-tagline { font-size: 0.9375rem; color: var(--ink-inv-3); line-height: 1.7; max-width: 280px; }
.footer-col-title {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-inv-3);
  margin-bottom: var(--s3);
}
.footer-links { display: flex; flex-direction: column; gap: var(--s2); }
.footer-links a {
  font-size: 0.9375rem; color: var(--ink-inv-2);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding-top: var(--s6); border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s3);
}
.footer-copy { font-size: 0.875rem; color: var(--ink-inv-3); }
.footer-legal { display: flex; gap: var(--s4); }
.footer-legal a { font-size: 0.875rem; color: var(--ink-inv-3); transition: color var(--t-fast); }
.footer-legal a:hover { color: #fff; }

/* ---- 21. PAGE HEROES ---- */
.page-hero {
  background: var(--bg); padding: calc(var(--header-h) + var(--s12)) 0 var(--s12);
  border-bottom: 1px solid var(--border);
}
.page-hero-label { margin-bottom: var(--s4); }
.page-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 300;
  letter-spacing: -0.03em; line-height: 1.1; color: var(--ink);
  max-width: 18em; margin-bottom: var(--s4);
}
.page-hero-sub {
  font-size: 1.125rem; color: var(--ink-2); max-width: 560px; line-height: 1.75;
}

/* ---- 22. SERVICES PAGE ---- */
.services-overview { background: var(--bg-alt); padding: var(--section-y) 0; }
.services-overview-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s12); align-items: center;
}
.services-main { background: var(--bg); padding: var(--section-y) 0; }
.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); margin-top: var(--s8); }
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s6);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--accent-subtle); margin-bottom: var(--s4);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.service-card-title {
  font-size: 1.125rem; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em; margin-bottom: var(--s2);
}
.service-card-desc { font-size: 0.9375rem; color: var(--ink-3); line-height: 1.7; }
.services-positioning {
  background: var(--bg-dark); color: var(--ink-inv);
  padding: var(--section-y) 0;
}
.positioning-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.positioning-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 300;
  letter-spacing: -0.025em; color: #fff; margin-bottom: var(--s5); line-height: 1.2;
}
.positioning-text { font-size: 1.0625rem; color: var(--ink-inv-2); line-height: 1.8; }

/* ---- 23. ABOUT PAGE ---- */
.about-profile { background: var(--bg); padding: var(--section-y) 0; }
.about-profile-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s16); align-items: start;
}
.about-profile-text {}
.about-profile-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 400;
  letter-spacing: -0.022em; color: var(--ink); margin-bottom: var(--s5);
}
.about-profile-body {
  font-size: 1.0625rem; color: var(--ink-2); line-height: 1.85;
}
.about-profile-body p { margin-bottom: var(--s4); }
.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.about-stat-card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--s4);
}
.about-stat-number {
  font-size: 2.5rem; font-weight: 200; letter-spacing: -0.03em;
  color: var(--accent); line-height: 1; margin-bottom: var(--s1);
}
.about-stat-label { font-size: 0.875rem; color: var(--ink-3); line-height: 1.5; }
.about-domains { margin-top: var(--s6); }
.about-domains-title {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s3);
}
.domain-tags { display: flex; flex-wrap: wrap; gap: var(--s1); }
.domain-tag {
  padding: 0.375rem 0.875rem;
  background: var(--accent-subtle); border: 1px solid var(--accent-border);
  border-radius: var(--r-full);
  font-size: 0.8125rem; font-weight: 500; color: var(--accent);
}
.thinking-section { background: var(--bg-alt); padding: var(--section-y) 0; }
.thinking-header { margin-bottom: var(--s10); }
.thinking-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 400;
  letter-spacing: -0.022em; color: var(--ink); margin-bottom: var(--s3);
}
.thinking-sub { font-size: 1.0625rem; color: var(--ink-3); max-width: 500px; }
.thinking-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
.thinking-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s6);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.thinking-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.thinking-card-num {
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-bright);
  margin-bottom: var(--s3);
}
.thinking-card-title {
  font-size: 1.0625rem; font-weight: 600; color: var(--ink);
  margin-bottom: var(--s2);
}
.thinking-card-text { font-size: 0.9375rem; color: var(--ink-3); line-height: 1.7; }
.experience-section { background: var(--bg); padding: var(--section-y) 0; }
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s10); }
.experience-card {
  border-left: 3px solid var(--accent-bright); padding-left: var(--s4);
}
html[dir="rtl"] .experience-card { border-left: none; border-right: 3px solid var(--accent-bright); padding-left: 0; padding-right: var(--s4); }
.experience-card-title {
  font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: var(--s2);
}
.experience-card-text { font-size: 0.9375rem; color: var(--ink-3); line-height: 1.7; }

/* ---- 24. CONTACT PAGE ---- */
.contact-section { background: var(--bg); padding: var(--section-y) 0; }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s12); align-items: start;
}
.contact-info {}
.contact-info-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 400;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: var(--s4);
}
.contact-info-text {
  font-size: 1.0625rem; color: var(--ink-2); line-height: 1.8; margin-bottom: var(--s6);
}
.contact-details { display: flex; flex-direction: column; gap: var(--s4); }
.contact-detail {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-md);
}
.contact-detail-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--accent-subtle); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.contact-detail-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px;
}
.contact-detail-value { font-size: 0.9375rem; color: var(--ink); font-weight: 500; }
.contact-note {
  margin-top: var(--s6); padding: var(--s4);
  background: var(--accent-subtle); border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  font-size: 0.875rem; color: var(--accent); line-height: 1.65;
}
.contact-form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: var(--s4); }
.form-group label {
  display: block; font-size: 0.875rem; font-weight: 500;
  color: var(--ink-2); margin-bottom: var(--s1); letter-spacing: -0.01em;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.875rem 1.125rem;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-md); color: var(--ink); font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none; appearance: none; -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-light); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--surface);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
html[dir="rtl"] .form-group select {
  background-position: left 1rem center; padding-right: 1.125rem; padding-left: 2.5rem;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.form-submit { width: 100%; margin-top: var(--s2); }
.form-note {
  margin-top: var(--s3); font-size: 0.8125rem; color: var(--ink-3);
  text-align: center; line-height: 1.6;
}

/* ---- 25. SCROLL REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ---- 26. RTL SPECIFIC OVERRIDES ---- */
html[dir="rtl"] .process-line-fill {
  background: linear-gradient(270deg, var(--accent-mid), var(--accent-bright));
}
html[dir="rtl"] .hero-scroll { left: auto; right: 50%; transform: translateX(50%); }

/* ---- 27. RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s5); align-items: start; }
  .hero-visual { align-items: stretch; max-width: 520px; }
  .insight-card { max-width: 100%; }
  .problem-layout { grid-template-columns: 1fr; gap: var(--s8); }
  .problem-stat { text-align: left; font-size: clamp(3rem, 10vw, 6rem); }
  html[dir="rtl"] .problem-stat { text-align: right; }
  .why-inner { grid-template-columns: 1fr; gap: var(--s8); }
  .adaptive-inner { grid-template-columns: 1fr; gap: var(--s8); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .services-overview-inner { grid-template-columns: 1fr; gap: var(--s8); }
  .about-profile-inner { grid-template-columns: 1fr; gap: var(--s8); }
  .contact-inner { grid-template-columns: 1fr; gap: var(--s8); }
  .experience-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav-links, .header-actions .btn-sm { display: none; }
  .menu-toggle { display: flex; }
  .hero-headline { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero-metrics { flex-wrap: wrap; gap: var(--s2); }
  .insight-body { height: 220px; }
  .hero-metric-sep { display: none; }
  .proof-grid { grid-template-columns: 1fr; }
  .risk-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: 1fr; gap: var(--s6); }
  .process-line { display: none; }
  .process-step { text-align: left; padding: 0; }
  html[dir="rtl"] .process-step { text-align: right; }
  .process-node { margin: 0 0 var(--s3); }
  html[dir="rtl"] .process-node { margin: 0 0 var(--s3); }
  .service-cards { grid-template-columns: 1fr; }
  .thinking-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  html[dir="rtl"] .footer-bottom { align-items: flex-end; }
  .about-stats-grid { grid-template-columns: 1fr; }
  .experience-grid { grid-template-columns: 1fr; }
  .sprint-item--featured { grid-column: auto; }
}

@media (max-width: 480px) {
  .sprint-grid { grid-template-columns: 1fr; }
  .sprint-item--featured { grid-column: auto; }
  .risk-grid { grid-template-columns: 1fr; }
  .proof-card { padding: var(--s5); }
  .audit-card { max-width: 100%; }
}

/* ---- 28. SECTORS STRIP ---- */
.sectors-strip {
  background: var(--bg); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--s4) 0;
}
.sectors-inner {
  display: flex; align-items: center; gap: var(--s5);
  flex-wrap: wrap; justify-content: center;
}
.sectors-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-3);
  white-space: nowrap; flex-shrink: 0;
}
.sectors-list {
  display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap;
  justify-content: center;
}
.sector-item {
  font-size: 0.875rem; font-weight: 500; color: var(--ink-2);
  white-space: nowrap;
}
.sector-sep {
  color: var(--border); font-size: 1rem; user-select: none;
  color: var(--ink-light);
}

/* ---- 28b. LABEL INVERSE VARIANT ---- */
.label--inv { color: rgba(255,255,255,0.5); }
.label--inv::before { background: rgba(255,255,255,0.5); }

/* ---- 28c. TESTIMONIALS SECTION ---- */
.testimonials-section { background: var(--bg-alt); padding: var(--section-y) 0; }
.testimonials-header { margin-bottom: var(--s12); }
.testimonials-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 400;
  letter-spacing: -0.022em; color: var(--ink); margin-top: var(--s3);
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4);
}
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s6);
  display: flex; flex-direction: column; gap: var(--s4);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial-quote-mark {
  font-size: 3rem; line-height: 1; color: var(--accent-bright);
  font-weight: 700; opacity: 0.25; user-select: none;
  margin-bottom: calc(-1 * var(--s2));
}
.testimonial-text {
  font-size: 1rem; color: var(--ink-2); line-height: 1.75;
  font-style: italic; flex: 1;
}
.testimonial-author {
  display: flex; flex-direction: column; gap: 2px;
  padding-top: var(--s3); border-top: 1px solid var(--border);
}
.testimonial-name { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.testimonial-role { font-size: 0.8125rem; color: var(--ink-3); }

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .sectors-inner { gap: var(--s3); }
}

/* ---- 29. PRINT ---- */
@media print {
  #site-header, #scroll-progress, .hero-scroll, .mobile-menu { display: none; }
  .reveal { opacity: 1; transform: none; }
  body { background: #fff; color: #000; }
}

/* ---- 29b. TODO PLACEHOLDER WARNING BANNER ----
   Fires when checkTodoPlaceholders() finds [TODO:] markers in visible text.
   Deliberately loud so a placeholder build cannot be shipped by accident. */
#todo-warning-banner {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #B91C1C;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 0.75rem 1rem;
  line-height: 1.4;
  box-shadow: 0 2px 0 rgba(0,0,0,0.18);
  border-bottom: 2px solid #7F1D1D;
}
@media print { #todo-warning-banner { display: none; } }

/* ---- 29. 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;
    transition: none;
  }
  .reveal-delay-1, .reveal-delay-2, .reveal-delay-3,
  .reveal-delay-4, .reveal-delay-5, .reveal-delay-6 {
    transition-delay: 0s;
  }
  .insight-live-dot { animation: none; }
  .process-line-fill { transition: none; }
  .btn, .btn-arrow, .card, .sprint-item, .proof-card,
  .risk-card, .why-detail, .adaptive-point {
    transition: none;
  }
}

/* ---- 30. JS-FALLBACK FOR REVEALS ----
   When JavaScript is disabled, IntersectionObserver never adds .visible.
   The .no-js class on <html> (default) reveals everything. main.js removes
   .no-js once it executes, restoring the reveal animation. */
html.no-js .reveal { opacity: 1; transform: none; }

/* ---- 31. FORM ACCESSIBILITY ---- */
.form-required-note {
  font-size: 0.8125rem; color: var(--ink-3);
  margin-bottom: var(--s3); display: flex; align-items: center; gap: 0.4rem;
  line-height: 1.5;
}
.form-required-note > span[aria-hidden] {
  color: #B91C1C; font-weight: 700; font-size: 1rem; line-height: 1;
}
.required-mark {
  color: #B91C1C; margin-inline-start: 0.2rem; font-weight: 700;
}
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"],
.form-group select[aria-invalid="true"] {
  border-color: #B91C1C;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}
.form-error {
  display: none;
  font-size: 0.8125rem;
  color: #B91C1C;
  margin-top: 0.45rem;
  line-height: 1.5;
  font-weight: 500;
}
.form-error:not(:empty) { display: block; }
.form-status {
  margin-top: var(--s3);
  font-size: 0.9375rem;
  text-align: center;
  min-height: 1.5em;
}
.form-status[data-state="success"] { color: #047857; font-weight: 600; }
.form-status[data-state="error"]   { color: #B91C1C; font-weight: 600; }
.form-status[data-state="sending"] { color: var(--ink-3); }
/* Honeypot must remain hidden but tabindex=-1 keeps it out of tab order */
.hp-field {
  position: absolute !important; left: -10000px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* ---- 32. CARD TITLE H3 RESET ----
   Card titles were converted from <div> to <h3> for proper heading hierarchy.
   Class selectors already beat the h3 type selector for size/weight/color/letter-spacing,
   so the only properties we need to override are line-height (h3 default 1.35 was tighter
   than the inherited 1.65 the divs got). Margins are zeroed since the existing rules
   only set margin-bottom. */
h3.sprint-item-title,
h3.process-step-title,
h3.why-detail-title,
h3.proof-card-title,
h3.risk-card-title,
h3.service-card-title,
h3.thinking-card-title,
h3.experience-card-title,
h3.about-domains-title {
  line-height: 1.4;
  margin-top: 0;
}

/* ---- 33. ACCESSIBILITY TOOLBAR ---- */
.a11y-fab {
  position: fixed;
  bottom: 1.25rem;
  inset-inline-end: 1.25rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent-bright);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.12);
  cursor: pointer;
  z-index: 9000;
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast);
  border: 2px solid rgba(255,255,255,0.4);
}
.a11y-fab:hover { transform: scale(1.06); background: var(--accent-hover); }
.a11y-fab svg { width: 24px; height: 24px; }
.a11y-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--accent-bright); }

.a11y-panel {
  position: fixed;
  bottom: calc(1.25rem + 56px);
  inset-inline-end: 1.25rem;
  width: min(320px, calc(100vw - 2.5rem));
  background: #fff;
  color: #111827;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22), 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 1.25rem;
  z-index: 9001;
  display: none;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.a11y-panel[data-open="true"] { display: block; }
.a11y-panel-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
}
.a11y-panel-close {
  background: transparent; border: 0; cursor: pointer;
  padding: 4px; color: var(--ink-3); border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
}
.a11y-panel-close:hover { color: var(--ink); background: rgba(0,0,0,0.05); }
.a11y-panel-section {
  margin-bottom: 0.85rem;
}
.a11y-panel-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 0.45rem;
}
.a11y-font-controls {
  display: flex; align-items: center; gap: 0.4rem;
}
.a11y-btn {
  flex: 1;
  padding: 0.55rem 0.6rem;
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.a11y-btn:hover { background: var(--accent-subtle); border-color: var(--accent-border); }
.a11y-btn[aria-pressed="true"] {
  background: var(--accent-bright); color: #fff; border-color: var(--accent-bright);
}
.a11y-btn-reset {
  width: 100%;
  margin-top: 0.5rem;
  background: transparent;
  border: 1.5px dashed var(--border);
  color: var(--ink-2);
  padding: 0.55rem;
  border-radius: 8px;
  font-size: 0.875rem;
  cursor: pointer;
}
.a11y-btn-reset:hover { background: var(--bg); border-color: var(--ink-3); color: var(--ink); }
.a11y-toggle-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem;
}

/* ---- 34. ACCESSIBILITY: FONT SCALE (toolbar) ---- */
html[data-a11y-font="1"] { font-size: 16px; }
html[data-a11y-font="2"] { font-size: 17.5px; }
html[data-a11y-font="3"] { font-size: 19px; }
html[data-a11y-font="4"] { font-size: 21px; }
html[data-a11y-font="5"] { font-size: 23px; }

/* ---- 35. ACCESSIBILITY: HIGH CONTRAST MODE ---- */
html.a11y-contrast {
  --bg: #000000;
  --bg-alt: #000000;
  --bg-dark: #000000;
  --bg-dark-alt: #000000;
  --surface: #000000;
  --surface-raised: #000000;
  --ink: #FFFFFF;
  --ink-2: #FFFFFF;
  --ink-3: #FFFF00;
  --ink-light: #FFFF00;
  --ink-inv: #FFFFFF;
  --ink-inv-2: #FFFFFF;
  --ink-inv-3: #FFFF00;
  --accent: #FFFF00;
  --accent-mid: #FFFF00;
  --accent-bright: #FFFF00;
  --accent-hover: #FFFF00;
  --accent-subtle: #000000;
  --accent-border: #FFFF00;
  --accent-glow: rgba(255,255,0,0.4);
  --border: #FFFFFF;
  --border-dark: #FFFFFF;
}
html.a11y-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-contrast a,
html.a11y-contrast a:hover { color: #FFFF00 !important; text-decoration: underline !important; }
html.a11y-contrast .btn,
html.a11y-contrast .btn-primary,
html.a11y-contrast .btn-ghost,
html.a11y-contrast .btn-accent-inv,
html.a11y-contrast .btn-hero-primary {
  background: #000 !important; color: #FFFF00 !important;
  border: 2px solid #FFFF00 !important; box-shadow: none !important;
}
html.a11y-contrast .btn:hover { background: #FFFF00 !important; color: #000 !important; }
html.a11y-contrast :focus-visible {
  outline: 3px solid #FFFF00 !important; outline-offset: 3px !important;
}
html.a11y-contrast input,
html.a11y-contrast textarea,
html.a11y-contrast select {
  background: #000 !important; color: #fff !important;
  border: 2px solid #fff !important;
}
html.a11y-contrast .insight-card,
html.a11y-contrast .card,
html.a11y-contrast .sprint-item,
html.a11y-contrast .proof-card,
html.a11y-contrast .risk-card,
html.a11y-contrast .why-detail,
html.a11y-contrast .service-card,
html.a11y-contrast .thinking-card,
html.a11y-contrast .experience-card,
html.a11y-contrast .testimonial-card,
html.a11y-contrast .contact-form-card {
  background: #000 !important; border: 1px solid #fff !important; color: #fff !important;
  box-shadow: none !important;
}
html.a11y-contrast img:not([src$=".svg"]) { filter: contrast(1.1) brightness(1.05); }

/* ---- 36. ACCESSIBILITY: GRAYSCALE MODE ---- */
html.a11y-grayscale body { filter: grayscale(100%); }

/* ---- 37. ACCESSIBILITY: UNDERLINE LINKS ---- */
html.a11y-underline-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-underline-links .btn,
html.a11y-underline-links .btn-arrow { text-decoration: none !important; }

/* ---- 38. ACCESSIBILITY: PAUSE ANIMATIONS ---- */
html.a11y-pause-anim *,
html.a11y-pause-anim *::before,
html.a11y-pause-anim *::after {
  animation-play-state: paused !important;
  animation-duration: 0s !important;
  transition: none !important;
}
html.a11y-pause-anim .reveal { opacity: 1 !important; transform: none !important; }
html.a11y-pause-anim .insight-live-dot { animation: none !important; opacity: 0.7; }
html.a11y-pause-anim .process-line-fill { transition: none !important; }

/* ---- 39. ACCESSIBILITY STATEMENT PAGE ---- */
.a11y-statement {
  font-size: 1.0625rem;
  color: var(--ink-2);
  line-height: 1.85;
}
.a11y-statement h2 {
  font-size: 1.375rem; font-weight: 600;
  color: var(--ink); margin-bottom: 1rem; margin-top: 2.5rem;
  letter-spacing: -0.01em;
}
.a11y-statement h2:first-child { margin-top: 0; }
.a11y-statement p { margin-bottom: 1.25rem; }
.a11y-statement ul { padding-inline-start: 1.5rem; margin-bottom: 1.25rem; list-style: disc; }
.a11y-statement ul li { margin-bottom: 0.5rem; }
.a11y-statement a { color: var(--accent-bright); text-decoration: underline; }
.a11y-statement .a11y-contact-card {
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}
.a11y-statement .a11y-contact-card dl { margin: 0; }
.a11y-statement .a11y-contact-card dt {
  font-weight: 600; color: var(--ink); margin-top: 0.5rem;
}
.a11y-statement .a11y-contact-card dt:first-child { margin-top: 0; }
.a11y-statement .a11y-contact-card dd { margin: 0 0 0.25rem; color: var(--ink-2); }
