/* ==========================================================================
   Webyne Data Centre — Premium UI Layer  (v3)
   Type:    Sora (display) + Plus Jakarta Sans (text)
   Colour:  midnight ink · electric blue · cyan · amber signal · warm ivory
   Sits on top of Bootstrap 5.3. No build step required.
   --------------------------------------------------------------------------
   1  Tokens         6  Navigation    11 Flow          16 Accordion
   2  Base           7  Hero          12 Split/media   17 CTA band
   3  Layout         8  Page banner   13 Stats         18 Forms
   4  Typography     9  Cards         14 Timeline      19 Footer
   5  Buttons       10  Table         15 Tags & bars   20 Motion  21 Responsive
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Ink — deep midnight rather than plain navy */
  --wdc-ink-900: #060b18;
  --wdc-ink-800: #0a1425;
  --wdc-ink-700: #121f36;
  --wdc-ink:     #111c30;
  --wdc-ink-soft:#33425e;
  --wdc-muted:   #6a7688;

  /* Brand — electric blue through cyan */
  --wdc-brand-800: #063285;
  --wdc-brand-700: #0742a8;
  --wdc-brand:     #0b63e5;
  --wdc-brand-500: #2e86ff;
  --wdc-cyan:      #22c9f0;
  --wdc-cyan-300:  #74e2ff;

  /* Amber signal — used sparingly on figures and micro-accents */
  --wdc-accent:      #f2a93b;
  --wdc-accent-soft: #fbdba6;

  /* Warm neutrals — an ivory ground reads richer than pure white */
  --wdc-paper:   #fbfaf7;
  --wdc-warm-50: #f6f5f1;
  --wdc-warm-100:#efeee9;
  --wdc-line:    #e5e4de;
  --wdc-line-soft:#efeee9;

  /* Back-compat aliases used by older partials */
  --wdc-navy: var(--wdc-ink-800);
  --wdc-navy-2: var(--wdc-ink-700);
  --wdc-navy-3: var(--wdc-ink-900);
  --wdc-blue: var(--wdc-brand);
  --wdc-blue-dark: var(--wdc-brand-700);
  --wdc-blue-light: var(--wdc-brand-500);
  --wdc-cyan-light: var(--wdc-cyan-300);
  --wdc-pale: var(--wdc-warm-50);
  --wdc-pale-2: var(--wdc-paper);

  --wdc-radius-xl:   28px;
  --wdc-radius-lg:   22px;
  --wdc-radius:      18px;
  --wdc-radius-sm:   12px;
  --wdc-radius-pill: 999px;

  --wdc-shadow-sm:  0 2px 10px rgba(6, 11, 24, .05);
  --wdc-shadow:     0 16px 40px rgba(6, 11, 24, .09);
  --wdc-shadow-lg:  0 34px 80px rgba(6, 11, 24, .16);
  --wdc-shadow-brand: 0 16px 34px rgba(11, 99, 229, .26);

  --wdc-font-head: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --wdc-font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wdc-topbar-h: 40px;
  --wdc-nav-h:    78px;
  --wdc-gutter:   max(5vw, 20px);
  --wdc-section-y: clamp(80px, 9vw, 140px);

  --bs-body-font-family: var(--wdc-font-body);
  --bs-body-color: var(--wdc-ink);
  --bs-primary: var(--wdc-brand);
  --bs-primary-rgb: 11, 99, 229;
  --bs-link-color: var(--wdc-brand);
  --bs-link-hover-color: var(--wdc-brand-700);
  --bs-border-color: var(--wdc-line);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--wdc-nav-h) + 20px);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--wdc-font-body);
  font-weight: 400;
  color: var(--wdc-ink);
  background: var(--wdc-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-head {
  font-family: var(--wdc-font-head);
  font-weight: 600;
  letter-spacing: -.032em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img, picture { max-width: 100%; }
img { display: block; height: auto; }

::selection { background: var(--wdc-brand); color: #fff; }
:focus-visible { outline: 3px solid var(--wdc-cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--wdc-brand); color: #fff; padding: 12px 20px;
  font-weight: 700; border-radius: 0 0 var(--wdc-radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout ---------- */
.wdc-container { width: 100%; max-width: 1340px; margin-inline: auto; padding-inline: var(--wdc-gutter); }
.wdc-container-narrow { max-width: 1000px; }
.section { padding-block: var(--wdc-section-y); position: relative; }
.section-tight { padding-block: clamp(56px, 6vw, 88px); }

/* `bg-paper`, not `bg-white` — Bootstrap's .bg-white utility is !important
   and would override the warm ivory ground. */
.bg-paper   { background: var(--wdc-paper); }
.bg-pale    { background: var(--wdc-warm-50); }
.bg-pale-2  { background: var(--wdc-warm-100); }

/* Dark bands carry a faint grain so large fills never look flat */
.bg-navy, .bg-blue, .cta-band { position: relative; }
.bg-navy { background: var(--wdc-ink-900); color: #fff; }
.bg-blue { background: linear-gradient(145deg, #052a6e, #0b4fc0 55%, #0f6ae0); color: #fff; }
.bg-navy::before, .bg-blue::before, .cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.bg-navy > *, .bg-blue > * { position: relative; z-index: 1; }

/* ---------- 4. Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--wdc-brand); margin-bottom: 18px;
}
/* Amber dot + rule — the signature accent */
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--wdc-accent); flex: none;
  box-shadow: 0 0 0 4px rgba(242, 169, 59, .18);
}
.eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .45; flex: none; }
.eyebrow-plain::before, .eyebrow-plain::after { display: none; }
.bg-navy .eyebrow, .bg-blue .eyebrow, .cta-band .eyebrow, .hero .eyebrow, .page-banner .eyebrow { color: var(--wdc-cyan-300); }

.h-display { font-size: clamp(2.9rem, 6.3vw, 5.7rem); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.h-section { font-size: clamp(2rem, 3.9vw, 3.5rem); line-height: 1.09; letter-spacing: -.038em; }
.h-sub     { font-size: clamp(1.3rem, 2vw, 1.72rem); line-height: 1.28; letter-spacing: -.028em; }

h1 em, h2 em, .accent { font-style: normal; color: var(--wdc-brand); }
.bg-navy h1 em, .bg-navy h2 em, .bg-blue h1 em, .bg-blue h2 em,
.hero h1 em, .page-banner h1 em, .cta-band h2 em { color: var(--wdc-cyan); }

.lead-text { font-size: 1.08rem; line-height: 1.85; color: var(--wdc-muted); max-width: 64ch; }
.lead-text p { margin: 0 0 1.15em; }
.lead-text p:last-child { margin-bottom: 0; }
.bg-navy .lead-text, .bg-blue .lead-text { color: #a9b9d2; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; margin-bottom: 62px; }
.section-head > div:first-child { flex: 1 1 auto; min-width: 0; }
.section-head > p { max-width: 470px; margin: 0; line-height: 1.82; color: var(--wdc-muted); flex: 0 1 470px; }
.bg-navy .section-head > p, .bg-blue .section-head > p { color: #a0b1cc; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.section-head-center > p { max-width: 680px; flex: none; }

/* ---------- 5. Buttons — pill geometry ---------- */
.btn-wdc {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(135deg, var(--wdc-brand-700), var(--wdc-brand-500));
  color: #fff; padding: 17px 30px; border: 0;
  border-radius: var(--wdc-radius-pill);
  font-family: var(--wdc-font-body);
  font-weight: 700; font-size: .9rem; line-height: 1; letter-spacing: -.01em;
  box-shadow: var(--wdc-shadow-brand);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.btn-wdc::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s ease;
}
.btn-wdc:hover::after { transform: translateX(120%); }
.btn-wdc:hover, .btn-wdc:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 46px rgba(11,99,229,.36); }
.btn-wdc span[aria-hidden] { font-size: 1.06em; transition: transform .25s ease; }
.btn-wdc:hover span[aria-hidden] { transform: translate(3px, -3px); }

.btn-wdc-ghost { background: transparent; color: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,.32); }
.btn-wdc-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); box-shadow: none; }

.btn-wdc-outline { background: transparent; color: var(--wdc-brand); border: 1px solid var(--wdc-line); box-shadow: none; }
.btn-wdc-outline:hover { color: var(--wdc-brand-700); border-color: var(--wdc-brand); background: rgba(11,99,229,.05); box-shadow: none; }

.btn-wdc-white { background: #fff; color: var(--wdc-brand-700); box-shadow: 0 16px 36px rgba(0,0,0,.24); }
.btn-wdc-white:hover { color: var(--wdc-brand-700); background: #f4f8ff; }

.btn-wdc-sm { padding: 12px 20px; font-size: .78rem; gap: 9px; }

.text-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .88rem; color: var(--wdc-brand); }
.text-link span[aria-hidden] { transition: transform .25s ease; }
.text-link:hover span[aria-hidden] { transform: translateX(4px); }
.bg-navy .text-link, .bg-blue .text-link, .hero .text-link, .page-banner .text-link { color: #fff; }

/* ---------- 6. Navigation ---------- */
.wdc-topbar {
  height: var(--wdc-topbar-h);
  background: var(--wdc-ink-900); color: #8593ab;
  display: flex; align-items: center; gap: 26px;
  padding-inline: var(--wdc-gutter);
  font-size: .76rem; font-weight: 500;
}
.wdc-topbar a { color: #b6c4da; transition: color .2s; }
.wdc-topbar a:hover { color: #fff; }
.wdc-topbar .spacer { margin-left: auto; }
.wdc-topbar .dot { color: var(--wdc-accent); }

.wdc-nav {
  position: sticky; top: 0; z-index: 1030;
  height: var(--wdc-nav-h);
  display: flex; align-items: center; gap: 26px;
  padding-inline: var(--wdc-gutter);
  background: rgba(251, 250, 247, .93);
  border-bottom: 1px solid var(--wdc-line-soft);
  transition: box-shadow .3s ease;
}
/* The frosted-glass blur lives on a pseudo-element: a backdrop-filter on the header itself
   would turn it into the containing block for the position:fixed mobile drawer inside it,
   collapsing the drawer to the header's height. */
.wdc-nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
}
.wdc-nav.is-stuck { box-shadow: 0 10px 34px rgba(6, 11, 24, .08); }

.wdc-brand { display: flex; align-items: center; flex: none; }
.wdc-brand img { width: 154px; height: auto; }

.wdc-nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.wdc-nav-item { position: relative; }
.wdc-nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 14px; border-radius: var(--wdc-radius-pill);
  font-size: .845rem; font-weight: 600; color: #3c4a63;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.wdc-nav-link:hover, .wdc-nav-item:hover > .wdc-nav-link, .wdc-nav-link.is-active {
  color: var(--wdc-brand); background: rgba(11, 99, 229, .07);
}
/* Amber dot marks the active branch */
.wdc-nav-link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--wdc-accent);
  transform: translateX(-50%);
}
.wdc-nav-link .caret { font-size: .58rem; opacity: .6; transition: transform .25s ease; }

.wdc-dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, 10px);
  min-width: 344px; padding: 12px;
  background: #fff; border: 1px solid var(--wdc-line);
  border-radius: var(--wdc-radius-lg); box-shadow: var(--wdc-shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
/* Hover / focus reveal is desktop-only. On touch layouts the tapped item keeps :hover and
   :focus-within, and this rule's translate(-50%) would drag the in-flow accordion panel
   half-way out of the drawer. */
@media (min-width: 1200px) {
  .wdc-nav-item:hover > .wdc-nav-link .caret { transform: rotate(180deg); }
  .wdc-nav-item:hover > .wdc-dropdown, .wdc-nav-item:focus-within > .wdc-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  }
}
.wdc-dropdown::before {
  content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px;
  background: #fff; border-left: 1px solid var(--wdc-line); border-top: 1px solid var(--wdc-line);
  transform: translateX(-50%) rotate(45deg);
}
.wdc-dropdown a {
  position: relative; display: block; padding: 12px 15px; border-radius: 14px;
  font-size: .85rem; font-weight: 600; color: #33425e;
  transition: background .18s ease, color .18s ease, padding-left .18s ease;
}
.wdc-dropdown a small { display: block; font-weight: 400; font-size: .73rem; color: #8b95a8; margin-top: 3px; }
.wdc-dropdown a::before {
  content: ""; position: absolute; left: 6px; top: 50%; width: 3px; height: 0;
  background: var(--wdc-accent); border-radius: 2px; transform: translateY(-50%);
  transition: height .22s ease;
}
.wdc-dropdown a:hover { background: var(--wdc-warm-50); color: var(--wdc-brand); padding-left: 20px; }
.wdc-dropdown a:hover::before { height: 58%; }

.wdc-nav-toggle { display: none; border: 0; background: none; font-size: 1.5rem; line-height: 1; color: var(--wdc-ink); padding: 8px; }
.wdc-nav-backdrop { position: fixed; inset: 0; background: rgba(6,11,24,.55); opacity: 0; visibility: hidden; transition: .3s; z-index: 1020; }
.wdc-nav.is-open ~ .wdc-nav-backdrop { opacity: 1; visibility: visible; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--wdc-ink-900); color: #fff;
  display: grid; align-content: center;
  min-height: clamp(580px, 80vh, 820px);
  padding: clamp(76px, 8vw, 120px) 0 clamp(100px, 9vw, 148px);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(96deg, rgba(6,11,24,.97) 0%, rgba(6,11,24,.9) 36%, rgba(6,11,24,.5) 66%, rgba(6,11,24,.75) 100%),
    linear-gradient(180deg, rgba(6,11,24,.55) 0%, transparent 28%, rgba(6,11,24,.6) 100%);
}
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: -1; opacity: .08; pointer-events: none;
  background-image: linear-gradient(#5fb6ff 1px, transparent 1px), linear-gradient(90deg, #5fb6ff 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: linear-gradient(100deg, #000, transparent 70%);
  mask-image: linear-gradient(100deg, #000, transparent 70%);
}

.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 880px; }
.hero h1 { margin: 24px 0 26px; max-width: 15ch; text-shadow: 0 2px 34px rgba(0,0,0,.34); }
.hero-copy > p { font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.8; color: #c6d2e4; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.badge-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px; border-radius: var(--wdc-radius-pill);
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  font-size: .73rem; font-weight: 600; color: #d6e3f5;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.badge-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--wdc-accent); flex: none; box-shadow: 0 0 8px var(--wdc-accent); }
.badge-chip:hover { border-color: rgba(116,226,255,.6); background: rgba(34,201,240,.14); transform: translateY(-2px); }

/* Elevated metric strip overlapping the hero */
.metric-strip-wrap { position: relative; z-index: 6; margin-top: clamp(-92px, -6.5vw, -58px); }
.metric-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--wdc-line);
  border-radius: var(--wdc-radius-xl); box-shadow: var(--wdc-shadow-lg);
  overflow: hidden;
}
.metric-strip > div { padding: 34px clamp(20px, 2.4vw, 36px); border-left: 1px solid var(--wdc-line-soft); transition: background .3s ease; }
.metric-strip > div:first-child { border-left: 0; }
.metric-strip > div:hover { background: var(--wdc-warm-50); }
.metric-strip strong {
  display: block; font-family: var(--wdc-font-head); font-weight: 600;
  font-size: clamp(1.75rem, 2.7vw, 2.5rem); line-height: 1; letter-spacing: -.045em;
  color: var(--wdc-ink);
}
/* Direct child only — the counter <span> inside <strong> must inherit */
.metric-strip > div > span {
  display: block; margin-top: 12px;
  font-size: .71rem; color: var(--wdc-muted); text-transform: uppercase;
  letter-spacing: .1em; font-weight: 700; line-height: 1.55;
}
.metric-strip > div > span::before {
  content: ""; display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--wdc-accent); margin-bottom: 12px;
}
.metric-strip-wrap + .section { padding-top: clamp(104px, 9.5vw, 160px); }

/* Legacy in-hero rail */
.metric-rail { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(6,11,24,.74); backdrop-filter: blur(14px); border-top: 1px solid rgba(255,255,255,.14); }
.metric-rail > div { padding: 26px clamp(18px,2.2vw,30px); border-left: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; gap: 14px; }
.metric-rail > div:first-child { border-left: 0; }
.metric-rail strong { font-family: var(--wdc-font-head); font-size: clamp(1.5rem,2.3vw,2.05rem); color: #fff; line-height: 1; }
.metric-rail > div > span { font-size: .71rem; color: #9babc7; text-transform: uppercase; letter-spacing: .08em; line-height: 1.45; max-width: 15ch; }

/* ---------- 8. Page banner ---------- */
.page-banner {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--wdc-ink-900); color: #fff;
  padding: clamp(64px, 7.5vw, 112px) 0 clamp(62px, 7vw, 104px);
}
.page-banner .hero-media { position: absolute; inset: 0; z-index: -2; }
/* Banners now come from varied photography — a light desaturation plus the
   brand tint below keeps every page feeling like the same site. */
.page-banner .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.78) contrast(1.04);
}
.page-banner .hero-scrim {
  background:
    /* brand tint for cohesion across different source photos */
    linear-gradient(96deg, rgba(11,99,229,.22), rgba(11,99,229,.06) 70%),
    /* readability ramp: heavy behind the text, open on the right */
    linear-gradient(96deg, rgba(6,11,24,.94) 0%, rgba(6,11,24,.84) 38%, rgba(6,11,24,.46) 74%, rgba(6,11,24,.6) 100%),
    linear-gradient(180deg, rgba(6,11,24,.5), transparent 44%, rgba(6,11,24,.4));
}
.page-banner-inner { position: relative; z-index: 2; max-width: 940px; }
.page-banner h1 { font-size: clamp(2.3rem, 4.7vw, 4.3rem); line-height: 1.05; letter-spacing: -.04em; margin-bottom: 18px; }
.page-banner .tagline { font-family: var(--wdc-font-head); font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.42rem); color: var(--wdc-cyan-300); margin-bottom: 16px; }
.page-banner p { color: #bccadf; line-height: 1.8; max-width: 62ch; margin: 0; }
.page-banner .hero-actions { margin-top: 34px; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: .76rem; color: #8697b3; margin-bottom: 26px; }
.breadcrumbs a { color: #b6c6de; transition: color .2s; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { opacity: .4; }
.breadcrumbs [aria-current] { color: #fff; font-weight: 600; }

/* ---------- 9. Cards ---------- */
.wdc-card {
  position: relative; height: 100%; isolation: isolate;
  background: #fff; border: 1px solid var(--wdc-line);
  border-radius: var(--wdc-radius-lg); padding: 36px 32px;
  transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease, border-color .32s ease;
}
/* Amber rule slides across the top on hover */
.wdc-card::after {
  content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--wdc-accent), var(--wdc-cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.wdc-card:hover { transform: translateY(-6px); box-shadow: var(--wdc-shadow-lg); border-color: #d6d5cd; }
.wdc-card:hover::after { transform: scaleX(1); }

.wdc-card h3 { font-size: 1.24rem; margin-bottom: 12px; }
.wdc-card p { color: var(--wdc-muted); line-height: 1.75; font-size: .915rem; margin: 0; }
.wdc-card .icon {
  width: 56px; height: 56px; border-radius: 18px; margin-bottom: 26px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(150deg, var(--wdc-warm-50), #e9eef8);
  color: var(--wdc-brand); border: 1px solid var(--wdc-line);
  transition: transform .32s cubic-bezier(.22,1,.36,1), background .32s ease, color .32s ease, border-color .32s ease;
}
.wdc-card:hover .icon {
  transform: translateY(-3px) rotate(-6deg);
  background: linear-gradient(150deg, var(--wdc-brand-700), var(--wdc-brand-500));
  color: #fff; border-color: transparent;
  box-shadow: 0 12px 26px rgba(11,99,229,.32);
}
.wdc-card .card-index {
  position: absolute; top: 30px; right: 32px;
  font-family: var(--wdc-font-head); font-size: 1.35rem; font-weight: 600;
  color: var(--wdc-line); transition: color .32s ease;
}
.wdc-card:hover .card-index { color: var(--wdc-accent); }
.wdc-card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .84rem; font-weight: 700; color: var(--wdc-brand); }
.wdc-card-link span[aria-hidden] { transition: transform .25s ease; }
.wdc-card:hover .wdc-card-link span[aria-hidden] { transform: translateX(5px); }

.wdc-card-dark { background: linear-gradient(155deg, #072052, #0b4fc0); border-color: transparent; color: #fff; }
.wdc-card-dark p { color: #c3d5ee; }
.wdc-card-dark .icon { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.18); }

.bg-navy .wdc-card, .bg-blue .wdc-card {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.13); color: #fff; backdrop-filter: blur(6px);
}
.bg-navy .wdc-card p, .bg-blue .wdc-card p { color: #a6b8d4; }
.bg-navy .wdc-card .icon, .bg-blue .wdc-card .icon { background: rgba(255,255,255,.09); color: var(--wdc-cyan-300); border-color: rgba(255,255,255,.16); }
.bg-navy .wdc-card .card-index, .bg-blue .wdc-card .card-index { color: rgba(255,255,255,.22); }
.bg-navy .wdc-card:hover, .bg-blue .wdc-card:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.24); }

/* Hairline grid */
.hairline-grid { display: grid; border: 1px solid rgba(255,255,255,.13); border-radius: var(--wdc-radius-lg); overflow: hidden; }
.hairline-grid > article {
  padding: 40px 34px; border-right: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13);
  min-height: 232px; transition: background .32s ease;
}
.hairline-grid > article:hover { background: rgba(255,255,255,.05); }
.hairline-grid > article > span { color: var(--wdc-accent); font-family: var(--wdc-font-head); font-size: 1.05rem; font-weight: 600; }
.hairline-grid h3 { font-size: 1.2rem; margin: 28px 0 12px; }
.hairline-grid p { color: #99a9c2; font-size: .89rem; line-height: 1.72; margin: 0; }
.hairline-cols-3 { grid-template-columns: repeat(3, 1fr); }
.hairline-cols-4 { grid-template-columns: repeat(4, 1fr); }
.section:not(.bg-navy):not(.bg-blue) .hairline-grid,
.section:not(.bg-navy):not(.bg-blue) .hairline-grid > article { border-color: var(--wdc-line); }
.section:not(.bg-navy):not(.bg-blue) .hairline-grid > article:hover { background: var(--wdc-warm-50); }
.section:not(.bg-navy):not(.bg-blue) .hairline-grid p { color: var(--wdc-muted); }

/* ---------- 10. Comparison table ---------- */
.wdc-table-wrap {
  border: 1px solid var(--wdc-line); border-radius: var(--wdc-radius-xl);
  background: #fff; box-shadow: var(--wdc-shadow); overflow: hidden;
}
.wdc-table { width: 100%; border-collapse: collapse; margin: 0; }

.wdc-table thead th {
  background: var(--wdc-ink-900); color: #fff; text-align: left;
  font-family: var(--wdc-font-body); font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; padding: 20px 28px;
  white-space: nowrap;
}
.wdc-table thead th:first-child { padding-left: 32px; }

.wdc-table tbody tr {
  position: relative;
  transition: background .24s ease;
  border-top: 1px solid var(--wdc-line-soft);
}
/* Amber rail that grows from the top on hover */
.wdc-table tbody tr::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--wdc-accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.wdc-table tbody tr:hover { background: var(--wdc-warm-50); }
.wdc-table tbody tr:hover::after { transform: scaleY(1); }

.wdc-table tbody th,
.wdc-table tbody td { padding: 24px 28px; vertical-align: middle; }
.wdc-table tbody th { padding-left: 32px; text-align: left; font-weight: 600; }
.wdc-table tbody td { font-size: .92rem; line-height: 1.7; color: var(--wdc-muted); }

/* Solution cell: icon tile + name */
.row-head { display: flex; align-items: center; gap: 15px; }
.row-icon {
  width: 44px; height: 44px; flex: none; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.15rem;
  background: linear-gradient(150deg, var(--wdc-warm-50), #e9eef8);
  border: 1px solid var(--wdc-line); color: var(--wdc-brand);
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.wdc-table tbody tr:hover .row-icon {
  background: linear-gradient(150deg, var(--wdc-brand-700), var(--wdc-brand-500));
  color: #fff; border-color: transparent; transform: rotate(-6deg);
}
.row-title {
  font-family: var(--wdc-font-head); font-size: 1.02rem; font-weight: 600;
  color: var(--wdc-ink); line-height: 1.3; transition: color .24s ease;
}
.wdc-table tbody tr:hover .row-title { color: var(--wdc-brand); }
.row-title small {
  display: block; margin-top: 4px;
  font-family: var(--wdc-font-body); font-size: .74rem; font-weight: 500;
  color: var(--wdc-muted); letter-spacing: .01em;
}

/* Trailing arrow */
.wdc-table .row-action { width: 62px; padding-right: 28px; text-align: right; }
.row-link {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--wdc-line); color: var(--wdc-brand);
  font-size: .95rem; background: #fff;
  transition: background .28s ease, color .28s ease, border-color .28s ease, transform .28s ease;
}
.wdc-table tbody tr:hover .row-link {
  background: var(--wdc-brand); color: #fff; border-color: transparent;
  transform: translateX(3px);
}

/* --- Mobile: the table becomes a stack of cards, no sideways scrolling --- */
@media (max-width: 860px) {
  .wdc-table-wrap { border: 0; background: none; box-shadow: none; border-radius: 0; }
  .wdc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wdc-table, .wdc-table tbody, .wdc-table tbody tr, .wdc-table tbody th, .wdc-table tbody td { display: block; width: auto; }

  .wdc-table tbody tr {
    position: relative;
    border: 1px solid var(--wdc-line); border-radius: var(--wdc-radius-lg);
    background: #fff; box-shadow: var(--wdc-shadow-sm);
    padding: 22px 22px 18px; margin-bottom: 14px;
  }
  .wdc-table tbody tr::after { border-radius: var(--wdc-radius-lg) 0 0 var(--wdc-radius-lg); }

  .wdc-table tbody th { padding: 0 0 16px; border-bottom: 1px solid var(--wdc-line-soft); }
  .wdc-table tbody td { padding: 14px 0 0; font-size: .89rem; }

  /* Column header re-introduced as a label above each value */
  .wdc-table tbody td[data-label]::before {
    content: attr(data-label);
    display: block; margin-bottom: 5px;
    font-size: .64rem; font-weight: 700; letter-spacing: .15em;
    text-transform: uppercase; color: var(--wdc-accent);
  }
  .wdc-table .row-action { position: absolute; top: 22px; right: 20px; width: auto; padding: 0; }
}

/* ---------- 11. Flow ---------- */
.flow-strip {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px;
  padding: 30px; border-radius: var(--wdc-radius-xl);
  background: linear-gradient(145deg, #061633, #0a3f8f); color: #fff;
  box-shadow: var(--wdc-shadow);
}
.flow-node {
  flex: 1 1 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 22px 12px; border-radius: 16px; text-align: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13);
  font-family: var(--wdc-font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.flow-node:hover { background: rgba(34,201,240,.18); border-color: rgba(34,201,240,.6); transform: translateY(-4px); }
.flow-node .flow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wdc-accent); box-shadow: 0 0 14px var(--wdc-accent); }
.flow-arrow { display: grid; place-items: center; color: rgba(255,255,255,.3); font-size: 1.1rem; flex: none; }

/* ---------- 12. Split & media ---------- */
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(40px, 5.5vw, 90px); align-items: center; }
.split-reverse > *:first-child { order: 2; }

.split-list { list-style: none; padding: 0; margin: 34px 0 0; }
.split-list li {
  position: relative; padding: 19px 0 19px 40px;
  border-top: 1px solid var(--wdc-line); font-size: .94rem; line-height: 1.72; color: var(--wdc-muted);
}
.split-list li:last-child { border-bottom: 1px solid var(--wdc-line); }
.split-list li strong { display: block; color: var(--wdc-ink); font-family: var(--wdc-font-head); font-weight: 600; font-size: 1.02rem; margin-bottom: 5px; }
.split-list li::before {
  content: ""; position: absolute; left: 2px; top: 26px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--wdc-accent); box-shadow: 0 0 0 4px rgba(242,169,59,.16);
  transition: transform .25s ease;
}
.split-list li:hover::before { transform: scale(1.25); }
.bg-navy .split-list li, .bg-blue .split-list li { border-color: rgba(255,255,255,.15); color: #b3c5e0; }
.bg-navy .split-list li strong, .bg-blue .split-list li strong { color: #fff; }

.media-frame { position: relative; border-radius: var(--wdc-radius-xl); overflow: hidden; box-shadow: var(--wdc-shadow-lg); }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(6,11,24,.55)); pointer-events: none; }
.media-badge {
  position: absolute; left: 26px; bottom: 26px; z-index: 2;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-radius: 18px; padding: 18px 22px; box-shadow: var(--wdc-shadow);
  border-left: 3px solid var(--wdc-accent);
}
.media-badge strong { display: block; font-family: var(--wdc-font-head); font-weight: 600; font-size: 1.62rem; line-height: 1; color: var(--wdc-ink); }
.media-badge span { display: block; margin-top: 7px; font-size: .69rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 700; color: var(--wdc-muted); }

/* ---------- 13. Stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card {
  position: relative; padding: 36px 30px; border-radius: var(--wdc-radius-lg);
  border: 1px solid var(--wdc-line); background: #fff;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.stat-card::before {
  content: ""; position: absolute; left: 30px; top: 0; width: 26px; height: 3px;
  background: var(--wdc-accent); border-radius: 0 0 3px 3px;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--wdc-shadow); border-color: #d6d5cd; }
.stat-value { font-family: var(--wdc-font-head); font-weight: 600; font-size: clamp(2.1rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.045em; color: var(--wdc-ink); }
.stat-label { display: block; margin-top: 14px; font-size: .75rem; text-transform: uppercase; letter-spacing: .11em; color: var(--wdc-muted); font-weight: 700; line-height: 1.55; }
.bg-navy .stat-card, .bg-blue .stat-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.13); }
.bg-navy .stat-value, .bg-blue .stat-value { color: #fff; }
.bg-navy .stat-label, .bg-blue .stat-label { color: #9db0cd; }

/* ---------- 14. Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 27px; height: 2px; background: linear-gradient(90deg, transparent, var(--wdc-line) 12%, var(--wdc-line) 88%, transparent); }
.timeline > article { position: relative; padding-inline: 20px; }
.timeline > article > span {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--wdc-line); display: grid; place-items: center;
  color: var(--wdc-brand); font-family: var(--wdc-font-head); font-weight: 600; font-size: .78rem;
  transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.timeline > article:hover > span {
  background: linear-gradient(140deg, var(--wdc-brand-700), var(--wdc-brand-500));
  color: #fff; border-color: transparent; transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(11,99,229,.34);
}
.timeline b { display: block; color: var(--wdc-accent); font-size: .69rem; letter-spacing: .13em; text-transform: uppercase; margin: 26px 0 9px; font-weight: 700; }
.timeline h3 { font-size: 1.12rem; margin-bottom: 9px; }
.timeline p { font-size: .82rem; line-height: 1.72; color: var(--wdc-muted); margin: 0; }

/* ---------- 15. Tags & bars ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-row span {
  display: inline-block; padding: 10px 18px; border-radius: var(--wdc-radius-pill);
  border: 1px solid var(--wdc-line); font-size: .78rem; font-weight: 600; color: #46556f;
  background: #fff; transition: .25s;
}
.tag-row a span:hover, .tag-row > span:hover { border-color: var(--wdc-accent); color: var(--wdc-ink); background: rgba(242,169,59,.1); transform: translateY(-2px); }
.bg-navy .tag-row span, .bg-blue .tag-row span { border-color: rgba(255,255,255,.22); color: #c6d8f0; background: rgba(255,255,255,.05); }
.bg-navy .tag-row a span:hover, .bg-blue .tag-row a span:hover { border-color: var(--wdc-accent); color: #fff; background: rgba(242,169,59,.18); }

.bar-row { margin: 22px 0; }
.bar-row .bar-head { display: flex; justify-content: space-between; gap: 16px; font-size: .84rem; font-weight: 700; }
.bar-track { display: block; height: 6px; background: var(--wdc-warm-100); margin-top: 10px; border-radius: 3px; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--wdc-brand), var(--wdc-cyan)); transition: width 1.1s cubic-bezier(.22,1,.36,1); }

.orbit { width: 190px; height: 190px; border: 1px solid rgba(116,226,255,.38); border-radius: 50%; position: relative; display: grid; place-items: center; flex: none; }
.orbit::before, .orbit::after { content: ""; position: absolute; border: 1px solid rgba(116,226,255,.22); border-radius: 50%; inset: 28px; }
.orbit::after { inset: 58px; background: linear-gradient(145deg, var(--wdc-brand-700), var(--wdc-brand-500)); box-shadow: 0 0 44px rgba(11,99,229,.55); }
.orbit b { position: relative; z-index: 2; font-family: var(--wdc-font-head); font-weight: 600; font-size: 1.6rem; color: #fff; }
.orbit i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--wdc-accent); box-shadow: 0 0 15px var(--wdc-accent); animation: wdc-orbit-pulse 2.8s ease-in-out infinite; }
.orbit i:nth-child(1) { top: 15px; left: 88px; }
.orbit i:nth-child(2) { bottom: 30px; left: 24px; animation-delay: .55s; }
.orbit i:nth-child(3) { right: 11px; bottom: 62px; animation-delay: 1.1s; }
@keyframes wdc-orbit-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.6); } }

/* ---------- 16. Accordion ---------- */
.wdc-accordion details { border-top: 1px solid var(--wdc-line); padding: 26px 0; }
.wdc-accordion details:last-child { border-bottom: 1px solid var(--wdc-line); }
.wdc-accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 26px;
  font-family: var(--wdc-font-head); font-size: 1.04rem; font-weight: 600; color: var(--wdc-ink);
  transition: color .2s ease;
}
.wdc-accordion summary:hover { color: var(--wdc-brand); }
.wdc-accordion summary::-webkit-details-marker { display: none; }
.wdc-accordion summary span {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wdc-warm-50); color: var(--wdc-brand); font-size: 1.1rem; line-height: 1;
  border: 1px solid var(--wdc-line);
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.wdc-accordion details[open] summary span { transform: rotate(45deg); background: var(--wdc-accent); color: #fff; border-color: transparent; }
.wdc-accordion details > div { overflow: hidden; }
.wdc-accordion details p { color: var(--wdc-muted); font-size: .93rem; line-height: 1.85; padding-right: 50px; margin: 16px 0 0; }
.wdc-accordion details[open] > div { animation: wdc-slide-down .35s ease; }
@keyframes wdc-slide-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 17. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: var(--wdc-ink-900); color: #fff; padding: clamp(80px, 9vw, 128px) 20px;
}
.cta-glow { position: absolute; width: min(820px, 92vw); height: 400px; border-radius: 50%; background: var(--wdc-brand); filter: blur(170px); opacity: .34; left: 50%; top: 45%; transform: translate(-50%,-50%); pointer-events: none; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: linear-gradient(#5fb6ff 1px, transparent 1px), linear-gradient(90deg, #5fb6ff 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
}
.cta-band > *:not(.cta-glow) { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(2.1rem, 4.5vw, 4.1rem); line-height: 1.07; letter-spacing: -.042em; max-width: 20ch; margin: 20px auto 20px; }
.cta-band > p { color: #a9bad4; max-width: 640px; margin: 0 auto 36px; line-height: 1.8; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cta-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 40px; font-size: .83rem; color: #8aa4c8; }
.cta-contact a:hover { color: #fff; }

/* ---------- 18. Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--wdc-line); border-radius: var(--wdc-radius-xl); padding: clamp(28px, 3.5vw, 50px); box-shadow: var(--wdc-shadow); }
/* Partner lockup under a form's submit button (logos come from the section settings). */
.apply-partners {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--wdc-line-soft);
}
.apply-partners-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--wdc-muted);
}
.apply-partners-logos { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 16px; } /* keeps the × with its logos */
.apply-partners-logos img { height: var(--h, 38px); width: auto; display: block; }
.apply-partners-logos .x { color: #b3bdcd; font-size: 1.05rem; line-height: 1; }

.form-label-wdc { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #55637d; margin-bottom: 10px; }
.form-control-wdc {
  width: 100%; padding: 16px 18px; font-size: .94rem; font-family: inherit; color: var(--wdc-ink);
  background: var(--wdc-paper); border: 1px solid var(--wdc-line); border-radius: 14px;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.form-control-wdc:focus { outline: 0; border-color: var(--wdc-brand); background: #fff; box-shadow: 0 0 0 4px rgba(11,99,229,.13); }
.form-control-wdc::placeholder { color: #9aa3b3; }
textarea.form-control-wdc { min-height: 150px; resize: vertical; }
select.form-control-wdc { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236a7688' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.form-error { display: block; margin-top: 7px; font-size: .78rem; font-weight: 600; color: #d92d20; }
.is-invalid-wdc { border-color: #d92d20; background: #fff6f5; }
.form-note { font-size: .79rem; color: #8792a6; line-height: 1.7; }

.contact-detail { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--wdc-line); }
.contact-detail:last-child { border-bottom: 1px solid var(--wdc-line); }
.contact-detail .icon { width: 48px; height: 48px; flex: none; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(150deg, var(--wdc-warm-50), #e9eef8); border: 1px solid var(--wdc-line); color: var(--wdc-brand); font-size: 1.15rem; }
.contact-detail dt { font-size: .71rem; text-transform: uppercase; letter-spacing: .12em; color: #8792a6; font-weight: 700; margin-bottom: 6px; }
.contact-detail dd { margin: 0; font-family: var(--wdc-font-head); font-weight: 600; font-size: 1.02rem; color: var(--wdc-ink); }

.alert-wdc { display: flex; gap: 14px; padding: 18px 22px; border-radius: 14px; font-size: .9rem; line-height: 1.6; margin-bottom: 28px; }
.alert-wdc-success { background: #ecfdf3; border: 1px solid #abefc6; color: #067647; }
.alert-wdc-error { background: #fef3f2; border: 1px solid #fecdca; color: #b42318; }

/* ---------- 19. Footer ---------- */
.wdc-footer { background: var(--wdc-ink-900); color: #8b99b1; padding-top: clamp(64px, 7vw, 100px); font-size: .87rem; }
.wdc-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 58px; }
.wdc-footer img { width: 152px; margin-bottom: 24px; }
.wdc-footer p { line-height: 1.85; max-width: 40ch; margin: 0 0 26px; }
.wdc-footer h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; color: #fff; margin-bottom: 22px; font-family: var(--wdc-font-body); font-weight: 700; }
.wdc-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.wdc-footer ul a { transition: color .2s ease, transform .2s ease; display: inline-block; }
.wdc-footer ul a:hover { color: #fff; transform: translateX(4px); }
.wdc-footer-credits {
  margin: 0; padding-bottom: 20px; max-width: 100%;
  font-size: .7rem; line-height: 1.7; color: #5d6c85;
}
.wdc-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.09); font-size: .78rem; }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); transition: .25s; font-weight: 700; }
.social-row a:hover { background: var(--wdc-accent); border-color: var(--wdc-accent); color: var(--wdc-ink-900); transform: translateY(-3px); }

/* ---------- 19b. Programme pages (fund / grant) ---------- */

/* Hero mark pill — "₹1 CRORE  AI INNOVATION FUND" */
.hero-mark {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px; padding: 8px 14px 8px 8px;
  border: 1px solid rgba(116,226,255,.3); background: rgba(34,201,240,.1);
  border-radius: var(--wdc-radius-pill);
  font-size: .71rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #d6ecfa;
}
.hero-mark > span { background: var(--wdc-cyan); color: var(--wdc-ink-900); padding: 5px 10px; border-radius: var(--wdc-radius-pill); }
.hero-formula { font-family: var(--wdc-font-head); font-weight: 500; font-size: clamp(1.05rem, 1.7vw, 1.45rem); color: #fff; word-spacing: .4em; margin: 0 0 18px; }
.hero-note { display: block; font-size: .78rem; color: #8797b3; margin-top: 24px; }

/* Statement */
.statement { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 92px); align-items: start; }
.statement-lead { font-family: var(--wdc-font-head); font-weight: 500; font-size: 1.28rem; line-height: 1.5; color: var(--wdc-ink); margin: 0 0 20px; }
.pull-quote {
  margin: 32px 0 0; padding: 20px 26px;
  border-left: 3px solid var(--wdc-accent); border-radius: 0 14px 14px 0;
  background: var(--wdc-warm-50);
  font-family: var(--wdc-font-head); font-weight: 600; font-size: 1.1rem; line-height: 1.55; color: var(--wdc-brand-800);
}
.pull-quote cite { display: block; margin-top: 12px; font-family: var(--wdc-font-body); font-style: normal; font-weight: 700; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--wdc-muted); }
.bg-navy .statement-lead { color: #fff; }
.bg-navy .pull-quote { background: rgba(255,255,255,.06); color: #dbe8fb; }

/* Checklist */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 17px 0 17px 34px; border-bottom: 1px solid var(--wdc-line); color: var(--wdc-muted); line-height: 1.65; font-size: .95rem; }
.check-list li strong { display: block; color: var(--wdc-ink); font-weight: 600; }
.check-list li strong + span { display: block; margin-top: 3px; font-size: .88rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 16px;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; background: var(--wdc-accent); color: var(--wdc-ink-900);
}
.check-aside {
  padding: 36px; border-radius: var(--wdc-radius-lg);
  background: rgba(11,99,229,.07); border: 1px solid rgba(11,99,229,.16);
}
.check-aside b { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wdc-brand); margin-bottom: 14px; }
.check-aside p { font-family: var(--wdc-font-head); font-weight: 500; font-size: 1.08rem; line-height: 1.9; color: var(--wdc-ink); margin: 0; }
.check-aside small { display: block; margin-top: 16px; font-size: .8rem; color: var(--wdc-muted); }
.bg-navy .check-list li { border-color: rgba(255,255,255,.13); color: #b6c5dd; }
.bg-navy .check-list li strong { color: #fff; }
.bg-navy .check-aside { background: rgba(34,201,240,.1); border-color: rgba(116,226,255,.24); }
.bg-navy .check-aside b { color: var(--wdc-cyan-300); }
.bg-navy .check-aside p { color: #eaf3fd; }
.bg-navy .check-aside small { color: #94a8c6; }

/* Steps */
.steps-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps-grid li {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px;
  background: #fff; border: 1px solid var(--wdc-line); border-radius: var(--wdc-radius);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.steps-grid li:hover { transform: translateY(-4px); box-shadow: var(--wdc-shadow); border-color: #d6d5cd; }
.steps-grid li b {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--wdc-font-head); font-size: .82rem; font-weight: 600;
  background: linear-gradient(150deg, var(--wdc-warm-50), #e9eef8); border: 1px solid var(--wdc-line); color: var(--wdc-brand);
}
.steps-grid li:hover b { background: linear-gradient(150deg, var(--wdc-brand-700), var(--wdc-brand-500)); color: #fff; border-color: transparent; }
.steps-grid li span { font-family: var(--wdc-font-head); font-weight: 600; font-size: .98rem; color: var(--wdc-ink); line-height: 1.3; }
.steps-grid li small { display: block; margin-top: 3px; font-family: var(--wdc-font-body); font-weight: 400; font-size: .78rem; color: var(--wdc-muted); }
.steps-note {
  margin: 30px 0 0; padding: 22px 28px; border-radius: 0 14px 14px 0;
  border-left: 4px solid var(--wdc-accent); background: var(--wdc-warm-50);
  font-size: .9rem; line-height: 1.75; color: var(--wdc-muted);
}

/* Quotes */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote-card { margin: 0; padding: 40px; background: #fff; border: 1px solid var(--wdc-line); border-radius: var(--wdc-radius-lg); position: relative; }
.quote-card::before { content: "“"; position: absolute; top: 14px; left: 30px; font-family: var(--wdc-font-head); font-size: 5rem; line-height: 1; color: var(--wdc-accent); opacity: .5; }
.quote-card p { position: relative; margin: 26px 0 26px; font-family: var(--wdc-font-head); font-weight: 500; font-size: 1.15rem; line-height: 1.65; color: var(--wdc-ink); }
.quote-card footer { padding-top: 20px; border-top: 1px solid var(--wdc-line); }
.quote-card footer b { display: block; color: var(--wdc-brand); }
.quote-card footer span { display: block; font-size: .78rem; color: var(--wdc-muted); margin-top: 2px; }

/* Notice */
.notice-band { padding: 34px 0; background: var(--wdc-warm-100); }
.notice { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: start; }
.notice b { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wdc-ink-soft); padding-top: 3px; }
.notice div { font-size: .78rem; line-height: 1.75; color: var(--wdc-muted); }
.notice div p { margin: 0; }

/* Allocation */
.allocation { display: grid; grid-template-columns: .9fr 1.4fr; gap: 22px; }
.allocation article { background: #fff; border: 1px solid var(--wdc-line); border-radius: var(--wdc-radius-lg); padding: 32px; }
.allocation-feature {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, #072052, #0b4fc0); border-color: transparent !important; padding: 46px !important;
}
.allocation-feature::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -120px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,255,255,.04), 0 0 0 90px rgba(255,255,255,.025);
}
.allocation-number { font-family: var(--wdc-font-head); font-weight: 600; font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: 1; letter-spacing: -.05em; margin-bottom: 36px; }
.allocation-number small { font-size: .42em; color: var(--wdc-cyan-300); margin-left: 4px; }
.allocation-feature .icon { font-size: 2rem; margin-bottom: 18px; color: var(--wdc-cyan-300); }
.allocation h3 { font-size: 1.4rem; margin-bottom: 10px; }
.allocation p { color: var(--wdc-muted); line-height: 1.7; font-size: .92rem; margin: 0; }
.allocation-feature p { color: #c6d7ef; }
.allocation-feature ul { list-style: none; padding: 0; margin: 26px 0 0; position: relative; z-index: 2; }
.allocation-feature li { font-size: .82rem; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.18); color: #e2ecfb; }
.allocation-feature li::before { content: "◆ "; color: var(--wdc-accent); font-size: .6rem; vertical-align: 2px; }
.allocation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.allocation-grid article { position: relative; transition: transform .3s ease, box-shadow .3s ease; }
.allocation-grid article:hover { transform: translateY(-4px); box-shadow: var(--wdc-shadow); }
.allocation-grid .icon { font-size: 1.7rem; color: var(--wdc-brand); margin-bottom: 18px; }
.allocation-grid .value { position: absolute; right: 24px; top: 26px; font-family: var(--wdc-font-head); font-weight: 600; font-size: 1.15rem; color: var(--wdc-brand); }
.fineprint { font-size: .75rem; color: var(--wdc-muted); margin: 20px 0 0; }

/* Criteria */
.criteria-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.criteria, .focus-card { border: 1px solid var(--wdc-line); border-radius: var(--wdc-radius-lg); padding: 42px; background: #fff; }
.criteria h3 { font-size: 1.35rem; margin-bottom: 30px; }
.criteria .bar-row:first-of-type { margin-top: 0; }
.focus-card {
  background: linear-gradient(150deg, #072052, #0b4fc0); color: #fff; border-color: transparent;
  display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 36px;
}
.focus-card .kicker { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--wdc-cyan-300); font-weight: 800; }
.focus-card h3 { font-size: 1.6rem; line-height: 1.3; margin: 12px 0 24px; }
.focus-card .tag-row span { border-color: rgba(255,255,255,.24); color: #d6e6fa; background: rgba(255,255,255,.05); }

/* Application layout */
.apply-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.apply-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.apply-contact a { font-weight: 700; color: var(--wdc-brand); }
.apply-contact a:hover { color: var(--wdc-brand-700); }
.apply-contact span { font-size: .88rem; color: var(--wdc-muted); }
.apply-hashtags { margin-top: 26px; font-size: .78rem; font-weight: 700; color: var(--wdc-accent); letter-spacing: .02em; }

/* Programme links inside the mobile drawer (desktop shows them in the topbar) */
.drawer-programmes { display: none; }
@media (max-width: 1199px) {
  .drawer-programmes {
    display: flex; flex-direction: column; gap: 8px;
    margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--wdc-line);
  }
  .drawer-programmes b { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--wdc-muted); margin-bottom: 4px; }
  .drawer-programmes a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 13px 16px; border-radius: 12px;
    background: var(--wdc-warm-50); border: 1px solid var(--wdc-line);
    font-size: .92rem; font-weight: 700; color: var(--wdc-ink);
  }
  .drawer-programmes a:last-child { background: var(--wdc-accent); border-color: var(--wdc-accent); color: var(--wdc-ink-900); }
  .drawer-programmes a span { color: var(--wdc-accent); }
  .drawer-programmes a:last-child span { color: var(--wdc-ink-900); }
}

/* Topbar programme buttons */
.wdc-topbar .topbar-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--wdc-radius-pill);
  border: 1px solid rgba(255,255,255,.18); color: #fff !important;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.wdc-topbar .topbar-btn span { color: var(--wdc-accent); }
.wdc-topbar .topbar-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); transform: translateY(-1px); }
.wdc-topbar .topbar-btn-accent { background: var(--wdc-accent); border-color: var(--wdc-accent); color: var(--wdc-ink-900) !important; }
.wdc-topbar .topbar-btn-accent span { color: var(--wdc-ink-900); }
.wdc-topbar .topbar-btn-accent:hover { background: #f6b955; border-color: #f6b955; }

@media (max-width: 992px) {
  .statement, .checklist, .quote-grid, .apply-layout, .criteria-wrap, .allocation { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .notice { grid-template-columns: 1fr; gap: 10px; }
  .focus-card { grid-template-columns: 1fr; }
  .focus-card .orbit { margin: 0 auto; }
}
@media (max-width: 640px) {
  .steps-grid, .allocation-grid { grid-template-columns: 1fr; }
  .allocation-feature { padding: 30px !important; }
  .criteria, .focus-card, .quote-card { padding: 28px 22px; }
}

/* ---------- 20. Motion ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="scale"] { transform: scale(.95); }
[data-reveal="fade"]  { transform: none; }
[data-reveal].is-visible { opacity: 1; transform: none; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1040; background: linear-gradient(90deg, var(--wdc-accent), var(--wdc-cyan)); transition: width .1s linear; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1440px) {
  .wdc-nav { gap: 14px; padding-inline: max(2.6vw, 18px); }
  .wdc-nav-link { padding: 10px 9px; font-size: .78rem; }
  .wdc-brand img { width: 132px; }
  .wdc-nav-links > .btn-wdc { padding: 12px 18px; font-size: .73rem; gap: 8px; }
  .wdc-topbar { padding-inline: max(2.6vw, 18px); }
}

@media (max-width: 1200px) {
  .hairline-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 46px; }
  .timeline::before { display: none; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-strip > div:nth-child(odd) { border-left: 0; }
  .metric-strip > div:nth-child(n+3) { border-top: 1px solid var(--wdc-line-soft); }
}

@media (max-width: 1199px) {
  .wdc-topbar { display: none; }
  .wdc-nav-links {
    position: fixed; inset: var(--wdc-nav-h) 0 0 auto; width: min(400px, 88vw);
    height: calc(100vh - var(--wdc-nav-h)); height: calc(100dvh - var(--wdc-nav-h));
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--wdc-paper); padding: 24px; overflow-y: auto;
    border-left: 1px solid var(--wdc-line);
    transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
    box-shadow: -20px 0 60px rgba(6,11,24,.18);
  }
  .wdc-nav.is-open .wdc-nav-links { transform: translateX(0); }
  .wdc-nav-links > .btn-wdc { margin-top: 18px; }
  .wdc-nav-toggle { display: block; margin-left: auto; }
  .wdc-nav-link { padding: 14px 14px; font-size: .96rem; justify-content: space-between; border-radius: 12px; }
  .wdc-nav-link.is-active::after { display: none; }
  .wdc-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; box-shadow: none; border: 0; border-left: 2px solid var(--wdc-line);
    border-radius: 0; margin: 0 0 10px 14px; padding: 0 0 0 8px; display: none;
  }
  .wdc-dropdown::before { display: none; }
  .wdc-nav-item.is-expanded > .wdc-dropdown { display: block; }
  .wdc-nav-item:hover > .wdc-dropdown, .wdc-nav-item:focus-within > .wdc-dropdown,
  .wdc-nav-item.is-expanded > .wdc-dropdown { transform: none; transition: none; }
  .wdc-nav-item.is-expanded > .wdc-nav-link .caret { transform: rotate(180deg); }
}

@media (max-width: 992px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 44px; }
  .section-head > p { flex: 1 1 auto; max-width: 100%; }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse > *:first-child { order: 0; }
  .hairline-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .wdc-footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .metric-strip-wrap { margin-top: clamp(-66px, -5vw, -42px); }
}

@media (max-width: 700px) {
  :root { --wdc-nav-h: 66px; }
  .hero { min-height: auto; padding: 54px 0 72px; }
  .hero h1 { max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-wdc { width: 100%; }
  .hero-actions .text-link { justify-content: center; }
  .metric-strip-wrap { margin-top: -36px; }
  .metric-strip > div { padding: 24px 20px; }
  .hairline-cols-3, .hairline-cols-4 { grid-template-columns: 1fr; }
  .hairline-grid > article { min-height: 0; padding: 30px 24px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-card { padding: 26px 22px; }
  .stat-card::before { left: 22px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline > article { padding-inline: 0 14px; }
  .wdc-footer-grid { grid-template-columns: 1fr; }
  .wdc-card { padding: 30px 24px; }
  .wdc-card::after { left: 24px; right: 24px; }
  .wdc-card .card-index { top: 26px; right: 24px; }
  .flow-strip { padding: 18px; }
  .flow-arrow { display: none; }
  .wdc-footer-bottom { flex-direction: column; }
  .cta-contact { flex-direction: column; gap: 8px; }
  .wdc-accordion details p { padding-right: 0; }
  .media-badge { left: 16px; bottom: 16px; padding: 14px 18px; }
}

@media (max-width: 420px) {
  .metric-strip { grid-template-columns: 1fr; }
  .metric-strip > div { border-left: 0; border-top: 1px solid var(--wdc-line-soft); }
  .metric-strip > div:first-child { border-top: 0; }
  .stat-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .wdc-nav, .wdc-topbar, .cta-band, .wdc-footer, .scroll-progress { display: none !important; }
  body { color: #000; background: #fff; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
