/*
 * Flowgear transparent pricing — internal demo (builtbytj.growthexperts.co/flowgear-pricing-v2/)
 * Brand tokens align to Flowgear CI guide (Jan 2026). Secondary type: Poppins. No transition:all on interactive surfaces.
 */

:root {
  /* Official palette (CI guide Jan 2026) */
  --ci-green: #29baab;
  --ci-navy: #193a63;
  --ci-pitch: #0f1229;
  --ci-yellow: #f2c23e;
  --ci-purple: #ab8ab6;
  --ci-grey: #bfbfbf;
  --ci-blue: #6a8bc7;
  --ci-soft-red: #f3715f;
  --ci-white: #ffffff;

  /* Semantic UI tokens */
  --teal: var(--ci-green);
  --lilac: #ccb9d3;
  --lavender: var(--ci-purple);
  --yellow: var(--ci-yellow);
  --navy: var(--ci-pitch);
  --hero-bg: #000000;
  --surface: #0f1229;
  --surface-alt: #152a45;
  --card: #161d3d;
  --elevated: #1e2545;
  --t1: #ffffff;
  --t2: rgba(255, 255, 255, 0.68);
  --t3: rgba(255, 255, 255, 0.42);
  --border: rgba(106, 139, 199, 0.14);
  --border-strong: rgba(25, 58, 99, 0.55);
  --maxw: 1200px;
  --gradient-heading: linear-gradient(90deg, #ccb9d3 0%, var(--ci-purple) 45%, var(--ci-green) 100%);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --focus: var(--teal);
  --icon-stroke: var(--ci-green);
  --banner-h: 44px;
  --nav-h: 68px;
  --chrome-h: calc(var(--banner-h) + var(--nav-h));
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--chrome-h);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--surface);
  color: var(--t1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 720px) {
  :root {
    --banner-h: 80px;
  }
}

section[id] {
  scroll-margin-top: var(--chrome-h);
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 400;
  padding: 12px 16px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 600;
  border-radius: var(--r-sm);
}

.skip:focus {
  left: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1 {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.h1-gradient {
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.h2-gradient {
  background: linear-gradient(90deg, #d4c4e0 0%, #ac8db8 40%, #6ecfc4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h3 {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  line-height: 1.3;
}

p {
  font-size: 16px;
  color: var(--t2);
}

strong {
  color: var(--t1);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition:
    background-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    transform 0.15s var(--ease-out);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}

.btn-primary:hover {
  box-shadow: 0 0 28px rgba(242, 194, 62, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-secondary:hover {
  background: rgba(41, 186, 171, 0.12);
}

.btn-glass {
  background: rgba(106, 139, 199, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--t1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-glass:hover {
  border-color: rgba(41, 186, 171, 0.45);
  background: rgba(41, 186, 171, 0.12);
}

.btn-nav-contact {
  background: rgba(106, 139, 199, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--t1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ghost {
  color: var(--teal);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.ghost:hover {
  text-decoration: underline;
}
.nla-simple.nav-current {
  color: var(--t1);
  font-weight: 600;
}

.nla-simple.nav-current:hover {
  color: var(--t1);
  text-decoration: none;
}

/* Nav — black bar, glass mega panels, logo selective-colour hover */
.nav {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  right: 0;
  z-index: 300;
  padding: 0 24px;
  background: #000000;
  transition:
    background-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.nav.on {
  background: rgba(0, 0, 0, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.navi {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 8px 16px 8px 4px;
  margin: -8px 0 -8px -4px;
}

.logo:hover,
.logo:focus-visible {
  text-decoration: none;
}

/* Inline SVG logo: clip mark and wordmark transition separately */
.logo-svg {
  width: 150px;
  height: auto;
  display: block;
}

/* Default: both elements muted on black */
.logo-svg .logo-clip {
  fill: rgba(255, 255, 255, 0.28);
  transition: fill 0.3s var(--ease-out);
}

.logo-svg .logo-word {
  fill: rgba(255, 255, 255, 0.42);
  transition: fill 0.3s var(--ease-out);
}

/* Hover: clip turns brand teal, wordmark becomes full white */
.logo:hover .logo-svg .logo-clip,
.logo:focus-visible .logo-svg .logo-clip {
  fill: #29baab;
}

.logo:hover .logo-svg .logo-word,
.logo:focus-visible .logo-svg .logo-word {
  fill: #ffffff;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 8px;
}

.nl {
  display: flex;
  align-items: center;
  gap: 4px 12px;
  flex-wrap: wrap;
}

.nav-dd {
  position: relative;
}

/* Click-to-open dropdowns (desktop + mobile accordion) */
.nav-dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  margin: 0;
  border: none;
  border-radius: var(--r-sm);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--t2);
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.nav-dd-trigger:hover,
.nav-dd-trigger:focus-visible {
  color: var(--t1);
  outline: none;
}

.nav-dd-trigger:focus-visible {
  box-shadow: 0 0 0 2px var(--focus);
}

.nav-dd.is-open .nav-dd-trigger {
  color: var(--t1);
}

.nav-chev {
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform 0.25s var(--ease-out);
}

.nav-dd.is-open .nav-chev {
  transform: rotate(180deg);
}

.nla-simple {
  font-size: 14px;
  font-weight: 500;
  color: var(--t2);
  padding: 8px 10px;
  border-radius: var(--r-sm);
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.nla-simple:hover {
  color: var(--t1);
  text-decoration: none;
}

/* Premium glass panel: deep blur + saturation, luminous top edge */
.mega-panel {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(6, 6, 8, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.3),
    0 16px 48px rgba(0, 0, 0, 0.65),
    0 40px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 13px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition:
    background 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.mega-link:hover,
.mega-link:focus-visible {
  text-decoration: none;
  outline: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.055) 0%,
    rgba(41, 186, 171, 0.11) 40%,
    rgba(171, 138, 182, 0.09) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    inset 1px 0 0 rgba(255, 255, 255, 0.04),
    0 2px 12px rgba(0, 0, 0, 0.25);
}

.mega-link:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 0 0 2px var(--focus);
}

.mega-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(41, 186, 171, 0.75);
  transition:
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.mega-link:hover .mega-icon,
.mega-link:focus-visible .mega-icon {
  background: rgba(41, 186, 171, 0.12);
  border-color: rgba(41, 186, 171, 0.25);
  color: #29baab;
  transform: scale(1.06);
}

.mega-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-top: 1px;
}

.mega-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--t1);
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease-out);
}

.mega-link:hover .mega-title,
.mega-link:focus-visible .mega-title {
  color: #ffffff;
}

.mega-desc {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.2s var(--ease-out);
}

.mega-link:hover .mega-desc,
.mega-link:focus-visible .mega-desc {
  color: rgba(255, 255, 255, 0.55);
}

.nc {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}

.na {
  font-size: 14px;
  font-weight: 600;
  color: var(--lilac);
}

.na:hover {
  color: var(--t1);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bars span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--t1);
  border-radius: 1px;
}

@keyframes megaIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@media (min-width: 961px) {
  .mega-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 340px;
    max-width: 400px;
    z-index: 400;
  }

  .mega-panel[hidden] {
    display: none !important;
  }

  /* Subtle fade+slide entrance — fires each time panel is shown */
  .mega-panel:not([hidden]) {
    animation: megaIn 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--banner-h) + var(--nav-h));
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.28s var(--ease-out);
    overflow-y: auto;
  }

  .nav.is-open .nav-menu {
    transform: translateX(0);
  }

  .nl {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-dd {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-dd-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 14px 4px;
    border-radius: 0;
  }

  .mega-panel {
    margin: 0 0 12px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mega-panel[hidden] {
    display: none !important;
  }

  .nla-simple {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nc {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    margin-top: 16px;
  }

  .nc .btn {
    width: 100%;
  }
}
/* Fade-in */
.fi {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}

.fi.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fi {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* Footer */
.footer {
  background: #060814;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--t3);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--t2);
  padding: 4px 0;
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-base {
  text-align: center;
  font-size: 12px;
  color: var(--t3);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.preview-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 360;
  min-height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(242, 194, 62, 0.12);
  border-bottom: 1px solid rgba(242, 194, 62, 0.25);
  color: var(--t1);
  text-align: center;
  font-size: 13px;
  padding: 10px 16px;
}

.preview-banner a {
  color: var(--yellow);
  font-weight: 600;
}

/* ─── Pricing page (Rixie Figma → transparent pricing, internal demo) ─── */

.page-hero {
  position: relative;
  padding: calc(var(--banner-h) + var(--nav-h) + 40px) 0 48px;
  background: var(--hero-bg);
  overflow: hidden;
  text-align: center;
}

.page-hero--split {
  text-align: left;
}

.page-hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(41, 186, 171, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 40%);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero-split {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 960px) {
  .page-hero-split {
    grid-template-columns: minmax(300px, 1fr) minmax(260px, 420px);
    gap: 48px;
  }

  .page-hero-copy .page-hero-lead {
    margin-left: 0;
    margin-right: 0;
  }

  .page-hero-copy h1 {
    margin-left: 0;
    margin-right: 0;
    max-width: 620px;
  }

  .page-hero-ctas {
    justify-content: flex-start;
  }
}

.page-hero-copy h1 {
  max-width: 900px;
  margin: 0 auto 18px;
}

.page-hero--split .page-hero-copy h1 {
  margin-bottom: 16px;
}

.page-hero .headline-accent {
  display: inline;
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-hero-lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--t2);
  max-width: 640px;
  margin: 0 auto 26px;
  line-height: 1.65;
  font-weight: 500;
}

.page-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.pricing-diagram-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 14px 10px;
  box-shadow:
    0 0 0 1px rgba(41, 186, 171, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.42);
}

.pricing-diagram-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 8px;
}

.pricing-diagram-svg {
  width: 100%;
  height: auto;
  display: block;
}

.zone-bridge {
  height: 72px;
  background: linear-gradient(180deg, var(--hero-bg) 0%, var(--surface) 100%);
  pointer-events: none;
}

.tiers {
  padding: 56px 0 72px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.tiers-head {
  text-align: center;
  margin-bottom: 40px;
}

.tiers-head h2 {
  margin-bottom: 8px;
}

.tiers-sub {
  font-size: 16px;
  color: var(--t2);
  max-width: 560px;
  margin: 0 auto;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

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

@media (max-width: 560px) {
  .tier-grid {
    grid-template-columns: 1fr;
  }
}

.tier-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.tier-card:hover {
  border-color: rgba(41, 186, 171, 0.35);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.tier-card.featured {
  border-color: rgba(41, 186, 171, 0.5);
  box-shadow:
    0 0 0 1px rgba(41, 186, 171, 0.2),
    0 12px 40px rgba(41, 186, 171, 0.1);
}

.tier-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.tier-price {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.tier-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--t3);
}

.tier-icp {
  font-size: 13px;
  color: var(--t3);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.tier-features {
  flex: 1;
  margin-bottom: 22px;
}

.tier-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--t2);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
}

.tier-features li:last-child {
  border-bottom: none;
}

.tier-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 6px;
}

.tier-card .btn {
  width: 100%;
}

.explainer {
  padding: 80px 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
}

.explainer-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.explainer-copy {
  max-width: 720px;
}

.explainer-copy h2 {
  margin-bottom: 14px;
}

.explainer-copy p {
  font-size: 17px;
  line-height: 1.7;
}

.explainer-help-link {
  margin: 0;
  font-size: 14px;
}

.explainer-help-link a {
  color: var(--teal);
  font-weight: 600;
}

.explainer-help-link a:hover {
  text-decoration: underline;
}

/* Active-workflow explainer — timeline animation matches flowgear-pricing-v01-A (3s) */

.wf-diagram {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
}

.wf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.wf-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--t2);
}

.wf-counter {
  background: var(--teal);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--r-pill);
}

.wf-timeline {
  position: relative;
  margin-bottom: 16px;
}

.wf-lane {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.wf-lane:last-of-type {
  margin-bottom: 0;
}

.wf-lane-label {
  font-size: 12px;
  color: var(--t3);
  width: 92px;
  flex-shrink: 0;
  text-align: right;
}

.wf-track {
  flex: 1;
  height: 28px;
  background: var(--elevated);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.wf-bar {
  height: 100%;
  border-radius: 6px;
  position: absolute;
  left: 0;
  top: 0;
}

.explainer .wf-bar.running {
  background: linear-gradient(90deg, var(--teal), rgba(41, 186, 171, 0.6));
  animation: pricing-wfrun 3s linear infinite;
}

.explainer .wf-bar.delayed {
  background: linear-gradient(90deg, var(--ci-blue), rgba(106, 139, 199, 0.4));
  animation: pricing-wfrun2 3s linear infinite;
  animation-delay: 0.8s;
}

@keyframes pricing-wfrun {
  0% {
    width: 0%;
    left: 0%;
  }

  60% {
    width: 100%;
    left: 0%;
  }

  60.01% {
    width: 0%;
    left: 100%;
  }

  100% {
    width: 80%;
    left: 0%;
  }
}

@keyframes pricing-wfrun2 {
  0% {
    width: 0%;
    left: 30%;
  }

  50% {
    width: 70%;
    left: 30%;
  }

  70% {
    width: 0%;
    left: 100%;
  }

  100% {
    width: 40%;
    left: 20%;
  }
}

.wf-vline {
  position: absolute;
  top: 0;
  left: 62%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  height: 100%;
  pointer-events: none;
}

.wf-vline::after {
  content: "Point in time";
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--t3);
  white-space: nowrap;
}

.wf-legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}

.wf-legend-row .wf-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--t3);
}

.wf-legend-swatch {
  flex-shrink: 0;
  width: 20px;
  height: 3px;
  border-radius: 2px;
}

.wf-legend-swatch--run {
  background: var(--teal);
}

.wf-legend-swatch--idle {
  height: 3px;
  background: var(--elevated);
  border: 1px solid var(--border);
}

.wf-scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.wf-scenario {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
}

.wf-sc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 8px;
}

.wf-sc-body {
  font-size: 13px;
  color: var(--t3);
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .explainer .wf-bar.running,
  .explainer .wf-bar.delayed {
    animation: none !important;
  }
}

/* Assessment band + all-plans (from pricing v01-A, tokens aligned to v2) */

.lbl {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  border: 1px solid rgba(41, 186, 171, 0.25);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.assess-band {
  padding: 72px 0;
  background: linear-gradient(135deg, rgba(41, 186, 171, 0.08) 0%, transparent 60%), var(--card);
  border-top: 1px solid rgba(41, 186, 171, 0.15);
  border-bottom: 1px solid rgba(41, 186, 171, 0.15);
}

.ab-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.ab-copy .h2-gradient {
  margin-bottom: 14px;
}

.ab-copy > p:not(.ab-note):not(.ab-or-free) {
  font-size: 16px;
  color: var(--t2);
  margin-bottom: 18px;
  line-height: 1.7;
}

.ab-note {
  font-size: 12px;
  color: var(--t3);
  margin-bottom: 10px;
  font-style: italic;
}

.ab-list {
  margin-bottom: 22px;
  list-style: none;
}

.ab-list li {
  display: flex;
  gap: 9px;
  font-size: 14px;
  color: var(--t2);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.ab-list li:last-child {
  border-bottom: none;
}

.ab-list li::before {
  content: "›";
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.ab-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.ab-or-free {
  font-size: 12px;
  color: var(--t3);
  margin-top: 12px;
  margin-bottom: 0;
}

.ab-or-free a {
  color: var(--t3);
  text-decoration: underline;
}

.ab-or-free a:hover {
  color: var(--t2);
}

.ab-visual {
  background: var(--elevated);
  border: 1px solid rgba(41, 186, 171, 0.2);
  border-radius: var(--r-lg);
  padding: 24px;
}

.ab-visual-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.ab-steps-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ab-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition:
    border-color 0.2s var(--ease-out),
    background 0.2s var(--ease-out);
}

.ab-step:hover,
.ab-step.on {
  border-color: var(--teal);
  background: rgba(41, 186, 171, 0.06);
}

.ab-snum {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal);
  width: 22px;
  flex-shrink: 0;
}

.ab-sname {
  font-size: 13px;
  font-weight: 600;
  color: var(--t1);
}

.all-plans {
  padding: 64px 0 80px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.all-plans .h2-gradient {
  margin-bottom: 8px;
  text-align: center;
}

.all-plans-sub {
  font-size: 16px;
  color: var(--t2);
  text-align: center;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.all-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto;
}

.all-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: 13px;
  color: var(--t2);
}

.all-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .ab-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.compare {
  padding: 72px 0 96px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.compare-head {
  text-align: center;
  margin-bottom: 28px;
}

.compare-head h2 {
  margin-bottom: 10px;
}

.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -24px;
  padding: 0 24px 12px;
  border-radius: var(--r-md);
}

.compare-scroll:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  margin: 0;
  padding: 8px;
}

.compare-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.compare-table thead th {
  position: sticky;
  top: var(--chrome-h);
  z-index: 2;
  background: rgba(41, 186, 171, 0.94);
  backdrop-filter: blur(8px);
  color: var(--navy);
  font-weight: 700;
  padding: 16px 12px 14px;
  text-align: center;
  vertical-align: bottom;
  line-height: 1.3;
  white-space: normal;
  border-bottom: 2px solid rgba(15, 18, 41, 0.35);
  box-shadow: 0 2px 0 rgba(15, 18, 41, 0.18);
}

.compare-table thead th.compare-th-feature {
  position: sticky;
  left: 0;
  z-index: 6;
  min-width: 240px;
  max-width: min(320px, 42vw);
  text-align: left;
}

.compare-table thead th.compare-th-tier {
  min-width: 156px;
  max-width: 200px;
}

.compare-table thead th.compare-col-featured {
  box-shadow:
    inset 0 0 0 2px rgba(171, 138, 182, 0.65),
    0 2px 0 rgba(15, 18, 41, 0.18);
}

.compare-tier-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  font-weight: 600;
  font-size: 11px;
  color: rgba(15, 18, 41, 0.88);
  letter-spacing: 0.01em;
}

.compare-tier-slot {
  display: block;
  font-weight: 500;
  line-height: 1.35;
}

.compare-tier-price {
  display: block;
  font-weight: 700;
  font-size: 12px;
}

.compare-table thead th:first-child {
  border-radius: var(--r-sm) 0 0 0;
}

.compare-table thead th:last-child {
  border-radius: 0 var(--r-sm) 0 0;
}

.compare-table tbody th,
.compare-table tbody td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.compare-table tbody th {
  position: sticky;
  left: 0;
  z-index: 3;
  text-align: left;
  font-weight: 500;
  color: var(--t1);
  background: rgba(22, 29, 61, 0.98);
  box-shadow: 3px 0 12px rgba(0, 0, 0, 0.35);
  min-width: 240px;
  max-width: min(340px, 48vw);
}

.compare-table tbody td {
  text-align: center;
  color: var(--t2);
}

.compare-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.compare-table tbody .compare-cat th {
  position: static;
  left: auto;
  box-shadow: none;
  background: rgba(171, 138, 182, 0.12);
  color: var(--lavender);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 14px;
}

.compare-row-hint {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--t3);
  margin-top: 4px;
  line-height: 1.35;
}

.compare-span-note {
  text-align: center;
}

.compare-cell-strong {
  font-weight: 600;
  color: var(--t2);
}

.compare-table .muted {
  color: var(--t3);
  font-size: 12px;
  line-height: 1.35;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0 auto;
  border-radius: 4px;
  background: rgba(171, 138, 182, 0.25);
  border: 1px solid rgba(171, 138, 182, 0.45);
  color: var(--t1);
}

.check svg {
  display: block;
  width: 12px;
  height: 12px;
}

.check--teal {
  background: rgba(41, 186, 171, 0.2);
  border-color: rgba(41, 186, 171, 0.45);
}

.table-hint {
  text-align: center;
  font-size: 12px;
  color: var(--t3);
  margin-top: 14px;
}
