/* Wafercadence — wfc.css — Semiconductor yield intelligence platform */
/* Palette: cool graphite #1C1F26 + signal magenta #E8006F + silicon light #F0F2F5 */
/* Fonts: Geist + JetBrains Mono */

/* ─── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #F0F2F5;
  color: #1C1F26;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.wfc-page--light-top { background: #F0F2F5; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --wfc-graphite:       #1C1F26;
  --wfc-graphite-mid:   #2D3240;
  --wfc-graphite-alt:   #252932;
  --wfc-magenta:        #E8006F;
  --wfc-magenta-dark:   #B5005A;
  --wfc-magenta-light:  #FF4DA6;
  --wfc-teal:           #00C8A0;
  --wfc-amber:          #F5A623;
  --wfc-silicon:        #F0F2F5;
  --wfc-white:          #FFFFFF;
  --wfc-border-dark:    #3A3F52;
  --wfc-border-light:   #DDE1EA;
  --wfc-fg-dark:        #EEF0F4;
  --wfc-fg-dark-muted:  #9AA0B2;
  --wfc-fg-light:       #1C1F26;
  --wfc-fg-light-muted: #4A4F5E;
  --wfc-content-width:  1200px;
  --wfc-nav-height:     64px;
}

/* ─── TYPOGRAPHY TOKENS ─────────────────────────────────────── */
.wfc-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.wfc-section--dark .wfc-eyebrow,
.wfc-section--dark-alt .wfc-eyebrow,
.wfc-hero .wfc-eyebrow,
.wfc-footer .wfc-eyebrow { color: var(--wfc-magenta-light); }

.wfc-section--light .wfc-eyebrow,
.wfc-section--white .wfc-eyebrow { color: var(--wfc-magenta-dark); }

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

.wfc-section { padding: 100px 0; }
.wfc-section--compact { padding: 64px 0; }

@media (max-width: 768px) {
  .wfc-section { padding: 60px 0; }
  .wfc-section--compact { padding: 40px 0; }
}

/* ─── SECTION BACKGROUNDS ───────────────────────────────────── */
.wfc-section--dark {
  background: var(--wfc-graphite);
  color: var(--wfc-fg-dark);
}
.wfc-section--dark-alt {
  background: var(--wfc-graphite-alt);
  color: var(--wfc-fg-dark);
}
.wfc-section--light {
  background: var(--wfc-silicon);
  color: var(--wfc-fg-light);
}
.wfc-section--white {
  background: var(--wfc-white);
  color: var(--wfc-fg-light);
}

/* ─── HEADINGS IN SECTIONS ──────────────────────────────────── */
.wfc-section--dark h1,
.wfc-section--dark h2,
.wfc-section--dark h3,
.wfc-section--dark-alt h1,
.wfc-section--dark-alt h2,
.wfc-section--dark-alt h3 { color: var(--wfc-fg-dark); }

.wfc-section--light h1,
.wfc-section--light h2,
.wfc-section--light h3,
.wfc-section--white h1,
.wfc-section--white h2,
.wfc-section--white h3 { color: var(--wfc-fg-light); }

h1 { font-size: clamp(40px, 6vw, 66px); font-weight: 800; line-height: 1.1; margin: 0 0 24px; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.2; margin: 0 0 20px; }
h3 { font-size: clamp(18px, 2.5vw, 22px); font-weight: 600; line-height: 1.3; margin: 0 0 12px; }
h4 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

/* ─── NAVIGATION ─────────────────────────────────────────────── */
.wfc-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--wfc-nav-height);
  background: var(--wfc-graphite);
  border-bottom: 1px solid var(--wfc-border-dark);
  display: flex;
  align-items: center;
}

.wfc-nav__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.wfc-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.wfc-nav__logo img {
  height: 32px;
  width: auto;
  max-width: 200px;
}

.wfc-nav__logo-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--wfc-fg-dark);
  letter-spacing: -0.01em;
}

.wfc-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.wfc-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--wfc-fg-dark-muted);
  padding: 6px 12px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.wfc-nav__link:hover {
  color: var(--wfc-fg-dark);
  background: rgba(255,255,255,0.06);
}

.wfc-nav__dropdown {
  position: relative;
}

.wfc-nav__dropdown-toggle {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--wfc-fg-dark-muted);
  padding: 6px 12px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.wfc-nav__dropdown-toggle:hover {
  color: var(--wfc-fg-dark);
  background: rgba(255,255,255,0.06);
}

.wfc-nav__dropdown-toggle .wfc-nav__caret {
  font-size: 10px;
  transition: transform 0.2s;
}

.wfc-nav__dropdown.is-open .wfc-nav__caret {
  transform: rotate(180deg);
}

.wfc-nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--wfc-graphite-mid);
  border: 1px solid var(--wfc-border-dark);
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 100;
}

.wfc-nav__dropdown.is-open .wfc-nav__dropdown-menu {
  display: block;
}

.wfc-nav__dropdown-menu a {
  display: block;
  font-size: 13.5px;
  color: var(--wfc-fg-dark-muted);
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.wfc-nav__dropdown-menu a:hover {
  color: var(--wfc-fg-dark);
  background: rgba(255,255,255,0.08);
}

.wfc-nav__cta {
  display: inline-block;
  background: var(--wfc-magenta);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
  margin-left: auto;
  flex-shrink: 0;
}

.wfc-nav__cta:hover {
  background: var(--wfc-magenta-dark);
  color: #fff;
}

.wfc-nav__hamburger {
  display: none;
  background: transparent;
  border: none;
  color: var(--wfc-fg-dark);
  font-size: 20px;
  padding: 8px;
  margin-left: auto;
}

.wfc-nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--wfc-nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--wfc-graphite);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  flex-direction: column;
  gap: 8px;
}

.wfc-nav__mobile-menu.is-open { display: flex; }

.wfc-nav__mobile-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--wfc-fg-dark);
  padding: 12px 16px;
  border-radius: 4px;
  transition: background 0.15s;
}

.wfc-nav__mobile-link:hover { background: rgba(255,255,255,0.06); }

.wfc-nav__mobile-cta {
  display: inline-block;
  background: var(--wfc-magenta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 4px;
  text-align: center;
  margin-top: 8px;
}

.wfc-nav__mobile-group {
  border-top: 1px solid var(--wfc-border-dark);
  padding-top: 8px;
  margin-top: 4px;
}

.wfc-nav__mobile-group-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wfc-fg-dark-muted);
  padding: 8px 16px 4px;
}

/* Light-top page nav — nav is always dark solid (no transparency needed since nav is fixed dark always) */
body.wfc-page--light-top .wfc-nav { background: var(--wfc-graphite); }

/* Main content spacer below fixed nav */
.wfc-nav-spacer { height: var(--wfc-nav-height); }

@media (max-width: 900px) {
  .wfc-nav__links,
  .wfc-nav__cta { display: none; }
  .wfc-nav__hamburger { display: flex; align-items: center; }
}

/* ─── HERO — DARK SUBPAGE ─────────────────────────────────── */
.wfc-subhero {
  background: var(--wfc-graphite);
  color: var(--wfc-fg-dark);
  padding: 72px 0 80px;
}

.wfc-subhero__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
}

.wfc-subhero__text .wfc-eyebrow { color: var(--wfc-magenta-light); }

.wfc-subhero__h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--wfc-fg-dark);
  margin: 0 0 20px;
}

.wfc-subhero__lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--wfc-fg-dark-muted);
  margin: 0;
  max-width: 580px;
}

.wfc-subhero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 900px) {
  .wfc-subhero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .wfc-subhero__visual { justify-content: flex-start; }
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.wfc-btn {
  display: inline-block;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
}

.wfc-btn--primary {
  background: var(--wfc-magenta);
  color: #fff;
}

.wfc-btn--primary:hover {
  background: var(--wfc-magenta-dark);
  color: #fff;
}

.wfc-btn--secondary {
  background: transparent;
  color: var(--wfc-fg-dark);
  border: 1px solid var(--wfc-border-dark);
}

.wfc-btn--secondary:hover {
  background: rgba(255,255,255,0.08);
  color: var(--wfc-fg-dark);
}

.wfc-btn--outline-light {
  background: transparent;
  color: var(--wfc-fg-light);
  border: 1px solid var(--wfc-border-light);
}

.wfc-btn--outline-light:hover {
  background: var(--wfc-silicon);
  color: var(--wfc-fg-light);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.wfc-footer {
  background: var(--wfc-graphite);
  border-top: 1px solid var(--wfc-border-dark);
  padding: 64px 0 0;
}

.wfc-footer__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wfc-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--wfc-border-dark);
}

.wfc-footer__brand-col { }

.wfc-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.wfc-footer__brand img {
  height: 28px;
  width: auto;
}

.wfc-footer__brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--wfc-fg-dark);
}

.wfc-footer__tagline {
  font-size: 13.5px;
  color: var(--wfc-fg-dark-muted);
  line-height: 1.5;
  max-width: 220px;
}

.wfc-footer__col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wfc-fg-dark-muted);
  margin-bottom: 16px;
}

.wfc-footer__col-links { display: flex; flex-direction: column; gap: 10px; }

.wfc-footer__col-links a {
  font-size: 13.5px;
  color: var(--wfc-fg-dark-muted);
  transition: color 0.15s;
}

.wfc-footer__col-links a:hover { color: var(--wfc-fg-dark); }

.wfc-footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wfc-footer__copy {
  font-size: 12px;
  color: var(--wfc-fg-dark-muted);
}

.wfc-footer__contact-line {
  font-size: 12px;
  color: var(--wfc-fg-dark-muted);
}

.wfc-footer__contact-line a {
  color: var(--wfc-fg-dark-muted);
  transition: color 0.15s;
}

.wfc-footer__contact-line a:hover { color: var(--wfc-fg-dark); }

@media (max-width: 900px) {
  .wfc-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .wfc-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .wfc-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── COOKIE BANNER ────────────────────────────────────────── */
.wfc-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--wfc-graphite-alt);
  border-top: 1px solid var(--wfc-border-dark);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.wfc-cookie__text {
  flex: 1;
  font-size: 13.5px;
  color: var(--wfc-fg-dark-muted);
  min-width: 260px;
}

.wfc-cookie__text a {
  color: var(--wfc-magenta-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wfc-cookie__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.wfc-cookie__accept {
  background: var(--wfc-magenta);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.wfc-cookie__accept:hover { background: var(--wfc-magenta-dark); }

.wfc-cookie__essential {
  background: transparent;
  color: var(--wfc-fg-dark-muted);
  border: 1px solid var(--wfc-border-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.wfc-cookie__essential:hover {
  color: var(--wfc-fg-dark);
  border-color: var(--wfc-fg-dark-muted);
}

body.wfc-cookie-visible { padding-bottom: 72px; }

/* ─── LOGO SVG ────────────────────────────────────────────── */
.wfc-logo-svg { display: flex; align-items: center; }

/* ─── BLOG INDEX ─────────────────────────────────────────── */
.wfc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .wfc-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .wfc-blog-grid { grid-template-columns: 1fr; }
}

.wfc-blog-card {
  background: var(--wfc-white);
  border: 1px solid var(--wfc-border-light);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.wfc-blog-card:hover {
  box-shadow: 0 4px 16px rgba(28,31,38,0.12);
  border-color: #C8CDD8;
}

.wfc-blog-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--wfc-graphite-alt);
}

.wfc-blog-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wfc-blog-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #F0E8F4;
  color: var(--wfc-magenta-dark);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.wfc-blog-card__tag--integration {
  background: #E8F5F2;
  color: #007560;
}

.wfc-blog-card__tag--process {
  background: #FFF4E6;
  color: #8A5000;
}

.wfc-blog-card__date {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--wfc-fg-light-muted);
  margin-bottom: 10px;
}

.wfc-blog-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--wfc-fg-light);
  line-height: 1.35;
  margin: 0 0 10px;
  transition: color 0.15s;
}

.wfc-blog-card:hover .wfc-blog-card__title { color: var(--wfc-magenta-dark); }

.wfc-blog-card__excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--wfc-fg-light-muted);
  margin: 0 0 16px;
  flex: 1;
}

.wfc-blog-card__read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--wfc-magenta-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.wfc-blog-card:hover .wfc-blog-card__read-more { gap: 8px; }

/* Blog filters */
.wfc-blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.wfc-blog-filter-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid var(--wfc-border-light);
  background: var(--wfc-white);
  color: var(--wfc-fg-light-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.wfc-blog-filter-btn:hover,
.wfc-blog-filter-btn.is-active {
  background: var(--wfc-magenta);
  color: #fff;
  border-color: var(--wfc-magenta);
}

/* ─── BLOG ARTICLE PAGE ──────────────────────────────────── */
.wfc-article-hero {
  background: var(--wfc-graphite);
  padding: 64px 0 72px;
}

.wfc-article-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.wfc-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.wfc-article-hero__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(232,0,111,0.15);
  color: var(--wfc-magenta-light);
  padding: 3px 10px;
  border-radius: 3px;
  border: 1px solid rgba(255,77,166,0.25);
}

.wfc-article-hero__date {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--wfc-fg-dark-muted);
}

.wfc-article-hero__h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--wfc-fg-dark);
  margin: 0 0 20px;
}

.wfc-article-hero__cover {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  margin-top: 32px;
  background: var(--wfc-graphite-mid);
}

/* Article body */
.wfc-article-body {
  background: var(--wfc-white);
  padding: 64px 0;
}

.wfc-article-body__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--wfc-fg-light);
}

.wfc-article-body__inner h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--wfc-fg-light);
  margin: 40px 0 16px;
  padding-top: 8px;
  border-top: 1px solid var(--wfc-border-light);
}

.wfc-article-body__inner h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--wfc-fg-light);
  margin: 28px 0 10px;
}

.wfc-article-body__inner p { margin: 0 0 18px; }

.wfc-article-body__inner ul,
.wfc-article-body__inner ol {
  list-style: initial;
  padding-left: 28px;
  margin: 0 0 18px;
}

.wfc-article-body__inner li { margin-bottom: 6px; }

.wfc-article-body__inner code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  background: var(--wfc-silicon);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--wfc-magenta-dark);
}

.wfc-article-body__inner pre {
  background: var(--wfc-graphite);
  color: var(--wfc-fg-dark);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.55;
  padding: 20px 24px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 24px 0;
}

.wfc-article-body__inner pre code {
  background: transparent;
  color: var(--wfc-fg-dark);
  padding: 0;
  font-size: inherit;
}

/* Article back link */
.wfc-article-back {
  background: var(--wfc-silicon);
  padding: 32px 0;
}

.wfc-article-back__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.wfc-article-back__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--wfc-magenta-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s;
}

.wfc-article-back__link:hover { gap: 10px; }

/* ─── LEGAL PAGES ────────────────────────────────────────── */
.wfc-legal-hero {
  background: var(--wfc-graphite);
  padding: 60px 0 64px;
}

.wfc-legal-hero__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.wfc-legal-hero__h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: var(--wfc-fg-dark);
  margin: 0 0 12px;
}

.wfc-legal-hero__meta {
  font-size: 13px;
  color: var(--wfc-fg-dark-muted);
  font-family: 'JetBrains Mono', monospace;
}

.wfc-legal-body {
  background: var(--wfc-white);
  padding: 64px 0 80px;
}

.wfc-legal-body__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--wfc-fg-light);
}

.wfc-legal-body__inner h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--wfc-fg-light);
  margin: 48px 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--wfc-magenta);
}

.wfc-legal-body__inner h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--wfc-fg-light);
  margin: 28px 0 10px;
}

.wfc-legal-body__inner p { margin: 0 0 16px; }

.wfc-legal-body__inner ul,
.wfc-legal-body__inner ol {
  list-style: disc;
  padding-left: 28px;
  margin: 0 0 16px;
}

.wfc-legal-body__inner li { margin-bottom: 6px; }

.wfc-legal-body__inner a {
  color: var(--wfc-magenta-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wfc-legal-body__inner a:hover { color: var(--wfc-magenta); }

.wfc-legal-body__inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.wfc-legal-body__inner th {
  background: var(--wfc-silicon);
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--wfc-border-light);
  color: var(--wfc-fg-light);
}

.wfc-legal-body__inner td {
  padding: 9px 14px;
  border: 1px solid var(--wfc-border-light);
  vertical-align: top;
  color: var(--wfc-fg-light);
}

.wfc-legal-body__inner tr:nth-child(even) td { background: #FAFBFC; }

.wfc-legal-highlight {
  background: #FFF0F7;
  border: 1px solid rgba(232,0,111,0.2);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14.5px;
  color: var(--wfc-fg-light);
}

.wfc-legal-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.wfc-legal-right-card {
  border: 1px solid var(--wfc-border-light);
  border-radius: 6px;
  padding: 14px 16px;
}

.wfc-legal-right-card h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wfc-fg-light);
}

.wfc-legal-right-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--wfc-fg-light-muted);
}

/* ─── FADE-IN ANIMATION ──────────────────────────────────── */
.wfc-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.wfc-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Failsafe: 1.2s auto-reveal */
@keyframes wfc-reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── STAT TILES (sub-page hero visual anchor) ────────────── */
.wfc-stat-tiles {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wfc-stat-tile {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--wfc-border-dark);
  border-radius: 6px;
  padding: 16px 20px;
}

.wfc-stat-tile__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--wfc-magenta-light);
  line-height: 1;
  margin-bottom: 4px;
}

.wfc-stat-tile__label {
  font-size: 12px;
  color: var(--wfc-fg-dark-muted);
  line-height: 1.4;
}

/* ─── MONO DATA CALLOUT ──────────────────────────────────── */
.wfc-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--wfc-teal);
}

.wfc-section--light .wfc-mono,
.wfc-section--white .wfc-mono { color: #007560; }

/* ─── RESPONSIVE UTILITIES ───────────────────────────────── */
@media (max-width: 600px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .wfc-subhero__h1 { font-size: 30px; }
  .wfc-article-hero__h1 { font-size: 26px; }
}

/* ─── HERO (INDEX) ───────────────────────────────────────── */
.wfc-hero {
  background: var(--wfc-graphite);
  color: var(--wfc-fg-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--wfc-nav-height);
}

.wfc-hero__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.wfc-hero__eyebrow { color: var(--wfc-magenta-light); }

.wfc-hero__h1 {
  font-size: clamp(40px, 5.5vw, 66px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--wfc-fg-dark);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.wfc-hero__lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--wfc-fg-dark-muted);
  margin: 0 0 36px;
  max-width: 520px;
}

.wfc-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.wfc-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1024px) {
  .wfc-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 24px;
  }
  .wfc-hero__visual { justify-content: flex-start; }
}

/* ─── STATS BAR ──────────────────────────────────────────── */
.wfc-stats-bar {
  background: var(--wfc-white);
  border-bottom: 1px solid var(--wfc-border-light);
}

.wfc-stats-bar__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--wfc-border-light);
}

.wfc-stat-item {
  padding: 36px 28px;
  border-right: 1px solid var(--wfc-border-light);
  text-align: center;
}

.wfc-stat-item:last-child { border-right: none; }

.wfc-stat-item__num {
  display: block;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--wfc-magenta-dark);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.wfc-stat-item__label {
  font-size: 12px;
  color: var(--wfc-fg-light-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .wfc-stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .wfc-stat-item:nth-child(2) { border-right: none; }
  .wfc-stat-item:nth-child(3) { border-top: 1px solid var(--wfc-border-light); }
  .wfc-stat-item:nth-child(4) { border-top: 1px solid var(--wfc-border-light); border-right: none; }
}

@media (max-width: 480px) {
  .wfc-stats-bar__inner { grid-template-columns: 1fr; }
  .wfc-stat-item { border-right: none; border-bottom: 1px solid var(--wfc-border-light); }
  .wfc-stat-item:last-child { border-bottom: none; }
}

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.wfc-hiw__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wfc-hiw__header {
  text-align: center;
  margin-bottom: 60px;
}

.wfc-hiw__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.wfc-hiw__step {
  padding: 36px 28px;
  position: relative;
}

.wfc-hiw__step + .wfc-hiw__step {
  border-left: 1px solid var(--wfc-border-dark);
}

.wfc-hiw__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--wfc-magenta);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  border-radius: 2px;
  margin-bottom: 20px;
}

.wfc-hiw__step h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--wfc-fg-dark);
  margin: 0 0 12px;
}

.wfc-hiw__step p {
  font-size: 14px;
  color: var(--wfc-fg-dark-muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .wfc-hiw__steps { grid-template-columns: 1fr; }
  .wfc-hiw__step + .wfc-hiw__step {
    border-left: none;
    border-top: 1px solid var(--wfc-border-dark);
  }
}

/* ─── CAPABILITY CARDS ──────────────────────────────────── */
.wfc-caps__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wfc-caps__header {
  text-align: center;
  margin-bottom: 48px;
}

.wfc-caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) { .wfc-caps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wfc-caps-grid { grid-template-columns: 1fr; } }

.wfc-cap-card {
  background: var(--wfc-white);
  border: 1px solid var(--wfc-border-light);
  border-radius: 6px;
  padding: 28px;
  transition: border-color 0.15s, transform 0.15s;
}

.wfc-cap-card:hover {
  border-color: var(--wfc-magenta-dark);
  transform: translateY(-2px);
}

.wfc-cap-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(232,0,111,0.08);
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 20px;
  color: var(--wfc-magenta-dark);
}

.wfc-cap-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--wfc-fg-light);
}

.wfc-cap-card p {
  font-size: 13.5px;
  color: var(--wfc-fg-light-muted);
  line-height: 1.6;
  margin: 0;
}

.wfc-cap-card__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--wfc-magenta-dark);
}

.wfc-cap-card__link:hover { text-decoration: underline; }

/* ─── USE CASES ──────────────────────────────────────────── */
.wfc-usecases__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wfc-usecases__header {
  text-align: center;
  margin-bottom: 48px;
}

.wfc-usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) { .wfc-usecases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wfc-usecases-grid { grid-template-columns: 1fr; } }

.wfc-usecase-card {
  background: var(--wfc-graphite-mid);
  border: 1px solid var(--wfc-border-dark);
  border-radius: 6px;
  overflow: hidden;
}

.wfc-usecase-card__img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  background: var(--wfc-graphite);
}

.wfc-usecase-card__body {
  padding: 24px;
}

.wfc-usecase-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--wfc-fg-dark);
  margin: 0 0 10px;
}

.wfc-usecase-card p {
  font-size: 13.5px;
  color: var(--wfc-fg-dark-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── INTEGRATION BADGES ─────────────────────────────────── */
.wfc-integ__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.wfc-integ__header { margin-bottom: 36px; }

.wfc-integ__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.wfc-badge {
  display: inline-block;
  padding: 7px 14px;
  background: var(--wfc-silicon);
  border: 1px solid var(--wfc-border-light);
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  color: var(--wfc-fg-light-muted);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ─── ABOUT STRIP ────────────────────────────────────────── */
.wfc-about-strip__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: center;
}

.wfc-about-strip__portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.wfc-about-strip__portrait-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--wfc-border-light);
  background: var(--wfc-silicon);
}

.wfc-about-strip__portrait-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--wfc-fg-light);
}

.wfc-about-strip__portrait-role {
  font-size: 12px;
  color: var(--wfc-fg-light-muted);
}

.wfc-about-strip__text h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  color: var(--wfc-fg-light);
  margin: 0 0 18px;
  line-height: 1.2;
}

.wfc-about-strip__text p {
  font-size: 15px;
  color: var(--wfc-fg-light-muted);
  line-height: 1.7;
  margin: 0 0 24px;
}

@media (max-width: 900px) {
  .wfc-about-strip__inner { grid-template-columns: 1fr; gap: 40px; }
  .wfc-about-strip__portrait { flex-direction: row; text-align: left; }
}

/* ─── BLOG LATEST STRIP ──────────────────────────────────── */
.wfc-blog-latest__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wfc-blog-latest__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 16px;
}

@media (max-width: 768px) {
  .wfc-blog-latest__header { flex-direction: column; align-items: flex-start; }
}

/* ─── CTA BAND ───────────────────────────────────────────── */
.wfc-cta-band {
  padding: 100px 0;
}

.wfc-cta-band__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.wfc-cta-band__inner h2 {
  color: var(--wfc-fg-dark);
  margin: 0 0 16px;
}

.wfc-cta-band__inner p {
  font-size: 16px;
  color: var(--wfc-fg-dark-muted);
  margin: 0 0 36px;
  line-height: 1.65;
}

.wfc-cta-band__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── SECTION HEADERS (shared) ─────────────────────────── */
.wfc-section-header {
  margin-bottom: 48px;
}

.wfc-section-header--center { text-align: center; }
.wfc-section-header--center p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── FOR FABS / FOR OSAT — PAIN POINTS ──────────────────── */
.wfc-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) { .wfc-pain-grid { grid-template-columns: 1fr; } }

.wfc-pain-card {
  padding: 28px;
  background: var(--wfc-white);
  border: 1px solid var(--wfc-border-light);
  border-radius: 6px;
}

.wfc-pain-card__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--wfc-magenta-dark);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.wfc-pain-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--wfc-fg-light);
  margin: 0 0 10px;
}

.wfc-pain-card p {
  font-size: 13.5px;
  color: var(--wfc-fg-light-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── PROCESS FLOW ────────────────────────────────────────── */
.wfc-flow {
  display: grid;
  gap: 0;
}

.wfc-flow--3 { grid-template-columns: repeat(3, 1fr); }
.wfc-flow--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .wfc-flow--3,
  .wfc-flow--4 { grid-template-columns: 1fr; }
}

.wfc-flow__step {
  padding: 32px 24px;
  position: relative;
}

.wfc-flow__step + .wfc-flow__step { border-left: 1px solid var(--wfc-border-dark); }

@media (max-width: 768px) {
  .wfc-flow__step + .wfc-flow__step {
    border-left: none;
    border-top: 1px solid var(--wfc-border-dark);
  }
}

.wfc-flow__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--wfc-teal);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.wfc-flow__step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--wfc-fg-dark);
  margin: 0 0 8px;
}

.wfc-flow__step p {
  font-size: 13px;
  color: var(--wfc-fg-dark-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── INTEGRATION TABLE ─────────────────────────────────── */
.wfc-table-wrap { overflow-x: auto; }

.wfc-integ-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.wfc-integ-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wfc-fg-light-muted);
  border-bottom: 2px solid var(--wfc-border-light);
  background: var(--wfc-silicon);
  white-space: nowrap;
}

.wfc-integ-table td {
  padding: 10px 14px;
  color: var(--wfc-fg-light);
  border-bottom: 1px solid var(--wfc-border-light);
  vertical-align: middle;
}

.wfc-integ-table tr:hover td { background: var(--wfc-silicon); }

.wfc-check { color: var(--wfc-teal); }
.wfc-partial { color: var(--wfc-amber); }

/* ─── TEAM CARDS ─────────────────────────────────────────── */
.wfc-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) { .wfc-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .wfc-team-grid { grid-template-columns: 1fr; } }

.wfc-team-card {
  background: var(--wfc-white);
  border: 1px solid var(--wfc-border-light);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
}

.wfc-team-card__photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  background: var(--wfc-silicon);
}

.wfc-team-card__body {
  padding: 18px 16px 22px;
}

.wfc-team-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--wfc-fg-light);
  margin: 0 0 4px;
}

.wfc-team-card__title {
  font-size: 11px;
  font-weight: 600;
  color: var(--wfc-magenta-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.wfc-team-card__bio {
  font-size: 13px;
  color: var(--wfc-fg-light-muted);
  line-height: 1.55;
  margin: 0;
}

/* ─── FOUNDING PRINCIPLES ────────────────────────────────── */
.wfc-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) { .wfc-principles { grid-template-columns: 1fr; } }

.wfc-principle {
  padding: 28px;
  background: var(--wfc-white);
  border: 1px solid var(--wfc-border-light);
  border-left: 3px solid var(--wfc-magenta);
  border-radius: 0 6px 6px 0;
}

.wfc-principle__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--wfc-magenta-dark);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.wfc-principle p {
  font-size: 15px;
  font-weight: 600;
  color: var(--wfc-fg-light);
  line-height: 1.45;
  margin: 0;
}

/* ─── TIMELINE ───────────────────────────────────────────── */
.wfc-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--wfc-border-light);
  margin-left: 16px;
}

.wfc-timeline__event {
  position: relative;
  padding: 0 0 32px 32px;
}

.wfc-timeline__event::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--wfc-magenta);
  border-radius: 50%;
  border: 2px solid var(--wfc-white);
}

.wfc-timeline__year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--wfc-magenta-dark);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.wfc-timeline__event h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--wfc-fg-light);
  margin: 0 0 6px;
}

.wfc-timeline__event p {
  font-size: 13.5px;
  color: var(--wfc-fg-light-muted);
  line-height: 1.55;
  margin: 0;
}

/* ─── CONTACT FORM ──────────────────────────────────────── */
.wfc-contact__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}

@media (max-width: 900px) {
  .wfc-contact__inner { grid-template-columns: 1fr; gap: 40px; }
}

.wfc-form { display: flex; flex-direction: column; gap: 20px; }

.wfc-form__group { display: flex; flex-direction: column; gap: 6px; }

.wfc-form__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--wfc-fg-light-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wfc-form__input,
.wfc-form__select,
.wfc-form__textarea {
  padding: 11px 14px;
  border: 1px solid var(--wfc-border-light);
  border-radius: 4px;
  background: var(--wfc-white);
  font-family: inherit;
  font-size: 14px;
  color: var(--wfc-fg-light);
  transition: border-color 0.15s;
  width: 100%;
}

.wfc-form__input:focus,
.wfc-form__select:focus,
.wfc-form__textarea:focus {
  outline: none;
  border-color: var(--wfc-magenta-dark);
}

.wfc-form__textarea { resize: vertical; min-height: 120px; line-height: 1.55; }

.wfc-contact-info { display: flex; flex-direction: column; gap: 20px; }

.wfc-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.wfc-contact-info__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,0,111,0.08);
  border-radius: 4px;
  font-size: 14px;
  color: var(--wfc-magenta-dark);
}

.wfc-contact-info__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wfc-fg-light-muted);
  margin-bottom: 3px;
}

.wfc-contact-info__val {
  font-size: 14px;
  color: var(--wfc-fg-light);
  line-height: 1.5;
}

.wfc-contact-info__val a {
  color: var(--wfc-magenta-dark);
  text-decoration: none;
}

.wfc-contact-info__val a:hover { text-decoration: underline; }

/* ─── PLATFORM ARCHITECTURE DIAGRAM ─────────────────────── */
.wfc-arch-section__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wfc-arch-svg {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 40px auto 0;
}

/* ─── PLATFORM MODULE CARDS ─────────────────────────────── */
.wfc-module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) { .wfc-module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wfc-module-grid { grid-template-columns: 1fr; } }

.wfc-module-card {
  background: var(--wfc-white);
  border: 1px solid var(--wfc-border-light);
  border-radius: 6px;
  padding: 24px;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
  display: block;
}

.wfc-module-card:hover {
  border-color: var(--wfc-magenta-dark);
  transform: translateY(-2px);
}

.wfc-module-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(232,0,111,0.08);
  border-radius: 4px;
  margin-bottom: 14px;
  font-size: 18px;
  color: var(--wfc-magenta-dark);
}

.wfc-module-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--wfc-fg-light);
  margin: 0 0 8px;
}

.wfc-module-card p {
  font-size: 13px;
  color: var(--wfc-fg-light-muted);
  line-height: 1.55;
  margin: 0 0 14px;
}

.wfc-module-card__arrow {
  font-size: 12px;
  color: var(--wfc-magenta-dark);
  font-weight: 600;
}

/* ─── DEPLOYMENT OPTIONS ────────────────────────────────── */
.wfc-deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) { .wfc-deploy-grid { grid-template-columns: 1fr; } }

.wfc-deploy-card {
  padding: 28px;
  background: var(--wfc-white);
  border: 1px solid var(--wfc-border-light);
  border-radius: 6px;
}

.wfc-deploy-card__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wfc-magenta-dark);
  background: rgba(232,0,111,0.08);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.wfc-deploy-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--wfc-fg-light);
  margin: 0 0 10px;
}

.wfc-deploy-card p {
  font-size: 13.5px;
  color: var(--wfc-fg-light-muted);
  line-height: 1.6;
  margin: 0 0 16px;
}

.wfc-deploy-card__list { list-style: none !important; padding: 0 !important; }

.wfc-deploy-card__list li {
  font-size: 13px;
  color: var(--wfc-fg-light-muted);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.wfc-deploy-card__list li i { color: var(--wfc-teal); flex-shrink: 0; margin-top: 3px; }

/* ─── CAPABILITY DETAIL (PLATFORM SUBPAGES) ──────────────── */
.wfc-cap-detail__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .wfc-cap-detail__inner { grid-template-columns: 1fr; gap: 40px; }
}

.wfc-cap-detail__img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--wfc-border-light);
  display: block;
  background: var(--wfc-silicon);
}

.wfc-cap-detail__text h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  color: var(--wfc-fg-light);
  margin: 0 0 16px;
  line-height: 1.2;
}

.wfc-cap-detail__text p {
  font-size: 14.5px;
  color: var(--wfc-fg-light-muted);
  line-height: 1.65;
  margin: 0 0 16px;
}

/* ─── SPECS TABLE ────────────────────────────────────────── */
.wfc-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 24px;
}

.wfc-specs-table th {
  text-align: left;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wfc-fg-light-muted);
  border-bottom: 2px solid var(--wfc-border-light);
  background: var(--wfc-silicon);
}

.wfc-specs-table td {
  padding: 9px 12px;
  color: var(--wfc-fg-light);
  border-bottom: 1px solid var(--wfc-border-light);
  vertical-align: middle;
}

.wfc-specs-table td:first-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--wfc-fg-light-muted);
  white-space: nowrap;
}

.wfc-specs-table td:last-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--wfc-teal);
  font-weight: 500;
}

/* ─── CODE BLOCKS ────────────────────────────────────────── */
.wfc-code-block {
  background: var(--wfc-graphite);
  border: 1px solid var(--wfc-border-dark);
  border-radius: 4px;
  overflow: hidden;
  margin: 24px 0;
}

.wfc-code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--wfc-border-dark);
}

.wfc-code-block__lang {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--wfc-fg-dark-muted);
  letter-spacing: 0.04em;
}

.wfc-code-block pre {
  padding: 18px 20px;
  overflow-x: auto;
  margin: 0;
  white-space: pre;
  line-height: 1.5;
}

.wfc-code-block code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--wfc-fg-dark);
  line-height: 1.5;
}

.wfc-kw { color: var(--wfc-magenta-light); }
.wfc-str { color: var(--wfc-teal); }
.wfc-cmt { color: var(--wfc-fg-dark-muted); font-style: italic; }
.wfc-num { color: var(--wfc-amber); }

/* ─── RESOURCES CARDS ─────────────────────────────────────── */
.wfc-resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 600px) { .wfc-resources-grid { grid-template-columns: 1fr; } }

.wfc-resource-card {
  background: var(--wfc-white);
  border: 1px solid var(--wfc-border-light);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-decoration: none;
  transition: border-color 0.15s;
}

.wfc-resource-card:hover { border-color: var(--wfc-magenta-dark); }

.wfc-resource-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,0,111,0.08);
  border-radius: 4px;
  font-size: 18px;
  color: var(--wfc-magenta-dark);
}

.wfc-resource-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--wfc-fg-light);
  margin: 0 0 6px;
}

.wfc-resource-card p {
  font-size: 13px;
  color: var(--wfc-fg-light-muted);
  line-height: 1.55;
  margin: 0;
}

/* ─── GLOSSARY ───────────────────────────────────────────── */
.wfc-gloss-alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 40px;
}

.wfc-gloss-alpha-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--wfc-silicon);
  border: 1px solid var(--wfc-border-light);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--wfc-fg-light-muted);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  transition: background 0.12s, color 0.12s;
}

.wfc-gloss-alpha-nav a:hover {
  background: var(--wfc-magenta);
  color: #fff;
  border-color: var(--wfc-magenta);
}

.wfc-gloss-section { margin-bottom: 40px; }

.wfc-gloss-letter {
  font-size: 22px;
  font-weight: 800;
  color: var(--wfc-magenta-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--wfc-border-light);
  font-family: 'JetBrains Mono', monospace;
}

.wfc-gloss-term { margin-bottom: 18px; }

.wfc-gloss-term dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--wfc-fg-light);
  margin-bottom: 4px;
}

.wfc-gloss-term dd {
  font-size: 13.5px;
  color: var(--wfc-fg-light-muted);
  line-height: 1.6;
  margin-left: 0;
}

/* ─── LOGIN PAGES ────────────────────────────────────────── */
body:has(.wfc-login-page) {
  background: var(--wfc-graphite);
}

.wfc-login-page {
  min-height: 100vh;
  background: var(--wfc-graphite);
  display: grid;
  grid-template-columns: 480px 1fr;
  align-items: stretch;
}

.wfc-login-header {
  margin-bottom: 32px;
  text-align: center;
}

.wfc-login-header img {
  height: 32px;
  width: auto;
}

.wfc-login-card {
  background: var(--wfc-graphite-alt);
  border: 1px solid var(--wfc-border-dark);
  border-radius: 6px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
}

.wfc-login-card h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--wfc-fg-dark);
  text-align: center;
  margin: 0 0 6px;
}

.wfc-login-card .wfc-login-sub {
  font-size: 13.5px;
  color: var(--wfc-fg-dark-muted);
  text-align: center;
  margin: 0 0 28px;
}

.wfc-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wfc-login-form .wfc-form__label { color: var(--wfc-fg-dark-muted); }

.wfc-login-form .wfc-form__input {
  background: var(--wfc-graphite);
  border-color: var(--wfc-border-dark);
  color: var(--wfc-fg-dark);
}

.wfc-login-form .wfc-form__input::placeholder { color: var(--wfc-fg-dark-muted); opacity: 0.7; }

.wfc-login-form .wfc-form__input:focus { border-color: var(--wfc-magenta-light); }

.wfc-login-form .wfc-form__select {
  background: var(--wfc-graphite);
  border-color: var(--wfc-border-dark);
  color: var(--wfc-fg-dark);
}

.wfc-login-form .wfc-form__textarea {
  background: var(--wfc-graphite);
  border-color: var(--wfc-border-dark);
  color: var(--wfc-fg-dark);
}

.wfc-login-footnote {
  margin-top: 16px;
  font-size: 13px;
  color: var(--wfc-fg-dark-muted);
  text-align: center;
}

.wfc-login-footnote a {
  color: var(--wfc-teal);
  text-decoration: none;
}

.wfc-login-footnote a:hover { text-decoration: underline; }

/* ─── 404 PAGE ───────────────────────────────────────────── */
.wfc-notfound {
  min-height: 100vh;
  background: var(--wfc-graphite);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.wfc-notfound__code {
  font-size: 88px;
  font-weight: 800;
  color: var(--wfc-magenta-light);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
  margin-bottom: 12px;
}

.wfc-notfound h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--wfc-fg-dark);
  margin-bottom: 12px;
}

.wfc-notfound p {
  font-size: 14.5px;
  color: var(--wfc-fg-dark-muted);
  margin-bottom: 32px;
  max-width: 380px;
}

/* ─── FOUNDING STORY ─────────────────────────────────────── */
.wfc-founding__inner {
  max-width: var(--wfc-content-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

@media (max-width: 900px) {
  .wfc-founding__inner { grid-template-columns: 1fr; gap: 40px; }
}

.wfc-founding__text h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  color: var(--wfc-fg-light);
  margin: 0 0 18px;
  line-height: 1.2;
}

.wfc-founding__text p {
  font-size: 14.5px;
  color: var(--wfc-fg-light-muted);
  line-height: 1.7;
  margin: 0 0 14px;
}

.wfc-founding__portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.wfc-founding__portrait-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--wfc-border-light);
  background: var(--wfc-silicon);
}

.wfc-founding__portrait-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--wfc-fg-light);
}

.wfc-founding__portrait-role {
  font-size: 12px;
  color: var(--wfc-fg-light-muted);
}

/* ─── RESPONSIVE UTILITIES ───────────────────────────────── */
@media (max-width: 600px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .wfc-subhero__h1 { font-size: 30px; }
  .wfc-article-hero__h1 { font-size: 26px; }
}

/* ─── FORM MESSAGES ──────────────────────────────────────── */
.wfc-form-msg {
  display: none;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 13.5px;
  line-height: 1.5;
  margin-top: 4px;
}

.wfc-form-msg.is-visible { display: block; }

.wfc-form-msg--error {
  background: rgba(232, 0, 111, 0.08);
  border: 1px solid rgba(232, 0, 111, 0.25);
  color: #FF4DA6;
}

.wfc-form-msg--success {
  background: rgba(0, 200, 160, 0.08);
  border: 1px solid rgba(0, 200, 160, 0.25);
  color: var(--wfc-teal);
}

/* ─── CONTACT LAYOUT HELPERS ─────────────────────────────── */
.wfc-contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .wfc-contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

.wfc-contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .wfc-contact-form-row { grid-template-columns: 1fr; }
}

/* ─── LOGIN SPLIT-LAYOUT ─────────────────────────────────── */
.wfc-login-panel {
  background: var(--wfc-graphite-alt);
  border-right: 1px solid var(--wfc-border-dark);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wfc-login-panel__header {
  margin-bottom: 40px;
}

.wfc-login-panel__logo {
  display: inline-flex;
  align-items: center;
}

.wfc-login-panel__logo img {
  height: 28px;
  width: auto;
}

.wfc-login-panel__body {
  flex: 1;
}

.wfc-login-panel__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--wfc-fg-dark);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.wfc-login-panel__sub {
  font-size: 14px;
  color: var(--wfc-fg-dark-muted);
  line-height: 1.6;
  margin: 0 0 28px;
}

.wfc-login-aside {
  background: var(--wfc-graphite);
}

.wfc-login-pw-wrap {
  position: relative;
}

.wfc-login-pw-wrap .wfc-form__input {
  padding-right: 44px;
}

.wfc-login-pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--wfc-fg-dark-muted);
  font-size: 14px;
  padding: 4px;
  cursor: pointer;
  transition: color 0.15s;
}

.wfc-login-pw-toggle:hover { color: var(--wfc-fg-dark); }

.wfc-login-submit {
  display: block;
  width: 100%;
  background: var(--wfc-magenta);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 4px;
}

.wfc-login-submit:hover { background: var(--wfc-magenta-dark); }
.wfc-login-submit:disabled { opacity: 0.65; cursor: not-allowed; }

.wfc-login-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--wfc-fg-dark-muted);
}

.wfc-login-links a {
  color: var(--wfc-magenta-light);
  text-decoration: none;
}

.wfc-login-links a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .wfc-login-page {
    grid-template-columns: 1fr;
  }
  .wfc-login-aside {
    display: none;
  }
  .wfc-login-panel {
    padding: 32px;
    min-height: 100vh;
  }
}

@media (max-width: 480px) {
  .wfc-login-panel {
    padding: 24px 20px;
  }
}

/* ─── ALIAS / SUPPLEMENTAL CLASSES ──────────────────────── */

/* wfc-hero__text: left column text content inside the dark hero */
.wfc-hero__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
}

/* wfc-subhero__actions: CTA buttons inside sub-page hero text column */
.wfc-subhero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* wfc-code-block__label: filename / description span in code block header */
.wfc-code-block__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--wfc-fg-dark-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* wfc-code-block__body: the <pre> element variant (alias for wfc-code-block pre) */
.wfc-code-block__body {
  display: block;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 0;
  white-space: pre;
  line-height: 1.5;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--wfc-fg-dark);
}

/* wfc-footer__col: generic footer column wrapper (uses default flow) */
.wfc-footer__col { }

/* wfc-wafer-map-svg / wfc-404-svg: SVG decorative elements — display only */
.wfc-wafer-map-svg,
.wfc-404-svg {
  display: block;
}

/* ─── INTEGRATION GUIDE STEPS ────────────────────────────── */
.wfc-integration-step {
  position: relative;
  padding-left: 52px;
  margin-bottom: 48px;
  counter-increment: integration-step;
}

.wfc-integration-step + .wfc-integration-step::before {
  content: "";
  position: absolute;
  left: 13px;
  top: -28px;
  height: 28px;
  width: 1px;
  background: var(--wfc-border-light);
}

.wfc-integration-step[data-step]::after {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wfc-magenta);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 28px;
  text-align: center;
}

.wfc-integration-step__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--wfc-fg-light);
  margin: 0 0 12px;
}

.wfc-integration-step__body {
  font-size: 14px;
  color: var(--wfc-fg-light-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ─── RESOURCES CARD GRID HELPERS ────────────────────────── */
.wfc-resources-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .wfc-resources-card-grid { grid-template-columns: 1fr; }
}

.wfc-tech-notes-responsive {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .wfc-tech-notes-responsive { grid-template-columns: 1fr; }
}
