html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reserve header height before nav.js hydrates sticky bar (CLS). Matches h-[4.5rem] / md:h-[5rem] in nav + top gap. */
#site-header {
  padding-top: 0.75rem;
  min-height: calc(4.5rem + 0.75rem);
}
@media (min-width: 768px) {
  #site-header {
    padding-top: 1rem;
    min-height: calc(5rem + 1rem);
  }
}

/* Mobile nav: hamburger → close when <details> is open */
.pdd-mobile-nav .pdd-burger-bar {
  transform-origin: center;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.pdd-mobile-nav[open] summary {
  border-color: rgba(148, 163, 184, 0.45);
  background-color: rgba(15, 23, 42, 0.65);
}
.pdd-mobile-nav[open] .pdd-burger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.pdd-mobile-nav[open] .pdd-burger-bar:nth-child(2) {
  opacity: 0;
}
.pdd-mobile-nav[open] .pdd-burger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
@media (prefers-reduced-motion: reduce) {
  .pdd-mobile-nav .pdd-burger-bar {
    transition: none;
  }
}

h1,
h2,
h3 {
  font-family: "Instrument Sans", Inter, system-ui, sans-serif;
  font-weight: 600;
  color: #f8fafc;
}

::selection {
  background-color: rgba(37, 99, 235, 0.35);
  color: #f8fafc;
}

.text-balance {
  text-wrap: balance;
}

.animate-fade-up {
  animation: pdd-fade-up 0.45s ease-out both;
}

@keyframes pdd-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

details summary::-webkit-details-marker {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Trusted-by logos: scale + blue glow on hover */
.trusted-logo-img {
  transform-origin: center;
  opacity: 0.92;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    filter 0.3s ease;
}

.trusted-logo-img:hover {
  transform: scale(1.1);
  opacity: 1;
  filter: drop-shadow(0 0 14px rgba(37, 99, 235, 0.45));
}

@media (prefers-reduced-motion: reduce) {
  .trusted-logo-img,
  .trusted-logo-img:hover {
    transform: none;
    transition: none;
    filter: none;
  }
}
/* Reveal on scroll */
.pdd-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.pdd-reveal.pdd-inview {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.pdd-stagger-children.pdd-inview > * {
  animation: pdd-fade-up 0.5s ease-out both;
}
.pdd-stagger-children.pdd-inview > *:nth-child(1) {
  animation-delay: 0.05s;
}
.pdd-stagger-children.pdd-inview > *:nth-child(2) {
  animation-delay: 0.1s;
}
.pdd-stagger-children.pdd-inview > *:nth-child(3) {
  animation-delay: 0.15s;
}
.pdd-stagger-children.pdd-inview > *:nth-child(4) {
  animation-delay: 0.2s;
}
.pdd-stagger-children.pdd-inview > *:nth-child(5) {
  animation-delay: 0.25s;
}
.pdd-stagger-children.pdd-inview > *:nth-child(6) {
  animation-delay: 0.3s;
}

@keyframes pdd-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Live pulse dot */
.pdd-live-dot {
  position: relative;
  display: inline-flex;
  height: 8px;
  width: 8px;
}
.pdd-live-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #2563eb;
  animation: pdd-pulse 1.6s ease-out infinite;
}
.pdd-live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #2563eb;
  opacity: 0.9;
}

@keyframes pdd-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70% {
    transform: scale(2.4);
    opacity: 0;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Speed bar fill */
.pdd-speed-track {
  position: relative;
  height: 10px;
  border-radius: 9999px;
  background: #334155;
  overflow: hidden;
}
.pdd-speed-fill {
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    #1e3a8a,
    #1e40af,
    #60a5fa
  );
  background-size: 200% 100%;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.pdd-speed-fill.pdd-inview-animate {
  animation: pdd-shimmer 2.5s linear infinite;
}
.pdd-speed-row.pdd-inview .pdd-speed-fill[data-target-width] {
  width: var(--target-w, 0%) !important;
}

@keyframes pdd-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* Before (muted) bar */
.pdd-speed-fill--before {
  background: #475569;
  width: 0%;
}
.pdd-speed-row.pdd-inview .pdd-speed-fill--before[data-target-width] {
  width: var(--target-w, 0%) !important;
}

/* SVG line chart draw */
.pdd-chart-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 0s;
}
.pdd-chart-wrap.pdd-inview .pdd-chart-line {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdd-chart-area {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pdd-chart-wrap.pdd-inview .pdd-chart-area {
  opacity: 1;
  transition: opacity 1s ease 0.4s;
}

/* Second line (dashed baseline) */
.pdd-chart-line--ghost {
  stroke-dasharray: 6 8;
  stroke-dashoffset: 0;
  opacity: 0.35;
}

/* Bar chart columns */
.pdd-bar-col {
  transform-origin: bottom center;
  transform: scaleY(0);
  transition: transform 0s;
}
.pdd-bar-chart.pdd-inview .pdd-bar-col {
  transform: scaleY(1);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.pdd-bar-chart.pdd-inview .pdd-bar-col:nth-child(1) {
  transition-delay: 0.05s;
}
.pdd-bar-chart.pdd-inview .pdd-bar-col:nth-child(2) {
  transition-delay: 0.12s;
}
.pdd-bar-chart.pdd-inview .pdd-bar-col:nth-child(3) {
  transition-delay: 0.19s;
}
.pdd-bar-chart.pdd-inview .pdd-bar-col:nth-child(4) {
  transition-delay: 0.26s;
}
.pdd-bar-chart.pdd-inview .pdd-bar-col:nth-child(5) {
  transition-delay: 0.33s;
}
.pdd-bar-chart.pdd-inview .pdd-bar-col:nth-child(6) {
  transition-delay: 0.4s;
}

/* Circular performance gauge */
.pdd-gauge-ring {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.pdd-gauge.pdd-inview .pdd-gauge-ring {
  stroke-dashoffset: 28;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Scan line over metric card */
.pdd-scan {
  position: relative;
  overflow: hidden;
}
.pdd-scan::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(37, 99, 235, 0.12) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: pdd-scan 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pdd-scan {
  0% {
    transform: translateX(-100%);
  }
  45% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Sparkline wiggle (CSS-only subtle) */
.pdd-spark {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}
.pdd-spark-wrap.pdd-inview .pdd-spark {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.2s ease-out;
}

/* Table row hover lift */
.pdd-row-hover tbody tr {
  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}
.pdd-row-hover tbody tr:hover {
  background: rgba(30, 41, 59, 0.65);
}

/* Waterfall / timing tower segments */
.pdd-waterfall {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.4rem;
  height: 148px;
}
.pdd-waterfall-seg {
  flex: 1;
  min-width: 0;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(
    180deg,
    rgba(96, 165, 250, 0.95),
    rgba(30, 64, 175, 0.85)
  );
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0s;
  box-shadow: 0 -8px 24px -12px rgba(37, 99, 235, 0.45);
}
.pdd-waterfall.pdd-inview .pdd-waterfall-seg {
  transform: scaleY(1);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.pdd-waterfall.pdd-inview .pdd-waterfall-seg:nth-child(1) {
  transition-delay: 0.04s;
}
.pdd-waterfall.pdd-inview .pdd-waterfall-seg:nth-child(2) {
  transition-delay: 0.1s;
}
.pdd-waterfall.pdd-inview .pdd-waterfall-seg:nth-child(3) {
  transition-delay: 0.16s;
}
.pdd-waterfall.pdd-inview .pdd-waterfall-seg:nth-child(4) {
  transition-delay: 0.22s;
}
.pdd-waterfall-seg--muted {
  background: linear-gradient(
    180deg,
    #aeb8bd,
    #9aa5ab
  );
  box-shadow: none;
}

/* Heatmap cells */
.pdd-heat-cell {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.pdd-heat-wrap.pdd-inview .pdd-heat-cell {
  opacity: 1;
  transform: scale(1);
}
.pdd-heat-wrap.pdd-inview .pdd-heat-cell:nth-child(1) {
  transition-delay: 0.04s;
}
.pdd-heat-wrap.pdd-inview .pdd-heat-cell:nth-child(2) {
  transition-delay: 0.1s;
}
.pdd-heat-wrap.pdd-inview .pdd-heat-cell:nth-child(3) {
  transition-delay: 0.16s;
}

/* Stair-step cumulative chart */
.pdd-stairs {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 128px;
}
.pdd-stair {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(
    180deg,
    #3b82f6,
    rgba(30, 58, 138, 0.75)
  );
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0s;
}
.pdd-stairs.pdd-inview .pdd-stair {
  transform: scaleY(1);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.pdd-stairs.pdd-inview .pdd-stair:nth-child(1) {
  transition-delay: 0.05s;
}
.pdd-stairs.pdd-inview .pdd-stair:nth-child(2) {
  transition-delay: 0.11s;
}
.pdd-stairs.pdd-inview .pdd-stair:nth-child(3) {
  transition-delay: 0.17s;
}
.pdd-stairs.pdd-inview .pdd-stair:nth-child(4) {
  transition-delay: 0.23s;
}
.pdd-stairs.pdd-inview .pdd-stair:nth-child(5) {
  transition-delay: 0.29s;
}

/* Horizontal bullet bars (share of budget) */
.pdd-h-bullet-track {
  height: 8px;
  border-radius: 9999px;
  background: #334155;
  overflow: hidden;
}
.pdd-h-bullet-fill {
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #1e40af, #3b82f6);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.pdd-h-bullet-fill--muted {
  background: #64748b;
}
.pdd-h-bullets.pdd-inview .pdd-h-bullet-fill {
  width: var(--bw, 0%);
}

/* Donut arc (SVG) — use pathLength="100" on the circle; rotation via SVG transform attribute */
.pdd-donut-arc {
  stroke-dasharray: 58 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.pdd-donut-wrap.pdd-inview .pdd-donut-arc {
  stroke-dashoffset: 42;
}

.pdd-donut-arc--split {
  stroke-dasharray: 52 100;
  stroke-dashoffset: 100;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.pdd-donut-wrap.pdd-inview .pdd-donut-arc--split {
  stroke-dashoffset: 48;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Second line in dual charts */
.pdd-chart-line-2 {
  stroke-dasharray: 380;
  stroke-dashoffset: 380;
}
.pdd-chart-wrap.pdd-inview .pdd-chart-line-2 {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

/* Funnel trapezoids */
.pdd-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  overflow: visible;
}
.pdd-funnel-tier {
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.18),
    rgba(59, 130, 246, 0.4),
    rgba(37, 99, 235, 0.18)
  );
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0s;
}
.pdd-funnel.pdd-inview .pdd-funnel-tier,
.pdd-pipeline-card.pdd-inview .pdd-funnel .pdd-funnel-tier {
  transform: scaleX(1);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.pdd-funnel.pdd-inview .pdd-funnel-tier:nth-child(1),
.pdd-pipeline-card.pdd-inview .pdd-funnel .pdd-funnel-tier:nth-child(1) {
  transition-delay: 0.05s;
}
.pdd-funnel.pdd-inview .pdd-funnel-tier:nth-child(2),
.pdd-pipeline-card.pdd-inview .pdd-funnel .pdd-funnel-tier:nth-child(2) {
  transition-delay: 0.12s;
}
.pdd-funnel.pdd-inview .pdd-funnel-tier:nth-child(3),
.pdd-pipeline-card.pdd-inview .pdd-funnel .pdd-funnel-tier:nth-child(3) {
  transition-delay: 0.19s;
}

/* Solutions pipeline: never rely on scroll for visibility—bars stay at full width */
.pdd-pipeline-card .pdd-funnel .pdd-funnel-tier {
  flex-shrink: 0;
  transform: scaleX(1);
  transform-origin: center;
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.45),
    rgba(59, 130, 246, 0.85),
    rgba(37, 99, 235, 0.45)
  );
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.4),
    0 8px 24px -12px rgba(37, 99, 235, 0.45);
}

/* Area under line — blue fill */
.pdd-chart-area-blue {
  opacity: 0;
}
.pdd-chart-wrap.pdd-inview .pdd-chart-area-blue {
  opacity: 1;
  transition: opacity 1s ease 0.35s;
}

/* Solutions coverage matrix — bars grow from nothing, bottom→top per column; columns Startup → Pro → Custom */
.pdd-coverage-matrix .pdd-coverage-bar {
  box-sizing: border-box;
  width: 100%;
  height: 2.5rem;
  min-height: 2.5rem;
  align-self: center;
  opacity: 0;
  transform: translateY(26px) scaleY(0);
  transform-origin: bottom center;
  transition:
    opacity 0.45s ease,
    transform 0s;
}
.pdd-coverage-matrix.pdd-inview {
  --pdd-cov-base: 0.42s;
}
.pdd-coverage-matrix.pdd-inview .pdd-coverage-bar {
  opacity: 1;
  transform: translateY(0) scaleY(1);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Startup (DX row only) */
.pdd-coverage-matrix.pdd-inview .pdd-cov-s0 {
  transition-delay: calc(var(--pdd-cov-base) + 0s);
}
/* Professional: DX → Accessibility → LCP (bottom → top) */
.pdd-coverage-matrix.pdd-inview .pdd-cov-p0 {
  transition-delay: calc(var(--pdd-cov-base) + 0.22s);
}
.pdd-coverage-matrix.pdd-inview .pdd-cov-p1 {
  transition-delay: calc(var(--pdd-cov-base) + 0.36s);
}
.pdd-coverage-matrix.pdd-inview .pdd-cov-p2 {
  transition-delay: calc(var(--pdd-cov-base) + 0.5s);
}
/* Custom: DX → … → CRO (bottom → top) */
.pdd-coverage-matrix.pdd-inview .pdd-cov-c0 {
  transition-delay: calc(var(--pdd-cov-base) + 0.72s);
}
.pdd-coverage-matrix.pdd-inview .pdd-cov-c1 {
  transition-delay: calc(var(--pdd-cov-base) + 0.86s);
}
.pdd-coverage-matrix.pdd-inview .pdd-cov-c2 {
  transition-delay: calc(var(--pdd-cov-base) + 1s);
}
.pdd-coverage-matrix.pdd-inview .pdd-cov-c3 {
  transition-delay: calc(var(--pdd-cov-base) + 1.14s);
}
.pdd-coverage-matrix.pdd-inview .pdd-cov-c4 {
  transition-delay: calc(var(--pdd-cov-base) + 1.28s);
}

@media (prefers-reduced-motion: reduce) {
  .pdd-coverage-matrix.pdd-inview {
    --pdd-cov-base: 0.2s;
  }
  .pdd-coverage-matrix.pdd-inview .pdd-coverage-bar {
    transition-duration: 0.42s, 0.55s;
  }
}

/* Solutions — capabilities chart: line draws point→point; dots stagger; area fades in */
.pdd-capabilities-chart .pdd-cap-chart-foreground {
  opacity: 1;
}

.pdd-capabilities-chart .pdd-cap-area-fill {
  opacity: 0;
  transition: opacity 0.01s linear;
}
.pdd-capabilities-chart.pdd-inview .pdd-cap-area-fill {
  opacity: 0.92;
  transition: opacity 0.85s ease 0.95s;
}

.pdd-capabilities-chart .pdd-cap-line-glow-path,
.pdd-capabilities-chart .pdd-cap-line-main-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0s linear;
}
.pdd-capabilities-chart.pdd-inview .pdd-cap-line-glow-path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.75s cubic-bezier(0.33, 1, 0.68, 1);
}
.pdd-capabilities-chart.pdd-inview .pdd-cap-line-main-path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.75s cubic-bezier(0.33, 1, 0.68, 1) 0.1s;
}

.pdd-capabilities-chart .pdd-cap-dot {
  opacity: 0;
  transform: scale(0.35);
  transform-origin: center;
  transform-box: fill-box;
  transition:
    opacity 0.25s ease,
    transform 0.45s cubic-bezier(0.34, 1.45, 0.64, 1);
}
.pdd-capabilities-chart.pdd-inview .pdd-cap-dot:nth-child(1) {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.3s;
}
.pdd-capabilities-chart.pdd-inview .pdd-cap-dot:nth-child(2) {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.58s;
}
.pdd-capabilities-chart.pdd-inview .pdd-cap-dot:nth-child(3) {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.86s;
}
.pdd-capabilities-chart.pdd-inview .pdd-cap-dot:nth-child(4) {
  opacity: 1;
  transform: scale(1);
  transition-delay: 1.14s;
}
.pdd-capabilities-chart.pdd-inview .pdd-cap-dot:nth-child(5) {
  opacity: 1;
  transform: scale(1);
  transition-delay: 1.42s;
}

/* Portfolio — hero carousel (work.html): stack slides; JS toggles .pdd-hero-slide-active */
.pdd-hero-carousel-slides {
  position: relative;
  min-height: 17rem;
  aspect-ratio: 16 / 10;
}
@media (min-width: 768px) {
  .pdd-hero-carousel-slides {
    min-height: 22rem;
  }
}
.pdd-hero-carousel [data-pdd-hero-slide] {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition:
    opacity 0.65s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.pdd-hero-carousel [data-pdd-hero-slide].pdd-hero-slide-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
  transform: scale(1);
}

.pdd-hero-carousel--single [data-pdd-hero-controls],
.pdd-hero-carousel--single [data-pdd-hero-carousel-hint] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .pdd-hero-carousel [data-pdd-hero-slide] {
    transition-duration: 0.01s;
  }
  .pdd-capabilities-chart .pdd-cap-area-fill {
    opacity: 0.92;
    transition: none;
  }
  .pdd-capabilities-chart .pdd-cap-line-glow-path,
  .pdd-capabilities-chart .pdd-cap-line-main-path {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
  .pdd-capabilities-chart .pdd-cap-dot {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Contact booking — shared “pill” look for time grid + calendar (matches former Tailwind slot classes). */
#pdd-time-slots .pdd-book-slot,
#pdd-cal-month-grid .pdd-book-slot {
  box-sizing: border-box;
  border-radius: 0.5rem;
  border: 2px solid rgba(30, 64, 175, 0.9);
  background-color: rgba(255, 255, 255, 0.05);
  color: #1e40af;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}
/* Exclude selected time slots — same hover-vs-selected specificity issue as calendar. */
#pdd-time-slots
  .pdd-book-slot:hover:not(.pdd-book-slot--active):not([data-pdd-time-selected="1"]) {
  background-color: rgba(30, 64, 175, 0.2);
}
/* Exclude selected day cells — :hover has higher specificity than .pdd-book-slot--active alone, which hid the fill after click. */
#pdd-cal-month-grid
  .pdd-book-slot:hover:not([aria-disabled="true"]):not(.pdd-book-slot--active):not([data-pdd-cal-selected="1"]) {
  background-color: rgba(30, 64, 175, 0.2);
}
#pdd-time-slots .pdd-book-slot:focus,
#pdd-cal-month-grid .pdd-book-slot:focus {
  outline: none;
}
#pdd-time-slots .pdd-book-slot:focus-visible,
#pdd-cal-month-grid .pdd-book-slot:focus-visible {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.55);
}
#pdd-time-slots .pdd-book-slot--time {
  padding: 0.625rem 0.75rem;
}
#pdd-cal-month-grid .pdd-book-slot--cell {
  aspect-ratio: 1 / 1;
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
}
/* Selected: bg-accent + white text + ring-2 ring-accent ring-offset-2 ring-offset-black (Tailwind parity). */
#pdd-time-slots .pdd-book-slot--active,
#pdd-time-slots .pdd-book-slot[data-pdd-time-selected="1"],
#pdd-cal-month-grid .pdd-book-slot--active,
#pdd-cal-month-grid .pdd-book-slot[data-pdd-cal-selected="1"] {
  border-width: 3px;
  border-style: solid;
  border-color: #1e40af;
  background-color: #1e40af;
  color: #ffffff;
  box-shadow:
    0 0 0 2px #000000,
    0 0 0 4px rgba(59, 130, 246, 0.9);
}
#pdd-time-slots .pdd-book-slot--active:hover:not([aria-disabled="true"]),
#pdd-time-slots .pdd-book-slot[data-pdd-time-selected="1"]:hover:not([aria-disabled="true"]),
#pdd-cal-month-grid .pdd-book-slot--active:hover:not([aria-disabled="true"]),
#pdd-cal-month-grid .pdd-book-slot[data-pdd-cal-selected="1"]:hover:not([aria-disabled="true"]) {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}
#pdd-cal-month-grid .pdd-book-slot--past[aria-disabled="true"] {
  pointer-events: none;
  cursor: not-allowed;
  border-color: transparent !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: none !important;
}

/* Solutions page — eyebrow pill (Tailwind preflight sets * { border-width: 0 }; beat it with scope + longhands). */
body[data-page="solutions"] .pdd-solutions-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.38rem 1.35rem 0.38rem 1.05rem;
  border-radius: 999px;
  border-style: solid !important;
  border-width: 1px !important;
  border-color: rgba(71, 85, 105, 0.65) !important;
  background-color: rgba(2, 6, 23, 0.55) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
body[data-page="solutions"] .pdd-solutions-pill__dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background-color: #22d3ee;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35), 0 0 12px rgba(34, 211, 238, 0.55);
}
body[data-page="solutions"] .pdd-solutions-pill__text {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.92);
  line-height: 1.3;
}
@media (min-width: 768px) {
  body[data-page="solutions"] .pdd-solutions-pill__text {
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
  }
}

/* Solutions page v2 — layered delivery stack */
body[data-page="solutions"] main {
  --pdd-sol-glow: rgba(37, 99, 235, 0.42);
  --pdd-sol-cyan: rgba(34, 211, 238, 0.28);
}

.pdd-sol-hero {
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.pdd-sol-hero__grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 85% 75% at 45% 35%, #000 15%, transparent 72%);
}

.pdd-sol-hero__orb {
  pointer-events: none;
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
}

.pdd-sol-hero__orb--cyan {
  top: -8%;
  right: -6%;
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  background: rgba(34, 211, 238, 0.16);
}

.pdd-sol-hero__orb--blue {
  bottom: -18%;
  left: -10%;
  width: min(62vw, 520px);
  height: min(62vw, 520px);
  background: rgba(37, 99, 235, 0.2);
}

.pdd-sol-stack {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: 19.5rem;
  margin-inline: auto;
  perspective: 920px;
}

/* Hero depth scale — timeline, not stacked cards */
.pdd-sol-depth-scale {
  position: relative;
  padding-left: 1.75rem;
  min-height: 18rem;
}

.pdd-sol-depth-scale__track {
  position: absolute;
  left: 0.35rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(96, 165, 250, 0.85),
    rgba(37, 99, 235, 0.45) 55%,
    rgba(71, 85, 105, 0.35)
  );
}

.pdd-sol-depth-scale__item {
  position: relative;
  padding-bottom: 2rem;
}

.pdd-sol-depth-scale__item:last-child {
  padding-bottom: 0;
}

.pdd-sol-depth-scale__dot {
  position: absolute;
  left: -1.75rem;
  top: 0.35rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), 0 0 14px rgba(56, 189, 248, 0.45);
}

.pdd-sol-depth-scale__item:last-child .pdd-sol-depth-scale__dot {
  background: #64748b;
  box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.25);
}

/* Solutions micro-charts — enforce height when Tailwind utilities conflict */
body[data-page="solutions"] .pdd-waterfall {
  height: 9.25rem;
  min-height: 9.25rem;
}

body[data-page="solutions"] .pdd-stairs {
  height: 8rem;
  min-height: 8rem;
}

body[data-page="solutions"] .pdd-chart-wrap {
  min-height: 5rem;
}

body[data-page="solutions"] .pdd-coverage-matrix .pdd-coverage-bar {
  min-height: 2.5rem;
  height: 2.5rem;
}

/* Editorial solutions layout — paths, proof rows, stage accordions */
.pdd-sol-path {
  min-width: 0;
}

.pdd-sol-flow-item,
.pdd-sol-proof {
  min-width: 0;
}

/* Stage flow — hover expands with blue gradient fill */
.pdd-sol-stage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pdd-sol-stage {
  position: relative;
  overflow: hidden;
  list-style: none;
}

.pdd-sol-stage__fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(30, 64, 175, 0.72) 0%,
    rgba(37, 99, 235, 0.52) 38%,
    rgba(15, 23, 42, 0.88) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(147, 197, 253, 0.22),
    0 18px 48px -28px rgba(37, 99, 235, 0.65);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdd-sol-stage__inner {
  position: relative;
  z-index: 1;
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .pdd-sol-stage__inner {
    padding: 2.5rem 0;
  }
}

.pdd-sol-stage__head {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 768px) {
  .pdd-sol-stage__head {
    gap: 2rem;
  }
}

.pdd-sol-stage__num {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.875rem;
  font-weight: 500;
  color: #38bdf8;
  transition: color 0.35s ease;
}

.pdd-sol-stage__title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.35s ease;
}

@media (min-width: 768px) {
  .pdd-sol-stage__title {
    font-size: 1.125rem;
  }
}

.pdd-sol-stage__kicker {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.95);
  transition: color 0.35s ease;
}

@media (min-width: 768px) {
  .pdd-sol-stage__kicker {
    font-size: 0.875rem;
  }
}

.pdd-sol-stage__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdd-sol-stage__copy {
  overflow: hidden;
  min-height: 0;
  padding-left: 0;
  padding-top: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(203, 213, 225, 0.92);
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.38s ease 0.06s,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.04s,
    padding 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdd-sol-stage__copy p + p {
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .pdd-sol-stage__copy {
    max-width: 48rem;
    padding-left: 5rem;
  }
}

.pdd-sol-stage:hover .pdd-sol-stage__fill,
.pdd-sol-stage:focus-within .pdd-sol-stage__fill {
  transform: scaleY(1);
}

.pdd-sol-stage:hover .pdd-sol-stage__body,
.pdd-sol-stage:focus-within .pdd-sol-stage__body {
  grid-template-rows: 1fr;
}

.pdd-sol-stage:hover .pdd-sol-stage__copy,
.pdd-sol-stage:focus-within .pdd-sol-stage__copy {
  opacity: 1;
  transform: translateY(0);
  padding-top: 1.25rem;
}

.pdd-sol-stage:hover .pdd-sol-stage__kicker,
.pdd-sol-stage:focus-within .pdd-sol-stage__kicker {
  color: rgba(191, 219, 254, 0.92);
}

@media (prefers-reduced-motion: reduce) {
  .pdd-sol-stage__fill,
  .pdd-sol-stage__body,
  .pdd-sol-stage__copy {
    transition-duration: 0.01ms !important;
  }
}

body[data-page="solutions"] .pdd-donut-wrap {
  min-height: 5rem;
  min-width: 5rem;
}

.pdd-sol-stack__layer {
  position: absolute;
  left: 50%;
  width: 90%;
  transform: translateX(-50%);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 1.15rem 1.25rem;
  backdrop-filter: blur(14px);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.35s ease;
}

.pdd-sol-stack__layer--startup {
  bottom: 0;
  z-index: 1;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.78));
  box-shadow: 0 22px 54px -22px rgba(0, 0, 0, 0.85);
}

.pdd-sol-stack__layer--pro {
  bottom: 4.5rem;
  z-index: 2;
  background: linear-gradient(145deg, rgba(30, 58, 138, 0.58), rgba(15, 23, 42, 0.9));
  border-color: rgba(96, 165, 250, 0.38);
  box-shadow: 0 26px 62px -18px var(--pdd-sol-glow);
}

.pdd-sol-stack__layer--custom {
  bottom: 9rem;
  z-index: 3;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.38), rgba(2, 6, 23, 0.92));
  border-color: rgba(147, 197, 253, 0.42);
  box-shadow:
    0 30px 72px -16px var(--pdd-sol-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pdd-sol-stack:hover .pdd-sol-stack__layer--startup {
  transform: translateX(-50%) translateY(8px);
}

.pdd-sol-stack:hover .pdd-sol-stack__layer--pro {
  transform: translateX(-50%) translateY(-2px);
}

.pdd-sol-stack:hover .pdd-sol-stack__layer--custom {
  transform: translateX(-50%) translateY(-12px);
}

.pdd-sol-stat-band {
  border-block: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65), rgba(2, 6, 23, 0.85));
}

.pdd-sol-stat {
  position: relative;
  padding: 1.35rem 0.5rem;
  text-align: center;
}

.pdd-sol-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22%;
  right: 0;
  width: 1px;
  height: 56%;
  background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.28), transparent);
}

@media (max-width: 639px) {
  .pdd-sol-stat:nth-child(2)::after {
    display: none;
  }
}

.pdd-sol-tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.55) 0%, rgba(15, 23, 42, 0.82) 48%, rgba(2, 6, 23, 0.92) 100%);
  padding: 1.65rem 1.5rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 48px -28px rgba(0, 0, 0, 0.65);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.pdd-sol-tier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 28px 56px -24px var(--pdd-sol-glow);
}

.pdd-sol-tier-card--featured {
  border-color: rgba(59, 130, 246, 0.45);
  background: linear-gradient(165deg, rgba(30, 58, 138, 0.35) 0%, rgba(15, 23, 42, 0.88) 52%, rgba(2, 6, 23, 0.95) 100%);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.35),
    0 32px 64px -28px var(--pdd-sol-glow),
    inset 0 1px 0 rgba(147, 197, 253, 0.12);
}

.pdd-sol-tier-card--featured:hover {
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.55),
    0 36px 70px -26px rgba(37, 99, 235, 0.55),
    inset 0 1px 0 rgba(147, 197, 253, 0.16);
}

.pdd-sol-panel {
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 32px 80px -40px rgba(37, 99, 235, 0.35);
}

.pdd-sol-pillar {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.45), rgba(2, 6, 23, 0.75));
  padding: 1.35rem 1.25rem;
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

.pdd-sol-pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, var(--pdd-sol-cyan), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pdd-sol-pillar:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.32);
  box-shadow: 0 20px 44px -28px var(--pdd-sol-glow);
}

.pdd-sol-pillar:hover::before {
  opacity: 1;
}

.pdd-sol-pillar__num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(96, 165, 250, 0.85);
}

.pdd-sol-section-glow {
  position: relative;
  overflow: hidden;
}

.pdd-sol-section-glow::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(37, 99, 235, 0.12), transparent 65%);
}

.pdd-sol-cta {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 58, 138, 0.35) 50%, rgba(2, 6, 23, 0.98));
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.15),
    0 40px 90px -45px var(--pdd-sol-glow);
}

.pdd-sol-cta__mesh {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(34, 211, 238, 0.08), transparent 42%),
    radial-gradient(circle at 82% 68%, rgba(37, 99, 235, 0.14), transparent 48%);
}

@media (prefers-reduced-motion: reduce) {
  .pdd-sol-stack__layer,
  .pdd-sol-tier-card,
  .pdd-sol-pillar {
    transition: none;
  }

  .pdd-sol-stack:hover .pdd-sol-stack__layer--startup,
  .pdd-sol-stack:hover .pdd-sol-stack__layer--pro,
  .pdd-sol-stack:hover .pdd-sol-stack__layer--custom {
    transform: translateX(-50%);
  }
}

/* --- Scoped checkout & dashboard (Next.js /checkout, /dashboard only) — do not reuse for marketing pages --- */
body.checkout-standalone {
  margin: 0;
  min-height: 100vh;
}
.checkout-page-root {
  min-height: 100vh;
  background: radial-gradient(120% 80% at 50% -10%, rgba(37, 99, 235, 0.18), transparent 55%),
    linear-gradient(180deg, #020617 0%, #0f172a 45%, #020617 100%);
}
.checkout-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.checkout-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.checkout-logo {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: 0.5rem;
  flex-shrink: 0;
}
.checkout-brand-text {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.checkout-brand-name {
  font-family: "Instrument Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f8fafc;
}
.checkout-secure-pill {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: rgba(30, 58, 138, 0.35);
}
.checkout-progress {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.checkout-progress__step {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
}
.checkout-progress__step--current {
  color: #f1f5f9;
}
.checkout-progress__step--muted {
  color: #64748b;
  font-weight: 500;
}
.checkout-progress__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(51, 65, 85, 0.85);
  color: #e2e8f0;
}
.checkout-progress__step--current .checkout-progress__num {
  background: #2563eb;
  color: #fff;
}
.checkout-progress__step--muted .checkout-progress__num {
  background: rgba(30, 41, 59, 0.9);
  color: #94a3b8;
}
.checkout-progress__label {
  white-space: nowrap;
}
.checkout-progress__rule {
  width: 1.75rem;
  height: 1px;
  margin: 0 0.5rem;
  background: rgba(100, 116, 139, 0.55);
  list-style: none;
}
@media (max-width: 520px) {
  .checkout-progress__label {
    display: none;
  }
  .checkout-progress__rule {
    width: 1rem;
    margin: 0 0.35rem;
  }
}
.checkout-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #e2e8f0;
}
.checkout-breadcrumb {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  color: #64748b;
}
.checkout-breadcrumb-sep {
  margin: 0 0.35rem;
  opacity: 0.65;
}
.checkout-breadcrumb-current {
  color: #94a3b8;
}
.checkout-hero {
  margin-bottom: 2rem;
}
.checkout-eyebrow {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #60a5fa;
}
.checkout-title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f8fafc;
}
.checkout-lead {
  margin: 0.75rem 0 0;
  max-width: 52ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #94a3b8;
}
.checkout-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }
}
.checkout-card {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 50px -28px rgba(37, 99, 235, 0.35);
  padding: 1.35rem 1.35rem 1.5rem;
}
.checkout-card--summary {
  background: rgba(2, 6, 23, 0.65);
}
@media (min-width: 900px) {
  .checkout-card--summary {
    position: sticky;
    top: 1.25rem;
  }
}
.checkout-card--payment {
  margin-top: 1.5rem;
}
.checkout-heading {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f1f5f9;
}
.checkout-heading-sm {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
}
.checkout-label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
}
.checkout-input {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid rgba(71, 85, 105, 0.65);
  background: rgba(2, 6, 23, 0.55);
  color: #f8fafc;
  font-size: 0.9rem;
  padding: 0.65rem 0.75rem;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.checkout-input:focus {
  border-color: rgba(59, 130, 246, 0.85);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}
.checkout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  border: none;
  transition:
    background 0.15s ease,
    opacity 0.15s ease,
    transform 0.12s ease;
}
.checkout-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.checkout-btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  width: 100%;
}
.checkout-btn-primary:not(:disabled):hover {
  filter: brightness(1.05);
}
.checkout-btn-mt {
  margin-top: 1.25rem;
}
.checkout-btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.checkout-spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: checkout-spin 0.75s linear infinite;
}
@keyframes checkout-spin {
  to {
    transform: rotate(360deg);
  }
}
.checkout-summary-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: #cbd5e1;
}
.checkout-summary-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}
.checkout-summary-combined {
  flex-direction: column;
  align-items: stretch !important;
  gap: 0.35rem;
  padding: 0.55rem 0 0.45rem !important;
}
.checkout-summary-combined__main {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: #e2e8f0;
}
.checkout-summary-combined__amount {
  white-space: nowrap;
  color: #f8fafc;
}
.checkout-summary-combined__detail {
  margin: 0;
  padding: 0 0 0.15rem;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #94a3b8;
  font-weight: 400;
}
.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(51, 65, 85, 0.65);
}
.checkout-total-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: #94a3b8;
  max-width: 15rem;
}
.checkout-total-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
}
.checkout-note {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: #64748b;
}
.checkout-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #60a5fa;
  text-decoration: none;
}
.checkout-link:hover {
  text-decoration: underline;
}
.checkout-trust {
  margin: 1.25rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #64748b;
}
.checkout-trust-strong {
  color: #94a3b8;
  font-weight: 600;
}
.checkout-error-inline,
.checkout-error-banner {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #fecaca;
}
.checkout-error-banner {
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.25);
}
.checkout-muted {
  color: #94a3b8;
  font-size: 0.9rem;
}
.checkout-payment-block {
  margin-top: 1.5rem;
}
.checkout-stripe-wrap {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(51, 65, 85, 0.65);
  background: rgba(2, 6, 23, 0.45);
}

.checkout-cart-aside {
  border-top: 1px solid rgba(51, 65, 85, 0.55);
}
.checkout-cart-sub {
  margin: 0.35rem 0 0;
  font-size: 0.7rem;
  color: #64748b;
}

.dashboard-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #e2e8f0;
}
.dashboard-card {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.72);
  padding: 1.35rem 1.35rem 1.5rem;
  margin-bottom: 1rem;
}
.dashboard-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #f8fafc;
}
.dashboard-lead {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.55;
}
.dashboard-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
}
.dashboard-input {
  width: 100%;
  max-width: 22rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(71, 85, 105, 0.65);
  background: rgba(2, 6, 23, 0.55);
  color: #f8fafc;
  font-size: 0.9rem;
  padding: 0.65rem 0.75rem;
  outline: none;
}
.dashboard-input:focus {
  border-color: rgba(59, 130, 246, 0.85);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}
.dashboard-btn {
  margin-top: 0.75rem;
  border: none;
  border-radius: 0.65rem;
  padding: 0.65rem 1.1rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
}
.dashboard-btn-secondary {
  margin-top: 0.75rem;
  margin-left: 0.5rem;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(71, 85, 105, 0.65);
  color: #e2e8f0;
}
.dashboard-table-wrap {
  overflow-x: auto;
  margin-top: 0.75rem;
}
.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.dashboard-table th,
.dashboard-table td {
  text-align: left;
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.55);
  color: #cbd5e1;
}
.dashboard-table th {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dashboard-muted {
  font-size: 0.85rem;
  color: #94a3b8;
}
.dashboard-error {
  color: #fecaca;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* checkout.html (static) helpers — scoped */
.checkout-html-hidden {
  display: none !important;
}
.checkout-row-line {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}
.checkout-row-sub {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
}
.checkout-html-plan-block {
  margin-bottom: 0.25rem;
}
.checkout-html-payment-card {
  border: 1px solid rgba(148, 163, 184, 0.22);
}

/* Form page — glowing blue intake outline */
#intake-form.pdd-form-glow {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(96, 165, 250, 0.55);
  background: linear-gradient(
    165deg,
    rgba(15, 23, 42, 0.94) 0%,
    rgba(2, 6, 23, 0.9) 100%
  );
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.45),
    0 0 32px -4px rgba(37, 99, 235, 0.7),
    0 0 64px -16px rgba(59, 130, 246, 0.55),
    inset 0 1px 0 rgba(147, 197, 253, 0.2);
}

body[data-page="form"] #intake-form.pdd-form-glow:focus-within {
  border-color: rgba(147, 197, 253, 0.75);
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.65),
    0 0 40px -2px rgba(37, 99, 235, 0.85),
    0 0 72px -12px rgba(59, 130, 246, 0.65),
    inset 0 1px 0 rgba(191, 219, 254, 0.28);
}
