/* =============================================================
   NICHENCY -- WEB DESIGN
   assets/css/pages/web-design.css

   Loaded conditionally via is_page_template( 'template-web-design.php' )
   in functions.php. Never loaded on any other page.

   All selectors prefixed wd- (Web Design).
   No shared theme class is redefined here.

   Shared classes used but NOT defined in this file:
     layout/containers.css : .container .section .section-alt .section-header
                             .section-inner .hero-section .hero-buttons
     core/typography.css   : .eyebrow .section-headline .section-sub .hero-eyebrow
                             (base h1-h5, p, a styles inherited)
     components/buttons.css: .btn .btn-ghost .btn-primary .btn-secondary .btn-group
     components/forms.css  : .nichency-form-card (all rules scoped to
                             .nichency-form-wrapper -- does NOT apply to this
                             page's .wd-form-card; base field styles are defined
                             below under LEAD FORM)
     components/cards.css  : .card .card-dark
     core/variables.css    : all CSS custom properties referenced below

   All colours reference CSS custom properties from core/variables.css:
     --dark-blue --hero-bg --white --border --text --muted
   Exception: rgba() values where no split-channel token exists are
   documented inline with their source hex value.

   Plain ASCII comments only.
   ============================================================= */

/* -- LAYOUT -- */
/* max-width 1100px matches var(--max) from core/variables.css */
.wd-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.wd-section { padding: 80px 0; width: 100%; }
.wd-section-alt { background: var(--hero-bg); }

/* -- IN-PAGE SCROLL NAV -- */
/* top: 84px = WP desktop header height. Adjusted per breakpoints below. */
.wd-page-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 84px;
  z-index: 90;
  width: 100%;
}

.wd-page-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.wd-page-nav-inner::-webkit-scrollbar { display: none; }

.wd-page-nav-link {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  padding: 14px 16px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  text-decoration: none;
  flex-shrink: 0;
}
.wd-page-nav-link:hover { color: var(--dark-blue); border-bottom-color: var(--dark-blue); }
.wd-page-nav-link.wd-nav-active { color: var(--dark-blue); border-bottom-color: var(--dark-blue); font-weight: 600; }

/* -- SECTION HEADER -- */
.wd-section-header { text-align: center; margin-bottom: 56px; }
.wd-section-header-sm { margin-bottom: 32px; }

.wd-section-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 16px;
  line-height: 1.2;
}

/* Left-aligned headline variant */
.wd-headline-left {
  text-align: left;
  margin-bottom: 24px;
}

.wd-section-sub {
  font-family: 'Karla', sans-serif;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* -- EYEBROW -- */
.wd-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark-blue);
  border: 1px solid var(--dark-blue);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.wd-dark-section .wd-eyebrow {
  color: var(--hero-bg);
  border-color: rgba(255, 255, 255, 0.4); /* --white at 40% opacity -- no split token available */
}

/* -- BUTTONS -- */
.wd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 40px;
  border-radius: 4px;
  border: 1px solid var(--dark-blue);
  background: var(--dark-blue);
  color: var(--white);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
}
.wd-btn:hover {
  background: transparent;
  color: #000; /* intentional: pure-black hover contrast -- no theme token */
  border-color: var(--dark-blue);
}

.wd-btn-ghost {
  background: transparent;
  color: #000; /* intentional: pure-black base -- no theme token */
  border-color: var(--dark-blue);
}
.wd-btn-ghost:hover {
  background: #000; /* intentional: pure-black -- no theme token */
  color: var(--white);
  border-color: #000; /* intentional */
}

/* Full-width button variant */
.wd-btn-full {
  width: 100%;
  justify-content: center;
}

.wd-btn-group { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.wd-dark-section .wd-btn         { background: var(--white); color: var(--dark-blue); border-color: var(--white); }
.wd-dark-section .wd-btn:hover   { background: transparent; color: var(--white); border-color: var(--white); }
.wd-dark-section .wd-btn-ghost   { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); /* --white at 50% */ }
.wd-dark-section .wd-btn-ghost:hover { background: var(--white); color: var(--dark-blue); border-color: var(--white); }

/* -- HERO -- */
.wd-hero {
  background: var(--hero-bg);
  padding: 100px 0 80px;
  text-align: center;
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.wd-hero-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--dark-blue);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.wd-hero-subheadline {
  font-family: 'Karla', sans-serif;
  font-size: 1.1rem;
  max-width: 660px;
  margin: 0 auto 16px;
  color: var(--muted);
  line-height: 1.75;
}

.wd-hero-trust {
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 40px;
  font-style: italic;
}

.wd-hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* -- PROSE UTILITIES -- */
/* Centred prose paragraph with max-width */
.wd-prose-centered {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
  margin-bottom: 24px;
}
.wd-prose-mb-lg  { margin-bottom: 32px; }
.wd-prose-mb-xl  { margin-bottom: 48px; }
.wd-prose-mb-0   { margin-bottom: 0; }

/* Constrained prose block (centred container, left-aligned text) */
.wd-prose-block {
  max-width: 760px;
  margin: 0 auto 48px;
}
.wd-prose-block p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.wd-prose-block p:last-child { margin-bottom: 0; }

/* Accent italic paragraph */
.wd-text-accent-italic {
  color: var(--dark-blue);
  font-style: italic;
}

/* Small text */
.wd-text-sm { font-size: 15px; }

/* Strong emphasis */
.wd-strong { color: var(--dark-blue); }

/* Margin utilities */
.wd-mb-0  { margin-bottom: 0; }
.wd-mb-md { margin-bottom: 24px; }

/* Inline CTA top margin */
.wd-inline-cta-mt { margin-top: 48px; margin-bottom: 0; }

/* Revenue block top margin */
.wd-revenue-block { margin-top: 48px; }

/* Inline CTA note text */
.wd-cta-note {
  font-size: 14px;
  font-style: italic;
  margin-bottom: 0;
  color: var(--muted);
}

/* Fear accordion closing line */
.wd-fear-closing {
  margin-top: 16px;
  margin-bottom: 0;
  font-style: italic;
  color: var(--dark-blue);
}

/* -- INTRO GRID -- */
.wd-intro-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
  align-items: start;
}

/* min-width: 0 prevents grid children from exceeding their track width.
   CSS Grid tracks have min-width: auto by default, which allows content
   to push columns wider than 1fr on narrow viewports. */
.wd-intro-body,
.wd-intro-aside { min-width: 0; }

.wd-intro-body p:last-child { margin-bottom: 0; }

.wd-highlight-box {
  background: var(--hero-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--dark-blue);
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 24px;
  font-size: 16px;
  color: var(--dark-blue);
  font-style: italic;
  line-height: 1.75;
  font-family: 'Karla', sans-serif;
}

/* Centred highlight box variant */
.wd-highlight-box-centered {
  max-width: 760px;
  margin: 40px auto 0;
}

.wd-intro-aside { display: flex; flex-direction: column; gap: 24px; }

.wd-portrait-block {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px var(--border), 0 12px 28px rgba(19, 15, 73, 0.09); /* --dark-blue rgba shadow -- no split token */
}

.wd-portrait-block img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
}

.wd-portrait-caption {
  padding: 16px 20px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.wd-portrait-caption strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 2px;
}

.wd-portrait-caption span {
  font-family: 'Karla', sans-serif;
  font-size: 13px;
  color: var(--muted);
}

.wd-sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.wd-sidebar-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 12px;
}

.wd-sidebar-card p { margin-bottom: 16px; }

/* -- PROBLEM QUOTE -- */
.wd-problem-quote {
  background: var(--dark-blue);
  border-radius: 12px;
  padding: 48px;
  margin: 40px 0;
  text-align: center;
}
.wd-problem-quote p {
  font-family: 'Karla', sans-serif;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85); /* --white at 85% -- no split token */
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* -- RESULTS -- */
.wd-results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.wd-result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  transition: border-color .2s;
}
.wd-result-card:hover { border-color: var(--dark-blue); }

/* Muted card variant */
.wd-card-muted {
  background: rgba(19, 15, 73, 0.04); /* --dark-blue at 4% -- no split token */
  border-color: transparent;
}

/* Highlighted card variant */
.wd-card-highlighted { border-color: var(--dark-blue); }

.wd-result-card-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}

.wd-result-card h3 { font-size: 1.3rem; color: var(--dark-blue); margin-bottom: 16px; }
.wd-result-card p  { font-size: 15px; line-height: 1.8; margin-bottom: 24px; }

.wd-result-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }

.wd-stat-pill {
  background: var(--hero-bg);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
}

.wd-stat-number {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-blue);
  line-height: 1.2;
}

.wd-stat-label {
  display: block;
  font-family: 'Karla', sans-serif;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* -- COMPARE GRID -- */
.wd-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto 48px;
}

/* -- STRATEGY STEPS -- */
.wd-steps-list { display: flex; flex-direction: column; gap: 24px; }

.wd-step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  align-items: start;
  transition: border-color .2s;
}
.wd-step-card:hover { border-color: var(--dark-blue); }

.wd-step-number {
  width: 56px;
  height: 56px;
  background: var(--hero-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-blue);
  flex-shrink: 0;
}

.wd-step-content h4 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--dark-blue); margin-bottom: 10px; }
.wd-step-content p  { margin-bottom: 0; font-size: 15px; }

/* -- INLINE CTA BANNER -- */
.wd-inline-cta {
  background: var(--hero-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 48px 0;
}

.wd-inline-cta-icon { font-size: 2rem; flex-shrink: 0; }
.wd-inline-cta-body { flex: 1; }
.wd-inline-cta-body h4 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--dark-blue); margin-bottom: 6px; }
.wd-inline-cta-body p  { margin-bottom: 0; font-size: 15px; }
.wd-inline-cta-actions { flex-shrink: 0; }

/* -- TECH JOURNEY -- */
.wd-tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.wd-tech-body h3 { font-size: 1.4rem; color: var(--dark-blue); margin-bottom: 16px; }
.wd-tech-body p  { font-size: 15px; }

.wd-journey-list { display: flex; flex-direction: column; }

.wd-journey-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.wd-journey-item:last-child { border-bottom: none; }

.wd-journey-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 6px;
}
.wd-journey-item.wd-journey-current .wd-journey-dot { background: var(--dark-blue); }

.wd-journey-item-label { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; color: var(--dark-blue); display: block; margin-bottom: 4px; }
.wd-journey-item-desc  { font-family: 'Karla', sans-serif; font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 0; }

.wd-ownership-card { background: var(--dark-blue); border-radius: 12px; padding: 36px; margin-top: 24px; }
.wd-ownership-card h4 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--hero-bg); margin-bottom: 16px; }
.wd-ownership-card p  { color: rgba(239, 251, 248, 0.75); font-size: 15px; margin-bottom: 16px; } /* --hero-bg at 75% -- no split token */
.wd-ownership-card p:last-child { margin-bottom: 0; }

/* -- PERFORMANCE PILLARS -- */
.wd-perf-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.wd-perf-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  transition: border-color .2s;
}
.wd-perf-card:hover { border-color: var(--dark-blue); }

.wd-perf-card-num { display: block; font-family: 'Inter', sans-serif; font-size: 2rem; font-weight: 700; color: var(--dark-blue); margin-bottom: 12px; opacity: 0.15; }
.wd-perf-card h4  { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--dark-blue); margin-bottom: 12px; }
.wd-perf-card p   { font-size: 15px; margin-bottom: 0; }

/* -- FIVE-YEAR SECTION -- */
.wd-problems-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }

.wd-problem-item {
  background: rgba(19, 15, 73, 0.04); /* --dark-blue at 4% -- no split token */
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.wd-problem-item-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dark-blue); flex-shrink: 0; margin-top: 8px; }
.wd-problem-item p   { font-size: 15px; color: var(--muted); margin-bottom: 0; line-height: 1.6; }

.wd-engine-swap { background: var(--dark-blue); border-radius: 12px; padding: 48px; margin-top: 48px; }
.wd-engine-swap h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 16px; }
.wd-engine-swap p  { color: rgba(255, 255, 255, 0.75); font-size: 16px; margin-bottom: 16px; } /* --white at 75% -- no split token */
.wd-engine-swap p:last-of-type { margin-bottom: 0; }

/* -- FEARS ACCORDION -- */
.wd-fears-list { display: flex; flex-direction: column; }

.wd-fear-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 16px; }

.wd-fear-header {
  padding: 28px 36px;
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: background .2s;
  user-select: none;
}
.wd-fear-header:hover { background: var(--hero-bg); }
.wd-fear-header h4 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--dark-blue); margin-bottom: 0; line-height: 1.3; }

.wd-fear-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hero-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--dark-blue);
  transition: background .2s, transform .3s;
}
.wd-fear-item.wd-fear-open .wd-fear-toggle { transform: rotate(45deg); background: var(--dark-blue); color: var(--white); border-color: var(--dark-blue); }

.wd-fear-body { display: none; padding: 0 36px 28px; background: var(--white); }
.wd-fear-item.wd-fear-open .wd-fear-body { display: block; }

.wd-fear-body-inner { border-top: 1px solid var(--border); padding-top: 24px; }

.wd-fear-framework { background: var(--hero-bg); border-radius: 8px; padding: 20px 24px; margin-top: 16px; }
.wd-fear-framework-title { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--dark-blue); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 12px; }
.wd-fear-framework-items { list-style: none; padding: 0; margin: 0; }
.wd-fear-framework-items li { font-family: 'Karla', sans-serif; font-size: 15px; color: var(--muted); padding: 6px 0 6px 18px; position: relative; line-height: 1.6; }
.wd-fear-framework-items li::before { content: '->'; position: absolute; left: 0; color: var(--dark-blue); font-size: 13px; }

/* -- FIT SECTION -- */
.wd-fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.wd-fit-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 36px; transition: border-color .2s; }
.wd-fit-card:hover { border-color: var(--dark-blue); }
.wd-fit-card h4 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--dark-blue); margin-bottom: 16px; }
.wd-fit-card p  { font-size: 15px; line-height: 1.8; margin-bottom: 0; }

/* -- VISION / MONDAY SCENE -- */
.wd-vision-block { max-width: 780px; margin: 0 auto; text-align: center; }
.wd-vision-block p { font-size: 1.05rem; line-height: 1.8; }

.wd-monday-scene { background: var(--hero-bg); border: 1px solid var(--border); border-radius: 12px; padding: 48px; margin: 40px 0; text-align: left; }
.wd-monday-scene h3 { font-size: 1.3rem; margin-bottom: 16px; }
.wd-monday-scene p  { font-size: 1rem; line-height: 1.85; margin-bottom: 12px; }
.wd-monday-scene p:last-child { margin-bottom: 0; }

/* -- LEAD FORM -- */
/* Note: components/forms.css is scoped to .nichency-form-wrapper and does NOT
   apply to this page's .wd-form-card. All field base styles are defined here. */
/* scroll-margin-top offsets the sticky site header (~84px) + page nav (~50px)
   so the section is not hidden behind them when the browser scrolls to #wd-lead-form
   after a native form redirect. */
#wd-lead-form { scroll-margin-top: 140px; }
.wd-form-section { background: var(--white); padding: 80px 0; }
.wd-form-wrapper { max-width: 720px; margin: 0 auto; }

.wd-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 20px 40px rgba(19, 15, 73, 0.1); /* --dark-blue at 10% -- no split token */
}

.wd-form-card h3 { font-size: 1.6rem; margin-bottom: 8px; }
.wd-form-card > p { margin-bottom: 32px; font-size: 15px; }

.wd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wd-form-group { margin-bottom: 20px; }

.wd-form-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 6px;
}

/* Base field styles -- components/forms.css does NOT cover these classes */
.wd-form-input,
.wd-form-textarea,
.wd-form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Karla', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  box-sizing: border-box;
  outline: none;
  transition: border-color .2s;
}
.wd-form-input::placeholder,
.wd-form-textarea::placeholder { color: #aaa; }
.wd-form-input:focus,
.wd-form-textarea:focus,
.wd-form-select:focus { border-color: var(--dark-blue); }
.wd-form-textarea { resize: vertical; min-height: 120px; }

.wd-form-submit { width: 100%; padding: 18px 40px; font-size: 16px; }

.wd-form-note { text-align: center; margin-top: 16px; font-size: 13px; color: var(--muted); font-style: italic; margin-bottom: 0; }

.wd-form-success {
  display: none;
  background: var(--hero-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--dark-blue);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  margin-top: 24px;
}
.wd-form-success p { color: var(--dark-blue); font-size: 16px; margin-bottom: 0; font-weight: 600; }

.wd-form-error {
  display: none;
  background: var(--hero-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--dark-blue);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  margin-top: 24px;
}
.wd-form-error p { color: var(--dark-blue); font-size: 16px; margin-bottom: 0; }
.wd-form-error a { color: var(--dark-blue); text-decoration: underline; }

/* -- CTA SECTION -- */
.wd-cta-section { background: var(--dark-blue); padding: 100px 0; text-align: center; }
.wd-cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--white); max-width: 680px; margin: 0 auto 16px; line-height: 1.2; }
.wd-cta-section p  { color: rgba(255, 255, 255, 0.75); max-width: 520px; margin: 0 auto 36px; font-size: 16px; line-height: 1.8; } /* --white at 75% -- no split token */
.wd-cta-tagline { display: block; margin-top: 32px; font-family: 'Karla', sans-serif; font-size: 15px; font-style: italic; color: rgba(255, 255, 255, 0.5); } /* --white at 50% -- no split token */

/* -- RESPONSIVE 900px -- */
@media screen and (max-width: 900px) {
  .wd-page-nav            { top: 76px; }
  .wd-intro-grid          { grid-template-columns: 1fr; gap: 32px; }
  .wd-results-grid        { grid-template-columns: 1fr; }
  .wd-result-stats        { grid-template-columns: repeat(3, 1fr); }
  .wd-compare-grid        { grid-template-columns: 1fr; }
  .wd-tech-grid           { grid-template-columns: 1fr; gap: 32px; }
  .wd-perf-three          { grid-template-columns: 1fr; }
  .wd-problems-list       { grid-template-columns: 1fr; }
  .wd-fit-grid            { grid-template-columns: 1fr; }
  .wd-form-row            { grid-template-columns: 1fr; }
  .wd-inline-cta          { flex-direction: column; align-items: flex-start; gap: 20px; }
  .wd-hero                { padding: 80px 0 60px; }
  .wd-cta-section         { padding: 80px 0; }
}

/* -- RESPONSIVE 600px -- */
@media screen and (max-width: 600px) {
  .wd-container           { padding: 0 20px; }
  .wd-section             { padding: 60px 0; }
  .wd-hero                { padding: 60px 0; }
  .wd-cta-section         { padding: 60px 24px; }
  .wd-engine-swap         { padding: 32px 24px; }
  .wd-problem-quote       { padding: 32px 24px; }
  .wd-monday-scene        { padding: 32px 24px; }
  .wd-form-card           { padding: 32px 24px; }
  .wd-step-card           { grid-template-columns: 1fr; gap: 16px; }
  .wd-result-stats        { grid-template-columns: 1fr 1fr; }
  .wd-fear-header         { padding: 20px 24px; }
  .wd-fear-body           { padding: 0 24px 20px; }
  .wd-form-section        { padding: 60px 0; }
  .wd-page-nav            { top: 60px; }
  .wd-page-nav-inner      { padding: 0 16px; }
  .wd-portrait-block img  { height: 260px; }
}

/* -- RESPONSIVE 380px -- */
@media screen and (max-width: 380px) {
  .wd-container     { padding: 0 16px; }
  .wd-result-stats  { grid-template-columns: 1fr; }
}
