/* ==========================================================================
   Wazon — multi-page marketing site  ·  wfs-*
   Layers on top of wf-landing.css (reuses its tokens, buttons, reveal).
   All motion is transform/opacity only and switched off for reduced motion.
   ========================================================================== */

/* ---------- 1. SCROLL PROGRESS ---------- */
.wfs-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 80;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--primary), var(--accent));
  pointer-events: none;
}

/* ---------- 2. HEADER · MEGA MENU ---------- */
.wfs-nav .is-active { color: var(--text); font-weight: 600; }
.wfs-menu { position: relative; }
.wfs-menu-top { gap: 4px; }
.wfs-caret { width: 12px; height: 12px; transition: transform var(--t-fast) var(--ease); }
.wfs-menu:hover .wfs-caret,
.wfs-menu:focus-within .wfs-caret { transform: rotate(180deg); }

.wfs-mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(640px, 90vw);
  padding: var(--s-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px) scale(0.98);
  transform-origin: top center;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
  z-index: 70;
}
.wfs-mega::before { /* hover bridge so the menu doesn't close in the gap */
  content: '';
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}
.wfs-menu:hover .wfs-mega,
.wfs-menu:focus-within .wfs-mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  transition-delay: 0s;
}
.wfs-mega-sm { width: 280px; }
.wfs-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.wfs-nav .wfs-mega-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  min-height: 0;
  padding: var(--s-3);
  border-radius: var(--r-md);
  color: var(--text);
}
.wfs-nav .wfs-mega-item:hover { background: var(--tint); }
.wfs-mega-item b { display: block; font-weight: 600; font-size: 0.92rem; }
.wfs-mega-item small { display: block; margin-top: 2px; font-size: 0.78rem; line-height: 1.4; color: var(--text-muted); }
.wfs-mega-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--tint);
  color: var(--primary);
  transition: transform var(--t-med) var(--ease-out);
}
.wfs-mega-ico .wfl-icon { width: 18px; height: 18px; }
.wfs-mega-item:hover .wfs-mega-ico { transform: scale(1.08) rotate(-4deg); }
.wfs-nav .wfs-mega-foot {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--s-2);
  padding: var(--s-3);
  min-height: 0;
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--r-md) var(--r-md);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
}
.wfs-mega-foot .wfl-icon { width: 16px; height: 16px; }

.wfl-drawer { max-height: calc(100dvh - var(--head-h)); overflow-y: auto; overscroll-behavior: contain; }
.wfl-drawer > a { min-height: 44px; }
.wfs-drawer-label {
  display: block;
  margin-top: var(--s-4);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- 3. BUTTON SHINE ---------- */
.wfs-shine { position: relative; overflow: hidden; isolation: isolate; }
.wfs-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: wfs-shine 4.5s var(--ease) 1.2s infinite;
}
@keyframes wfs-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---------- 4. HERO ---------- */
.wfs-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: var(--s-5) var(--s-8);
}
.wfs-hero-sm { padding-bottom: var(--s-6); }
.wfs-hero-center { text-align: center; }
.wfs-hero-center .wfl-lede { margin-inline: auto; }
.wfs-hero-center .wfl-h1 { max-width: 20ch; margin-inline: auto; }
.wfs-center, .wfs-hero-center .wfl-hero-cta { justify-content: center; }
.wfs-hero-grid { display: grid; gap: var(--s-7); align-items: center; margin-top: var(--s-5); }

/* aurora: three soft blobs drifting slowly */
.wfs-aurora { position: absolute; inset: -30% -10% auto; height: 120%; z-index: -2; pointer-events: none; filter: blur(60px); opacity: 0.55; }
.wfs-aurora i {
  position: absolute;
  width: 42vmax;
  height: 42vmax;
  border-radius: 50%;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--accent) 45%, transparent), transparent 65%);
  animation: wfs-drift 18s ease-in-out infinite alternate;
}
.wfs-aurora i:nth-child(1) { left: -8%; top: -10%; }
.wfs-aurora i:nth-child(2) { right: -10%; top: 0; background: radial-gradient(circle, color-mix(in srgb, #22c3ee 35%, transparent), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.wfs-aurora i:nth-child(3) { left: 35%; top: 20%; width: 30vmax; height: 30vmax; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 35%, transparent), transparent 65%); animation-duration: 26s; animation-delay: -12s; }
@keyframes wfs-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6%, 8%, 0) scale(1.12); }
  100% { transform: translate3d(-4%, 4%, 0) scale(0.95); }
}
@media (prefers-color-scheme: dark) { .wfs-aurora { opacity: 0.35; } }

.wfs-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.6;
}

/* staggered entrance for above-the-fold copy (CSS only — no JS needed) */
.wfs-enter { animation: wfs-enter 800ms var(--ease-out) both; animation-delay: calc(var(--d, 0) * 110ms + 60ms); }
@keyframes wfs-enter { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* gradient-shimmer on the emphasised words of the H1 */
.wfs .wfl-h1 em {
  background: linear-gradient(90deg, var(--primary), var(--accent), #22c3ee, var(--primary));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wfs-shimmer 8s linear infinite;
}
@keyframes wfs-shimmer { to { background-position: 300% 0; } }

/* breadcrumbs */
.wfs-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 var(--s-5); padding: 0; font-size: 0.82rem; color: var(--text-muted); }
.wfs-hero-center .wfs-crumbs ol { justify-content: center; }
.wfs-crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.wfs-crumbs a { color: inherit; text-decoration: none; }
.wfs-crumbs a:hover { color: var(--primary); }
.wfs-crumbs [aria-current] { color: var(--text); font-weight: 500; }

/* ---------- 5. ANSWER / "IN SHORT" BLOCK ---------- */
.wfs-answer-wrap { margin-top: calc(var(--s-7) * -1); position: relative; z-index: 2; }
.wfs-hero-center + .wfs-answer-wrap { margin-top: calc(var(--s-6) * -1); }
.wfs-answer {
  position: relative;
  padding: var(--s-6);
  border-radius: var(--r-xl);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.wfs-answer::before { /* animated gradient border */
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--wfs-a, 0deg), transparent 0 70%, var(--accent), var(--primary), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: wfs-spin 6s linear infinite;
  pointer-events: none;
}
@property --wfs-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes wfs-spin { to { --wfs-a: 360deg; } }
.wfs-answer-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }
.wfs-answer-tag .wfl-icon { width: 16px; height: 16px; }
.wfs-answer p { margin-top: var(--s-3); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.7; color: var(--text); max-width: 70ch; }
.wfs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-4); margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px dashed var(--border-strong); }
.wfs-stat b { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--primary); }
.wfs-stat span { font-size: 0.86rem; color: var(--text-muted); }

/* ---------- 6. CARDS (spotlight follows cursor) ---------- */
.wfs-sec-tight { padding-top: var(--s-6); }
.wfs-cards { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.wfs-card, .wfs-sol, .wfs-rel {
  position: relative;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), translate var(--t-med) var(--ease-out);
}
.wfs-card::before, .wfs-sol::before, .wfs-rel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -40%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.wfs-card:hover, .wfs-sol:hover, .wfs-rel:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); box-shadow: var(--shadow-md); translate: 0 -4px; }
.wfs-card:hover::before, .wfs-sol:hover::before, .wfs-rel:hover::before { opacity: 1; }
.wfs-card h3 { margin-top: var(--s-2); font-size: 1.08rem; font-weight: 650; letter-spacing: -0.015em; }
.wfs-card p { margin-top: var(--s-2); color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }
.wfs-card .wfl-tile-ico { transition: transform var(--t-med) var(--ease-out); }
.wfs-card:hover .wfl-tile-ico { transform: scale(1.1) rotate(-6deg); }

/* ---------- 7. TIMELINE (dark band) ---------- */
.wfs-timeline { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: var(--s-5); counter-reset: s; position: relative; }
.wfs-timeline li { position: relative; padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.wfs-timeline h3 { margin-top: var(--s-3); font-size: 1.1rem; font-weight: 650; }
.wfs-timeline p { margin-top: var(--s-2); color: var(--text-muted); line-height: 1.6; }
.wfs-timeline-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  color: #03140b;
  background: linear-gradient(135deg, var(--accent), #22c3ee);
  box-shadow: 0 0 0 6px rgba(61, 220, 132, 0.12);
}
html.wfl-js .wfs-timeline li.is-in .wfs-timeline-num { animation: wfs-pop 600ms var(--ease-out) both; animation-delay: calc(var(--wfl-delay, 0ms) + 250ms); }
@keyframes wfs-pop { 0% { transform: scale(0.4); } 60% { transform: scale(1.15); } 100% { transform: none; } }

/* ---------- 8. RELATED / SOLUTIONS / FEATURE LIST ---------- */
.wfs-related, .wfs-sol-grid { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.wfs-rel, .wfs-sol { display: flex; flex-direction: column; gap: var(--s-2); color: var(--text); text-decoration: none; }
.wfs-rel b, .wfs-sol h2 { font-size: 1.1rem; font-weight: 650; letter-spacing: -0.015em; }
.wfs-rel > span:not(.wfl-tile-ico), .wfs-sol p { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }
.wfs-rel em, .wfs-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: var(--s-2); font-style: normal; font-weight: 600; color: var(--primary); }
.wfs-rel em .wfl-icon, .wfs-more .wfl-icon { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease-out); }
.wfs-rel:hover em .wfl-icon, .wfs-sol:hover .wfs-more .wfl-icon, .wfs-feature-row:hover .wfs-more .wfl-icon { transform: translateX(5px); }

.wfs-feature-list { display: grid; gap: var(--s-7); }
.wfs-feature-row {
  display: grid;
  gap: var(--s-6);
  align-items: center;
  padding: var(--s-5);
  border-radius: var(--r-xl);
  border: 1px solid transparent;
  color: var(--text);
  text-decoration: none;
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.wfs-feature-row:hover { background: var(--surface); border-color: var(--border); }
.wfs-feature-copy .wfl-eyebrow { display: inline-flex; align-items: center; gap: 6px; }
.wfs-feature-copy .wfl-eyebrow .wfl-icon { width: 16px; height: 16px; }
.wfs-feature-copy p { margin-top: var(--s-3); color: var(--text-muted); line-height: 1.65; }
.wfs-mini-list { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: 6px; }
.wfs-mini-list li { display: flex; gap: 8px; align-items: center; font-size: 0.93rem; }
.wfs-mini-list .wfl-icon { width: 16px; height: 16px; color: var(--primary); flex: none; }

/* solution use-cases */
.wfs-uses { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.wfs-use { display: grid; gap: var(--s-5); align-items: center; padding: var(--s-5); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); }
.wfs-use-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wfs-use h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
.wfs-use p { margin-top: var(--s-2); color: var(--text-muted); line-height: 1.6; }
.wfs-chip-link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s-3); padding: 6px 12px; border-radius: var(--r-pill); background: var(--tint); color: var(--primary); font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.wfs-chip-link .wfl-icon { width: 15px; height: 15px; }
.wfs-use-visual { display: none; }

/* vertical steps (how it works) */
.wfs-vsteps { list-style: none; margin: var(--s-6) 0 0; padding: 0; position: relative; display: grid; gap: var(--s-5); }
.wfs-vsteps::before { content: ''; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--accent), var(--primary), transparent); transform-origin: top; transform: scaleY(var(--line, 1)); }
.wfs-vsteps li { position: relative; display: flex; gap: var(--s-4); align-items: flex-start; }
.wfs-vsteps-ico { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 2px solid var(--primary); color: var(--primary); box-shadow: 0 0 0 6px var(--bg); }
.wfs-vsteps-ico .wfl-icon { width: 20px; height: 20px; }
.wfs-vsteps-meta { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }
.wfs-vsteps h3 { margin-top: 4px; font-size: 1.15rem; font-weight: 700; }
.wfs-vsteps p { margin-top: var(--s-2); color: var(--text-muted); line-height: 1.6; max-width: 60ch; }

/* FAQ question inside <summary> keeps the old look but is a real heading */
.wfs-qa-q { font: inherit; margin: 0; }

/* CTA glow */
.wfs-cta { position: relative; overflow: hidden; isolation: isolate; }
.wfs-cta-glow { position: absolute; inset: -50%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(61, 220, 132, 0.25), transparent 30%); animation: wfs-rotate 12s linear infinite; }
@keyframes wfs-rotate { to { transform: rotate(1turn); } }

/* footer: 5 columns on desktop */
@media (min-width: 1024px) { .wfs-foot-grid { grid-template-columns: 1.4fr repeat(4, 1fr) !important; } .wfs-foot-grid .wfl-foot-about { grid-column: auto; } }

/* ---------- 9. PRODUCT MOCKS ---------- */
.wfs-hero-visual { position: relative; perspective: 1200px; }
.wfs-tilt .wfs-mock { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 400ms var(--ease-out); transform-style: preserve-3d; }
.wfs-mock { position: relative; width: 100%; max-width: 540px; margin-inline: auto; font-size: 0.82rem; }
.wfs-win { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.wfs-win-dark { background: #0d1512; border-color: #1f2b26; color: #e6eee9; }
.wfs-win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.wfs-win-dark .wfs-win-bar { background: #111c17; border-color: #1f2b26; }
.wfs-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.wfs-win-bar i:nth-child(2) { background: #febc2e; }
.wfs-win-bar i:nth-child(3) { background: #28c840; }
.wfs-win-bar span { margin-left: 8px; font-weight: 600; font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wfs-pad { padding: var(--s-4); }

.wfs-float {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  animation: wfs-bob 5s ease-in-out infinite;
}
.wfs-float b { font-weight: 700; }
.wfs-float span { color: var(--text-muted); }
.wfs-float-a { right: -8px; bottom: -18px; }
.wfs-float-b { left: -8px; bottom: -18px; animation-delay: -2.5s; }
@keyframes wfs-bob { 50% { transform: translateY(-8px); } }

/* sequence helper: children fade in one by one once revealed / in hero */
.wfs-seq { opacity: 0; transform: translateY(8px); }
.is-in .wfs-seq, .wfs-hero-visual.is-in .wfs-seq, html:not(.wfl-js) .wfs-seq {
  animation: wfs-seq 500ms var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 450ms + 300ms);
}
@keyframes wfs-seq { to { opacity: 1; transform: none; } }

/* inbox */
.wfs-inbox { display: grid; grid-template-columns: 38% 1fr; min-height: 260px; }
.wfs-inbox-list { list-style: none; margin: 0; padding: 6px; border-right: 1px solid var(--border); }
.wfs-inbox-list li { position: relative; padding: 8px 10px; border-radius: var(--r-sm); }
.wfs-inbox-list li.is-on { background: var(--tint); }
.wfs-inbox-list b { display: block; font-size: 0.8rem; }
.wfs-inbox-list small { display: block; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.72rem; }
.wfs-inbox-list em { position: absolute; right: 8px; top: 10px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: #03140b; font-style: normal; font-size: 0.68rem; font-weight: 700; display: grid; place-items: center; }
.wfs-thread { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.wfs-assign { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--text-muted); }
.wfs-avatar { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #22c3ee); color: #fff; font-size: 0.62rem; font-weight: 700; }
.wfs-avatar-lg { width: 48px; height: 48px; font-size: 1rem; }
.wfs-b { max-width: 85%; margin: 0; padding: 8px 10px; border-radius: 10px; line-height: 1.45; box-shadow: var(--shadow-sm); }
.wfs-b-in { align-self: flex-start; background: var(--surface); border-top-left-radius: 2px; }
.wfs-b-out { align-self: flex-end; background: var(--bubble-out); border-top-right-radius: 2px; }
.wfs-b-note { align-self: center; max-width: 95%; background: color-mix(in srgb, var(--warning) 14%, var(--surface)); font-size: 0.74rem; }
.wfs-ticks { margin-left: 6px; color: #34b7f1; font-size: 0.7rem; }
.wfs-typing { align-self: flex-start; display: flex; gap: 4px; margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface); }
.wfs-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: wfs-dot 1.2s infinite; }
.wfs-typing i:nth-child(2) { animation-delay: 0.15s; }
.wfs-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes wfs-dot { 0%, 60%, 100% { transform: none; opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* broadcast */
.wfs-bc-head { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; }
.wfs-bc-head b { font-size: 1.2rem; font-family: var(--font-display); }
.wfs-badge { margin-left: auto; padding: 3px 10px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--success) 15%, transparent); color: var(--success); font-weight: 700; font-size: 0.72rem; }
.wfs-badge::before { content: '● '; animation: wfs-blink 1.4s infinite; }
@keyframes wfs-blink { 50% { opacity: 0.2; } }
.wfs-meter { height: 8px; margin-top: 12px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.wfs-meter span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); transform-origin: left; transform: scaleX(0); }
.is-in .wfs-meter span, .wfs-hero-visual.is-in .wfs-meter span { animation: wfs-grow 2.2s var(--ease-out) 300ms forwards; }
@keyframes wfs-grow { to { transform: scaleX(1); } }
.wfs-bc-rows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.wfs-bc-rows div { padding: 8px; border-radius: var(--r-sm); background: var(--surface-2); }
.wfs-bc-rows span { display: block; font-size: 0.68rem; color: var(--text-muted); }
.wfs-bc-rows b { font-family: var(--font-display); font-size: 1rem; }
.wfs-bc-rows div:last-child b { color: var(--danger); }
.wfs-bc-feed { margin-top: 12px; display: grid; gap: 6px; font-size: 0.74rem; color: var(--text-muted); }
.wfs-bc-feed p { margin: 0; display: flex; align-items: center; gap: 6px; }
.wfs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex: none; }
.wfs-dot.warn { background: var(--warning); }

/* flow canvas */
.wfs-canvas {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background-color: var(--surface);
  background-image: radial-gradient(var(--border-strong) 1px, transparent 1px);
  background-size: 18px 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.wfs-edges { position: absolute; inset: 0; width: 100%; height: 100%; }
.wfs-edges path { fill: none; stroke: var(--primary); stroke-width: 2; stroke-dasharray: 6 6; opacity: 0.6; animation: wfs-dash 1.2s linear infinite; }
@keyframes wfs-dash { to { stroke-dashoffset: -24; } }
.wfs-node {
  position: absolute;
  translate: -50% 0;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  font-size: 0.76rem;
}
.wfs-node b { font-weight: 700; }
.wfs-node-trigger { border-color: var(--primary); background: var(--tint); }
.wfs-node-http { background: #0d1512; color: #e6eee9; border-color: #1f2b26; }
.wfs-pulse { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: wfs-travel 4s var(--ease) infinite 1.5s; opacity: 0; }
@keyframes wfs-travel {
  0% { opacity: 0; left: 50%; top: 18%; }
  10% { opacity: 1; }
  40% { left: 27%; top: 42%; }
  75% { left: 50%; top: 72%; opacity: 1; }
  100% { left: 50%; top: 72%; opacity: 0; }
}

/* template */
.wfs-tpl { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 14px; padding: 14px; }
.wfs-tpl-form label { display: block; margin-top: 8px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.wfs-tpl-form label:first-child { margin-top: 0; }
.wfs-field { margin-top: 4px; padding: 8px 10px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface-2); font-size: 0.76rem; }
.wfs-type { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.wfs-type::after { content: '|'; margin-left: 1px; color: var(--primary); animation: wfs-blink 1s steps(1) infinite; }
.wfs-phone-mini { align-self: start; padding: 8px; border-radius: 14px; background: #e7ddd3; box-shadow: inset 0 0 0 6px #111; }
@media (prefers-color-scheme: dark) { .wfs-phone-mini { background: #0b141a; } }
.wfs-phone-mini p { margin: 0; padding: 8px; background: var(--surface); font-size: 0.72rem; line-height: 1.4; border-radius: 0 0 8px 8px; }
.wfs-tpl-img { height: 64px; border-radius: 8px 8px 0 0; background: linear-gradient(135deg, #f59e0b, #ef4444, #8b5cf6); background-size: 200% 200%; animation: wfs-shimmer 6s linear infinite; }
.wfs-tpl-btn { display: block; margin-top: 3px; padding: 6px; border-radius: 8px; background: var(--surface); color: #34b7f1; text-align: center; font-size: 0.72rem; font-weight: 600; }
.wfs-stamp { border-color: var(--success); }
.wfs-stamp b { color: var(--success); }
.is-in .wfs-stamp, .wfs-hero-visual.is-in .wfs-stamp { animation: wfs-stamp 700ms var(--ease-out) 1.4s both, wfs-bob 5s ease-in-out 2.1s infinite; }
@keyframes wfs-stamp { from { opacity: 0; transform: scale(1.8) rotate(-12deg); } to { opacity: 1; transform: none; } }

/* crm */
.wfs-crm-head { display: flex; align-items: center; gap: 12px; }
.wfs-crm-head b { font-size: 1rem; }
.wfs-crm-head small { display: block; color: var(--text-muted); }
.wfs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.wfs-tags span { padding: 4px 10px; border-radius: var(--r-pill); background: var(--tint); color: var(--primary); font-weight: 600; font-size: 0.72rem; }
.wfs-attrs { margin: 14px 0 0; display: grid; gap: 6px; }
.wfs-attrs div { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: var(--r-sm); background: var(--surface-2); }
.wfs-attrs dt { color: var(--text-muted); }
.wfs-attrs dd { margin: 0; font-weight: 600; }
.wfs-qr { flex-direction: row; align-items: center; gap: 10px; }
.wfs-qr-code { width: 36px; height: 36px; border-radius: 4px; background:
  conic-gradient(from 90deg at 30% 30%, var(--text) 25%, transparent 0) 0 0 / 9px 9px,
  var(--surface); outline: 2px solid var(--text); outline-offset: -2px; }

/* api */
.wfs-code { margin: 0; padding: 14px 16px; font: 0.74rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #cfe3d8; white-space: pre; overflow-x: auto; }
.wfs-code .c { color: #6b8a7b; }
.wfs-code .k { color: #3ddc84; font-weight: 700; }
.wfs-code .s { color: #fbbf24; }
.wfs-code-res { display: flex; align-items: center; gap: 8px; margin: 0 14px 14px; padding: 8px 12px; border-radius: var(--r-sm); background: rgba(61, 220, 132, 0.1); font: 0.74rem ui-monospace, monospace; color: #a7f3c9; }

/* reports */
.wfs-funnel { display: grid; gap: 8px; }
.wfs-funnel div { position: relative; display: flex; justify-content: space-between; padding: 8px 10px; border-radius: var(--r-sm); background: var(--surface-2); overflow: hidden; isolation: isolate; }
.wfs-funnel div::before { content: ''; position: absolute; inset: 0; z-index: -1; width: var(--w); background: color-mix(in srgb, var(--primary) 22%, transparent); transform-origin: left; transform: scaleX(0); }
.wfs-funnel div.is-bad::before { background: color-mix(in srgb, var(--danger) 30%, transparent); }
.is-in .wfs-funnel div::before, .wfs-hero-visual.is-in .wfs-funnel div::before { animation: wfs-grow 1.4s var(--ease-out) forwards; }
.wfs-funnel div:nth-child(2)::before { animation-delay: 0.15s !important; }
.wfs-funnel div:nth-child(3)::before { animation-delay: 0.3s !important; }
.wfs-funnel div:nth-child(4)::before { animation-delay: 0.45s !important; }
.wfs-bars { display: flex; align-items: flex-end; gap: 5px; height: 90px; margin-top: 14px; }
.wfs-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(var(--accent), var(--primary)); transform-origin: bottom; transform: scaleY(0); }
.is-in .wfs-bars span, .wfs-hero-visual.is-in .wfs-bars span { animation: wfs-rise 900ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 60ms + 400ms); }
@keyframes wfs-rise { to { transform: scaleY(1); } }

/* ---------- 10. BREAKPOINTS ---------- */
@media (min-width: 640px) {
  .wfs-cards { grid-template-columns: repeat(2, 1fr); }
  .wfs-related, .wfs-sol-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .wfs-timeline { grid-template-columns: repeat(3, 1fr); }
  .wfs-timeline::before { content: ''; position: absolute; left: 10%; right: 10%; top: 44px; height: 2px; background: linear-gradient(90deg, transparent, rgba(61, 220, 132, 0.5), transparent); }
  .wfs-use { grid-template-columns: auto 1fr; }
}
@media (min-width: 1024px) {
  .wfs-hero { padding-block: var(--s-5) calc(var(--s-8) + var(--s-6)); }
  .wfs-hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .wfs-cards { grid-template-columns: repeat(3, 1fr); }
  .wfs-related { grid-template-columns: repeat(3, 1fr); }
  .wfs-feature-row { grid-template-columns: 1fr 1fr; padding: var(--s-6); }
  .wfs-feature-row:nth-child(even) .wfs-feature-copy { order: 2; }
  .wfs-use { grid-template-columns: auto 1fr 1fr; }
  .wfs-use-visual { display: block; }
  .wfs-use-visual .wfs-mock { transform: scale(0.85); }
  .wfs-answer { padding: var(--s-7); }
}
@media (max-width: 480px) {
  .wfs-inbox { grid-template-columns: 1fr; }
  .wfs-inbox-list { display: none; }
  .wfs-tpl { grid-template-columns: 1fr; }
  .wfs-bc-rows { grid-template-columns: repeat(2, 1fr); }
  .wfs-float-a { right: 4px; }
  .wfs-float-b { left: 4px; }
  .wfs-mega-grid { grid-template-columns: 1fr; }
}

/* ---------- 11. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .wfs *, .wfs *::before, .wfs *::after { animation: none !important; transition: none !important; }
  .wfs-seq { opacity: 1; transform: none; }
  .wfs-meter span, .wfs-funnel div::before, .wfs-bars span { transform: none; }
  .wfs-aurora { display: none; }
}

/* ---------- 12. HOME PAGE LINKS INTO THE NEW PAGES ---------- */
.wfs-tile-link, .wfs-sec-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-3);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
}
.wfs-tile-link .wfl-icon, .wfs-sec-link .wfl-icon { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease-out); }
.wfs-tile-link:hover .wfl-icon, .wfs-sec-link:hover .wfl-icon { transform: translateX(4px); }
.wfs-sec-link { margin-top: var(--s-4); }
.wfs-sol h3 { font-size: 1.1rem; font-weight: 650; letter-spacing: -0.015em; }
@media (min-width: 1024px) { .wfs-sol-grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 13. CONTACT / INQUIRY ---------- */
.wfs-contact-sec {
  padding-top: calc(var(--s-5) + var(--head-h, 72px));
  padding-bottom: var(--s-8);
}
.wfs-contact-sec .wfs-crumbs { margin-bottom: var(--s-5); }
.wfs-contact-grid {
  display: grid;
  gap: var(--s-6);
  align-items: start;
}
.wfs-contact-aside .wfl-eyebrow { margin-bottom: var(--s-2); }
.wfs-contact-aside .wfl-h2 { margin-bottom: var(--s-3); }
.wfs-contact-aside > p {
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 38ch;
}
.wfs-contact-details {
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-3);
}
.wfs-contact-details li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
}
.wfs-contact-details strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.wfs-contact-details a {
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  word-break: break-word;
}
.wfs-contact-details a:hover { color: var(--primary); }
.wfs-contact-points {
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: var(--s-4) 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: var(--s-3);
}
.wfs-contact-points li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
}
.wfs-contact-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--tint);
  color: var(--primary);
}
.wfs-contact-ico .wfl-icon { width: 16px; height: 16px; }

.wfs-contact-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: var(--s-5);
}
.wfs-contact-panel-title {
  margin: 0 0 var(--s-4);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.wfs-contact-ok,
.wfs-contact-err {
  margin-bottom: var(--s-4);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  font-size: 0.92rem;
  line-height: 1.45;
}
.wfs-contact-ok {
  background: color-mix(in srgb, var(--primary) 12%, var(--surface));
  color: var(--primary-hover);
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border));
}
.wfs-contact-err {
  background: #fff4f2;
  color: #9b2c1f;
  border: 1px solid #f0c7bf;
}
.wfs-contact-form { display: grid; gap: var(--s-4); }
.wfs-contact-row {
  display: grid;
  gap: var(--s-4);
}
.wfs-field { display: grid; gap: 6px; }
.wfs-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}
.wfs-input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.wfs-input::placeholder { color: var(--text-muted); opacity: 0.75; }
.wfs-input:hover { border-color: color-mix(in srgb, var(--text) 28%, var(--border-strong)); }
.wfs-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.wfs-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}
.wfs-field.has-error .wfs-input {
  border-color: #d4533f;
  box-shadow: 0 0 0 3px rgba(212, 83, 63, 0.12);
}
.wfs-field-error {
  font-size: 0.82rem;
  color: #9b2c1f;
}
.wfs-contact-submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--s-2);
}

/* Country phone matches contact inputs */
.wfs-contact-form .wf-phone-group {
  --wf-phone-h: 48px;
  border-radius: var(--r-md);
  border-color: var(--border-strong);
}
.wfs-contact-form .wf-phone-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.wfs-field.has-error .wf-phone-group {
  border-color: #d4533f;
  box-shadow: 0 0 0 3px rgba(212, 83, 63, 0.12);
}

/* Select2 searchable inquiry type */
.wfs-select2 + .select2-container { width: 100% !important; }
.wfs-select2 + .select2-container .select2-selection--single {
  min-height: 48px;
  height: 48px;
  padding: 0 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  display: flex;
  align-items: center;
}
.wfs-select2 + .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.3;
  color: var(--text);
  font-size: 0.95rem;
}
.wfs-select2 + .select2-container .select2-selection--single .select2-selection__placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}
.wfs-select2 + .select2-container .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 10px;
  top: 0;
}
.wfs-select2 + .select2-container.select2-container--open .select2-selection--single,
.wfs-select2 + .select2-container.select2-container--focus .select2-selection--single {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
  outline: none;
}
.wfs-field.has-error .wfs-select2 + .select2-container .select2-selection--single {
  border-color: #d4533f;
  box-shadow: 0 0 0 3px rgba(212, 83, 63, 0.12);
}
.wfs-select2-dropdown.select2-dropdown {
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  z-index: 90;
}
.wfs-select2-dropdown .select2-search--dropdown {
  padding: 10px;
  background: var(--surface);
}
.wfs-select2-dropdown .select2-search--dropdown .select2-search__field {
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  outline: none;
}
.wfs-select2-dropdown .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--primary);
}
.wfs-select2-dropdown .select2-results > .select2-results__options { max-height: 220px; }
.wfs-select2-dropdown .select2-results__option,
.select2-container--default .wfs-select2-dropdown .select2-results__option {
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.94rem;
}
.wfs-select2-dropdown .select2-results__option[aria-selected='true'],
.select2-container--default .wfs-select2-dropdown .select2-results__option[aria-selected='true'] {
  background: var(--tint);
  color: var(--text);
}
.wfs-select2-dropdown .select2-results__option--highlighted,
.wfs-select2-dropdown .select2-results__option--highlighted[aria-selected],
.wfs-select2-dropdown .select2-results__option--highlighted[aria-selected='true'],
.select2-container--default .wfs-select2-dropdown .select2-results__option--highlighted,
.select2-container--default .wfs-select2-dropdown .select2-results__option--highlighted[aria-selected],
.select2-container--default .wfs-select2-dropdown .select2-results__option--highlighted[aria-selected='true'] {
  background: var(--primary) !important;
  color: var(--on-primary, #fff) !important;
}
.wfs-select2-dropdown .select2-results__option--disabled,
.select2-container--default .wfs-select2-dropdown .select2-results__message {
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .wfs-contact-row { grid-template-columns: 1fr 1fr; }
  .wfs-contact-panel { padding: var(--s-6); }
}
@media (min-width: 1024px) {
  .wfs-contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-8); }
  .wfs-contact-submit { width: auto; justify-self: start; min-width: 200px; }
}

/* ---------- BLOG ---------- */
.wfs-blog-index { padding-top: var(--s-6); }
.wfs-blog-index-hero .wfl-h1 { max-width: 18ch; margin-inline: auto; }
.wfs-blog-index-hero .wfl-lede { max-width: 42ch; margin-inline: auto; }

.wfs-blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 500;
}
.wfs-blog-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: color-mix(in srgb, var(--text-muted) 55%, transparent);
}
.wfs-blog-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, var(--surface));
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.wfs-blog-feature {
  display: grid;
  gap: 0;
  margin-bottom: var(--s-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), translate var(--t-med) var(--ease-out);
}
.wfs-blog-feature:hover {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
  box-shadow: var(--shadow-md);
  translate: 0 -2px;
}
.wfs-blog-feature-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 16%, var(--surface)), color-mix(in srgb, var(--accent) 12%, var(--surface)));
}
.wfs-blog-feature-media img,
.wfs-blog-feature-media .wfs-blog-card-fallback {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.55s var(--ease-out);
}
.wfs-blog-feature:hover .wfs-blog-feature-media img:not(.is-logo) { transform: scale(1.04); }
.wfs-blog-feature-body {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5);
  align-content: center;
}
.wfs-blog-feature-body h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.22;
}
.wfs-blog-feature-body h2 a { color: inherit; text-decoration: none; }
.wfs-blog-feature-body h2 a:hover { color: var(--primary); }
.wfs-blog-feature-body > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 54ch;
}

.wfs-blog-grid {
  display: grid;
  gap: var(--s-5);
}
.wfs-blog-grid-rest { margin-top: 0; }
.wfs-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), translate var(--t-med) var(--ease-out);
}
.wfs-blog-card:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  box-shadow: var(--shadow-md);
  translate: 0 -4px;
}
.wfs-blog-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, var(--surface)), color-mix(in srgb, var(--accent) 14%, var(--surface)));
  overflow: hidden;
}
.wfs-blog-card-media img,
.wfs-blog-card-fallback {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s var(--ease-out);
}
.wfs-blog-card:hover .wfs-blog-card-media img:not(.is-logo) { transform: scale(1.05); }
.wfs-blog-card-media.is-logo,
.wfs-blog-feature-media.is-logo {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 55%),
    radial-gradient(circle at 70% 70%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 50%),
    color-mix(in srgb, var(--surface) 92%, var(--primary));
}
.wfs-blog-card-media img.is-logo,
.wfs-blog-feature-media img.is-logo {
  width: auto;
  height: auto;
  max-width: 42%;
  max-height: 42%;
  object-fit: contain;
}
.wfs-blog-card-fallback {
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--primary) 28%, transparent), transparent 55%),
    radial-gradient(circle at 70% 70%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 50%);
}
.wfs-blog-card-body {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-4);
  flex: 1;
}
.wfs-blog-card h2,
.wfs-blog-card h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.wfs-blog-card h2 a,
.wfs-blog-card h3 a { color: inherit; text-decoration: none; }
.wfs-blog-card h2 a:hover,
.wfs-blog-card h3 a:hover { color: var(--primary); }
.wfs-blog-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}
.wfs-blog-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--s-2);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: gap var(--t-fast) var(--ease-out);
}
.wfs-blog-more svg { width: 16px; height: 16px; }
.wfs-blog-more:hover { gap: 10px; }

.wfs-blog-empty {
  text-align: center;
  padding: var(--s-8) var(--s-4);
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  display: grid;
  justify-items: center;
  gap: var(--s-3);
}
.wfs-blog-empty-ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--primary) 12%, var(--surface));
  color: var(--primary);
}
.wfs-blog-empty-ico svg { width: 22px; height: 22px; }
.wfs-blog-empty h2 { margin: 0; }
.wfs-blog-empty p { margin: 0; color: var(--text-muted); max-width: 36ch; }

.wfs-blog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  margin-top: var(--s-7);
}
.wfs-blog-pager a,
.wfs-blog-pager .is-disabled {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.wfs-blog-pager a:hover { border-color: var(--primary); color: var(--primary); }
.wfs-blog-pager .is-disabled { opacity: 0.4; cursor: default; }
.wfs-blog-pager-status { color: var(--text-muted); font-size: 0.9rem; }

/* Single post */
.wfs-blog-hero-inner { max-width: 760px; margin-inline: auto; }
.wfs-blog-hero .wfl-h1 { letter-spacing: -0.035em; }
.wfs-blog-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}
.wfs-blog-byline-mark {
  width: 40px; height: 40px; border-radius: 10px;
  overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid; place-items: center;
}
.wfs-blog-byline-mark .wf-brand-mark,
.wfs-blog-byline-mark img { width: 28px; height: 28px; object-fit: contain; }
.wfs-blog-byline b { display: block; font-size: 0.92rem; line-height: 1.2; }
.wfs-blog-byline small { color: var(--text-muted); font-size: 0.8rem; }

.wfs-blog-cover {
  margin: calc(var(--s-4) * -1) auto 0;
  max-width: 960px;
  border-radius: calc(var(--r-lg) + 2px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.wfs-blog-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 520px);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.wfs-blog-cover.is-logo {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  max-height: min(40vh, 360px);
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 55%),
    radial-gradient(circle at 70% 70%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 50%),
    color-mix(in srgb, var(--surface) 92%, var(--primary));
}
.wfs-blog-cover.is-logo img.is-logo {
  width: auto;
  height: auto;
  max-width: 28%;
  max-height: 40%;
  aspect-ratio: auto;
  object-fit: contain;
}
.wfs-blog-sec { padding-top: var(--s-6); }
.wfs-blog-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text);
}
.wfs-blog-prose > *:first-child { margin-top: 0; }
.wfs-blog-prose h2,
.wfs-blog-prose h3,
.wfs-blog-prose h4 {
  margin: 1.7em 0 0.55em;
  letter-spacing: -0.025em;
  line-height: 1.25;
  font-weight: 700;
}
.wfs-blog-prose h2 { font-size: 1.45rem; }
.wfs-blog-prose h3 { font-size: 1.2rem; }
.wfs-blog-prose p,
.wfs-blog-prose ul,
.wfs-blog-prose ol,
.wfs-blog-prose blockquote,
.wfs-blog-prose pre,
.wfs-blog-prose table,
.wfs-blog-prose figure { margin: 0 0 1.15em; }
.wfs-blog-prose a {
  color: var(--primary);
  text-underline-offset: 3px;
}
.wfs-blog-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-md);
  margin: 1.35em 0;
  border: 1px solid var(--border);
}
.wfs-blog-prose blockquote {
  padding: 0.35em 0 0.35em 1.1em;
  border-left: 3px solid var(--primary);
  color: var(--text-muted);
  font-size: 1.05em;
}
.wfs-blog-prose ul,
.wfs-blog-prose ol { padding-left: 1.3em; }
.wfs-blog-prose li + li { margin-top: 0.35em; }
.wfs-blog-prose code {
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  border-radius: 5px;
  background: color-mix(in srgb, var(--primary) 8%, var(--surface));
}
.wfs-blog-prose pre {
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--text) 92%, #000);
  color: #f8fafc;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.55;
}
.wfs-blog-prose pre code { background: transparent; padding: 0; color: inherit; }

.wfs-blog-foot {
  max-width: 720px;
  margin: var(--s-7) auto 0;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 7%, var(--surface)), var(--surface));
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: center;
  justify-content: space-between;
}
.wfs-blog-foot-copy { max-width: 36ch; }
.wfs-blog-foot-copy b { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.wfs-blog-foot-copy p { margin: 0; color: var(--text-muted); font-size: 0.94rem; line-height: 1.5; }
.wfs-blog-foot-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.wfs-blog-related { padding-top: var(--s-2); }
.wfs-blog-related-head { margin-bottom: var(--s-5); }
.wfs-blog-grid-rel { margin-top: 0; }

@media (min-width: 720px) {
  .wfs-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .wfs-blog-feature {
    grid-template-columns: 1.15fr 1fr;
    min-height: 340px;
  }
  .wfs-blog-feature-media { aspect-ratio: auto; min-height: 100%; }
}
@media (min-width: 1024px) {
  .wfs-blog-grid { grid-template-columns: repeat(3, 1fr); }
  .wfs-blog-grid-rel { grid-template-columns: repeat(3, 1fr); }
  .wfs-blog-feature-body { padding: var(--s-6); }
}
@media (prefers-reduced-motion: reduce) {
  .wfs-blog-card:hover,
  .wfs-blog-feature:hover { translate: none; }
  .wfs-blog-card:hover .wfs-blog-card-media img,
  .wfs-blog-feature:hover .wfs-blog-feature-media img { transform: none; }
}
