/* =============================================================================
   JOBQUAL — Premium Design System
   Domain: jobqual.goldenkall.com
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,700;1,9..144,300;1,9..144,400&family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* --- Design Tokens -------------------------------------------------------- */
:root {
  --ink:         #0A0A0C;
  --ink-soft:    #15151A;
  --paper:       #F7F6F2;
  --gold:        #E8B23A;
  --gold-bright: #F5C84D;
  --gold-dim:    #9B7624;
  --muted:       #8A8A93;
  --jq:          #5B8DEF;
  --jq-dim:      #3A6AC8;
  --jq-soft:     rgba(91,141,239,0.12);

  --surface-0: #0A0A0C;
  --surface-1: #111116;
  --surface-2: #18181F;
  --surface-3: #1E1E28;
  --border:      rgba(255,255,255,0.07);
  --border-gold: rgba(232,178,58,0.25);

  --text-primary:   #F0EFE9;
  --text-secondary: #B8B7B0;
  --text-muted:     #8A8A93;

  --font-display: 'Fraunces', Georgia, serif;
  --font-head:    'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;
  --sp-32: 128px;

  --r-sm: 6px; --r-md: 12px; --r-lg: 20px;

  --z-dropdown: 100;
  --z-sticky:   200;
  --z-modal:    400;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-mid:  300ms;
  --dur-slow: 500ms;
}

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

/* --- Typography ----------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.05rem; letter-spacing: -0.02em; }

p { text-wrap: pretty; }

.lede {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 65ch;
}

/* --- Container ------------------------------------------------------------ */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-6); }
.container--narrow { max-width: 780px; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 13px 28px;
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover {
  background: var(--gold-bright);
  box-shadow: 0 8px 32px rgba(232,178,58,0.35);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--surface-3);
  border-color: rgba(255,255,255,0.14);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
}
.btn-outline-gold:hover { background: rgba(232,178,58,0.08); }

.btn-sm { padding: 9px 18px; font-size: 0.875rem; }

/* --- Navigation ----------------------------------------------------------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-sticky);
  padding: var(--sp-4) 0;
  transition:
    background var(--dur-mid) var(--ease-out),
    border-color var(--dur-mid) var(--ease-out),
    padding var(--dur-mid) var(--ease-out);
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(10,10,12,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  padding: 10px 0;
}

.nav-content { display: flex; align-items: center; gap: var(--sp-6); }

.nav-logo { display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }
.logo-diamond { width: 30px; height: 30px; flex-shrink: 0; }
.logo-wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}
.logo-wordmark span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }

.nav-link {
  padding: 7px var(--sp-3);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--surface-2);
}

.nav-dropdown { position: relative; }
.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.dropdown-trigger::after {
  content: '';
  width: 8px;
  height: 5px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: 0.45;
  transition: transform var(--dur-fast);
}
.nav-dropdown:hover .dropdown-trigger::after { transform: rotate(180deg); }

.dropdown-content {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity var(--dur-mid) var(--ease-out),
    transform var(--dur-mid) var(--ease-out);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  z-index: var(--z-dropdown);
}
.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown-content a {
  display: block;
  padding: 7px var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.dropdown-content a:hover { color: var(--text-primary); background: var(--surface-3); }

.nav-login {
  padding: 7px var(--sp-4);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast);
}
.nav-login:hover { color: var(--text-primary); }

.nav-cta {
  margin-left: var(--sp-2);
  padding: 9px 20px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast), box-shadow var(--dur-fast);
}
.nav-cta:hover { background: var(--gold-bright); box-shadow: 0 4px 16px rgba(232,178,58,0.3); }

.nav-toggle       { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }

/* --- Sections ------------------------------------------------------------- */
.section     { padding: var(--sp-24) 0; }
.section--lg { padding: var(--sp-32) 0; }
.section--sm { padding: var(--sp-16) 0; }
.section-alt { background: var(--surface-1); }

.section-header { margin-bottom: var(--sp-12); }
.section-header .lede { margin-top: var(--sp-4); }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: var(--sp-24);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  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: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse, rgba(232,178,58,0.07) 0%, transparent 65%);
}
.hero-glow-blue {
  position: absolute;
  top: 80px; right: -300px;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(91,141,239,0.05) 0%, transparent 65%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--sp-16);
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 5px 13px;
  background: rgba(232,178,58,0.08);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.hero h1 { color: var(--text-primary); margin-bottom: var(--sp-6); }
.hero h1 .serif-accent {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: -0.04em;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-8); }

.demo-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 12px 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: not-allowed;
  opacity: 0.65;
}
.demo-audio-btn .play-wrap {
  width: 26px; height: 26px;
  background: var(--surface-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding-left: 2px;
  font-size: 0.65rem;
}

/* --- Hero Call Widget ----------------------------------------------------- */
.hero-widget {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.widget-title {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
}
.widget-status { display: flex; align-items: center; gap: var(--sp-2); }
.widget-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--muted);
  transition: background var(--dur-mid);
  flex-shrink: 0;
}
.widget-dot.active {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 6px rgba(34,197,94,0.5); }
  50%       { box-shadow: 0 0 14px rgba(34,197,94,0.8); }
}
.widget-status-text {
  font-family: var(--font-head);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.widget-body { padding: var(--sp-5); }

/* Waveform */
.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 44px;
  margin-bottom: var(--sp-4);
}
.wave-bar {
  width: 3px;
  border-radius: 2px;
  background: var(--jq);
  opacity: 0.25;
  height: 6px;
  transition: height 0.15s, opacity 0.15s;
}
.waveform.active .wave-bar { opacity: 0.7; animation: wave-anim 1.2s ease-in-out infinite; }
.waveform.active .wave-bar:nth-child(2)  { animation-delay: 0.1s; }
.waveform.active .wave-bar:nth-child(3)  { animation-delay: 0.2s; }
.waveform.active .wave-bar:nth-child(4)  { animation-delay: 0.3s; }
.waveform.active .wave-bar:nth-child(5)  { animation-delay: 0.15s; }
.waveform.active .wave-bar:nth-child(6)  { animation-delay: 0.25s; }
.waveform.active .wave-bar:nth-child(7)  { animation-delay: 0.05s; }
.waveform.active .wave-bar:nth-child(8)  { animation-delay: 0.35s; }
.waveform.active .wave-bar:nth-child(9)  { animation-delay: 0.2s; }
.waveform.active .wave-bar:nth-child(10) { animation-delay: 0.1s; }
.waveform.active .wave-bar:nth-child(11) { animation-delay: 0.3s; }
.waveform.active .wave-bar:nth-child(12) { animation-delay: 0.05s; }
@keyframes wave-anim { 0%, 100% { height: 6px; } 50% { height: 32px; } }

/* Dialogue */
.sim-dialogue-box {
  height: 170px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-3);
  background: var(--surface-0);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-4);
  border: 1px solid var(--border);
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}
.sim-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  padding: var(--sp-6);
}
.dialogue-bubble {
  max-width: 88%;
  padding: 7px 11px;
  border-radius: var(--r-md);
  font-size: 0.7875rem;
  line-height: 1.5;
  animation: bubble-in var(--dur-mid) var(--ease-out) both;
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dialogue-agent {
  background: var(--jq-soft);
  color: var(--text-secondary);
  border-bottom-left-radius: 3px;
  align-self: flex-start;
  border: 1px solid rgba(91,141,239,0.15);
}
.dialogue-candidate {
  background: var(--surface-2);
  color: var(--text-primary);
  border-bottom-right-radius: 3px;
  align-self: flex-end;
  border: 1px solid var(--border);
}
.widget-action { text-align: center; }

/* Scorecard reveal */
.scorecard-reveal {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  background: var(--surface-0);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--r-md);
  display: none;
}
.scorecard-reveal.visible { display: block; animation: fade-up var(--dur-mid) var(--ease-out); }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.scorecard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}
.score-big {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: #22c55e;
  line-height: 1;
}
.score-label { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-head); margin-top: 3px; }
.scorecard-checks { display: flex; flex-direction: column; gap: 6px; }
.scorecard-check {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.7875rem;
  color: var(--text-secondary);
}
.check-icon {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #4ade80;
  flex-shrink: 0;
}

/* --- Pills ---------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-head);
}
.pill-pass  { background: rgba(34,197,94,0.1);  color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.pill-jq    { background: var(--jq-soft);        color: var(--jq); border: 1px solid rgba(91,141,239,0.2); }
.pill-gold  { background: rgba(232,178,58,0.1);  color: var(--gold); border: 1px solid var(--border-gold); }

/* --- Problem section ------------------------------------------------------ */
.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}
.problem-stats { display: flex; flex-direction: column; gap: var(--sp-4); }
.problem-stat {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--dur-mid);
}
.problem-stat:hover { border-color: rgba(232,178,58,0.2); }
.stat-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: rgba(232,178,58,0.08);
  border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 3px;
}
.stat-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; }

/* --- How it works --------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.6% + 20px);
  right: calc(16.6% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), var(--jq-dim));
  opacity: 0.35;
  pointer-events: none;
}
.step-card {
  padding: var(--sp-6);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--dur-mid), transform var(--dur-mid) var(--ease-out);
}
.step-card:hover { border-color: rgba(91,141,239,0.3); transform: translateY(-4px); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--sp-5);
}
.step-card h3 { font-size: 1.05rem; margin-bottom: var(--sp-3); }
.step-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* --- Features grid -------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-4);
}
.feature-card {
  padding: var(--sp-6);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}
.feature-card:hover { border-color: rgba(91,141,239,0.25); transform: translateY(-3px); }
.feature-card--compliance {
  border-color: var(--border-gold);
  background: linear-gradient(135deg, var(--surface-1), rgba(232,178,58,0.025));
}
.feature-card--compliance:hover { border-color: rgba(232,178,58,0.4); }
.feature-icon-wrap {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--jq-soft);
  border: 1px solid rgba(91,141,239,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.feature-card--compliance .feature-icon-wrap {
  background: rgba(232,178,58,0.08);
  border-color: var(--border-gold);
}
.feature-card h3 { font-size: 1rem; margin-bottom: var(--sp-3); }
.feature-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* --- Compliance callout --------------------------------------------------- */
.compliance-bar {
  padding: var(--sp-10) 0;
  background: linear-gradient(135deg, rgba(232,178,58,0.05) 0%, transparent 60%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}
.compliance-inner { display: flex; align-items: center; gap: var(--sp-16); }
.compliance-label { flex-shrink: 0; max-width: 300px; }
.compliance-label h3 { font-size: 1.3rem; margin-bottom: var(--sp-3); }
.compliance-label p  { font-size: 0.9rem; color: var(--text-secondary); }
.compliance-tags { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.compliance-tag {
  padding: 7px 16px;
  background: rgba(232,178,58,0.07);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
}

/* --- Who we serve --------------------------------------------------------- */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.serve-card {
  padding: var(--sp-8) var(--sp-6);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--dur-mid), transform var(--dur-mid) var(--ease-out);
}
.serve-card:hover { border-color: rgba(91,141,239,0.25); transform: translateY(-4px); }
.serve-eyebrow {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.serve-card h3 { font-size: 1.15rem; margin-bottom: var(--sp-4); }
.serve-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: var(--sp-5); }
.serve-features { display: flex; flex-direction: column; gap: var(--sp-2); }
.serve-feat {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.serve-feat::before { content: '✦'; color: var(--jq); font-size: 0.6rem; flex-shrink: 0; }

/* --- Integrations --------------------------------------------------------- */
.integrations-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-10);
}
.integration-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.integration-chip:hover { border-color: rgba(91,141,239,0.3); color: var(--text-primary); }
.chip-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
}

/* --- FAQ ------------------------------------------------------------------ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 760px;
  margin: 0 auto;
}
details {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur-mid);
}
details[open] { border-color: rgba(91,141,239,0.25); }
details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  transition: color var(--dur-fast);
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--dur-mid) var(--ease-out);
  font-weight: 300;
}
details[open] summary::after { transform: rotate(45deg); }
details > p {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* --- CTA block ------------------------------------------------------------ */
.cta-block { max-width: 640px; margin: 0 auto; text-align: center; }
.cta-block h2 { margin-bottom: var(--sp-4); }
.cta-block .lede { margin: 0 auto var(--sp-8); }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--sp-3); }

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: var(--sp-16) 0 var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--sp-4); }
.footer-gk {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 290px;
}
.footer-family-note {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 6px 12px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  line-height: 1.5;
}
.footer-family-note a {
  color: var(--gold);
  font-weight: 500;
  transition: color var(--dur-fast);
}
.footer-family-note a:hover { color: var(--gold-bright); }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a  { font-size: 0.875rem; color: var(--text-secondary); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-bottom p { font-size: 0.8125rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: var(--sp-5); }
.footer-bottom-links a { font-size: 0.8125rem; color: var(--text-muted); transition: color var(--dur-fast); }
.footer-bottom-links a:hover { color: var(--text-secondary); }

/* --- Scroll reveal -------------------------------------------------------- */
.reveal { transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.reveal-pending { opacity: 0; transform: translateY(20px); }

/* --- Utilities ------------------------------------------------------------ */
.gold { color: var(--gold); }
.jq   { color: var(--jq); }
.text-muted { color: var(--text-muted); }
.divider { height: 1px; background: var(--border); margin: var(--sp-16) 0; }

/* --- Inner page hero ------------------------------------------------------ */
.page-hero {
  padding: 140px 0 var(--sp-16);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3.2rem); margin-bottom: var(--sp-4); }

/* --- Prose ---------------------------------------------------------------- */
.prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 70ch;
}
.prose h2 { font-size: 1.5rem; margin: var(--sp-10) 0 var(--sp-4); color: var(--text-primary); }
.prose h3 { font-size: 1.2rem; margin: var(--sp-8) 0 var(--sp-3); color: var(--text-primary); }
.prose p  { margin-bottom: var(--sp-5); }
.prose ul { padding-left: var(--sp-5); list-style: disc; margin-bottom: var(--sp-5); }
.prose li { margin-bottom: var(--sp-2); }

/* === Responsive =========================================================== */
@media (max-width: 1024px) {
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .hero-inner     { grid-template-columns: 1fr; }
  .hero-widget    { display: none; }
  .problem-layout { grid-template-columns: 1fr; }
  .serve-grid     { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .compliance-inner { flex-direction: column; align-items: flex-start; gap: var(--sp-6); }
}

@media (max-width: 768px) {
  .section     { padding: var(--sp-16) 0; }
  .section--lg { padding: var(--sp-20) 0; }
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    top: 60px;
    background: rgba(10,10,12,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-8) var(--sp-6);
    gap: var(--sp-2);
    z-index: var(--z-modal);
    overflow-y: auto;
  }
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: var(--sp-2);
    position: relative;
    z-index: calc(var(--z-modal) + 1);
  }
  .nav-toggle-label span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--dur-mid), opacity var(--dur-mid);
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-dropdown .dropdown-content {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    margin: var(--sp-2) 0 0 var(--sp-4);
    border: none;
    background: transparent;
    padding: 0;
  }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions  { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

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

/* === Inner-page utilities ================================================= */

/* TL;DR callout box */
.tldr {
  padding: var(--sp-5) var(--sp-6);
  background: var(--surface-2);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-10);
}
.tldr strong { color: var(--gold); }

/* Prose table */
.prose-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: var(--sp-8);
}
.prose-table th,
.prose-table td {
  padding: 11px var(--sp-4);
  border: 1px solid var(--border);
  text-align: left;
  color: var(--text-secondary);
  line-height: 1.55;
}
.prose-table thead th {
  background: var(--surface-2);
  color: var(--text-primary);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.prose-table tbody th {
  font-weight: 600;
  color: var(--text-primary);
  background: var(--surface-1);
  white-space: nowrap;
}
.prose-table tbody tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
.prose-table td strong { color: var(--text-primary); }

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
}
.pricing-card {
  padding: var(--sp-8) var(--sp-6);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}
.pricing-card:hover { border-color: rgba(91,141,239,0.25); transform: translateY(-3px); }
.pricing-card.featured {
  border-color: var(--border-gold);
  background: linear-gradient(135deg, var(--surface-1), rgba(232,178,58,0.035));
}
.pricing-card.featured:hover { border-color: rgba(232,178,58,0.45); }
.card-badge {
  position: absolute;
  top: -12px;
  left: var(--sp-6);
  padding: 3px 12px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
}
.plan-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}
.plan-price {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--sp-4);
}
.plan-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  flex-grow: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.plan-features li::before {
  content: '✦';
  color: var(--jq);
  font-size: 0.6rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Pricing toggle */
.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}
.toggle-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--dur-fast);
}
.toggle-label.active { color: var(--text-primary); }
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 28px;
  transition: background var(--dur-mid);
}
.slider::before {
  content: '';
  position: absolute;
  height: 20px; width: 20px;
  left: 3px; bottom: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform var(--dur-mid), background var(--dur-mid);
}
input:checked + .slider { background: rgba(91,141,239,0.25); border-color: rgba(91,141,239,0.3); }
input:checked + .slider::before { transform: translateX(24px); background: var(--jq); }
.pricing-pane { display: block; }
.pricing-pane.hidden { display: none; }

/* ROI Calculator */
.roi-calculator {
  padding: var(--sp-8);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  max-width: 760px;
  margin: 0 auto;
}
.calc-slider-group { margin-bottom: var(--sp-8); }
.calc-label-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--sp-4);
}
.calc-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--jq);
}
.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: var(--surface-3);
  outline: none;
  cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--jq);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(91,141,239,0.4);
  transition: box-shadow var(--dur-fast);
}
.calc-slider::-webkit-slider-thumb:hover { box-shadow: 0 0 14px rgba(91,141,239,0.6); }
.calc-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--jq);
  cursor: pointer;
  border: none;
}
.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}
.calc-result-box {
  padding: var(--sp-5) var(--sp-6);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-align: center;
}
.result-val {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.result-val.gold { color: var(--gold); }

/* Article blog listing */
.blog-card {
  padding: var(--sp-6);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur-mid);
}
.blog-card:hover { border-color: rgba(91,141,239,0.25); }
.blog-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

/* Section-level alt background (used inline) */
.section.alt { background: var(--surface-1); }

/* Compact ordered/unordered list inside prose sections */
.inner-list {
  margin-left: var(--sp-5);
  margin-bottom: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.inner-list li { list-style: disc; }
.inner-list.ordered li { list-style: decimal; }
.inner-list li strong { color: var(--text-primary); }

/* --- applied brand logo (nav) --- */
.nav-logo{display:flex;align-items:center;text-decoration:none;}
.nav-logo .logo-plate{display:inline-flex;align-items:center;background:var(--paper,#F7F6F2);padding:4px 8px;border-radius:9px;box-shadow:0 1px 4px rgba(0,0,0,.22);margin-right:.5rem;}
.nav-logo .logo-plate .logo-img{height:24px;width:auto;display:block;}
