/* ══════════════════════════════════════════════════════════════
   StylingCV Standalone Theme — Complete CSS Architecture
   ══════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ─────────────────────────────────── */
:root {
  /* ===== Color — Primary Teal Family ===== */
  --scv-teal-primary:      #268599;
  --scv-teal-bright:       #2E8C9C;
  --scv-teal-deep:         #155469;
  --scv-teal-green:        #239E9B;
  --scv-teal-transitional: #618480;

  /* ===== Color — Secondary Warm (Coral) Family ===== */
  --scv-coral:             #E8885E;
  --scv-coral-warm:        #DAA579;
  --scv-coral-deep:        #CD7858;
  --scv-coral-medium:      #996B54;

  /* ===== Color — Navy / Dark Family ===== */
  --scv-navy-dark:         #16344C;
  --scv-navy-medium:       #19384F;
  --scv-navy-slate:        #1A3A4F;
  --scv-ink:               #0A1628;

  /* ===== Color — Neutrals ===== */
  --scv-white:             #FFFFFF;
  --scv-gray-50:           #FAFAFA;
  --scv-gray-100:          #F5F5F5;
  --scv-gray-200:          #E5E5E5;
  --scv-gray-300:          #D4D4D4;
  --scv-gray-400:          #A3A3A3;
  --scv-gray-500:          #737373;
  --scv-gray-600:          #525252;
  --scv-gray-700:          #404040;
  --scv-gray-800:          #262626;
  --scv-gray-900:          #171717;

  /* ===== Legacy aliases (backward compat) ===== */
  --teal: var(--scv-teal-primary);
  --teal-dark: var(--scv-teal-bright);
  --teal-light: rgba(38, 133, 153, 0.15);
  --coral: var(--scv-coral);
  --coral-dark: var(--scv-coral-deep);
  --navy: var(--scv-navy-dark);
  --navy-light: #1e4a6e;
  --gold: #C4A574;

  /* ===== Semantic surface + foreground tokens ===== */
  --bg:                    var(--scv-white);
  --bg-soft:               var(--scv-gray-100);
  --bg-card:               var(--scv-white);
  --bg-dark:               var(--scv-navy-dark);
  --bg-darker:             var(--scv-ink);

  --fg:                    var(--scv-gray-900);
  --fg-1:                  var(--scv-gray-900);
  --fg-2:                  var(--scv-gray-700);
  --fg-3:                  var(--scv-gray-500);
  --fg-4:                  var(--scv-gray-400);
  --fg-on-dark:            var(--scv-white);
  --fg-on-brand:           var(--scv-white);

  --border:                var(--scv-gray-200);
  --border-strong:         var(--scv-gray-300);
  --border-on-dark:        rgba(255,255,255,0.10);

  --accent:                var(--scv-teal-primary);
  --accent-hover:          var(--scv-teal-bright);
  --accent-warm:           var(--scv-coral);
  --accent-warm-hover:     var(--scv-coral-deep);

  /* ===== Blog / Article surface ===== */
  --theme-paper: #FAF6EE;

  /* ===== Gradients ===== */
  --gradient: linear-gradient(135deg, #268599 0%, #618480 50%, #e8885e 100%);
  --gradient-coral: linear-gradient(135deg, #E8885E, #D4764C);
  --gradient-teal: linear-gradient(135deg, #268599, #2DD4BF, #34D399);
  --gradient-rejected: linear-gradient(90deg, #E8885E, #F4A460, #FFD700);
  --gradient-brand:
    linear-gradient(135deg,
      var(--scv-teal-deep)  0%,
      var(--scv-teal-primary) 25%,
      var(--scv-teal-green) 50%,
      var(--scv-teal-transitional) 70%,
      var(--scv-coral) 100%
    );
  --gradient-brand-soft:
    linear-gradient(135deg,
      var(--scv-teal-primary) 0%,
      var(--scv-coral-warm)   100%
    );
  --gradient-navy-fade:
    linear-gradient(180deg,
      var(--scv-ink) 0%,
      var(--scv-navy-dark) 50%,
      var(--scv-navy-slate) 100%
    );
  --gradient-text-brand:
    linear-gradient(90deg,
      var(--scv-teal-primary) 0%,
      var(--scv-coral) 100%
    );

  /* ===== Type — Families ===== */
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --font-primary: var(--font-body);
  --font-arabic: 'Tajawal', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;

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

  /* ===== Shadows / Elevation ===== */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --shadow-glow: 0 8px 24px rgba(232,136,94,0.2);
  --shadow-coral-glow: 0 20px 40px rgba(232, 136, 94, 0.20);
  --shadow-teal-glow:  0 12px 32px rgba(38, 133, 153, 0.25);

  /* ===== Motion ===== */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:    0.15s;
  --dur-base:    0.3s;
  --dur-slow:    0.6s;

  /* ===== Layout ===== */
  --container: 100rem;
  --container-narrow: 72rem;
}

/* ─── 2. RESET & BASE ─────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--coral);
}

ul, ol {
  list-style: none;
}

/* ─── 3. TYPOGRAPHY ───────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--fg-1);
}

.scv-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(232,136,94,0.15);
  border: 1px solid rgba(232,136,94,0.25);
  color: var(--coral);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
  margin-bottom: 16px;
}

.scv-section-label svg {
  width: 14px;
  height: 14px;
}

.scv-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--fg-1);
}

.scv-heading .gradient-coral {
  background: var(--gradient-rejected);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.scv-subtitle {
  font-size: 0.875rem;
  color: var(--fg-3);
  line-height: 1.7;
  max-width: 420px;
}

/* ─── 4. LAYOUT ───────────────────────────────────────── */
.scv-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.scv-container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.scv-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.scv-section {
  position: relative;
  padding: 110px 0 120px;
  overflow: hidden;
}

.scv-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  pointer-events: none;
}

.scv-section-glow-teal {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(38,133,153,0.05);
  filter: blur(100px);
  pointer-events: none;
}

.scv-section-glow-coral {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(232,136,94,0.05);
  filter: blur(100px);
  pointer-events: none;
}

/* ─── 5. BUTTONS ──────────────────────────────────────── */
.scv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: var(--font-body);
  line-height: 1.2;
}

.scv-btn-primary {
  background: var(--gradient-coral);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.scv-btn-primary:hover {
  background: linear-gradient(135deg, #D4764C, #C06840);
  box-shadow: 0 12px 16px rgba(232,136,94,0.3);
  transform: translateY(-2px);
  color: #fff;
}

.scv-btn-gradient {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(38,133,153,0.25);
}
.scv-btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 16px rgba(38,133,153,0.35);
  color: #fff;
}

.scv-btn svg {
  width: 16px;
  height: 16px;
}

.scv-btn .btn-arrow {
  animation: arrowBounce 1.5s infinite;
  will-change: transform;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* ─── 6. HERO SECTION ─────────────────────────────────── */
.scv-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(38,133,153,0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(232,136,94,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(22,52,76,0.3) 0%, transparent 50%),
              linear-gradient(180deg, #070f1a 0%, #0a1628 40%, #0f1f36 100%);
}

.scv-hero-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.scv-hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(38,133,153,0.3) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

.scv-hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.scv-hero-glow-1 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(38,133,153,0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
}

.scv-hero-glow-2 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,136,94,0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
}

.scv-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.scv-hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.scv-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(38,133,153,0.1);
  border: 1px solid rgba(38,133,153,0.25);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--teal);
  width: fit-content;
}

.scv-hero-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.scv-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
}

.scv-hero-title .highlight-teal {
  background: linear-gradient(135deg, #268599, #44c4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scv-hero-title .highlight-coral {
  background: linear-gradient(135deg, #e8885e, #f4a460);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scv-hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 520px;
}

.scv-hero-agent-marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.scv-hero-agent-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s;
}
.scv-hero-agent-pill:hover {
  background: rgba(38,133,153,0.15);
  border-color: rgba(38,133,153,0.3);
  color: #fff;
}

.scv-hero-agent-pill .pill-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  flex-shrink: 0;
}

/* ─── 7. AI GENERATOR FORM ────────────────────────────── */
.scv-form-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.scv-form-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.scv-form-card-sub {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

.scv-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.scv-form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.scv-form-select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
  transition: border-color 0.2s;
}
.scv-form-select:focus {
  outline: none;
  border-color: var(--teal);
}
.scv-form-select option {
  background: #1a2a3a;
  color: #fff;
}

.scv-form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}
.scv-form-input:focus {
  outline: none;
  border-color: var(--teal);
}
.scv-form-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.scv-form-submit {
  width: 100%;
  padding: 16px;
  background: var(--gradient);
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.3s;
  margin-top: 8px;
}
.scv-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 16px rgba(38,133,153,0.35);
}

.scv-form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.scv-form-trust span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.scv-form-trust svg {
  width: 12px;
  height: 12px;
}

/* ─── 8. ATS OPTIMIZATION SECTION ─────────────────────── */
.scv-ats {
  background: var(--bg-soft);
  position: relative;
}

.scv-ats-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scv-ats-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0;
}

.scv-ats-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scv-ats-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(232,136,94,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scv-ats-feature-icon svg {
  width: 14px;
  height: 14px;
  color: var(--coral);
}

.scv-ats-feature-text {
  font-size: 0.875rem;
  color: var(--fg-2);
}

.scv-ats-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.scv-ats-score-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 400px;
}

.scv-score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.scv-score-label {
  font-size: 0.8125rem;
  color: var(--fg-3);
}

.scv-score-value {
  font-size: 2rem;
  font-weight: 700;
  color: #22c55e;
}

.scv-progress-group {
  margin-bottom: 16px;
}

.scv-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  margin-bottom: 6px;
}

.scv-progress-label {
  color: var(--fg-2);
}

.scv-progress-pct {
  color: var(--coral);
  font-weight: 600;
}

.scv-progress-track {
  width: 100%;
  height: 8px;
  background: var(--scv-gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.scv-progress-fill {
  height: 100%;
  background: var(--gradient-rejected);
  border-radius: var(--radius-full);
  animation: fillProgress 1.5s ease-out forwards;
}

@keyframes fillProgress {
  from { width: 0; }
}

/* ─── HOW IT WORKS ARROW JOURNEY ─────────────────────── */
.scv-how {
  overflow: hidden;
}

.scv-how-head {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.scv-how-head .scv-subtitle {
  max-width: 760px;
}

.scv-how-map {
  position: relative;
  min-height: 360px;
  max-width: 1120px;
  margin: 0 auto;
}

.scv-how-arrow {
  position: absolute;
  inset: 24px 0 auto;
  width: 100%;
  height: 300px;
  pointer-events: none;
}

.scv-how-arrow-shadow,
.scv-how-arrow-line,
.scv-how-arrow-head {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scv-how-arrow-shadow {
  stroke: rgba(22, 52, 76, 0.12);
  stroke-width: 18;
}

.scv-how-arrow-line {
  stroke: url(#scvHowLine);
  stroke-width: 5;
  stroke-dasharray: 14 14;
  filter: url(#scvHowGlow);
  animation: scvHowDash 16s linear infinite;
}

.scv-how-arrow-head {
  stroke: #e8885e;
  stroke-width: 6;
  filter: url(#scvHowGlow);
}

@keyframes scvHowDash {
  to { stroke-dashoffset: -280; }
}

.scv-how-step {
  position: absolute;
  width: min(240px, 23%);
  min-height: 205px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(38, 133, 153, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(38, 133, 153, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.82));
  box-shadow:
    0 24px 70px rgba(22, 52, 76, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.scv-how-step:hover {
  transform: translateY(-8px) rotate(0deg) !important;
  border-color: rgba(232, 136, 94, 0.32);
  box-shadow: 0 34px 90px rgba(22, 52, 76, 0.16);
}

.scv-how-step--one {
  inset-inline-start: 0;
  top: 108px;
  transform: rotate(-2deg);
}

.scv-how-step--two {
  inset-inline-start: 26%;
  top: 0;
  transform: rotate(1.5deg);
}

.scv-how-step--three {
  inset-inline-start: 52%;
  top: 126px;
  transform: rotate(-1deg);
}

.scv-how-step--four {
  inset-inline-end: 0;
  top: 28px;
  transform: rotate(2deg);
}

.scv-how-number {
  position: absolute;
  inset-inline-end: 18px;
  top: 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(22, 52, 76, 0.28);
}

.scv-how-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #268599 0%, #618480 52%, #e8885e 100%);
  box-shadow: 0 14px 28px rgba(38, 133, 153, 0.22);
  margin-bottom: 18px;
}

.scv-how-icon svg {
  width: 25px;
  height: 25px;
}

.scv-how-step h3 {
  margin: 0 0 8px;
  color: var(--fg);
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.scv-how-step p {
  margin: 0;
  color: var(--fg-2);
  font-size: 0.88rem;
  line-height: 1.62;
}

.scv-how-cta {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.scv-how-cta .scv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.scv-how-cta span {
  color: var(--fg-3);
  font-size: 0.88rem;
  font-weight: 600;
}

[dir="rtl"] .scv-how-arrow {
  transform: scaleX(-1);
}

@media (max-width: 980px) {
  .scv-how-head {
    margin-bottom: 36px;
  }

  .scv-how-map {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .scv-how-arrow {
    display: none;
  }

  .scv-how-step,
  .scv-how-step--one,
  .scv-how-step--two,
  .scv-how-step--three,
  .scv-how-step--four {
    position: relative;
    inset: auto;
    top: auto;
    width: auto;
    transform: none;
  }
}

@media (max-width: 640px) {
  .scv-how-map {
    grid-template-columns: 1fr;
  }

  .scv-how-step {
    min-height: auto;
  }

  .scv-how-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .scv-how-cta .scv-btn {
    justify-content: center;
    width: 100%;
  }
}

/* ─── 9. CAREER LAUNCHPAD SECTION ─────────────────────── */
.scv-launchpad {
  background:
    radial-gradient(circle at 60% 30%, rgba(38,133,153,0.06) 0%, transparent 50%),
    radial-gradient(circle at 40% 90%, rgba(232,136,94,0.04) 0%, transparent 40%),
    var(--bg-soft);
}

.scv-launchpad-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scv-fuel-gauge {
  max-width: 380px;
}

.scv-fuel-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.scv-fuel-labels .label {
  color: var(--fg-3);
}

.scv-fuel-labels .value {
  color: var(--coral);
  font-weight: 600;
}

.scv-fuel-track {
  width: 100%;
  height: 10px;
  background: var(--scv-gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.scv-fuel-fill {
  height: 100%;
  width: 95%;
  background: var(--gradient-rejected);
  border-radius: var(--radius-full);
  animation: fillGauge 1.5s ease-out 0.5s forwards;
}

@keyframes fillGauge {
  from { width: 0; }
}

/* Resume preview card */
.scv-resume-preview {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1.414;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid rgba(229,231,235,0.8);
  margin: 0 auto;
}

.scv-resume-inner {
  display: flex;
  height: 100%;
}

.scv-resume-sidebar {
  width: 35%;
  background: linear-gradient(to bottom, #1a6b7a, #268599);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.scv-resume-photo-area {
  padding: 12px 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scv-resume-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.4);
  margin-bottom: 8px;
  background: rgba(255,255,255,0.1);
}

.scv-resume-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scv-resume-name {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  color: #fff !important;
  font-family: var(--font-body);
}

.scv-resume-title-text {
  font-size: 10px;
  color: rgba(255,255,255,0.8);
  text-align: center;
  margin-top: 2px;
}

.scv-resume-divider {
  margin: 0 12px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.scv-resume-sidebar-section {
  padding: 8px 12px;
}

.scv-resume-sidebar-heading {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 6px;
}

.scv-resume-main {
  width: 65%;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.scv-resume-main-heading {
  font-size: 9px;
  font-weight: 700;
  color: #268599;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Agent badges */
.scv-agent-badge {
  position: absolute;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 10px 14px;
  border: 1px solid rgba(243,244,246,0.8);
  cursor: default;
  transition: box-shadow 0.3s, transform 0.3s;
}

.scv-agent-badge:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: scale(1.05);
}

.scv-agent-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scv-agent-name {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}

.scv-agent-sub {
  font-size: 10px;
  color: #6b7280;
  white-space: nowrap;
}

/* Agent badge positions */
.scv-badge-interrogator { top: -4%; right: -2%; }
.scv-badge-market-scout { top: 15%; left: -12%; }
.scv-badge-ats-expert { top: 40%; right: -8%; }
.scv-badge-truth-check { bottom: 35%; left: -10%; }
.scv-badge-translator { bottom: 18%; right: -6%; }
.scv-badge-formatter { bottom: -2%; left: 5%; }

/* Agent float animations */
@keyframes float1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes float4 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes float5 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes float6 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.scv-badge-interrogator { animation: badgeEnterRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both, float1 3.2s ease-in-out 1.1s infinite; will-change: transform; }
.scv-badge-market-scout { animation: badgeEnterLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both, float2 3.8s ease-in-out 1.4s infinite; will-change: transform; }
.scv-badge-ats-expert { animation: badgeEnterRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s both, float3 4.0s ease-in-out 1.7s infinite; will-change: transform; }
.scv-badge-truth-check { animation: badgeEnterLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s both, float4 3.5s ease-in-out 2.0s infinite; will-change: transform; }
.scv-badge-translator { animation: badgeEnterRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.7s both, float5 4.2s ease-in-out 2.3s infinite; will-change: transform; }
.scv-badge-formatter { animation: badgeEnterLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2.0s both, float6 3.6s ease-in-out 2.6s infinite; will-change: transform; }

@keyframes badgeEnterLeft {
  from { opacity: 0; transform: scale(0) rotate(-15deg) translateX(-40px); }
  to { opacity: 1; transform: scale(1) rotate(0deg) translateX(0); }
}
@keyframes badgeEnterRight {
  from { opacity: 0; transform: scale(0) rotate(15deg) translateX(40px); }
  to { opacity: 1; transform: scale(1) rotate(0deg) translateX(0); }
}

/* Resume wrapper */
.scv-resume-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.scv-resume-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(38,133,153,0.1);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

/* ─── 10. SUCCESS STATS SECTION ────────────────────────── */
.scv-stats {
  background: #FBF4E8;
  text-align: center;
}

.scv-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(22,52,76,0.20);
  border-bottom: 1px solid rgba(22,52,76,0.20);
  margin: 40px auto 0;
}

.scv-stat { padding: 40px 28px; border-right: 1px solid rgba(22,52,76,0.20); }
.scv-stat:last-child { border-right: none; }
.scv-stat:hover { background: rgba(22,52,76,0.02); }

.scv-stat-value { display: inline-flex; align-items: flex-start; gap: 2px; }

.scv-stat-number { font-family: var(--font-serif); font-weight: 700;
  font-size: 84px; line-height: 0.95; letter-spacing: -0.04em; color: var(--scv-teal-deep); }

.scv-stat-suffix { font-size: 30px; vertical-align: top; color: var(--scv-coral); margin-left: 2px; }

.scv-stat-label { font-size: 13px; color: var(--fg-2); line-height: 1.5; margin-top: 12px; max-width: 28ch; }
.scv-stat-label b { color: var(--scv-teal-deep); font-weight: 700; }

/* ─── 11. TEMPLATES SHOWCASE SECTION ──────────────────── */
.scv-templates { padding: 120px 0; text-align: center; }

.scv-templates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }

.scv-template-card { position: relative; aspect-ratio: 0.78 / 1; background: #fff;
  border-top: 4px solid var(--scv-coral); border-radius: 2px;
  box-shadow: 0 16px 32px -12px rgba(22,52,76,0.18);
  overflow: hidden; cursor: pointer; transition: all .3s var(--ease-out); }
.scv-template-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -12px rgba(22,52,76,0.25); }

.scv-template-preview { padding: 28px 26px; height: 100%; display: flex; flex-direction: column; gap: 6px; }

.scv-template-info { text-align: left; }

.scv-template-name { font-family: var(--font-serif); font-weight: 700;
  font-size: 22px; color: var(--scv-teal-deep); line-height: 1; margin-bottom: 4px; }

.scv-template-meta { font-size: 10px; color: var(--scv-coral); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; }

/* ─── 12. FAQ SECTION ──────────────────────────────────── */
.scv-faq {
  background: var(--bg-soft);
}

.scv-faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scv-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.scv-faq-item:hover {
  border-color: rgba(38,133,153,0.3);
}

.scv-faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--fg-1);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.scv-faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.scv-faq-item[open] .scv-faq-question::after {
  content: '−';
}

.scv-faq-answer {
  padding: 0 24px 20px;
  color: var(--fg-2);
  font-size: 0.9375rem;
  line-height: 1.7;
}

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

/* ─── 13. CTA BANNER ───────────────────────────────────── */
.scv-cta-banner { background: var(--bg-soft); padding: 80px 0; text-align: center; }
.scv-cta-banner .scv-heading { max-width: 640px; margin: 0 auto; }
.scv-cta-banner p { color: var(--fg-2); font-size: 1.125rem; line-height: 1.6; max-width: 500px; margin: 16px auto 32px; }

/* ─── 14. FOOTER ───────────────────────────────────────── */
.scv-footer {
  position: relative;
  overflow: hidden;
  background: #F0E6D2;
  color: var(--fg);
}

.scv-footer-bg { display: none; }

.scv-footer-inner {
  position: relative;
  z-index: 10;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px 32px;
}

.scv-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.scv-footer-col-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--scv-teal-deep);
  margin-bottom: 16px;
}

.scv-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scv-footer-links a {
  color: var(--fg-2);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.scv-footer-links a:hover {
  color: var(--coral);
}

.scv-footer-divider {
  height: 1px;
  background: rgba(22,52,76,0.15);
  margin: 40px 0 24px;
}

.scv-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.scv-footer-socials {
  display: flex;
  gap: 16px;
}

.scv-footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22,52,76,0.06);
  border: 1px solid rgba(22,52,76,0.12);
  border-radius: 50%;
  color: var(--fg-3);
  transition: all 0.3s;
}
.scv-footer-socials a:hover {
  background: var(--scv-teal-deep);
  border-color: var(--scv-teal-deep);
  color: #fff;
  transform: translateY(-2px);
}

.scv-footer-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.scv-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--fg-4);
}
.scv-trust-badge svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
}

.scv-footer-copyright {
  font-size: 0.8125rem;
  color: var(--fg-4);
}

/* ─── 14. HEADER / NAV ────────────────────────────────── */
.scv-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s, backdrop-filter 0.3s;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.scv-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scv-logo-link {
  display: flex;
  align-items: center;
}

.scv-logo {
  height: 36px;
  width: auto;
}

.scv-header-nav {
  display: flex;
  align-items: center;
}

.scv-nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.scv-nav-list a {
  color: var(--fg-2);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}
.scv-nav-list a:hover {
  color: var(--fg-1);
}

.scv-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.scv-btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.scv-btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(38,133,153,0.3);
  color: #fff;
}

.scv-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.scv-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg-1);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile drawer */
.scv-mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 1001;
  padding: 24px;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.scv-mobile-drawer.open {
  right: 0;
}

.scv-mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg-1);
  padding: 4px;
}

.scv-mobile-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scv-mobile-nav a {
  color: var(--fg-2);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  display: block;
  padding: 8px 0;
}
.scv-mobile-nav a:hover {
  color: var(--fg-1);
}

.scv-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}

.scv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.scv-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ─── 15. MAIN CONTENT ────────────────────────────────── */
.scv-main {
  min-height: 70vh;
  overflow: visible;
  display: block;
  margin-top: 72px;
}

/* ─── 16. BLOG ─────────────────────────────────────────── */
.scv-blog-header {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(38,133,153,0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.scv-blog-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.scv-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 40px 24px 80px;
}

.scv-blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.scv-blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(38,133,153,0.3);
}

.scv-blog-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.scv-blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.scv-blog-card:hover .scv-blog-card-thumb img {
  transform: scale(1.05);
}

.scv-blog-card-body {
  padding: 20px;
}

.scv-blog-card-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--coral);
  margin-bottom: 8px;
}

.scv-blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg-1);
  line-height: 1.3;
  margin-bottom: 8px;
}

.scv-blog-card-title a {
  color: var(--fg-1);
  text-decoration: none;
}
.scv-blog-card-title a:hover {
  color: var(--teal);
}

.scv-blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--fg-3);
  line-height: 1.6;
}

.scv-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--fg-4);
}

/* Pagination */
.scv-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0 80px;
}
.scv-pagination a,
.scv-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.scv-pagination a {
  background: var(--bg-soft);
  color: var(--fg-2);
}
.scv-pagination a:hover {
  background: var(--teal);
  color: #fff;
}
.scv-pagination .current {
  background: var(--gradient);
  color: #fff;
}

/* ─── 17. SINGLE POST ──────────────────────────────────── */
.scv-single-post {
  background: var(--bg);
}

.scv-single-post-header {
  padding: 80px 24px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.scv-single-post-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.scv-single-post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--fg-3);
  flex-wrap: wrap;
}

.scv-single-post-meta .author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
}
.scv-single-post-meta .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scv-single-post-featured {
  max-width: 860px;
  margin: 0 auto 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.scv-single-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 60px;
  color: var(--fg);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.scv-single-post-content h2,
.scv-single-post-content h3,
.scv-single-post-content h4 {
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--fg-1);
}

.scv-single-post-content h2 { font-size: 1.75rem; }
.scv-single-post-content h3 { font-size: 1.375rem; }
.scv-single-post-content h4 { font-size: 1.125rem; }

.scv-single-post-content p {
  margin-bottom: 20px;
}

.scv-single-post-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.scv-single-post-content a:hover {
  color: var(--coral);
}

.scv-single-post-content img {
  border-radius: var(--radius);
  margin: 24px 0;
}

.scv-single-post-content blockquote {
  border-left: 3px solid var(--teal);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(38,133,153,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--fg-2);
}

.scv-single-post-content ul,
.scv-single-post-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.scv-single-post-content ul { list-style: disc; }
.scv-single-post-content ol { list-style: decimal; }
.scv-single-post-content li { margin-bottom: 8px; }

.scv-single-post-content code {
  background: var(--bg-soft);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.875em;
}

.scv-single-post-content pre {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
}
.scv-single-post-content pre code {
  background: none;
  padding: 0;
}

.scv-single-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

.scv-post-nav-item {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.scv-post-nav-item:hover {
  border-color: rgba(38,133,153,0.3);
}
.scv-post-nav-label {
  font-size: 0.75rem;
  color: var(--fg-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.scv-post-nav-title {
  font-size: 0.9375rem;
  color: var(--fg-1);
  font-weight: 500;
}

.scv-tags-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

.scv-tags-container h2 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--fg-4);
  margin-bottom: 12px;
}

.scv-tags-container a {
  display: inline-block;
  padding: 6px 14px;
  margin: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.2s;
}
.scv-tags-container a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* ─── 18. PAGE CONTENT (generic) ────────────────────────── */
.scv-page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  color: var(--fg);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.scv-page-content h1,
.scv-page-content h2,
.scv-page-content h3,
.scv-page-content h4 {
  color: var(--fg-1);
  margin-top: 40px;
  margin-bottom: 16px;
}

.scv-page-content h1 { font-size: 2rem; }
.scv-page-content h2 { font-size: 1.75rem; }
.scv-page-content h3 { font-size: 1.375rem; }
.scv-page-content h4 { font-size: 1.125rem; }

.scv-page-content p { margin-bottom: 20px; }
.scv-page-content a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.scv-page-content a:hover { color: var(--coral); }
.scv-page-content img { border-radius: var(--radius); margin: 24px 0; }
.scv-page-content blockquote {
  border-left: 3px solid var(--teal);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(38,133,153,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}
.scv-page-content ul { list-style: disc; padding-left: 24px; margin-bottom: 20px; }
.scv-page-content ol { list-style: decimal; padding-left: 24px; margin-bottom: 20px; }
.scv-page-content li { margin-bottom: 8px; }
.scv-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.scv-page-content th,
.scv-page-content td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.scv-page-content th {
  background: rgba(38,133,153,0.08);
  font-weight: 600;
  color: var(--fg-1);
}
.scv-page-content tr:nth-child(even) td {
  background: var(--bg-soft);
}

/* ─── 19. AUTHOR BOX ───────────────────────────────────── */
.scv-author-box {
  max-width: 800px;
  margin: 0 auto 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.scv-author-box-header {
  background: var(--gradient);
  padding: 12px 24px;
}

.scv-author-label {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scv-author-box-content {
  display: flex;
  padding: 24px;
  gap: 24px;
  align-items: flex-start;
}

.scv-author-avatar {
  flex-shrink: 0;
}

.scv-author-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.scv-author-info {
  flex: 1;
}

.scv-author-name {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 700;
}
.scv-author-name a {
  color: var(--fg-1);
  text-decoration: none;
}
.scv-author-name a:hover {
  color: var(--teal);
}

.scv-author-posts-count {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.scv-author-bio {
  color: var(--fg-2);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0 0 16px;
}

.scv-author-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.scv-author-socials {
  display: flex;
  gap: 8px;
}

.scv-author-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  color: var(--fg-3);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s;
}
.scv-author-socials a:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

.scv-author-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s;
}
.scv-author-link:hover {
  color: var(--coral);
  gap: 12px;
}

/* ─── 20. SEARCH ───────────────────────────────────────── */
.scv-search-form {
  max-width: 600px;
  margin: 0 auto 40px;
  display: flex;
  gap: 12px;
}

.scv-search-input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: 1rem;
}
.scv-search-input:focus {
  outline: none;
  border-color: var(--teal);
}

.scv-search-submit {
  padding: 14px 28px;
  background: var(--gradient);
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}

.scv-no-results {
  text-align: center;
  padding: 60px 0;
  color: var(--fg-3);
}

/* ─── 21. 404 ──────────────────────────────────────────── */
.scv-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 80px 24px;
}

.scv-404 h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.scv-404 p {
  color: var(--fg-3);
  font-size: 1.125rem;
  margin: 16px 0 32px;
}

/* ─── 22. SCROLL ANIMATIONS ────────────────────────────── */
.scv-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scv-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.scv-fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scv-fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scv-fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scv-fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── 23. RTL OVERRIDES ────────────────────────────────── */
html[dir="rtl"] .scv-grid-2 {
  direction: rtl;
}

html[dir="rtl"] .scv-hero-content {
  direction: rtl;
}

html[dir="rtl"] .scv-form-select {
  background-position: left 16px center;
}

html[dir="rtl"] .scv-faq-question {
  text-align: right;
}

html[dir="rtl"] blockquote {
  border-left: none;
  border-right: 3px solid var(--teal);
  border-radius: var(--radius) 0 0 var(--radius);
}

html[dir="rtl"] .scv-single-post-content ul,
html[dir="rtl"] .scv-single-post-content ol,
html[dir="rtl"] .scv-page-content ul,
html[dir="rtl"] .scv-page-content ol {
  padding-left: 0;
  padding-right: 24px;
}

html[dir="rtl"] .scv-single-post-nav {
  direction: rtl;
}

html[dir="rtl"] .scv-author-box-content {
  flex-direction: row-reverse;
}

html[dir="rtl"] .scv-template-info {
  text-align: right;
}


/* ─── 24.5 PROCESS SECTION (from landing page) ───────────────── */
.scv-process { background: var(--scv-teal-deep); color: #fff;
  padding: 110px 0; position: relative; overflow: hidden; }
.scv-process::before { content: ''; position: absolute; top: -120px; right: -120px;
  width: 540px; height: 540px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,136,94,0.22), transparent 65%);
  pointer-events: none; }
.scv-process .scv-heading { color: #fff; max-width: 16ch; margin-bottom: 60px; color: #fff; }
.scv-process .scv-heading em { color: var(--scv-coral-warm); font-style: italic; }
.scv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; z-index: 1; }
.scv-step-num { font-family: var(--font-serif); font-style: italic;
  font-size: 60px; font-weight: 400; color: var(--scv-coral); line-height: 1; }
.scv-step h3 { font-family: var(--font-heading); font-weight: 800;
  font-size: 24px; color: #fff; margin: 12px 0 12px; line-height: 1.15; }
.scv-step p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.70); margin: 0 0 20px; }
.scv-step-agents { display: flex; gap: 8px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.10); }
.scv-step-av { width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.05); padding: 5px;
  border: 1px solid rgba(255,255,255,0.10); }
.scv-step-av img { width: 100%; height: 100%; object-fit: contain; }

/* ─── 24. RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1200px) {
  .scv-hero-content {
    gap: 48px;
  }
}

@media (max-width: 1024px) {
  .scv-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 100px;
  }

  .scv-hero-desc,
  .scv-hero-title {
    max-width: 100%;
  }

  .scv-grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .scv-ats-right,
  .scv-resume-wrapper {
    order: -1;
  }

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

  .scv-agent-badge {
    display: none !important;
  }

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

  .scv-single-post-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .scv-header-nav {
    display: none;
  }

  .scv-btn-header-cta {
    display: none;
  }

  .scv-hamburger {
    display: flex;
  }

  .scv-section {
    padding: 60px 0 80px;
  }

  .scv-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .scv-hero-form-card {
    padding: 24px;
  }

  .scv-single-post-meta {
    font-size: 0.8125rem;
  }

  .scv-author-box-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  html[dir="rtl"] .scv-author-box-content {
    flex-direction: column;
  }
  .scv-author-footer {
    flex-direction: column;
    align-items: center;
  }

  .scv-search-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .scv-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .scv-templates-grid {
    grid-template-columns: 1fr;
  }

  .scv-blog-grid {
    grid-template-columns: 1fr;
  }

  .scv-header-inner {
    height: 60px;
  }

  .scv-main {
    margin-top: 60px;
  }
}

/* ─── Performance: content-visibility for below-fold ── */
.scv-section + .scv-section,
.scv-blog-grid,
.scv-footer {
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

/* ─── CTA Brand Color Fix (replaces PHP the_content filter) ── */
a[href*="ai.stylingcv.com"]:where(:not(.scv-exit-cta)) {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a[href*="ai.stylingcv.com"]:where(:not(.scv-exit-cta)):hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(38,133,153,0.25);
}

/* ─── CRO: Sticky Mobile CTA ─────────────────────────── */
@media (max-width: 767px) {
  .scv-sticky-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 99999;
    background: linear-gradient(135deg,#268599 0%,#618480 50%,#e8885e 100%);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
  }
  .scv-sticky-cta.scv-hidden { transform: translateY(100%); }
  .scv-sticky-cta a {
    color: #fff; text-decoration: none;
    font-size: 15px; font-weight: 600; flex: 1; text-align: center;
  }
  .scv-sticky-cta .scv-sticky-close {
    background: none; border: none;
    color: rgba(255,255,255,0.7); font-size: 20px;
    cursor: pointer; padding: 0 4px; line-height: 1;
  }
  body.scv-has-sticky-cta { padding-bottom: 52px; }
}
@media (min-width: 768px) { .scv-sticky-cta { display: none !important; } }

/* ─── CRO: Exit-Intent Popup ─────────────────────────── */
.scv-exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 28% 35%, rgba(38, 133, 153, 0.26), transparent 34%),
    radial-gradient(circle at 76% 31%, rgba(232, 136, 94, 0.2), transparent 32%),
    rgba(4, 16, 28, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.scv-exit-overlay.scv-show { display: flex; animation: scvFadeIn 0.32s cubic-bezier(0.32,0.72,0,1); }
@keyframes scvFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scvSlideUp { from { transform: translateY(28px) scale(0.98); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.scv-exit-modal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.85fr);
  gap: 24px;
  width: min(100%, 720px);
  padding: 28px 30px;
  overflow: hidden;
  color: #fff;
  text-align: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(8, 28, 42, 0.96), rgba(6, 18, 31, 0.98)) padding-box,
    linear-gradient(135deg, #268599 0%, #618480 48%, #e8885e 100%) border-box;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.48),
    0 0 42px rgba(38, 133, 153, 0.24),
    0 0 38px rgba(232, 136, 94, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: scvSlideUp 0.52s cubic-bezier(0.32,0.72,0,1) 0.05s both;
}
.scv-exit-modal::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: 27px;
  background:
    radial-gradient(circle at 0 0, rgba(38, 133, 153, 0.2), transparent 38%),
    radial-gradient(circle at 100% 8%, rgba(232, 136, 94, 0.2), transparent 34%);
}
.scv-exit-modal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.scv-exit-modal .scv-exit-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 4;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.32,0.72,0,1), background 0.25s, color 0.25s;
}
.scv-exit-modal .scv-exit-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(90deg) scale(1.04);
}
.scv-exit-copy,
.scv-exit-visual {
  position: relative;
  z-index: 2;
}
.scv-exit-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
[dir="rtl"] .scv-exit-copy {
  align-items: flex-end;
}
.scv-exit-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 11px;
  color: #8de4e8;
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(38, 133, 153, 0.14);
  border: 1px solid rgba(141, 228, 232, 0.2);
  border-radius: 999px;
}
.scv-exit-eyebrow::before {
  content: "✦";
  color: #e8885e;
  font-size: 12px;
}
.scv-exit-modal h2 {
  max-width: 360px;
  margin: 0 0 12px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.scv-exit-modal h2 .scv-exit-highlight {
  position: relative;
  display: inline-block;
  color: #e8885e;
  font-style: italic;
  background: linear-gradient(135deg, #f5a987 0%, #e8885e 50%, #cd7858 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 24px rgba(232, 136, 94, 0.45);
}
.scv-exit-modal h2 .scv-exit-highlight::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e8885e 30%, #e8885e 70%, transparent);
  border-radius: 2px;
  opacity: 0.65;
}
[dir="rtl"] .scv-exit-modal h2 .scv-exit-highlight {
  font-style: normal;
}
.scv-exit-modal p {
  max-width: 360px;
  margin: 0 0 18px;
  color: rgba(226, 239, 242, 0.78);
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  line-height: 1.55;
}
.scv-exit-modal .scv-exit-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 220px;
  padding: 12px 14px 12px 22px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background: linear-gradient(135deg,#e8885e 0%,#618480 54%,#268599 100%);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(38,133,153,0.28), 0 8px 22px rgba(232,136,94,0.16);
  transition: transform 0.28s cubic-bezier(0.32,0.72,0,1), box-shadow 0.28s, filter 0.28s;
}
[dir="rtl"] .scv-exit-modal .scv-exit-cta {
  padding: 12px 22px 12px 14px;
}
.scv-exit-modal .scv-exit-cta:hover {
  filter: saturate(1.08);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 40px rgba(38,133,153,0.36), 0 12px 34px rgba(232,136,94,0.24);
}
.scv-exit-cta-arrow {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transition: transform 0.28s cubic-bezier(0.32,0.72,0,1);
}
.scv-exit-cta-arrow svg { display: block; }
[dir="rtl"] .scv-exit-cta-arrow {
  transform: scaleX(-1);
}
.scv-exit-cta:hover .scv-exit-cta-arrow {
  transform: translateX(3px);
}
[dir="rtl"] .scv-exit-cta:hover .scv-exit-cta-arrow {
  transform: scaleX(-1) translateX(3px);
}
.scv-exit-trust {
  display: block;
  margin-top: 10px;
  color: rgba(226, 239, 242, 0.55);
  font-family: "Poppins", sans-serif;
  font-size: 11px;
}
.scv-exit-modal .scv-exit-dismiss {
  display: inline-block;
  margin-top: 14px;
  padding: 0;
  color: rgba(141, 228, 232, 0.72);
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  border: 0;
}
.scv-exit-modal .scv-exit-dismiss:hover {
  color: #fff;
}
.scv-exit-modal :is(a, button):focus-visible {
  outline: 2px solid #8de4e8;
  outline-offset: 4px;
}
.scv-exit-visual {
  display: grid;
  align-content: center;
  gap: 12px;
  padding-inline-start: 22px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
}
[dir="rtl"] .scv-exit-visual {
  padding-inline: 22px 0;
}
.scv-agent-orbit {
  position: relative;
  display: grid;
  width: 200px;
  height: 200px;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38,133,153,0.18), transparent 70%);
}
.scv-agent-orbit-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 50%;
}
.scv-agent-orbit-ring-outer {
  border: 1px dashed rgba(141, 228, 232, 0.30);
  animation: scvOrbitSpin 60s linear infinite;
}
.scv-agent-orbit-ring-inner {
  inset: 22px;
  border: 1px solid rgba(141, 228, 232, 0.16);
  background: radial-gradient(circle at 50% 50%, rgba(38,133,153,0.10), transparent 75%);
}
@keyframes scvOrbitSpin { to { transform: rotate(360deg); } }

.scv-agent-core {
  position: relative;
  z-index: 2;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  gap: 1px;
  color: #fff;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(141,228,232,0.38), rgba(38,133,153,0.18) 58%, rgba(8,28,42,0.95));
  border: 1px solid rgba(141, 228, 232, 0.40);
  border-radius: 50%;
  box-shadow:
    0 0 24px rgba(38, 133, 153, 0.42),
    0 0 18px rgba(232, 136, 94, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.scv-agent-bot {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(141,228,232,0.22), rgba(8,28,42,0.0) 70%);
}
.scv-agent-bot svg { display: block; }
.scv-agent-bot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 4px 14px rgba(38,133,153,0.35));
}
.scv-agent-core strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.scv-agent-core .scv-agent-core-label {
  color: rgba(226, 239, 242, 0.78);
  font-family: "Poppins", sans-serif;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scv-agent-node {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 2px;
  color: #8de4e8;
  background: rgba(8, 28, 42, 0.95);
  border: 1px solid rgba(141, 228, 232, 0.32);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(38, 133, 153, 0.30), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.32s cubic-bezier(0.32,0.72,0,1), box-shadow 0.32s, border-color 0.32s;
}
.scv-agent-node:hover {
  transform: scale(1.10);
  z-index: 4;
  box-shadow: 0 0 26px rgba(38, 133, 153, 0.50), inset 0 1px 0 rgba(255,255,255,0.12);
  border-color: rgba(141, 228, 232, 0.55);
}
.scv-agent-node svg { display: block; }
.scv-agent-node img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.scv-agent-node-coral { border-color: rgba(232, 136, 94, 0.40); box-shadow: 0 0 20px rgba(232, 136, 94, 0.32), inset 0 1px 0 rgba(255,255,255,0.10); }
.scv-agent-node-coral:hover { border-color: rgba(232, 136, 94, 0.60); box-shadow: 0 0 28px rgba(232, 136, 94, 0.50), inset 0 1px 0 rgba(255,255,255,0.14); }
.scv-agent-node-teal  { color: #8de4e8; }
/* 10 nodes evenly distributed (36° spacing). 200px container, 38px nodes, orbit radius ~81px */
.scv-agent-node-1  { top: 0;    left: 81px;  }
.scv-agent-node-2  { top: 15px; left: 129px; }
.scv-agent-node-3  { top: 56px; left: 158px; }
.scv-agent-node-4  { top: 106px; left: 158px; }
.scv-agent-node-5  { top: 147px; left: 129px; }
.scv-agent-node-6  { top: 162px; left: 81px;  }
.scv-agent-node-7  { top: 147px; left: 33px;  }
.scv-agent-node-8  { top: 106px; left: 4px;   }
.scv-agent-node-9  { top: 56px;  left: 4px;   }
.scv-agent-node-10 { top: 15px;  left: 33px;  }
.scv-exit-benefits {
  display: grid;
  gap: 8px;
}
.scv-exit-benefit {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
[dir="rtl"] .scv-exit-benefit {
  grid-template-columns: 1fr 36px;
}
[dir="rtl"] .scv-exit-benefit .scv-benefit-icon {
  order: 2;
}
.scv-benefit-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #8de4e8;
  background: rgba(38, 133, 153, 0.14);
  border: 1px solid rgba(141, 228, 232, 0.18);
  border-radius: 9px;
}
.scv-benefit-icon svg { display: block; width: 18px; height: 18px; }
.scv-exit-benefit-templates .scv-benefit-icon { color: #e8885e; border-color: rgba(232, 136, 94, 0.30); background: rgba(232, 136, 94, 0.10); }
.scv-exit-benefit strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  line-height: 1.2;
}
.scv-exit-benefit span {
  display: block;
  color: rgba(226, 239, 242, 0.58);
  font-family: "Poppins", sans-serif;
  font-size: 10.5px;
  line-height: 1.3;
}
/* Resume stack removed — was overlapping benefit cards */

@media (max-width: 820px) {
  .scv-exit-modal {
    grid-template-columns: 1fr;
    gap: 20px;
    width: min(100%, 480px);
    max-height: calc(100dvh - 32px);
    padding: 24px 20px 22px;
    overflow-y: auto;
  }
  .scv-exit-visual {
    padding-inline-start: 0;
    border-inline-start: 0;
  }
  [dir="rtl"] .scv-exit-visual {
    padding-inline: 0;
  }
  /* Orbit stays at 200px; nodes already at 38px — no recalc needed */
}
@media (max-width: 520px) {
  .scv-exit-overlay {
    align-items: flex-end;
    padding: 10px;
  }
  .scv-exit-modal {
    border-radius: 18px;
    padding: 22px 18px 20px;
  }
  .scv-exit-modal h2 {
    font-size: 22px;
  }
  .scv-exit-modal .scv-exit-cta {
    width: 100%;
    min-width: 0;
  }
}

/* ─── CRO: Social Proof Toast ───────────────────────── */
.scv-proof-toast {
  position: fixed; bottom: 20px; inset-inline-start: 20px;
  z-index: 99998; background: #fff; border-radius: 12px;
  padding: 14px 40px 14px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12); display: none;
  align-items: center; gap: 10px; max-width: 320px;
  border-inline-start: 3px solid #268599;
  animation: scvToastIn 0.4s ease; transition: opacity 0.3s, transform 0.3s;
}
[dir="rtl"] .scv-proof-toast {
  padding: 14px 16px 14px 40px;
}
@keyframes scvToastIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.scv-proof-toast .scv-proof-icon { flex-shrink: 0; font-size: 24px; }
.scv-proof-toast .scv-proof-text { font-size: 13px; color: #333; font-weight: 500; line-height: 1.4; }
.scv-proof-toast .scv-proof-close {
  position: absolute; top: 6px; inset-inline-end: 8px;
  background: none; border: none; font-size: 16px; color: #ccc;
  cursor: pointer; padding: 2px; line-height: 1;
}
@media (max-width: 767px) {
  .scv-proof-toast { bottom: 60px; inset-inline-start: 12px; max-width: 280px; }
}

/* ─── CRO: Scroll-Triggered CTA ─────────────────────── */
.scv-scroll-cta {
  position: fixed; bottom: 100px; inset-inline-end: 20px;
  z-index: 99997; background: #fff; border-radius: 12px;
  padding: 20px; box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  max-width: 240px; text-align: center;
  border-block-start: 3px solid #268599;
}
[dir="rtl"] .scv-scroll-cta {
  transform: translateX(-100%);
}
.scv-scroll-cta.scv-visible { transform: translateX(0); }
.scv-scroll-cta h4 { font-size: 15px; color: #16344c; margin: 0 0 12px; line-height: 1.3; }
.scv-scroll-cta a {
  display: inline-block;
  background: linear-gradient(135deg,#268599 0%,#618480 50%,#e8885e 100%);
  color: #fff; font-size: 14px; font-weight: 600;
  padding: 10px 24px; border-radius: 50px; text-decoration: none;
}
.scv-scroll-cta .scv-scroll-close {
  position: absolute; top: 6px; inset-inline-end: 8px;
  background: none; border: none; font-size: 16px; color: #ccc; cursor: pointer;
}
@media (max-width: 767px) {
  .scv-scroll-cta { bottom: 70px; inset-inline-end: 12px; max-width: 200px; padding: 16px; }
}

/* === Mobile performance: disable backdrop-filter === */
@media (max-width: 768px) {
  .scv-form-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: rgba(255, 255, 255, 0.96);
  }
  .scv-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.96);
  }
  .scv-exit-overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(22, 52, 76, 0.94);
  }
}

/* ══════════════════════════════════════════════════════════════
   25. MEGA MENU — Custom nav matching headless frontend
   ══════════════════════════════════════════════════════════════ */

/* ─── Nav shell ──────────────────────────────────────── */
.hm-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.hm-shell { height: 100%; }
.hm-list {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ─── Top-level items ────────────────────────────────── */
.hm-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.hm-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  color: var(--fg-2);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  font-family: var(--font-body);
  line-height: 1.2;
  white-space: nowrap;
  height: 100%;
}
.hm-link:hover,
.hm-item.is-open > .hm-link {
  color: var(--fg-1);
  background: var(--bg-soft);
}
.hm-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.hm-caret {
  font-size: .72rem;
  opacity: .7;
  transition: transform .2s;
}
.hm-item.is-open .hm-caret {
  transform: rotate(180deg);
}
.hm-new {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.2;
  letter-spacing: .02em;
}

/* ─── Mega menu panel ────────────────────────────────── */
.hm-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100vw - 2rem));
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 100;
}
.hm-item.is-open > .hm-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Invisible bridge to prevent hover loss */
.hm-panel::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: 0;
  right: 0;
  height: 2rem;
}
/* Nav bridge — fills gap between top nav items and panel */
.hm-item::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 1rem;
}

/* ─── Grid layout ────────────────────────────────────── */
.hm-grid {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hm-col {
  flex: 1;
  padding: 2rem;
  border-inline-end: 1px solid var(--border);
}
.hm-col:last-child {
  border-inline-end: none;
}

/* ─── Column header ──────────────────────────────────── */
.hm-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.hm-col-heading {
  color: var(--fg-4);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  transition: color .2s;
}
.hm-col-heading:hover {
  color: var(--teal);
}

/* ─── Link lists ─────────────────────────────────────── */
.hm-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hm-simple {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.hm-rich {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem 1.5rem;
}

.hm-link-item { margin: 0; padding: 0; }
.hm-sublink {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: var(--fg-2);
  padding: 8px;
  border-radius: var(--radius);
  transition: background .2s, transform .2s;
}
.hm-sublink:hover {
  background: var(--bg-soft);
}
/* Simple list link */
.hm-simple .hm-sublink {
  color: var(--fg-2);
  font-weight: 500;
  font-size: .9rem;
  padding: 4px 8px;
}
.hm-simple .hm-sublink:hover {
  color: var(--fg-1);
  background: var(--bg-soft);
}

/* ─── Icon glyph ─────────────────────────────────────── */
.hm-glyph {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-top: 0.15rem;
}
.hm-glyph svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Label + description ────────────────────────────── */
.hm-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hm-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--fg-1);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.hm-arrow {
  color: var(--teal);
  font-weight: 700;
  transition: transform .2s;
}
.hm-sublink:hover .hm-arrow {
  transform: translateX(3px);
}
.hm-desc {
  font-size: .77rem;
  color: var(--fg-3);
  line-height: 1.4;
}

/* ─── Promo column ───────────────────────────────────── */
.hm-col-promo {
  flex: 0.6;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.hm-promo-illu {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(38,133,153,0.12);
  border: 2px solid rgba(38,133,153,0.2);
}
.hm-promo-desc {
  font-size: .9rem;
  color: var(--fg-2);
  line-height: 1.5;
  max-width: 220px;
}
.hm-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gradient);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(38,133,153,0.25);
  transition: transform .2s, box-shadow .2s;
}
.hm-promo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38,133,153,0.35);
  color: #fff;
}

/* ─── Language switcher (header-right) ───────────────── */
.hm-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.hm-lang-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  color: var(--fg-3);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.hm-lang-link:hover {
  color: var(--fg-1);
  background: var(--bg-soft);
}
.hm-lang-link svg {
  flex-shrink: 0;
}
.hm-lang-trigger {
  border: none;
  background: transparent;
  cursor: pointer;
}
.hm-lang-caret {
  opacity: .72;
  transition: transform .2s, opacity .2s;
}
.hm-lang:hover .hm-lang-caret,
.hm-lang:focus-within .hm-lang-caret {
  opacity: 1;
  transform: rotate(180deg);
}
.hm-lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 130;
}
.hm-lang:hover .hm-lang-menu,
.hm-lang:focus-within .hm-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.hm-lang-menu .hm-lang-link {
  width: 100%;
  justify-content: flex-start;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: .82rem;
  line-height: 1.25;
}
.hm-lang-menu .hm-lang-link.is-current {
  color: var(--fg-1);
  background: var(--bg-soft);
  font-weight: 700;
  cursor: default;
}
.hm-lang-name {
  white-space: nowrap;
}

/* ─── Mobile menu ────────────────────────────────────── */
.hm-mobile {
  display: none;
  position: relative;
}
.hm-mobile-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  cursor: pointer;
  padding: 13px 11px;
  align-items: center;
  justify-content: center;
}
.hm-mobile-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg-1);
  border-radius: 2px;
  transition: all .3s;
}
.hm-mobile-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hm-mobile-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.hm-mobile-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile panel */
.hm-mobile-panel {
  position: absolute;
  top: calc(100% + 0.8rem);
  inset-inline-end: 0;
  width: min(92vw, 420px);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
  padding: 1.2rem 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 200;
}
.hm-mobile-panel.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Mobile overlay */
.hm-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.hm-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile list */
.hm-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hm-mobile-list:not(:first-child) {
  margin-top: 0;
}
.hm-mobile-item { margin: 0; }
.hm-mobile-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}
.hm-mobile-link,
.hm-mobile-label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  color: var(--fg-1);
  font-size: .94rem;
  font-weight: 500;
  text-decoration: none;
}
.hm-mobile-link:hover {
  color: var(--teal);
}
.hm-mobile-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-2);
}
.hm-mobile-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hm-mobile-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  color: var(--fg-3);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.hm-mobile-toggle:hover {
  background: var(--bg-soft);
  color: var(--fg-1);
}
.hm-mobile-toggle.is-open {
  background: rgba(38,133,153,0.15);
  border-color: rgba(38,133,153,0.3);
  color: var(--teal);
}
.hm-mobile-desc {
  font-size: .78rem;
  color: var(--fg-3);
  margin: 0 0 4px 38px;
  line-height: 1.4;
}

/* Mobile nesting */
.hm-level-1 { margin-left: 0.9rem; padding-left: 0.9rem; border-left: 1px solid var(--border); margin-top: 0; }
.hm-level-2 { margin-left: 0.9rem; padding-left: 0.9rem; border-left: 1px solid var(--border); margin-top: 0; }
.hm-level-1 { display: none; }
.hm-level-1.is-open { display: block; }
.hm-level-2 { display: none; }
.hm-level-2.is-open { display: block; }

/* Mobile language switcher */
.hm-mobile-lang {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.hm-mobile-lang .hm-lang {
  width: 100%;
  display: block;
}
.hm-mobile-lang .hm-lang-trigger {
  display: none;
}
.hm-mobile-lang .hm-lang-menu {
  position: static;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.hm-mobile-lang .hm-lang-link {
  color: var(--fg-3);
  font-size: .9rem;
  padding: 8px 0;
  width: 100%;
  border-radius: 0;
}
.hm-mobile-lang .hm-lang-link:hover {
  color: var(--fg-1);
  background: transparent;
}

/* ─── Desktop breakpoint ─────────────────────────────── */
@media (min-width: 961px) {
  .hm-mobile { display: none !important; }
  .hm-overlay { display: none !important; }
}

@media (max-width: 960px) {
  .hm-shell,
  .hm-lang { display: none !important; }
  .hm-mobile { display: flex; }
  .scv-btn-header-cta { display: none; }
}

/* ─── RTL overrides ──────────────────────────────────── */
html[dir="rtl"] .hm-col { border-inline-end: none; border-inline-start: 1px solid var(--border); }
html[dir="rtl"] .hm-col:last-child { border-inline-start: none; }
html[dir="rtl"] .hm-level-1 { margin-left: 0; margin-right: 0.9rem; padding-left: 0; padding-right: 0.9rem; border-left: none; border-right: 1px solid var(--border); }
html[dir="rtl"] .hm-level-2 { margin-left: 0; margin-right: 0.9rem; padding-left: 0; padding-right: 0.9rem; border-left: none; border-right: 1px solid var(--border); }
html[dir="rtl"] .hm-mobile-panel { inset-inline-end: auto; inset-inline-start: 0; }

/* ══════════════════════════════════════════════════════════════
   BLOG — The Journal (listing)
   ══════════════════════════════════════════════════════════════ */
.blog-page { background: var(--theme-paper, #FAF6EE); color: var(--scv-teal-deep); }
.blog-container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.blog-bar { border-top: 1px solid rgba(22,52,76,0.18); border-bottom: 1px solid rgba(22,52,76,0.18); background: var(--theme-paper, #FAF6EE); }
.blog-bar-inner { max-width: 1240px; margin: 0 auto; padding: 20px 40px; display: grid; grid-template-columns: 1fr auto; gap: 12px 32px; align-items: center; }
.blog-bar-title { grid-column: 1; }
.blog-bar-meta { grid-column: 2; }
.blog-bar-tags { grid-column: 1 / -1; justify-content: center; }
.blog-bar-title { font-family: var(--font-heading); font-weight: 900; font-size: 32px; letter-spacing: -0.03em; line-height: 1; color: var(--scv-teal-deep); }
.blog-bar-title em { font-family: var(--font-heading); font-style: italic; font-weight: 600; color: var(--scv-coral); margin-left: 6px; font-size: 24px; letter-spacing: 0; }
.blog-bar-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.blog-tag { font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: 0.10em; text-transform: uppercase; padding: 8px 16px; border-radius: 9999px; border: 1px solid rgba(22,52,76,0.20); background: transparent; color: var(--scv-teal-deep); cursor: pointer; transition: all .2s var(--ease-out); }
.blog-tag:hover { background: rgba(22,52,76,0.06); }
.blog-tag.is-on { background: var(--scv-teal-deep); color: #fff; border-color: var(--scv-teal-deep); }
.blog-bar-meta { font-family: var(--font-serif); font-style: italic; font-size: 13px; color: var(--fg-2); white-space: nowrap; }

/* Hero featured article */
.blog-hero { padding: 56px 0 80px; position: relative; }
.blog-hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.blog-hero-art { position: relative; aspect-ratio: 5 / 6; background: linear-gradient(135deg, #16344C 0%, #268599 55%, #E8885E 100%); border-radius: 4px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(22,52,76,0.45), 0 8px 24px -8px rgba(22,52,76,0.18); }
.blog-hero-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent 0 22px, rgba(255,255,255,0.06) 22px 23px); pointer-events: none; }
.blog-hero-art-pill { position: absolute; top: 22px; left: 22px; font-family: var(--font-heading); font-weight: 800; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; background: #fff; color: var(--scv-teal-deep); padding: 8px 14px; border-radius: 9999px; box-shadow: 0 8px 24px rgba(22,52,76,0.18); }
.blog-hero-art-quote { position: absolute; bottom: 80px; left: 22px; right: 22px; font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.3; color: rgba(255,255,255,0.92); text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.blog-hero-art-quote::before { content: "\201C"; font-size: 64px; line-height: 0; vertical-align: -28px; margin-right: 4px; opacity: 0.6; }
.blog-hero-text { padding: 8px 0; }
.blog-hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--scv-coral-deep); margin-bottom: 24px; }
.blog-hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--scv-coral); }
.blog-hero-h1 { font-family: var(--font-heading); font-weight: 900; font-size: clamp(44px, 4.8vw, 76px); line-height: 0.96; letter-spacing: -0.035em; color: var(--scv-teal-deep); margin: 0 0 24px; }
.blog-hero-h1 em { font-family: var(--font-heading); font-style: italic; font-weight: 700; letter-spacing: -0.025em; color: var(--scv-coral); }
.blog-hero-dek { font-family: var(--font-serif); font-style: italic; font-size: 21px; line-height: 1.45; color: var(--fg-2); margin: 0 0 32px; max-width: 46ch; }
.blog-hero-by { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.blog-hero-by-av { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #16344C; flex: 0 0 52px; }
.blog-hero-by-av img { width: 100%; height: 100%; object-fit: cover; }
.blog-hero-by-name { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--scv-teal-deep); }
.blog-hero-by-meta { font-size: 12px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: var(--fg-3); margin-top: 2px; }
.blog-hero-by-meta b { color: var(--scv-coral-deep); font-weight: 700; }
.blog-hero-cta { font-family: var(--font-heading); font-weight: 700; font-size: 14px; padding: 14px 28px; border-radius: 9999px; border: none; background: var(--scv-teal-deep); color: #fff; cursor: pointer; transition: all .2s var(--ease-out); }
.blog-hero-cta:hover { background: var(--scv-teal-bright); transform: translateY(-1px); }
.blog-hero-cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.blog-hero-cta-meta { font-family: var(--font-serif); font-style: italic; font-size: 13px; color: var(--fg-3); }

/* Article grid */
.blog-grid-section { padding: 0 0 80px; }
.blog-grid-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 24px; margin-bottom: 40px; border-bottom: 2px solid var(--scv-teal-deep); }
.blog-grid-head h2 { font-family: var(--font-heading); font-weight: 900; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.02em; color: var(--scv-teal-deep); margin: 0; }
.blog-grid-head h2 em { font-family: var(--font-heading); font-style: italic; font-weight: 700; color: var(--scv-coral); }
.blog-grid-head-meta { font-family: var(--font-serif); font-style: italic; font-size: 14px; color: var(--fg-3); }
.blog-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: start; }
.blog-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 40px; }
.blog-card { display: flex; flex-direction: column; cursor: pointer; transition: transform .25s var(--ease-out); }
.blog-card:hover { transform: translateY(-4px); }
.blog-card:hover .blog-card-title { color: var(--scv-coral-deep); }
.blog-card-art { aspect-ratio: 4 / 3; position: relative; border-radius: 3px; overflow: hidden; margin-bottom: 18px; box-shadow: 0 20px 40px -16px rgba(22,52,76,0.30); }
.blog-card-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,0.07) 18px 19px); }
.blog-card-cat { font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--scv-coral-deep); margin-bottom: 8px; }
.blog-card-title { font-family: var(--font-heading); font-weight: 800; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; color: var(--scv-teal-deep); margin: 0 0 12px; transition: color .2s var(--ease-out); }
.blog-card-dek { font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 0 0 18px; }
.blog-card-foot { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--fg-3); margin-top: auto; }
.blog-card-foot b { color: var(--scv-teal-deep); font-weight: 700; }
.blog-card-foot .blog-card-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--scv-coral); }

/* Sidebar */
.blog-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 40px; }

.blog-ai-card { background: #fff; padding: 32px 28px; border-radius: 4px; border: 1px solid rgba(22,52,76,0.10); box-shadow: 0 12px 32px -16px rgba(22,52,76,0.18); position: relative; overflow: hidden; }
.blog-ai-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #268599, #618480, #E8885E); }
.blog-ai-card > * { position: relative; z-index: 1; }
.blog-ai-card-badge { display: inline-block; font-family: var(--font-heading); font-weight: 700; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: var(--scv-coral); padding: 4px 10px; border-radius: 9999px; margin-bottom: 14px; }
.blog-ai-card-title { font-family: var(--font-heading); font-weight: 900; font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; color: var(--scv-teal-deep); margin: 0 0 10px; }
.blog-ai-card-title em { font-family: var(--font-heading); font-style: italic; font-weight: 700; color: var(--scv-coral); }
.blog-ai-card-desc { font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 0 0 18px; }
.blog-ai-card-features { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.blog-ai-card-features li { font-size: 13px; font-weight: 600; color: var(--scv-teal-deep); display: flex; align-items: center; gap: 10px; }
.blog-ai-card-features li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--scv-coral); flex: 0 0 5px; }
.blog-ai-card-cta { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 13px; text-align: center; padding: 14px 20px; border-radius: 9999px; border: none; background: linear-gradient(135deg, #268599, #618480, #E8885E); color: #fff; cursor: pointer; text-decoration: none; transition: all .25s var(--ease-out); box-shadow: 0 12px 24px -10px rgba(38,133,153,0.35); }
.blog-ai-card-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(38,133,153,0.45); }

.blog-most { background: #fff; padding: 32px 28px; border-radius: 4px; border: 1px solid rgba(22,52,76,0.10); box-shadow: 0 12px 32px -16px rgba(22,52,76,0.18); }
.blog-most-h { font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--scv-coral-deep); margin-bottom: 4px; }
.blog-most-h2 { font-family: var(--font-heading); font-weight: 900; font-size: 24px; letter-spacing: -0.02em; color: var(--scv-teal-deep); margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px solid rgba(22,52,76,0.15); }
.blog-most-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; counter-reset: most; }
.blog-most-item { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; cursor: pointer; }
.blog-most-item:hover .blog-most-title { color: var(--scv-coral-deep); }
.blog-most-num { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 36px; line-height: 0.9; color: var(--scv-coral); counter-increment: most; }
.blog-most-num::before { content: counter(most, decimal-leading-zero); }
.blog-most-body { min-width: 0; }
.blog-most-title { font-family: var(--font-heading); font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--scv-teal-deep); letter-spacing: -0.01em; transition: color .2s var(--ease-out); margin: 0; }
.blog-most-meta { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); margin-top: 6px; }

.blog-news { background: var(--scv-navy-dark); color: #fff; padding: 32px 28px; border-radius: 4px; position: relative; overflow: hidden; }
.blog-news::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(232,136,94,0.25), transparent 60%); pointer-events: none; }
.blog-news > * { position: relative; z-index: 1; }
.blog-news-kicker { font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--scv-coral-warm); margin-bottom: 12px; }
.blog-news-h { font-family: var(--font-heading); font-weight: 900; font-size: 26px; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 12px; color: #fff; }
.blog-news-h em { font-family: var(--font-heading); font-style: italic; font-weight: 700; color: var(--scv-coral-warm); }
.blog-news-sub { font-family: var(--font-serif); font-style: italic; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.78); margin: 0 0 20px; }
.blog-news-form { display: flex; flex-direction: column; gap: 10px; }
.blog-news-input { font-family: var(--font-primary); font-size: 14px; padding: 14px 16px; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.20); background: rgba(255,255,255,0.06); color: #fff; outline: none; transition: border-color .2s; }
.blog-news-input::placeholder { color: rgba(255,255,255,0.50); }
.blog-news-input:focus { border-color: var(--scv-coral-warm); }
.blog-news-btn { font-family: var(--font-heading); font-weight: 700; font-size: 13px; padding: 14px 16px; border-radius: 9999px; border: none; background: var(--scv-coral); color: #fff; cursor: pointer; transition: all .2s var(--ease-out); }
.blog-news-btn:hover { background: var(--scv-coral-deep); }
.blog-news-meta { font-size: 11px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: rgba(255,255,255,0.50); margin-top: 14px; }

/* Pagination */
.blog-pagination { margin: 60px 0 40px; display: flex; justify-content: center; gap: 8px; }
.blog-pagination a, .blog-pagination span { font-family: var(--font-heading); font-weight: 700; font-size: 13px; padding: 10px 18px; border-radius: 9999px; border: 1px solid rgba(22,52,76,0.20); color: var(--scv-teal-deep); text-decoration: none; transition: all .2s var(--ease-out); }
.blog-pagination a:hover { background: var(--scv-teal-deep); color: #fff; border-color: var(--scv-teal-deep); }
.blog-pagination .current { background: var(--scv-teal-deep); color: #fff; border-color: var(--scv-teal-deep); }

/* Empty state */
.blog-empty { padding: 120px 0; text-align: center; }
.blog-empty p { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--fg-3); }

/* ══════════════════════════════════════════════════════════════
   ARTICLE — Single Post
   ══════════════════════════════════════════════════════════════ */
.art-page { background: var(--theme-paper, #FAF6EE); color: var(--scv-teal-deep); }
.art-container { max-width: 880px; margin: 0 auto; padding: 0 40px; }
.art-container--wide { max-width: 1240px; }

/* Header */
.art-header { padding: 56px 0 32px; }
.art-crumbs { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 28px; }
.art-crumbs a { color: var(--fg-3); text-decoration: none; }
.art-crumbs a:hover { color: var(--scv-coral-deep); }
.art-crumbs span.sep { color: rgba(22,52,76,0.30); }
.art-crumbs b { color: var(--scv-coral-deep); font-weight: 700; }
.art-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--scv-coral-deep); margin-bottom: 24px; }
.art-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--scv-coral); }
.art-title { font-family: var(--font-heading); font-weight: 900; font-size: clamp(40px, 5vw, 72px); line-height: 0.98; letter-spacing: -0.035em; color: var(--scv-teal-deep); margin: 0 0 28px; text-wrap: balance; }
.art-title em { font-family: var(--font-heading); font-style: italic; font-weight: 700; letter-spacing: -0.025em; color: var(--scv-coral); }
.art-dek { font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--fg-2); margin: 0 0 36px; max-width: 56ch; text-wrap: pretty; }

.art-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid rgba(22,52,76,0.18); border-bottom: 1px solid rgba(22,52,76,0.18); }
.art-meta-by { display: flex; align-items: center; gap: 14px; }
.art-meta-av { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: #16344C; flex: 0 0 48px; }
.art-meta-av img { width: 100%; height: 100%; object-fit: cover; }
.art-meta-name { font-family: var(--font-heading); font-weight: 800; font-size: 14px; color: var(--scv-teal-deep); }
.art-meta-role { font-family: var(--font-serif); font-style: italic; font-size: 12px; color: var(--fg-3); margin-top: 2px; }
.art-meta-info { display: flex; align-items: center; gap: 16px; margin-left: auto; font-family: var(--font-heading); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.art-meta-info span.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--scv-coral); }
.art-meta-info b { color: var(--scv-teal-deep); font-weight: 700; }
.art-share { display: flex; gap: 8px; margin-left: 20px; }
.art-share button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(22,52,76,0.20); background: transparent; color: var(--scv-teal-deep); cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 13px; transition: all .2s var(--ease-out); }
.art-share button:hover { background: var(--scv-teal-deep); color: #fff; border-color: var(--scv-teal-deep); }

/* Cover image */
.art-cover { padding: 32px 0 48px; }
.art-cover-img { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #16344C 0%, #268599 45%, #618480 70%, #E8885E 100%); border-radius: 4px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(22,52,76,0.45); }
.art-cover-img::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent 0 28px, rgba(255,255,255,0.05) 28px 29px); }
.art-cover-cap { max-width: 1240px; margin: 12px auto 0; padding: 0 40px; font-family: var(--font-serif); font-style: italic; font-size: 13px; color: var(--fg-3); text-align: center; }
.art-cover-cap b { color: var(--scv-teal-deep); font-weight: 700; font-style: normal; }

/* Body */
.art-body { padding: 24px 0 64px; }
.art-body p { font-family: var(--font-primary); font-size: 19px; line-height: 1.7; color: var(--fg); margin: 0 0 28px; text-wrap: pretty; }
.art-body p.has-drop::first-letter { font-family: var(--font-heading); font-weight: 900; font-size: 88px; line-height: 0.85; float: left; margin: 6px 14px 0 0; color: var(--scv-coral); letter-spacing: -0.03em; }
.art-body h2 { font-family: var(--font-heading); font-weight: 900; font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.025em; line-height: 1.1; color: var(--scv-teal-deep); margin: 48px 0 20px; text-wrap: balance; }
.art-body h2 em { font-family: var(--font-heading); font-style: italic; font-weight: 700; color: var(--scv-coral); }
.art-body h3 { font-family: var(--font-heading); font-weight: 800; font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; color: var(--scv-teal-deep); margin: 36px 0 14px; }
.art-body ul, .art-body ol { font-family: var(--font-primary); font-size: 19px; line-height: 1.7; color: var(--fg); margin: 0 0 28px; padding-left: 0; list-style: none; }
.art-body ul li, .art-body ol li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.art-body ul li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 12px; height: 1px; background: var(--scv-coral); }
.art-body ol { counter-reset: art-ol; }
.art-body ol li { counter-increment: art-ol; }
.art-body ol li::before { content: counter(art-ol, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 16px; color: var(--scv-coral); }
.art-body strong { font-weight: 700; color: var(--scv-teal-deep); }
.art-body em { font-family: var(--font-serif); font-style: italic; }
.art-body a { color: var(--scv-coral-deep); border-bottom: 1px solid var(--scv-coral); text-decoration: none; transition: all .2s; }
.art-body a:hover { background: rgba(232,136,94,0.10); }
.art-body blockquote { margin: 40px 0; padding: 0 0 0 28px; border-left: 3px solid var(--scv-coral); font-family: var(--font-serif); font-style: italic; font-size: 26px; line-height: 1.4; color: var(--scv-teal-deep); }
.art-body blockquote cite { display: block; margin-top: 14px; font-family: var(--font-heading); font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--scv-coral-deep); }

/* Pull quote */
.art-pull { margin: 56px 0; padding: 48px 0; border-top: 2px solid var(--scv-teal-deep); border-bottom: 2px solid var(--scv-teal-deep); text-align: center; }
.art-pull-q { font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.1; letter-spacing: -0.025em; color: var(--scv-teal-deep); margin: 0 0 16px; text-wrap: balance; max-width: 22ch; margin-left: auto; margin-right: auto; }
.art-pull-q em { font-family: var(--font-heading); font-style: italic; font-weight: 700; color: var(--scv-coral); }
.art-pull-cite { font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--scv-coral-deep); }

/* Inline data card */
.art-fig { margin: 40px 0; }
.art-fig-frame { aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; position: relative; box-shadow: 0 20px 40px -16px rgba(22,52,76,0.25); }
.art-fig-frame--data { background: var(--scv-navy-dark); color: #fff; display: grid; grid-template-columns: repeat(3, 1fr); }
.art-fig-stat { padding: 28px 24px; border-right: 1px solid rgba(255,255,255,0.10); display: flex; flex-direction: column; justify-content: center; }
.art-fig-stat:last-child { border-right: none; }
.art-fig-stat-n { font-family: var(--font-heading); font-weight: 900; font-size: clamp(48px, 6vw, 80px); line-height: 0.9; letter-spacing: -0.04em; color: #fff; }
.art-fig-stat-n sup { font-size: 0.45em; color: var(--scv-coral-warm); margin-left: 4px; }
.art-fig-stat-lbl { font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.70); margin-top: 14px; }
.art-fig-cap { font-family: var(--font-serif); font-style: italic; font-size: 13px; color: var(--fg-3); margin-top: 12px; text-align: center; }

/* Mid-article CTA */
.art-cta-card { margin: 64px 0; padding: 48px 44px; background: linear-gradient(135deg, #155469 0%, #16344C 60%, #19384F 100%); border-radius: 4px; color: #fff; position: relative; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(22,52,76,0.45); }
.art-cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(232,136,94,0.30), transparent 55%), radial-gradient(circle at 10% 90%, rgba(38,133,153,0.30), transparent 50%); pointer-events: none; }
.art-cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
.art-cta-kicker { font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--scv-coral-warm); margin-bottom: 14px; }
.art-cta-h { font-family: var(--font-heading); font-weight: 900; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 12px; color: #fff; text-wrap: balance; }
.art-cta-h em { font-family: var(--font-heading); font-style: italic; font-weight: 700; color: var(--scv-coral-warm); }
.art-cta-sub { font-family: var(--font-serif); font-style: italic; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.80); margin: 0; max-width: 38ch; }
.art-cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.art-cta-btn { font-family: var(--font-heading); font-weight: 700; font-size: 14px; padding: 16px 28px 16px 32px; border-radius: 9999px; border: none; background: var(--scv-coral); color: #fff; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: all .25s var(--ease-out); box-shadow: 0 16px 32px rgba(232,136,94,0.30); }
.art-cta-btn:hover { background: var(--scv-coral-deep); transform: translateY(-2px); }
.art-cta-meta { font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.art-cta-meta b { color: var(--scv-coral-warm); font-weight: 700; }

/* Tags */
.art-tags { padding: 32px 0; border-top: 1px solid rgba(22,52,76,0.18); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.art-tags-h { font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); }
.art-tag { font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; padding: 8px 14px; border-radius: 9999px; background: rgba(22,52,76,0.06); color: var(--scv-teal-deep); cursor: pointer; transition: all .2s; text-decoration: none; display: inline-block; }
.art-tag:hover { background: var(--scv-teal-deep); color: #fff; }

/* Author bio */
.art-author { margin: 48px 0; padding: 40px; background: #fff; border-radius: 4px; border: 1px solid rgba(22,52,76,0.10); box-shadow: 0 12px 32px -16px rgba(22,52,76,0.18); display: grid; gap: 32px; align-items: start; }
.art-author-eyebrow { font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--scv-coral-deep); margin-bottom: 8px; }
.art-author-name { font-family: var(--font-heading); font-weight: 900; font-size: 26px; letter-spacing: -0.02em; color: var(--scv-teal-deep); margin: 0 0 6px; }
.art-author-role { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--scv-coral-deep); margin-bottom: 14px; }
.art-author-bio { font-size: 15px; line-height: 1.6; color: var(--fg-2); margin: 0 0 16px; }
.art-author-links { display: flex; gap: 18px; font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: 0.10em; text-transform: uppercase; }
.art-author-links a { color: var(--scv-teal-deep); text-decoration: none; border-bottom: 1px solid var(--scv-coral); padding-bottom: 2px; transition: color .2s; }
.art-author-links a:hover { color: var(--scv-coral-deep); }

/* Post navigation */
.art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 48px 0; }
.art-nav-prev, .art-nav-next { padding: 24px; background: #fff; border-radius: 4px; border: 1px solid rgba(22,52,76,0.10); text-decoration: none; transition: all .25s var(--ease-out); }
.art-nav-prev:hover, .art-nav-next:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(22,52,76,0.20); }
.art-nav-label { font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 6px; }
.art-nav-title { font-family: var(--font-heading); font-weight: 800; font-size: 16px; color: var(--scv-teal-deep); }
.art-nav-next { text-align: right; }

/* Comments section */
.art-comments { margin: 48px 0; }
.art-comments h2, .art-comments h3 { font-family: var(--font-heading); font-weight: 800; font-size: 24px; color: var(--scv-teal-deep); }
.art-comments .comment-list { list-style: none; padding: 0; }
.art-comments .comment-body { padding: 24px; margin-bottom: 16px; background: #fff; border-radius: 4px; border: 1px solid rgba(22,52,76,0.10); }

/* Related articles */
.art-related { padding: 80px 0; border-top: 1px solid rgba(22,52,76,0.18); background: var(--theme-paper, #FAF6EE); }
.art-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 24px; margin-bottom: 40px; border-bottom: 2px solid var(--scv-teal-deep); }
.art-related-head h2 { font-family: var(--font-heading); font-weight: 900; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.02em; color: var(--scv-teal-deep); margin: 0; }
.art-related-head h2 em { font-family: var(--font-heading); font-style: italic; font-weight: 700; color: var(--scv-coral); }
.art-related-head-link { font-family: var(--font-heading); font-weight: 700; font-size: 13px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--scv-coral-deep); text-decoration: none; }
.art-related-head-link:hover { color: var(--scv-teal-deep); }
.art-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

/* Reading progress */
.art-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--scv-coral); width: 0%; z-index: 100; transition: width .1s linear; pointer-events: none; }

/* ─── BLOG/ARTICLE RESPONSIVE ────────────────────────── */
@media (max-width: 1080px) {
  .blog-grid { grid-template-columns: 1fr; gap: 80px; }
  .blog-side { position: static; }
  .blog-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .blog-bar-inner { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .blog-bar-title { grid-column: 1; }
  .blog-bar-meta { grid-column: 1; }
  .blog-bar-tags { grid-column: 1; }
}
@media (max-width: 900px) {
  .art-related-grid { grid-template-columns: 1fr; }
  .art-meta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .art-meta-info { margin-left: 0; }
  .art-share { margin-left: 0; }
  .art-fig-frame--data { grid-template-columns: 1fr; }
  .art-nav { grid-template-columns: 1fr; }
  .art-cta-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .blog-container, .blog-bar-inner { padding: 0 20px; }
  .blog-cards { grid-template-columns: 1fr; }
  .art-container, .art-container--wide { padding: 0 20px; }
  .art-body p.has-drop::first-letter { font-size: 60px; }
  .art-cta-card { padding: 32px 24px; }
  .blog-hero-h1 { font-size: clamp(32px, 10vw, 44px); }
  .art-related-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── BLOG/ARTICLE RTL ──────────────────────────────── */
[dir="rtl"] .blog-hero-eyebrow::before { display: none; }
[dir="rtl"] .blog-bar-title em { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .blog-most-item { grid-template-columns: 1fr auto; }
[dir="rtl"] .blog-most-item > .blog-most-num { order: 2; text-align: left; }
[dir="rtl"] .art-body p.has-drop::first-letter { float: right; margin: 6px 0 0 14px; }
[dir="rtl"] .art-body ul li, [dir="rtl"] .art-body ol li { padding-left: 0; padding-right: 32px; }
[dir="rtl"] .art-body ul li::before { left: auto; right: 4px; }
[dir="rtl"] .art-body ol li::before { left: auto; right: 0; }
[dir="rtl"] .art-body blockquote { padding: 0 28px 0 0; border-left: none; border-right: 3px solid var(--scv-coral); }
[dir="rtl"] .art-progress { left: auto; right: 0; }
[dir="rtl"] .art-eyebrow::before { display: none; }
[dir="rtl"] .art-meta-info { margin-left: 0; margin-right: auto; }
[dir="rtl"] .art-share { margin-left: 0; margin-right: 20px; }
[dir="rtl"] .art-nav-next { text-align: left; }

/* ─── ARABIC FONT OVERRIDE — Phase 11 (May 2026) ────────────────────────
   Force Arabic/RTL pages to use the Arabic font stack instead of Poppins.
   Targets both CSS-variable usage and inline-style font-family overrides.
   ───────────────────────────────────────────────────────────────────── */
html[dir="rtl"],
html[lang^="ar"] {
    --font-body: 'IBM Plex Sans Arabic', sans-serif;
    --font-primary: 'IBM Plex Sans Arabic', sans-serif;
    --font-heading: 'Tajawal', sans-serif;
    --font-serif: 'Tajawal', sans-serif;
    --font-arabic: 'Tajawal', sans-serif;
}

html[dir="rtl"] body,
html[lang^="ar"] body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6,
html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3,
html[lang^="ar"] h4, html[lang^="ar"] h5, html[lang^="ar"] h6,
html[dir="rtl"] .heading,
html[lang^="ar"] .heading {
    font-family: 'Tajawal', sans-serif;
}

/* Override hardcoded Nunito/Playfair on Arabic heading tags */
html[dir="rtl"] :is(h1, h2, h3, h4, h5, h6)[style*="Nunito"],
html[lang^="ar"] :is(h1, h2, h3, h4, h5, h6)[style*="Nunito"],
html[dir="rtl"] :is(h1, h2, h3, h4, h5, h6)[style*="Playfair"],
html[lang^="ar"] :is(h1, h2, h3, h4, h5, h6)[style*="Playfair"] {
    font-family: 'Tajawal', sans-serif !important;
}

/* Common heading/title classes with hardcoded English fonts */
html[dir="rtl"] :is(
    .hA-h1, .hp2026-agentic-squad__title, .hp2026-agentic-squad__title-accent,
    .hp2026-tpl-title, .why-stylingcv-2026__title, .why-stylingcv-2026__card-title,
    .blog-hero-h1, .art-title, .scv-chat-heading, .qc-main-title, .mr-h2,
    .hp2026-install-title, .scv-ai-rejection__title, .scv-ai-rejection__track-head h3,
    .hp2026-ai-title, .hp2026-ai-card-title
),
html[lang^="ar"] :is(
    .hA-h1, .hp2026-agentic-squad__title, .hp2026-agentic-squad__title-accent,
    .hp2026-tpl-title, .why-stylingcv-2026__title, .why-stylingcv-2026__card-title,
    .blog-hero-h1, .art-title, .scv-chat-heading, .qc-main-title, .mr-h2,
    .hp2026-install-title, .scv-ai-rejection__title, .scv-ai-rejection__track-head h3,
    .hp2026-ai-title, .hp2026-ai-card-title
) {
    font-family: 'Tajawal', sans-serif;
}

/* Override any inline style="font-family:'Poppins'..." on Arabic pages */
html[dir="rtl"] [style*="Poppins"],
html[lang^="ar"] [style*="Poppins"] {
    font-family: 'IBM Plex Sans Arabic', sans-serif !important;
}

/* Arabic body text — components with explicit Poppins (exclude main headings) */
html[dir="rtl"] [class^="qc-"]:not(.qc-main-title),
html[lang^="ar"] [class^="qc-"]:not(.qc-main-title),
html[dir="rtl"] .scv-header,
html[lang^="ar"] .scv-header,
html[dir="rtl"] .scv-footer,
html[lang^="ar"] .scv-footer {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}
body.home .scv-header,
body.front-page .scv-header {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background .24s ease, box-shadow .24s ease, border-color .24s ease, backdrop-filter .24s ease, transform .24s ease;
}
body.home .scv-header.is-scrolled,
body.front-page .scv-header.is-scrolled {
  background: rgba(250, 246, 238, .86) !important;
  border-bottom: 1px solid rgba(22, 52, 76, .08) !important;
  box-shadow: 0 10px 30px -24px rgba(22, 52, 76, .42) !important;
  backdrop-filter: blur(14px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.08) !important;
}
body.home .scv-header-inner,
body.front-page .scv-header-inner {
  height: 56px;
  padding: 0 34px;
}
body.home .scv-logo,
body.front-page .scv-logo {
  height: 28px;
  width: auto;
}
body.home .hm-root > .hm-item > .hm-trigger,
body.front-page .hm-root > .hm-item > .hm-trigger,
body.home .hm-lang-link,
body.front-page .hm-lang-link {
  min-height: 34px;
  padding: 6px 10px;
  color: rgba(22, 52, 76, .74);
  font-size: 12px;
  font-weight: 700;
}
body.home .hm-root > .hm-item > .hm-trigger:hover,
body.front-page .hm-root > .hm-item > .hm-trigger:hover,
body.home .hm-lang-link:hover,
body.front-page .hm-lang-link:hover {
  color: #16344C;
  background: rgba(22, 52, 76, .055);
}
body.home .scv-header-right,
body.front-page .scv-header-right {
  gap: 12px;
}
body.home .scv-btn-header-cta,
body.front-page .scv-btn-header-cta {
  min-height: 38px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px -16px rgba(38, 133, 153, .75);
}
body.home .scv-btn-header-cta svg,
body.front-page .scv-btn-header-cta svg {
  width: 14px;
  height: 14px;
}
@media (max-width: 980px) {
  body.home .scv-header-inner,
  body.front-page .scv-header-inner {
    height: 56px;
    padding: 0 18px;
  }
}
@media (max-width: 720px) {
  body.home .scv-logo,
  body.front-page .scv-logo {
    height: 26px;
  }
}

/* Final homepage header fix: no white spacer, smaller transparent nav */
body.home .scv-main,
body.front-page .scv-main {
  margin-top: 0 !important;
}
body.home .scv-header,
body.front-page .scv-header {
  height: 48px !important;
  min-height: 48px !important;
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.home .scv-header.is-scrolled,
body.front-page .scv-header.is-scrolled {
  background: rgba(250, 246, 238, .88) !important;
  background-color: rgba(250, 246, 238, .88) !important;
  border-bottom: 1px solid rgba(22, 52, 76, .08) !important;
  box-shadow: 0 8px 22px -18px rgba(22, 52, 76, .50) !important;
  backdrop-filter: blur(12px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.05) !important;
}
body.home .scv-header-inner,
body.front-page .scv-header-inner {
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 32px !important;
}
body.home .scv-logo,
body.front-page .scv-logo {
  height: 24px !important;
}
body.home .hm-root > .hm-item > .hm-trigger,
body.front-page .hm-root > .hm-item > .hm-trigger,
body.home .hm-lang-link,
body.front-page .hm-lang-link {
  min-height: 28px !important;
  padding: 4px 9px !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
}
body.home .scv-btn-header-cta,
body.front-page .scv-btn-header-cta {
  min-height: 32px !important;
  padding: 6px 15px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}
body.home .scv-btn-header-cta svg,
body.front-page .scv-btn-header-cta svg {
  width: 13px !important;
  height: 13px !important;
}
@media (max-width: 980px) {
  body.home .scv-header-inner,
  body.front-page .scv-header-inner {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 16px !important;
  }
}

/* ─── HOMEPAGE — AI rejection comparison ───────────────────────── */
.scv-ai-rejection {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 9vw, 132px) 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 10% 18%, rgba(38, 133, 153, 0.28), transparent 30%),
    radial-gradient(circle at 92% 78%, rgba(232, 136, 94, 0.28), transparent 28%),
    linear-gradient(135deg, #10293d 0%, #16344c 52%, #112b40 100%);
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
  color: rgba(255, 255, 255, 0.78);
  isolation: isolate;
}
.scv-ai-rejection::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(255, 255, 255, 0.045) 18% 18.2%, transparent 18.2% 100%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 42%);
  pointer-events: none;
}
.scv-ai-rejection__container {
  position: relative;
  z-index: 1;
}
.scv-ai-rejection__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.26;
  pointer-events: none;
}
.scv-ai-rejection__glow--teal {
  top: 18%;
  left: -140px;
  background: var(--scv-teal-primary);
}
.scv-ai-rejection__glow--coral {
  right: -110px;
  bottom: 12%;
  background: var(--scv-coral);
}
.scv-ai-rejection__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(560px, 1.14fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
}
.scv-ai-rejection__intro {
  position: relative;
}
.scv-ai-rejection__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 15px;
  margin-bottom: 24px;
  border: 1px solid rgba(232, 136, 94, 0.28);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 28px rgba(232, 136, 94, 0.16);
  color: var(--scv-coral-warm);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scv-ai-rejection__title {
 
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(3.8rem, 7.2vw, 3.3rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.07em;
  text-wrap: balance;
}
.scv-ai-rejection__title span {
  color: var(--scv-coral);
  text-shadow: 0 18px 46px rgba(232, 136, 94, 0.32);
}
.scv-ai-rejection__lead {
  max-width: 520px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 1.25vw, 1.05rem);
  line-height: 1.82;
}
.scv-ai-rejection__proof {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  color: inherit;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.scv-ai-rejection__proof:hover,
.scv-ai-rejection__proof:focus-visible {
  border-color: rgba(232, 136, 94, 0.42);
  color: inherit;
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 22px 48px rgba(232, 136, 94, 0.18);
}
.scv-ai-rejection__proof:focus-visible {
  outline: 2px solid var(--scv-coral);
  outline-offset: 4px;
}
.scv-ai-rejection__proof strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 9999px;
  background: var(--scv-coral);
  color: #16344c;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  box-shadow: 0 18px 38px rgba(232, 136, 94, 0.34);
}
.scv-ai-rejection__proof span {
  max-width: 18ch;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}
.scv-ai-rejection__audit {
  position: relative;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 36px 90px -58px rgba(0, 0, 0, 0.8);
}
.scv-ai-rejection__audit::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(232, 136, 94, 0.32), rgba(38, 133, 153, 0.16));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.scv-ai-rejection__audit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px 14px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scv-ai-rejection__audit-top b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 28px;
  border-radius: 9999px;
  background: rgba(38, 133, 153, 0.22);
  color: #8ee4da;
  font-size: 0.72rem;
}
.scv-ai-rejection__tracks {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(12, 32, 49, 0.72);
}
.scv-ai-rejection__track {
  position: relative;
  min-height: 390px;
  padding: clamp(28px, 3vw, 40px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    rgba(255, 255, 255, 0.035);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), background 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.scv-ai-rejection__track:hover {
  transform: translateY(-4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
}
.scv-ai-rejection__track--generic {
  border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
}
.scv-ai-rejection__track--smart {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 80% 0%, rgba(232, 136, 94, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(38, 133, 153, 0.16), rgba(255, 255, 255, 0.035));
}
.scv-ai-rejection__track-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 30px;
  text-align: left;
}
.scv-ai-rejection__track-head h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.16rem, 1.7vw, 1.55rem);
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
  border-bottom: none !important;
  text-decoration: none !important;
}
.scv-ai-rejection__badge {
  position: absolute;
  top: 22px;
  inset-inline-end: 28px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: var(--scv-coral);
  color: #16344c;
  box-shadow: 0 14px 28px rgba(232, 136, 94, 0.34);
  font-size: 0.72rem;
  font-weight: 900;
}
.scv-ai-rejection__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 13px;
  font-weight: 900;
}
.scv-ai-rejection__icon--warning {
  background: rgba(232, 94, 94, 0.15);
  color: #ff9b9b;
}
.scv-ai-rejection__icon--bolt {
  background: rgba(232, 136, 94, 0.2);
  color: var(--scv-coral);
}
.scv-ai-rejection__vs {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    rgba(255, 255, 255, 0.025);
}
.scv-ai-rejection__vs::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(232, 136, 94, 0.7), transparent);
}
.scv-ai-rejection__vs span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(232, 136, 94, 0.42);
  border-radius: 9999px;
  background: #16344c;
  color: var(--scv-coral-warm);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}
.scv-ai-rejection__list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
}
.scv-ai-rejection__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 13px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  line-height: 1.58;
}
.scv-ai-rejection__status {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 9999px;
  flex: 0 0 22px;
}
.scv-ai-rejection__status::before,
.scv-ai-rejection__status::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.scv-ai-rejection__status--bad {
  background: rgba(232, 94, 94, 0.14);
}
.scv-ai-rejection__status--bad::before,
.scv-ai-rejection__status--bad::after {
  width: 10px;
  height: 2px;
  background: #e56b6b;
}
.scv-ai-rejection__status--bad::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.scv-ai-rejection__status--bad::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.scv-ai-rejection__status--good {
  background: rgba(38, 133, 153, 0.22);
}
.scv-ai-rejection__status--good::before {
  width: 10px;
  height: 6px;
  border-bottom: 2px solid #68d3c8;
  border-left: 2px solid #68d3c8;
  border-radius: 0;
  transform: translate(-50%, -58%) rotate(-45deg);
}
html[dir="rtl"] .scv-ai-rejection,
.scv-ai-rejection[dir="rtl"] {
  font-family: var(--font-body);
}
html[dir="rtl"] .scv-ai-rejection__title,
html[dir="rtl"] .scv-ai-rejection__track-head h3,
.scv-ai-rejection[dir="rtl"] .scv-ai-rejection__title,
.scv-ai-rejection[dir="rtl"] .scv-ai-rejection__track-head h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
}
html[dir="rtl"] .scv-ai-rejection__eyebrow,
html[dir="rtl"] .scv-ai-rejection__audit-top,
.scv-ai-rejection[dir="rtl"] .scv-ai-rejection__eyebrow,
.scv-ai-rejection[dir="rtl"] .scv-ai-rejection__audit-top {
  letter-spacing: 0;
}
html[dir="rtl"] .scv-ai-rejection__proof,
.scv-ai-rejection[dir="rtl"] .scv-ai-rejection__proof {
  padding: 10px 10px 10px 18px;
}
@media (max-width: 1120px) {
  .scv-ai-rejection__layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .scv-ai-rejection__intro {
    max-width: 760px;
  }
  .scv-ai-rejection__title {
    max-width: 12ch;
  }
}
@media (max-width: 780px) {
  .scv-ai-rejection__tracks {
    grid-template-columns: 1fr;
  }
  .scv-ai-rejection__vs {
    min-height: 72px;
  }
  .scv-ai-rejection__vs::before {
    left: 34px;
    right: 34px;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, rgba(232, 136, 94, 0.7), transparent);
  }
  .scv-ai-rejection__track {
    min-height: auto;
  }
}
@media (max-width: 640px) {
  .scv-ai-rejection {
    padding: 68px 0 76px;
  }
  .scv-ai-rejection__title {
    max-width: 10ch;
    font-size: clamp(3.1rem, 15vw, 4.4rem);
  }
  .scv-ai-rejection__proof {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 320px;
    border-radius: 28px;
    padding: 16px;
  }
  .scv-ai-rejection__proof strong {
    width: 70px;
    height: 70px;
  }
  .scv-ai-rejection__audit {
    padding: 6px;
    border-radius: 26px;
  }
  .scv-ai-rejection__audit-top {
    padding: 16px 16px 12px;
  }
  .scv-ai-rejection__tracks {
    border-radius: 20px;
  }
  .scv-ai-rejection__track {
    padding: 30px 22px;
  }
  .scv-ai-rejection__badge {
    top: 18px;
    inset-inline-end: 20px;
  }
}
