/* Landing page styles */
.page-rails {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 30;
}
.page-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(226, 232, 240, 0.8);
}
.page-rail-left {
  left: 0;
}
.page-rail-right {
  right: 0;
}
@media (min-width: 1152px) {
  .page-rail-left {
    left: calc(50% - 36rem);
  }
  .page-rail-right {
    right: calc(50% - 36rem);
  }
}
.full-rule {
  height: 1px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: rgba(226, 232, 240, 0.8);
}
html {
  scroll-behavior: smooth;
}
.grid-cell {
  background: #F6F8FC;
}
.hero-swash {
  position: relative;
  display: inline-block;
}
.hero-swash::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -6px;
  height: 4px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.7);
  transform: rotate(-2deg);
}
.tab-button {
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
  color: #94a3b8;
  transition: border-color 200ms ease, box-shadow 200ms ease, color 200ms ease, background 200ms ease;
}
.tab-button:hover {
  background: #f8fafc;
  border-color: rgba(203, 213, 225, 0.9);
  color: #64748b;
}
.tab-button.is-active {
  border-color: rgba(148, 163, 184, 0.8);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  background: #f8fafc;
}
.pricing-subtext {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pricing-feature svg {
  height: 14px;
  width: 14px;
  color: #0ea5e9;
}
.pricing-feature-text {
  display: inline-block;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(226, 232, 240, 0.9);
  text-underline-offset: 3px;
}
.pricing-summary {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.pricing-toggle {
  position: relative;
  display: inline-flex;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #f1f5f9;
  padding: 4px;
}
.pricing-toggle .pricing-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: #0ea5e9;
  transition: transform 300ms ease;
}
.pricing-toggle[data-plan="annual"] .pricing-pill {
  transform: translateX(100%);
}
.pricing-toggle button {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  transition: color 200ms ease;
}
.pricing-toggle button.is-active {
  color: #ffffff;
}
.price-roller,
.price-roll {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.price-currency {
  margin-right: 2px;
}
.price-slot {
  position: relative;
  height: 1em;
  width: 0.62em;
  overflow: hidden;
}
.price-slot-track {
  display: block;
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.price-slot-track span {
  display: block;
  height: 1em;
  line-height: 1em;
}
.price-dot {
  width: 0.3em;
  text-align: center;
}
.tab-panel {
  display: none;
}
.tab-panel.is-active {
  display: block;
}
.faq-tabs {
  position: relative;
  border-radius: 999px;
  background: #f1f5f9;
}
.faq-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: #0ea5e9;
  transition: transform 260ms ease;
}
.faq-tabs[data-active="enterprise"] .faq-pill {
  transform: translateX(100%);
}
.faq-tab {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  padding: 8px 16px;
  color: #64748b;
  transition: color 200ms ease;
}
.faq-tab.is-active {
  color: #ffffff;
}
.button-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}
.button-light:hover {
  background: #f8fafc;
  border-color: rgba(203, 213, 225, 0.9);
}
.faq-tab:not(.is-active):hover {
  color: #0f172a;
}
.faq-panel {
  max-height: 0;
  opacity: 0;
  transform: translateY(6px);
  overflow: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, max-height 260ms ease;
}
.faq-panel.is-active {
  max-height: 2000px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.faq-copy {
  transition: opacity 180ms ease;
}
.faq-copy.is-fading {
  opacity: 0;
}
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background-image: linear-gradient(transparent 0, transparent 94%, rgba(148, 163, 184, 0.2) 94%), linear-gradient(90deg, transparent 0, transparent 94%, rgba(148, 163, 184, 0.2) 94%);
  background-size: 48px 48px;
  transform: rotate(8deg);
  opacity: 0.15;
  mask-image: radial-gradient(circle at center, #000 40%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at center, #000 40%, transparent 78%);
}
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.18) 0%, rgba(14, 165, 233, 0.05) 45%, rgba(248, 250, 252, 0.0) 100%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-logo {
  transition: transform 500ms ease;
}
.cta-card:hover .cta-logo {
  transform: rotate(372deg);
}
.cta-card:hover .cta-counter .price-slot-track {
  transition-duration: 600ms;
}
.shimmer-button-fast::after {
  animation-duration: 7s;
}
.underline-draw {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.underline-draw::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1600ms ease 300ms;
  z-index: -1;
}
.underline-draw.is-active::after {
  transform: scaleX(1);
}
.upload-demo {
  position: relative;
  height: 100%;
}
.upload-demo .excel-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  width: 72px;
  padding: 2px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.14);
  transform: translate(-50%, -50%);
  animation: dragChip 18s ease-in-out infinite;
  animation-play-state: paused;
}
.upload-demo .excel-chip svg {
  height: 60px;
  width: 60px;
}
.upload-demo .excel-dot {
  display: none;
}
.upload-demo .upload-copy {
  position: relative;
  z-index: 1;
  animation: fadeCopy 18s ease-in-out infinite;
  animation-play-state: paused;
}
.upload-demo .progress-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  height: 38px;
  width: 38px;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: showProgress 18s ease-in-out infinite;
  animation-play-state: paused;
}
.upload-demo .check {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  height: 36px;
  width: 36px;
  border-radius: 999px;
  background: #0ea5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  animation: showCheck 18s ease-in-out infinite;
  animation-play-state: paused;
}
.upload-demo .check svg {
  height: 20px;
  width: 20px;
}
.upload-demo .ring-track {
  stroke: rgba(148, 163, 184, 0.35);
  stroke-width: 3;
}
.upload-demo .ring-progress {
  stroke: #0ea5e9;
  stroke-width: 3;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  stroke-dasharray: 62.8;
  stroke-dashoffset: 62.8;
  animation: ringFill 18s ease-in-out infinite;
  animation-play-state: paused;
}
.status-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.status-queued {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.status-sent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
}
.status-check {
  height: 12px;
  width: 12px;
}
.status-state {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 120px;
  width: 120px;
  text-align: right;
  position: relative;
  height: 16px;
}
.status-queued,
.status-sent {
  position: absolute;
  right: 0;
  top: 0;
  justify-content: flex-end;
  width: 100%;
}
.queued-dots::after {
  content: "...";
  animation: dotsPulse 1.2s steps(3, end) infinite;
}
.how-animate.is-active .status-sent,
.how-animate.is-active .status-queued {
  animation: statusSwap 18s ease-in-out infinite;
}
.how-animate.is-active .status-row:nth-child(1) .status-sent,
.how-animate.is-active .status-row:nth-child(1) .status-queued {
  animation-delay: 0.6s;
}
.how-animate.is-active .status-row:nth-child(2) .status-sent,
.how-animate.is-active .status-row:nth-child(2) .status-queued {
  animation-delay: 1.6s;
}
.how-animate.is-active .status-row:nth-child(3) .status-sent,
.how-animate.is-active .status-row:nth-child(3) .status-queued {
  animation-delay: 2.6s;
}
.export-demo {
  position: relative;
}
.export-button {
  position: relative;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.export-menu {
  position: absolute;
  top: 38px;
  right: 0;
  min-width: 180px;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
}
.how-animate.is-active .export-button {
  animation: exportPress 18s ease-in-out infinite;
  animation-delay: 0.8s;
}
.how-animate.is-active .export-button {
  animation-name: exportButton;
}
.how-animate.is-active .export-menu {
  animation: exportMenu 18s ease-in-out infinite;
  animation-delay: 0.8s;
}
.export-menu-item {
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  padding: 10px 12px;
  transition: background 200ms ease, color 200ms ease;
}
.export-menu-item:first-child {
  border-top: 0;
}
.how-animate.is-active .export-menu-item:nth-child(1) {
  animation: exportItem1 18s ease-in-out infinite;
  animation-delay: 0.8s;
}
.how-animate.is-active .export-menu-item:nth-child(2) {
  animation: exportItem2 18s ease-in-out infinite;
  animation-delay: 0.8s;
}
.how-animate.is-active .export-menu-item:nth-child(3) {
  animation: exportItem3 18s ease-in-out infinite;
  animation-delay: 0.8s;
}
.how-animate.is-active .export-menu-item:nth-child(4) {
  animation: none;
}
@keyframes dotsPulse {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}
@keyframes statusSwap {
  0% { opacity: 1; }
  15% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}
.how-animate.is-active .status-sent {
  animation-name: statusShow;
}
@keyframes statusShow {
  0% { opacity: 0; }
  25% { opacity: 0; }
  35% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes exportPress {
  0% { transform: scale(1); }
  8% { transform: scale(0.96); }
  16% { transform: scale(1); }
  100% { transform: scale(1); }
}
@keyframes exportButton {
  0% { background: #f8fafc; border-color: #e2e8f0; color: #475569; }
  6% { background: #e0f2fe; border-color: #7dd3fc; color: #0369a1; }
  70% { background: #e0f2fe; border-color: #7dd3fc; color: #0369a1; }
  78% { background: #f8fafc; border-color: #e2e8f0; color: #475569; }
  100% { background: #f8fafc; border-color: #e2e8f0; color: #475569; }
}
@keyframes exportMenu {
  0% { opacity: 0; transform: translateY(-6px) scale(0.98); }
  10% { opacity: 1; transform: translateY(0) scale(1); }
  70% { opacity: 1; transform: translateY(0) scale(1); }
  78% { opacity: 0; transform: translateY(-4px) scale(0.98); }
  100% { opacity: 0; transform: translateY(-6px) scale(0.98); }
}
@keyframes exportItem1 {
  0% { background: transparent; color: #475569; }
  3% { background: #e0f2fe; color: #0369a1; }
  5% { background: transparent; color: #475569; }
  100% { background: transparent; color: #475569; }
}
@keyframes exportItem2 {
  0% { background: transparent; color: #475569; }
  5% { background: transparent; color: #475569; }
  7% { background: #e0f2fe; color: #0369a1; }
  9% { background: transparent; color: #475569; }
  100% { background: transparent; color: #475569; }
}
@keyframes exportItem3 {
  0% { background: transparent; color: #475569; }
  9% { background: transparent; color: #475569; }
  12% { background: #e0f2fe; color: #0369a1; }
  51% { background: #e0f2fe; color: #0369a1; }
  100% { background: transparent; color: #475569; }
}
.how-animate.is-active .upload-demo .excel-chip,
.how-animate.is-active .upload-demo .upload-copy,
.how-animate.is-active .upload-demo .progress-ring,
.how-animate.is-active .upload-demo .check,
.how-animate.is-active .upload-demo .ring-progress {
  animation-play-state: running;
}
@keyframes dragChip {
  0% { transform: translate(-140%, -120%) scale(0.9); opacity: 0; }
  10% { transform: translate(-140%, -120%) scale(0.9); opacity: 1; }
  18% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  24% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
  100% { transform: translate(-140%, -120%) scale(0.9); opacity: 0; }
}
@keyframes fadeCopy {
  0% { opacity: 1; }
  20% { opacity: 1; }
  26% { opacity: 0; }
  78% { opacity: 0; }
  88% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes showProgress {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.9) rotate(0deg); }
  24% { opacity: 0; }
  28% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  36% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  40% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes ringFill {
  0% { stroke-dashoffset: 62.8; }
  28% { stroke-dashoffset: 62.8; }
  32% { stroke-dashoffset: 41.9; }
  36% { stroke-dashoffset: 20.9; }
  40% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}
@keyframes showCheck {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  40% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  46% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
  52% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  83% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  84% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
}
@media (prefers-reduced-motion: reduce) {
  .upload-demo .excel-chip,
  .upload-demo .progress-ring,
  .upload-demo .check {
    animation: none;
    opacity: 1;
  }
  .upload-demo .progress-ring {
    opacity: 0;
  }
  .upload-demo .check {
    opacity: 0;
  }
}
.preview-frame {
  border-radius: 6px;
}
.preview-bg {
  border-radius: 6px;
}
.typewriter-caret {
  display: inline-block;
  width: 1px;
  height: 1em;
  background: #0ea5e9;
  margin-left: 4px;
  animation: caretBlink 900ms step-end infinite;
}
.typewriter-tight {
  font-size: 0.85em;
  letter-spacing: -0.01em;
}
@keyframes caretBlink {
  0%,
  100% { opacity: 0; }
  50% { opacity: 1; }
}
.shimmer-button {
  position: relative;
  overflow: hidden;
}
.shimmer-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.75) 45%, transparent 80%);
  transform: skewX(-16deg);
  animation: shimmerSweep 20s ease-in-out infinite;
  pointer-events: none;
}
.shimmer-button-once::after {
  animation: none;
  left: -70%;
  width: 70%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.9) 45%, transparent 80%);
  opacity: 0;
  transition: opacity 200ms ease;
}
.shimmer-button-once:hover::after {
  opacity: 1;
  animation: shimmerSweep 20s ease-in-out 0.05s 1 both;
}
@keyframes shimmerSweep {
  0% {
    left: -60%;
  }
  10% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shimmer-button::after {
    animation: none;
  }
  .typewriter-caret {
    animation: none;
  }
}
.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 600ms ease;
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
