/* wafercadence.css — Wafercadence site stylesheet */
/* Brand prefix: wc | Accent: #003D99 | Theme: dark engineering */

/* ===== OVERFLOW GUARD (MUST BE FIRST) ===== */
html, body { overflow-x: hidden; }

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --wc-accent:        #003D99;
  --wc-accent-light:  #4D7FCC;
  --wc-secondary:     #1A3A6B;
  --wc-bg-dark:       #050D1A;
  --wc-bg-dark2:      #081022;
  --wc-bg-mid:        #0D1B36;
  --wc-bg-light:      #F8FAFC;
  --wc-bg-section:    #F1F5F9;
  --wc-text-body:     #1E293B;
  --wc-text-muted:    #475569;
  --wc-text-light:    #94A3B8;
  --wc-text-white:    #F1F5F9;
  --wc-border:        rgba(0,0,0,0.10);
  --wc-border-dark:   rgba(255,255,255,0.10);
  --wc-radius:        8px;
  --wc-radius-lg:     12px;
  --wc-container:     1200px;
  --wc-nav-h:         72px;
  --font-sans:        'Manrope', system-ui, sans-serif;
  --font-display:     'Manrope', system-ui, sans-serif;
  --font-mono:        'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--wc-text-body);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--wc-text-body);
}

a { color: var(--wc-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== CONTAINER ===== */
.wc-container {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.wc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--wc-radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.wc-btn--primary {
  background: var(--wc-accent);
  color: #fff;
  border-color: var(--wc-accent);
}
.wc-btn--primary:hover {
  filter: brightness(1.15);
  color: #fff;
  text-decoration: none;
}
.wc-btn--secondary {
  background: transparent;
  color: var(--wc-accent);
  border-color: var(--wc-accent);
}
.wc-btn--secondary:hover {
  background: var(--wc-accent);
  color: #fff;
  text-decoration: none;
}
.wc-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.35);
}
.wc-btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}
.wc-btn--sm { padding: 8px 16px; font-size: 13px; }
.wc-btn--lg { padding: 16px 32px; font-size: 17px; }

/* ===== SECTION LABELS / HEADINGS ===== */
.wc-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wc-accent);
  margin-bottom: 12px;
  font-family: var(--font-mono);
}
.wc-section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--wc-text-body);
  margin-bottom: 16px;
}

/* ===== NAVIGATION ===== */
.wc-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--wc-nav-h);
  transform: translateY(0);
  transition: background 0.3s, box-shadow 0.3s, transform 0.35s;
  background: transparent;
}

/* Default above-fold state: transparent with readable floor */
.wc-nav.wc-nav--at-hero {
  background: rgba(5,13,26,0.65);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
}

/* Scrolled solid state */
.wc-nav.wc-nav--scrolled {
  background: var(--wc-bg-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
  transform: translateY(0);
}

/* Hidden (scrolling down) */
.wc-nav.wc-nav--hidden {
  transform: translateY(-100%);
}

/* Solid nav for sub-pages */
.wc-page-sub .wc-nav,
.wc-nav.wc-nav--solid {
  background: var(--wc-bg-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
  transform: translateY(0) !important;
}

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

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

.wc-nav__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

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

.wc-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--wc-radius);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.wc-nav__link:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}
.wc-nav__link.is-active { color: #fff; font-weight: 600; }

.wc-nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.wc-nav__cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  background: var(--wc-accent);
  color: #fff;
  border-radius: var(--wc-radius);
  text-decoration: none;
  transition: filter 0.2s;
  white-space: nowrap;
}
.wc-nav__cta-btn:hover {
  filter: brightness(1.15);
  text-decoration: none;
  color: #fff;
}

.wc-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.wc-nav__toggle span {
  display: block;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Responsive nav */
@media (max-width: 768px) {
  .wc-nav__links {
    display: none;
    position: absolute;
    top: var(--wc-nav-h);
    left: 0;
    right: 0;
    background: var(--wc-bg-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  }
  .wc-nav__links.is-open { display: flex; }
  .wc-nav__toggle { display: flex; }
  .wc-nav__right .wc-nav__cta-btn { display: none; }
  .wc-nav__link { padding: 12px 16px; border-radius: var(--wc-radius); }
}

/* ===== HERO — F-dark-centered-typographic ===== */
.wc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--wc-bg-dark);
}

.wc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.wc-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wc-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5,13,26,0.82) 0%,
    rgba(5,13,26,0.65) 50%,
    rgba(5,13,26,0.78) 100%
  );
}

.wc-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
}

.wc-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wc-accent-light);
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(77,127,204,0.35);
  border-radius: 100px;
  background: rgba(0,61,153,0.12);
}

.wc-hero__title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.wc-hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(241,245,249,0.75);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 40px;
}

.wc-hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.wc-hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: wc-scroll-bounce 2s ease-in-out infinite;
}
@keyframes wc-scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  60% { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 768px) {
  .wc-hero__title { font-size: 36px; }
  .wc-hero__subtitle { font-size: 16px; }
  .wc-hero__cta { flex-direction: column; align-items: stretch; }
  .wc-hero__cta .wc-btn { justify-content: center; }
}

/* ===== STATS — B-cards ===== */
.wc-stats {
  background: var(--wc-bg-dark2);
  padding: 64px 0;
}

.wc-stats__grid {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.wc-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--wc-border-dark);
  border-radius: var(--wc-radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.wc-stat-card:hover {
  border-color: rgba(0,61,153,0.5);
  background: rgba(0,61,153,0.06);
}

.wc-stat-card__number {
  font-size: 40px;
  font-weight: 800;
  color: var(--wc-accent-light);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.wc-stat-card__label {
  font-size: 13px;
  color: rgba(241,245,249,0.6);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .wc-stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .wc-stats__grid { grid-template-columns: 1fr; }
}

/* ===== FEATURES — C-alternating ===== */
.wc-features {
  padding: 96px 0;
  background: #fff;
}

.wc-features__header {
  max-width: var(--wc-container);
  margin: 0 auto 64px;
  padding: 0 24px;
  text-align: center;
}

.wc-features__header .wc-section-title { font-size: 36px; }

.wc-feature-item {
  max-width: var(--wc-container);
  margin: 0 auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.wc-feature-item:last-child { margin-bottom: 0; }

.wc-feature-item--reverse {
  direction: rtl;
}
.wc-feature-item--reverse > * { direction: ltr; }

.wc-feature-item__img {
  border-radius: var(--wc-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--wc-bg-mid);
}
.wc-feature-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wc-feature-item__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wc-feature-item__index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--wc-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wc-feature-item__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--wc-text-body);
  line-height: 1.3;
}

.wc-feature-item__one-liner {
  font-size: 15px;
  font-weight: 600;
  color: var(--wc-accent);
  font-family: var(--font-mono);
  line-height: 1.5;
}

.wc-feature-item__text {
  font-size: 15px;
  color: var(--wc-text-muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .wc-feature-item {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }
  .wc-feature-item--reverse { direction: ltr; }
}

/* ===== PROCESS — A-numbered ===== */
.wc-process {
  padding: 96px 0;
  background: var(--wc-bg-section);
}

.wc-process__header {
  max-width: var(--wc-container);
  margin: 0 auto 56px;
  padding: 0 24px;
  text-align: center;
}

.wc-process__steps {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.wc-process__step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wc-process__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wc-accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.wc-process__step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--wc-text-body);
}

.wc-process__step-body {
  font-size: 14px;
  color: var(--wc-text-muted);
  line-height: 1.65;
}

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

/* ===== TESTIMONIALS — A-quotes ===== */
.wc-testimonials {
  padding: 96px 0;
  background: var(--wc-bg-dark);
}

.wc-testimonials__header {
  max-width: var(--wc-container);
  margin: 0 auto 56px;
  padding: 0 24px;
  text-align: center;
}
.wc-testimonials__header .wc-section-title { color: #fff; }
.wc-testimonials__header .wc-section-label { color: var(--wc-accent-light); }

.wc-testimonials__grid {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wc-testimonial {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--wc-border-dark);
  border-radius: var(--wc-radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wc-testimonial__quote {
  font-size: 15px;
  color: rgba(241,245,249,0.85);
  line-height: 1.7;
  font-style: italic;
}

.wc-testimonial__attribution {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wc-testimonial__name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.wc-testimonial__role {
  font-size: 13px;
  color: rgba(241,245,249,0.5);
  font-family: var(--font-mono);
}

@media (max-width: 900px) {
  .wc-testimonials__grid { grid-template-columns: 1fr; }
}

/* ===== CTA BANNER — A-banner ===== */
.wc-cta {
  padding: 96px 0;
  background: var(--wc-accent);
}

.wc-cta__inner {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.wc-cta__title {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  max-width: 700px;
}

.wc-cta__body {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  line-height: 1.65;
}

.wc-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  background: #fff;
  color: var(--wc-accent);
  border-radius: var(--wc-radius);
  text-decoration: none;
  transition: filter 0.2s;
}
.wc-cta__btn:hover {
  filter: brightness(0.96);
  text-decoration: none;
  color: var(--wc-accent);
}

/* ===== PRICING ===== */
.wc-pricing {
  padding: 96px 0;
  background: var(--wc-bg-light);
}

.wc-pricing__header {
  max-width: var(--wc-container);
  margin: 0 auto 56px;
  padding: 0 24px;
  text-align: center;
}

.wc-pricing__grid {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.wc-pricing-tier {
  background: #fff;
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wc-pricing-tier:hover {
  border-color: var(--wc-accent);
  box-shadow: 0 8px 32px rgba(0,61,153,0.10);
}

.wc-pricing-tier--featured {
  background: var(--wc-accent);
  border-color: var(--wc-accent);
  position: relative;
}

.wc-pricing-tier--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--wc-accent);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid var(--wc-accent);
  white-space: nowrap;
}

.wc-pricing-tier--featured .wc-pricing-tier__name { color: #fff; }
.wc-pricing-tier--featured .wc-pricing-tier__price { color: #fff; }
.wc-pricing-tier--featured .wc-pricing-tier__description { color: rgba(255,255,255,0.8); }
.wc-pricing-tier--featured .wc-pricing-tier__feature-item { color: rgba(255,255,255,0.9); }
.wc-pricing-tier--featured .wc-pricing-tier__feature-item::before { color: rgba(255,255,255,0.7); }

.wc-pricing-tier__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--wc-text-body);
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

.wc-pricing-tier__price {
  font-size: 36px;
  font-weight: 800;
  color: var(--wc-text-body);
  font-family: var(--font-mono);
  line-height: 1;
}

.wc-pricing-tier__price-sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--wc-text-muted);
  font-family: var(--font-sans);
}

.wc-pricing-tier__description {
  font-size: 14px;
  color: var(--wc-text-muted);
  line-height: 1.6;
}

.wc-pricing-tier__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.wc-pricing-tier__feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--wc-text-body);
  line-height: 1.5;
}
.wc-pricing-tier__feature-item::before {
  content: '✓';
  color: var(--wc-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 13px;
}

.wc-pricing-tier__cta {
  margin-top: auto;
}

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

/* ===== INTEGRATIONS LIST ===== */
.wc-integrations {
  padding: 80px 0;
  background: var(--wc-bg-dark2);
}

.wc-integrations__header {
  max-width: var(--wc-container);
  margin: 0 auto 40px;
  padding: 0 24px;
  text-align: center;
}
.wc-integrations__header .wc-section-title { color: #fff; }
.wc-integrations__header .wc-section-label { color: var(--wc-accent-light); }

.wc-integrations__grid {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.wc-integration-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--wc-border-dark);
  border-radius: var(--wc-radius);
  padding: 16px 20px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: rgba(241,245,249,0.75);
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.wc-integration-badge:hover {
  border-color: rgba(77,127,204,0.5);
  background: rgba(0,61,153,0.08);
}

@media (max-width: 768px) {
  .wc-integrations__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== ABOUT PAGE SECTIONS ===== */
.wc-page-hero {
  background: var(--wc-bg-dark);
  padding: 140px 0 72px;
  text-align: center;
}

.wc-page-hero__inner {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
}

.wc-page-hero__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.wc-page-hero__lede {
  font-size: 18px;
  color: rgba(241,245,249,0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Founding Story */
.wc-founding-story {
  padding: 96px 0;
  background: #fff;
}

.wc-founding-story__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.wc-founding-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

.wc-founding-story__text {
  font-size: 16px;
  color: var(--wc-text-muted);
  line-height: 1.75;
}

.wc-founding-story__text p + p { margin-top: 16px; }

.wc-founding-story__visual {
  border-radius: var(--wc-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--wc-bg-mid);
}
.wc-founding-story__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .wc-founding-story__grid { grid-template-columns: 1fr; }
}

/* Mission section */
.wc-mission {
  background: var(--wc-accent);
  padding: 80px 0;
}

.wc-mission__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.wc-mission__statement {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 24px;
}

.wc-mission__context {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* Stage focus */
.wc-stage-focus {
  padding: 80px 0;
  background: var(--wc-bg-section);
}

.wc-stage-focus__inner {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}

.wc-stage-focus__label-col .wc-section-title { font-size: 28px; }

.wc-stage-focus__body {
  font-size: 15px;
  color: var(--wc-text-muted);
  line-height: 1.75;
}
.wc-stage-focus__body p + p { margin-top: 12px; }

@media (max-width: 768px) {
  .wc-stage-focus__inner { grid-template-columns: 1fr; }
}

/* Values */
.wc-values {
  padding: 80px 0;
  background: #fff;
}

.wc-values__header {
  max-width: var(--wc-container);
  margin: 0 auto 48px;
  padding: 0 24px;
  text-align: center;
}

.wc-values__grid {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.wc-value-card {
  padding: 32px 24px;
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wc-value-card:hover {
  border-color: var(--wc-accent);
  box-shadow: 0 4px 16px rgba(0,61,153,0.07);
}

.wc-value-card__icon {
  color: var(--wc-accent);
  font-size: 22px;
}

.wc-value-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--wc-text-body);
}

.wc-value-card__body {
  font-size: 13px;
  color: var(--wc-text-muted);
  line-height: 1.65;
}

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

/* ===== PRODUCT PAGE ===== */
.wc-problem {
  padding: 96px 0;
  background: var(--wc-bg-dark);
}

.wc-problem__inner {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.wc-problem__heading { color: #fff; }
.wc-problem .wc-section-label { color: var(--wc-accent-light); }

.wc-problem__body {
  font-size: 16px;
  color: rgba(241,245,249,0.8);
  line-height: 1.75;
}
.wc-problem__body p + p { margin-top: 16px; }

.wc-problem__numbers {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wc-problem__stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--wc-border-dark);
  border-radius: var(--wc-radius);
  padding: 24px;
}

.wc-problem__stat-num {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--wc-accent-light);
  margin-bottom: 4px;
}

.wc-problem__stat-desc {
  font-size: 13px;
  color: rgba(241,245,249,0.6);
  line-height: 1.5;
}

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

/* How it works */
.wc-how-it-works {
  padding: 96px 0;
  background: #fff;
}

.wc-how-it-works__header {
  max-width: var(--wc-container);
  margin: 0 auto 56px;
  padding: 0 24px;
  text-align: center;
}

.wc-how-it-works__steps {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.wc-how-step {
  background: var(--wc-bg-section);
  border-radius: var(--wc-radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wc-how-step__number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wc-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.wc-how-step__label {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wc-accent);
}

.wc-how-step__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--wc-text-body);
}

.wc-how-step__body {
  font-size: 14px;
  color: var(--wc-text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .wc-how-it-works__steps { grid-template-columns: 1fr; }
}

/* Target Customer */
.wc-target-customer {
  padding: 80px 0;
  background: var(--wc-bg-section);
}

.wc-target-customer__inner {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.wc-target-customer__heading { color: var(--wc-text-body); }

.wc-target-customer__body {
  font-size: 15px;
  color: var(--wc-text-muted);
  line-height: 1.75;
}
.wc-target-customer__body p + p { margin-top: 14px; }

.wc-target-customer__not-for {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(0,0,0,0.03);
  border-left: 3px solid var(--wc-text-light);
  border-radius: 0 var(--wc-radius) var(--wc-radius) 0;
  font-size: 13px;
  color: var(--wc-text-muted);
  line-height: 1.6;
}

.wc-target-customer__not-for strong {
  display: block;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .wc-target-customer__inner { grid-template-columns: 1fr; }
}

/* ===== FOOTER — A-4col ===== */
.wc-footer {
  background: var(--wc-bg-dark);
  padding: 72px 0 32px;
}

.wc-footer__grid {
  max-width: var(--wc-container);
  margin: 0 auto 56px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.wc-footer__col { display: flex; flex-direction: column; gap: 16px; }

.wc-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wc-footer__logo { height: 32px; width: auto; }

.wc-footer__tagline {
  font-size: 14px;
  color: rgba(241,245,249,0.55);
  line-height: 1.6;
  max-width: 300px;
}

.wc-footer__heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(241,245,249,0.45);
  font-family: var(--font-mono);
}

.wc-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wc-footer__link {
  font-size: 14px;
  color: rgba(241,245,249,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.wc-footer__link:hover {
  color: #fff;
  text-decoration: none;
}

.wc-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(241,245,249,0.6);
  line-height: 1.5;
}
.wc-footer__contact-item i {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--wc-accent-light);
  font-size: 14px;
}

.wc-footer__bottom {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid var(--wc-border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.wc-footer__copy {
  font-size: 13px;
  color: rgba(241,245,249,0.4);
}

.wc-footer__legal {
  display: flex;
  gap: 24px;
}

.wc-footer__legal-link {
  font-size: 13px;
  color: rgba(241,245,249,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.wc-footer__legal-link:hover { color: rgba(241,245,249,0.75); }

.wc-footer__social {
  display: flex;
  gap: 12px;
}

.wc-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(241,245,249,0.5);
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.wc-footer__social-link:hover {
  background: rgba(0,61,153,0.4);
  color: #fff;
}

@media (max-width: 900px) {
  .wc-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .wc-footer__grid { grid-template-columns: 1fr; }
  .wc-footer__bottom { flex-direction: column; text-align: center; }
}

/* ===== COOKIE BANNER — corner-toast-bl ===== */
.wc-cookie {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 9999;
  max-width: 380px;
  width: calc(100vw - 32px);
}
.wc-cookie[hidden] { display: none !important; }

.wc-cookie__box {
  background: var(--wc-bg-dark);
  border: 1px solid var(--wc-border-dark);
  border-radius: var(--wc-radius-lg);
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.wc-cookie__text {
  font-size: 13px;
  color: rgba(241,245,249,0.75);
  line-height: 1.55;
  margin-bottom: 16px;
}
.wc-cookie__text a {
  color: var(--wc-accent-light);
  text-decoration: underline;
}

.wc-cookie__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* ===== SUB-PAGE PADDING ===== */
.wc-page-sub .wc-page-hero {
  padding-top: 140px;
}

/* Force first section on sub-pages to have adequate top padding when no hero */
.wc-page-sub > main > section:first-child {
  padding-top: 96px;
}

/* ===== UTILITY ===== */
.wc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .wc-section-title { font-size: 26px; }
  .wc-hero__inner { padding-top: 100px; }
}

/* ===== CONTACT PAGE ===== */
.wc-contact {
  padding: 80px 0 96px;
  background: #fff;
}

.wc-contact__inner {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 72px;
  align-items: start;
}

.wc-contact__success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid rgba(21,128,61,0.2);
  border-radius: var(--wc-radius);
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.wc-contact__success[hidden] { display: none !important; }
.wc-contact__success i { margin-top: 2px; flex-shrink: 0; }

.wc-contact__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.wc-contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.wc-contact__field:last-child { margin-bottom: 24px; }

.wc-contact__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--wc-text-body);
}
.wc-contact__label span { color: var(--wc-text-muted); }

.wc-contact__input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--wc-text-body);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: var(--wc-radius);
  box-sizing: border-box;
  transition: border-color 0.2s, outline 0.2s;
  -webkit-appearance: none;
}
.wc-contact__input:focus {
  outline: 2px solid var(--wc-accent);
  outline-offset: 1px;
  border-color: var(--wc-accent);
}
.wc-contact__input::placeholder { color: #94a3b8; }

.wc-contact__select { cursor: pointer; }

.wc-contact__textarea { resize: vertical; min-height: 140px; }

.wc-contact__submit { width: 100%; justify-content: center; padding: 14px 24px; }

.wc-contact__office {
  background: var(--wc-bg-dark);
  border-radius: var(--wc-radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.wc-contact__office-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.wc-contact__office-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(241,245,249,0.7);
  line-height: 1.6;
  margin-bottom: 14px;
}
.wc-contact__office-detail:last-child { margin-bottom: 0; }
.wc-contact__office-detail i { color: var(--wc-accent-light); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.wc-contact__office-detail a { color: rgba(241,245,249,0.85); text-decoration: none; }
.wc-contact__office-detail a:hover { color: #fff; text-decoration: underline; }

.wc-contact__meta { display: flex; flex-direction: column; gap: 16px; }

.wc-contact__meta-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--wc-bg-section);
  border-radius: var(--wc-radius);
  font-size: 13px;
  line-height: 1.55;
}
.wc-contact__meta-item i { color: var(--wc-accent); font-size: 16px; margin-top: 1px; flex-shrink: 0; }
.wc-contact__meta-item strong { display: block; font-weight: 700; color: var(--wc-text-body); margin-bottom: 3px; font-size: 13px; }
.wc-contact__meta-item p { color: var(--wc-text-muted); margin: 0; }

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

/* ===== 404 PAGE ===== */
.wc-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wc-bg-dark);
  padding: 80px 24px;
}

.wc-404__inner {
  max-width: 600px;
  text-align: center;
}

.wc-404__code {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--wc-accent-light);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  opacity: 0.7;
}

.wc-404__title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.wc-404__body {
  font-size: 16px;
  color: rgba(241,245,249,0.65);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 36px;
}

.wc-404__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.wc-404__links {
  font-size: 14px;
  color: rgba(241,245,249,0.5);
}
.wc-404__links p { margin-bottom: 10px; }
.wc-404__links ul {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}
.wc-404__links li { list-style: none; }
.wc-404__links a { color: var(--wc-accent-light); text-decoration: none; font-size: 14px; }
.wc-404__links a:hover { text-decoration: underline; color: #fff; }

/* ===== LEGAL CONTENT ===== */
.wc-legal-content {
  padding: 64px 0 96px;
  background: #fff;
}

.wc-legal-content__inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

.wc-legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--wc-text-body);
  margin-top: 40px;
  margin-bottom: 12px;
}
.wc-legal-content h2:first-child { margin-top: 0; }
.wc-legal-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--wc-text-body);
  margin-top: 24px;
  margin-bottom: 8px;
}
.wc-legal-content p {
  font-size: 15px;
  color: var(--wc-text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.wc-legal-content ul {
  margin: 0 0 14px 0;
  padding-left: 20px;
  list-style: disc;
}
.wc-legal-content ul li {
  list-style: disc;
  font-size: 15px;
  color: var(--wc-text-muted);
  line-height: 1.65;
  margin-bottom: 6px;
}
.wc-legal-content address {
  font-style: normal;
  font-size: 15px;
  color: var(--wc-text-muted);
  line-height: 1.75;
}
.wc-legal-content a { color: var(--wc-accent); text-decoration: underline; }
.wc-legal-content a:hover { color: var(--wc-secondary); }

/* ===== BLOG INDEX ===== */
.wc-blog-index {
  padding: 64px 0 96px;
  background: #fff;
}

.wc-blog-index__inner {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 24px;
}

.wc-blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.wc-blog-filter {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--wc-text-muted);
  background: var(--wc-bg-section);
  border: 1px solid var(--wc-border);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.wc-blog-filter:hover { background: #e2e8f0; color: var(--wc-text-body); }
.wc-blog-filter.is-active {
  background: var(--wc-accent);
  color: #fff;
  border-color: var(--wc-accent);
}

.wc-blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.wc-blog-item {
  list-style: none;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--wc-radius-lg);
  overflow: hidden;
  border: 1px solid var(--wc-border);
  transition: box-shadow 0.2s;
}
.wc-blog-item:hover { box-shadow: 0 8px 32px rgba(0,61,153,0.08); }

.wc-blog-item__thumb-link { display: block; text-decoration: none; }

.wc-blog-item__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--wc-bg-mid);
}
.wc-blog-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.wc-blog-item:hover .wc-blog-item__thumb img { transform: scale(1.03); }

.wc-blog-item__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.wc-blog-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.wc-blog-item__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--wc-accent);
  font-family: var(--font-mono);
}

.wc-blog-item__date {
  font-size: 12px;
  color: var(--wc-text-light);
}

.wc-blog-item__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--wc-text-body);
  line-height: 1.35;
  flex: 1;
}
.wc-blog-item__title a { color: inherit; text-decoration: none; }
.wc-blog-item__title a:hover { color: var(--wc-accent); text-decoration: none; }

.wc-blog-item__excerpt {
  font-size: 13px;
  color: var(--wc-text-muted);
  line-height: 1.65;
}

.wc-blog-item__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wc-accent);
  text-decoration: none;
  margin-top: auto;
}
.wc-blog-item__link:hover { text-decoration: underline; color: var(--wc-secondary); }

.wc-blog-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--wc-text-muted);
  font-size: 15px;
}
.wc-blog-empty[hidden] { display: none !important; }

@media (max-width: 960px) {
  .wc-blog-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wc-blog-list { grid-template-columns: 1fr; }
}

/* ===== BLOG ARTICLE DETAIL ===== */
.wc-post {
  padding: 128px 0 80px;
  background: #fff;
}

.wc-post__container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.wc-post__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wc-accent);
  text-decoration: none;
  margin-bottom: 32px;
}
.wc-post__back:hover { text-decoration: underline; }

.wc-post__header {
  margin-bottom: 48px;
}

.wc-post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.wc-post__author {
  font-size: 12px;
  color: var(--wc-text-light);
}

.wc-post__title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--wc-text-body);
  line-height: 1.25;
  margin-bottom: 32px;
  letter-spacing: -0.03em;
}

.wc-post__cover {
  border-radius: var(--wc-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--wc-bg-mid);
}
.wc-post__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wc-post__body {
  font-size: 16px;
  color: var(--wc-text-body);
  line-height: 1.8;
  max-width: 720px;
}
.wc-post__body h2 { font-size: 24px; font-weight: 700; margin: 40px 0 14px; }
.wc-post__body h3 { font-size: 19px; font-weight: 700; margin: 28px 0 10px; }
.wc-post__body p { margin-bottom: 18px; }
.wc-post__body ul, .wc-post__body ol {
  margin: 0 0 18px 0;
  padding-left: 22px;
}
.wc-post__body ul li { list-style: disc; margin-bottom: 8px; line-height: 1.7; }
.wc-post__body ol li { list-style: decimal; margin-bottom: 8px; line-height: 1.7; }
.wc-post__body code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--wc-secondary);
}
.wc-post__body pre {
  background: var(--wc-bg-dark2);
  color: rgba(241,245,249,0.85);
  padding: 24px;
  border-radius: var(--wc-radius);
  overflow-x: auto;
  margin-bottom: 24px;
}
.wc-post__body pre code { background: transparent; padding: 0; color: inherit; }
.wc-post__body blockquote {
  border-left: 3px solid var(--wc-accent);
  margin: 28px 0;
  padding: 12px 20px;
  background: var(--wc-bg-section);
  border-radius: 0 var(--wc-radius) var(--wc-radius) 0;
  font-style: italic;
  color: var(--wc-text-muted);
}

.wc-post__footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--wc-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.wc-post__back-bottom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wc-accent);
  text-decoration: none;
}
.wc-post__back-bottom:hover { text-decoration: underline; }

/* ===== RELATED ARTICLES ===== */
.wc-related {
  padding: 64px 0 80px;
  background: var(--wc-bg-section);
}

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

.wc-related__heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--wc-text-body);
  margin-bottom: 32px;
}

.wc-related__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.wc-related__item {
  background: #fff;
  border-radius: var(--wc-radius-lg);
  overflow: hidden;
  border: 1px solid var(--wc-border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.wc-related__item:hover { box-shadow: 0 8px 24px rgba(0,61,153,0.07); }

.wc-related__thumb-link { display: block; text-decoration: none; }

.wc-related__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--wc-bg-mid);
  max-height: 240px;
}
.wc-related__thumb img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.wc-related__item:hover .wc-related__thumb img { transform: scale(1.03); }

.wc-related__body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wc-related__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--wc-text-body);
  line-height: 1.4;
  flex: 1;
}
.wc-related__title a { color: inherit; text-decoration: none; }
.wc-related__title a:hover { color: var(--wc-accent); }

@media (max-width: 640px) {
  .wc-related__grid { grid-template-columns: 1fr; }
}

/* ===== AUTH PAGES — Pattern A (subfolder, B-split-features) ===== */
.wc-page-login,
.wc-page-dashboard {
  background: var(--wc-bg-dark);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.auth-split {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.auth-form-side {
  flex: 0 0 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 48px;
  background: #0a1628;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #111d33;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--wc-radius-lg);
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.auth-card--wide { max-width: 480px; }

.auth-logo {
  margin-bottom: 28px;
}
.auth-logo img { display: block; }

.auth-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.auth-card__sub {
  font-size: 14px;
  color: rgba(241,245,249,0.6);
  line-height: 1.6;
  margin-bottom: 24px;
}

.auth-message {
  padding: 12px 16px;
  border-radius: var(--wc-radius);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.auth-message[hidden] { display: none !important; }
.auth-message.success {
  background: rgba(21,128,61,0.15);
  color: #86efac;
  border: 1px solid rgba(134,239,172,0.2);
}
.auth-message.error {
  background: rgba(185,28,28,0.15);
  color: #fca5a5;
  border: 1px solid rgba(252,165,165,0.2);
}
.auth-message i { margin-top: 1px; flex-shrink: 0; }

.auth-form .form-group { margin-bottom: 16px; }
.auth-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.auth-form .form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: #f1f5f9;
  background: #12121e;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--wc-radius);
  box-sizing: border-box;
  transition: border-color 0.2s, outline 0.2s;
  -webkit-appearance: none;
}
.auth-form .form-control:focus {
  outline: 2px solid var(--wc-accent-light);
  outline-offset: 1px;
  border-color: var(--wc-accent-light);
}
.auth-form .form-control::placeholder { color: #475569; }

.auth-form__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.auth-remember {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
}
.auth-remember__label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  cursor: pointer;
}
.auth-forgot-link { color: var(--wc-accent-light); text-decoration: none; font-size: 13px; font-weight: 500; }
.auth-forgot-link:hover { text-decoration: underline; }

.btn-auth {
  width: 100%;
  padding: 13px;
  background: var(--wc-accent);
  color: #ffffff;
  border: none;
  border-radius: var(--wc-radius);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  margin-top: 4px;
  transition: filter 0.2s;
  display: block;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  box-sizing: border-box;
}
.btn-auth:hover { filter: brightness(1.15); text-decoration: none; color: #fff; }
.btn-auth--secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #cbd5e1;
}
.btn-auth--secondary:hover { background: rgba(255,255,255,0.08); color: #fff; }

.auth-terms {
  font-size: 12px;
  color: rgba(241,245,249,0.45);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}
.auth-terms a { color: var(--wc-accent-light); text-decoration: underline; }

.auth-links {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #64748b;
}
.auth-links a { color: var(--wc-accent-light); text-decoration: none; font-weight: 600; }
.auth-links a:hover { text-decoration: underline; }

.auth-back-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: var(--wc-accent-light);
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
}
.auth-back-bar:hover { filter: brightness(1.15); text-decoration: underline; }

.auth-mini-footer {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.auth-mini-footer a {
  font-size: 12px;
  color: rgba(241,245,249,0.35);
  text-decoration: none;
}
.auth-mini-footer a:hover { color: rgba(241,245,249,0.7); }

.auth-info-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 48px;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,61,153,0.18) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 20%, rgba(26,58,107,0.14) 0%, transparent 55%),
              var(--wc-bg-dark);
}

.auth-info-side__content {
  max-width: 480px;
}

.auth-info-side__eyebrow {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wc-accent-light);
  margin-bottom: 16px;
}

.auth-info-side__title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.auth-info-side__sub {
  font-size: 15px;
  color: rgba(241,245,249,0.6);
  line-height: 1.65;
  margin-bottom: 36px;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  list-style: none;
}

.auth-feature__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0,61,153,0.25);
  border: 1px solid rgba(77,127,204,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wc-accent-light);
  font-size: 15px;
  flex-shrink: 0;
}

.auth-feature__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.auth-feature__body strong {
  font-size: 14px;
  font-weight: 700;
  color: rgba(241,245,249,0.9);
  display: block;
}
.auth-feature__body span {
  font-size: 13px;
  color: rgba(241,245,249,0.5);
  line-height: 1.55;
}

/* Verify page specific */
.auth-verify-icon {
  text-align: center;
  font-size: 52px;
  color: #86efac;
  margin-bottom: 16px;
}
.auth-verify-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.auth-verify-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(241,245,249,0.55);
}
.auth-verify-step i { font-size: 14px; color: rgba(241,245,249,0.3); width: 16px; flex-shrink: 0; }
.auth-verify-step--done { color: #86efac; }
.auth-verify-step--done i { color: #86efac; }
.auth-verify-contact {
  text-align: center;
  font-size: 13px;
  color: rgba(241,245,249,0.4);
  margin-top: 16px;
}
.auth-verify-contact a { color: var(--wc-accent-light); text-decoration: none; }
.auth-verify-contact a:hover { text-decoration: underline; }

/* Responsive auth split */
@media (max-width: 900px) {
  .auth-split { flex-direction: column; min-height: auto; }
  .auth-form-side { flex: none; width: 100%; padding: 40px 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .auth-info-side { display: none; }
  .auth-card, .auth-card--wide { max-width: 480px; margin: 0 auto; }
}

/* ===== DASHBOARD ===== */
.dash-layout {
  display: flex;
  min-height: 100vh;
}

.dash-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #080f1f;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
}
.dash-sidebar__logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-sidebar__logo img { display: block; }
.dash-sidebar__nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(241,245,249,0.55);
  text-decoration: none;
  border-radius: var(--wc-radius);
  transition: background 0.15s, color 0.15s;
}
.dash-sidebar__link i { font-size: 14px; width: 16px; flex-shrink: 0; }
.dash-sidebar__link:hover { background: rgba(255,255,255,0.06); color: rgba(241,245,249,0.9); text-decoration: none; }
.dash-sidebar__link--active { background: rgba(0,61,153,0.25); color: #fff; border: 1px solid rgba(0,61,153,0.3); }
.dash-sidebar__link--logout { color: rgba(252,165,165,0.6); }
.dash-sidebar__link--logout:hover { background: rgba(185,28,28,0.12); color: #fca5a5; }
.dash-sidebar__footer { padding: 12px; border-top: 1px solid rgba(255,255,255,0.06); }

.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--wc-bg-dark2);
  min-width: 0;
}

.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: #080f1f;
}
.dash-topbar__greeting h1 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.dash-topbar__greeting p { font-size: 12px; color: rgba(241,245,249,0.45); font-family: var(--font-mono); }
.dash-topbar__actions { display: flex; align-items: center; gap: 12px; }
.dash-topbar__btn {
  position: relative;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 50%;
  color: rgba(241,245,249,0.6);
  cursor: pointer;
  font-size: 14px;
}
.dash-topbar__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: var(--wc-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash-topbar__user { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(241,245,249,0.75); }
.dash-topbar__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wc-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-content { padding: 32px; flex: 1; }

.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.dash-stat-card {
  background: #0d1a2e;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--wc-radius-lg);
  padding: 20px 24px;
}
.dash-stat-card__label { font-size: 12px; color: rgba(241,245,249,0.45); margin-bottom: 10px; font-family: var(--font-mono); letter-spacing: 0.05em; }
.dash-stat-card__value { font-size: 28px; font-weight: 800; color: var(--wc-accent-light); font-family: var(--font-mono); margin-bottom: 6px; }
.dash-stat-card__sub { font-size: 12px; color: rgba(241,245,249,0.4); line-height: 1.45; }

.dash-section-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}

.dash-panel {
  background: #0d1a2e;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--wc-radius-lg);
  padding: 24px;
}
.dash-panel--wide {}

.dash-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.dash-panel__title { font-size: 15px; font-weight: 700; color: rgba(241,245,249,0.85); }
.dash-panel__link { font-size: 12px; color: var(--wc-accent-light); text-decoration: none; }
.dash-panel__link:hover { text-decoration: underline; }
.dash-panel__sub { font-size: 12px; color: rgba(241,245,249,0.35); }

.dash-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dash-table thead th { text-align: left; padding: 8px 10px; font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.07em; text-transform: uppercase; color: rgba(241,245,249,0.35); border-bottom: 1px solid rgba(255,255,255,0.06); }
.dash-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); }
.dash-table tbody tr:last-child { border-bottom: none; }
.dash-table tbody td { padding: 10px 10px; color: rgba(241,245,249,0.7); vertical-align: middle; }
.dash-table__mono { font-family: var(--font-mono); font-size: 12px; color: rgba(241,245,249,0.5); }

.dash-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.dash-tag--orange { background: rgba(251,146,60,0.15); color: #fb923c; border: 1px solid rgba(251,146,60,0.2); }
.dash-tag--blue { background: rgba(96,165,250,0.12); color: #60a5fa; border: 1px solid rgba(96,165,250,0.2); }
.dash-tag--red { background: rgba(248,113,113,0.12); color: #f87171; border: 1px solid rgba(248,113,113,0.2); }
.dash-tag--yellow { background: rgba(250,204,21,0.12); color: #facc15; border: 1px solid rgba(250,204,21,0.2); }
.dash-tag--green { background: rgba(74,222,128,0.12); color: #4ade80; border: 1px solid rgba(74,222,128,0.2); }

.dash-layer-list { display: flex; flex-direction: column; gap: 14px; }
.dash-layer-item { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.dash-layer-item__name { width: 90px; flex-shrink: 0; color: rgba(241,245,249,0.7); }
.dash-layer-item__bar-wrap { flex: 1; height: 6px; background: rgba(255,255,255,0.07); border-radius: 100px; overflow: hidden; }
.dash-layer-item__bar { height: 100%; background: var(--wc-accent-light); border-radius: 100px; }
.dash-layer-item__pct { width: 36px; text-align: right; font-size: 12px; font-family: var(--font-mono); color: rgba(241,245,249,0.5); flex-shrink: 0; }

@media (max-width: 1200px) {
  .dash-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-section-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .dash-sidebar { display: none; }
  .dash-content { padding: 20px 16px; }
  .dash-topbar { padding: 16px; }
}


/* Novel class coverage — contact form wrappers */
.wc-contact__form { display: block; }
.wc-contact__form-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wc-contact__info-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Novel class coverage — article body page */
.wc-page-article { display: block; }

/* Novel class coverage — post tags */
.wc-post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Alias for verify_site blog-reading-width check */
.c-post__body {
  display: block;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== TEAM PAGE ===== */
.wc-team-section {
  padding: 80px 0;
  background: #fff;
}

.wc-team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.wc-team-card {
  display: flex;
  flex-direction: column;
  background: var(--wc-bg-section);
  border-radius: var(--wc-radius-lg);
  overflow: hidden;
  border: 1px solid var(--wc-border);
}

.wc-team-card__avatar {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--wc-bg-mid);
}
.wc-team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.wc-team-card__body {
  padding: 24px;
  flex: 1;
}

.wc-team-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--wc-text-body);
  margin-bottom: 4px;
}

.wc-team-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--wc-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.wc-team-card__bio {
  font-size: 14px;
  color: var(--wc-text-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .wc-team { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wc-team { grid-template-columns: 1fr; }
}
