/*
 * Pricing page styles for injected markup only.
 * Loaded on /pricing only. No html/body/:root resets — use app/globals.css for document chrome.
 */

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

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

.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-inner {
  max-width: min(960px, 100%);
  margin: 0 auto;
}

.page-hero-copy {
  text-align: center;
}

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

.page-hero-lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--t2);
  max-width: 820px;
  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;
}

.zone-bridge {
  height: 36px;
  background: linear-gradient(180deg, rgba(41, 186, 171, 0.045) 0%, rgba(15, 18, 41, 0) 100%);
  pointer-events: none;
}.tiers {
  padding: 56px 0 72px;
  background: transparent;
}.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: transparent;
}.explainer-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
  overflow: visible;
}.explainer-copy {
  max-width: 720px;
}.explainer-copy h2 {
  margin-bottom: 14px;
}.explainer-copy .hero-accent-green {
  color: var(--teal);
  font-weight: 600;
}.explainer-help-cta {
  margin: 22px 0 0;
}/* Active-workflow explainer — phased timeline (max three lanes crossing "Point in time") */

.wf-diagram {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  overflow: visible;
}.wf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  overflow: visible;
}.wf-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--t2);
}.wf-counter {
  position: relative;
  z-index: 0;
  display: inline-block;
  background-color: #29baab;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--r-sm, 8px);
  overflow: visible;
  isolation: isolate;
}.wf-counter::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -5px -9px;
  border-radius: inherit;
  opacity: 0.46;
  pointer-events: none;
  transition:
    background 0.45s ease,
    filter 0.45s ease,
    opacity 0.45s ease;
}#wf-diagram[data-active-count="1"] .wf-counter::before {
  background: rgba(41, 186, 171, 0.275);
  filter: blur(8px);
}#wf-diagram[data-active-count="2"] .wf-counter::before {
  background: rgba(106, 139, 199, 0.29);
  filter: blur(9px);
}#wf-diagram[data-active-count="3"] .wf-counter::before {
  background: linear-gradient(
    110deg,
    rgba(41, 186, 171, 0.25) 0%,
    rgba(106, 139, 199, 0.275) 55%,
    rgba(41, 186, 171, 0.225) 100%
  );
  filter: blur(10px);
  opacity: 0.5;
}.wf-counter-inner {
  position: relative;
  z-index: 1;
}.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: visible;
  position: relative;
}@keyframes wfBarMicroDrift {
  0%,
  100% {
    transform: translateX(-4px);
  }

  50% {
    transform: translateX(5px);
  }
}.wf-bar {
  width: 34%;
  height: 100%;
  border-radius: 6px;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  will-change: transform, left;
  transition:
    left 1.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.45s ease,
    filter 0.45s ease,
    background 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}.explainer .wf-bar {
  animation: wfBarMicroDrift 2.35s ease-in-out infinite;
}.explainer .wf-bar--a {
  animation-delay: 0s;
}.explainer .wf-bar--b {
  animation-delay: 0.32s;
}.explainer .wf-bar--c {
  animation-delay: 0.64s;
}.explainer .wf-bar--d {
  animation-delay: 0.96s;
}.explainer .wf-bar--a:not(.wf-bar--idle),
.explainer .wf-bar--c:not(.wf-bar--idle),
.explainer .wf-bar--d:not(.wf-bar--idle) {
  background: linear-gradient(90deg, var(--teal), rgba(41, 186, 171, 0.65));
  opacity: 1;
  box-shadow: none;
}.explainer .wf-bar--b:not(.wf-bar--idle) {
  background: linear-gradient(90deg, var(--ci-blue), rgba(106, 139, 199, 0.55));
  opacity: 1;
  box-shadow: 0 0 14px rgba(106, 139, 199, 0.38);
}.explainer .wf-bar--idle {
  background: linear-gradient(90deg, var(--ci-blue), rgba(106, 139, 199, 0.55));
  opacity: 0.78;
  border: none;
  filter: none;
  box-shadow: none;
}.wf-vline {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
  height: 100%;
  pointer-events: none;
  transform: translateX(-50%);
}.wf-vline::after {
  content: "Point in time";
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--t1);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  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: linear-gradient(90deg, var(--ci-blue), rgba(106, 139, 199, 0.55));
  opacity: 0.78;
  border: none;
}@media (prefers-reduced-motion: reduce) {
  .explainer .wf-bar {
    animation: none !important;
    transition: none !important;
  }

  .wf-counter::before {
    opacity: 0.325 !important;
    transition: none !important;
  }
}/* Assessment band + all-plans (from pricing v01-A,
tokens aligned to v2) */

.lbl {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}.assess-band {
  padding: 72px 0;
  background: linear-gradient(135deg, rgba(41, 186, 171, 0.08) 0%, transparent 60%), rgba(22, 29, 61, 0.42);
  border-top: none;
  border-bottom: none;
  box-shadow:
    0 -28px 52px -28px rgba(106, 139, 199, 0.1),
    0 -10px 30px -14px rgba(172, 141, 184, 0.07),
    0 28px 52px -28px rgba(106, 139, 199, 0.1),
    0 10px 30px -14px rgba(172, 141, 184, 0.07),
    0 -16px 36px -20px rgba(41, 186, 171, 0.045),
    0 16px 36px -20px rgba(41, 186, 171, 0.045);
}.ab-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}.ab-copy h2.section-h2 {
  margin-bottom: 14px;
}.ab-copy > p:not(.ab-note) {
  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: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--t2);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

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

.ab-clip-icon {
  flex-shrink: 0;
  color: var(--teal);
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
  line-height: 0;
}

.ab-clip-svg {
  display: block;
}

.ab-list li span:not(.ab-clip-icon) {
  flex: 1;
  min-width: 0;
}

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

.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: rgba(41, 186, 171, 0.06);
  border: 1px solid rgba(41, 186, 171, 0.42);
  border-radius: var(--r-sm);
  cursor: default;
  transition: none;
}.ab-step:hover,
.ab-step.on {
  border-color: rgba(41, 186, 171, 0.42);
  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: transparent;
}.all-plans h2.section-h2 {
  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;
}.all-plan-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}@media (max-width: 960px) {
  .ab-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}.compare {
  padding: 72px 0 96px;
  background:
    radial-gradient(ellipse 70% 26% at 50% 0%, rgba(106, 139, 199, 0.08), transparent 68%),
    radial-gradient(ellipse 70% 22% at 50% 100%, rgba(41, 186, 171, 0.075), transparent 70%);
}.compare-head {
  text-align: center;
  margin-bottom: 14px;
}.compare-head h2 {
  margin-bottom: 8px;
}

.compare-sub {
  font-size: 16px;
  color: var(--t2);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}.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: relative;
  background: rgba(41, 186, 171, 0.94);
  backdrop-filter: blur(8px);
  color: var(--navy);
  font-weight: 700;
  padding: 18px 12px 22px;
  text-align: center;
  vertical-align: bottom;
  line-height: 1.35;
  white-space: normal;
  border-bottom: 2px solid rgba(15, 18, 41, 0.35);
}

/* Horizontal scroll only: first column stays visible. No vertical thead stickiness
   (avoids thead painting over the first body rows in some browsers). */
.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);
}.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: none;
  border-right: 1px solid var(--border);
  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: 14px 14px 12px;
}.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;
}

/* Figma pricing comparison table (Website v2, node 698:233) */
.compare-scroll.figma-compare {
  --ft-border: #29baab;
  /* Row and section dividers: same teal at 80% opacity (20% transparent) */
  --ft-row-border: rgba(41, 186, 171, 0.8);
  --ft-bg: #0f1229;
  --ft-header-bg: #29baab;
  --ft-section-bg: rgba(151, 174, 216, 0.2);
  --ft-badge-bg: #aa8ab6;
  --ft-radius: 22px;
  border-radius: var(--ft-radius);
  border: 1.42px solid var(--ft-border);
  background: var(--ft-bg);
  box-shadow: 0 35px 71px -17px rgba(0, 0, 0, 0.25);
  padding: 1.42px;
}

.compare-scroll.figma-compare .figma-compare-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  font-family: Poppins, var(--font, system-ui, sans-serif);
  font-size: clamp(13px, 1.4vw, 15px);
}

.compare-scroll.figma-compare .figma-compare-table .ft-header th {
  background: var(--ft-header-bg);
  color: #fff;
  font-weight: 600;
  padding: 18px 14px 20px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.35;
  white-space: nowrap;
}

.compare-scroll.figma-compare .figma-compare-table .ft-header th:first-child {
  text-align: left;
  padding-left: 22px;
  border-radius: calc(var(--ft-radius) - 2px) 0 0 0;
  position: sticky;
  left: 0;
  z-index: 5;
}

.compare-scroll.figma-compare .figma-compare-table .ft-header th:last-child {
  border-radius: 0 calc(var(--ft-radius) - 2px) 0 0;
}

.compare-scroll.figma-compare .figma-compare-table .ft-section th {
  background: var(--ft-section-bg);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 16px 22px;
  letter-spacing: -0.01em;
  border-top: 1.4px solid var(--ft-row-border);
}

.compare-scroll.figma-compare .figma-compare-table thead + tbody .ft-section:first-child th {
  border-top: none;
}

.compare-scroll.figma-compare .figma-compare-table .ft-row th,
.compare-scroll.figma-compare .figma-compare-table .ft-row td {
  border-top: 1.4px solid var(--ft-row-border);
  padding: 16px 14px;
  vertical-align: middle;
  color: #fff;
  background: var(--ft-bg);
}

.compare-scroll.figma-compare .figma-compare-table .ft-row th {
  position: sticky;
  left: 0;
  z-index: 3;
  text-align: left;
  font-weight: 400;
  padding-left: 22px;
  min-width: 220px;
  max-width: min(320px, 42vw);
  box-shadow: 12px 0 24px -18px rgba(0, 0, 0, 0.45);
}

.compare-scroll.figma-compare .figma-compare-table .ft-row td {
  text-align: center;
  min-width: 120px;
}

.compare-scroll.figma-compare .badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border-radius: 8px;
  background: var(--ft-badge-bg);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
}

.compare-scroll.figma-compare .ft-dash {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15em;
  line-height: 1;
}

.compare-scroll.figma-compare .ft-text {
  color: #fff;
  font-size: 0.95em;
  line-height: 1.4;
  max-width: 11rem;
  margin-inline: auto;
}

@media (max-width: 720px) {
  .compare-scroll.figma-compare .figma-compare-table .ft-text {
    max-width: 100%;
    font-size: 12px;
  }
}

/* Sticky mobile CTAs */
.pricing-sticky-cta {
  display: none;
}@media (max-width: 960px) {
  .pricing-sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 250;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
    background: linear-gradient(180deg, rgba(15, 18, 41, 0) 0%, rgba(15, 18, 41, 0.92) 24%, rgba(15, 18, 41, 0.98) 100%);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .pricing-sticky-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .pricing-sticky-inner .btn {
    flex: 1 1 auto;
    min-width: 140px;
    justify-content: center;
  }

  body:has(.pricing-sticky-cta) {
    padding-bottom: 88px;
  }
}.preview-banner {
  display: none !important;
}

