/* --- Reset & base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --axis-max: 1200px;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --scroll-anchor-offset: 80px;
  scroll-behavior: smooth;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(245, 247, 250, 0.88);
  background-color: #0b0f14;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-font-smoothing: antialiased;
}

body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.ambient,
.nav-wrap,
.hero-visual,
.hero-deadzone {
  user-select: none;
  -webkit-user-select: none;
}

.hero-copy,
.section-inner,
.contact-form input:not([type="hidden"]),
.contact-form textarea {
  user-select: text;
  -webkit-user-select: text;
}

.btn {
  user-select: none;
  -webkit-user-select: none;
}

::selection {
  background: rgba(94, 234, 212, 0.25);
  color: #f8fafc;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.045em;
  color: #f1f5f9;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

main {
  position: relative;
  z-index: 1;
}

/* --- Ambient: depth, orbs, grain (subtle) --- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(
      ellipse 120% 80% at 50% -20%,
      #131a22 0%,
      #0b0f14 48%,
      #080b0f 100%
    );
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.38;
  transform: translateZ(0);
}

.orb--indigo {
  width: min(62vw, 720px);
  height: min(62vw, 720px);
  left: -18%;
  top: 8%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(129, 140, 248, 0.32) 0%,
    rgba(79, 70, 229, 0.08) 48%,
    transparent 72%
  );
}

.orb--teal {
  width: min(55vw, 640px);
  height: min(55vw, 640px);
  right: -12%;
  top: 28%;
  background: radial-gradient(
    circle at 55% 45%,
    rgba(45, 212, 191, 0.2) 0%,
    rgba(13, 148, 136, 0.06) 52%,
    transparent 74%
  );
}

.orb--indigo-soft {
  width: min(90vw, 980px);
  height: min(90vw, 980px);
  left: 50%;
  bottom: -35%;
  translate: -50% 0;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(99, 102, 241, 0.12) 0%,
    transparent 68%
  );
  opacity: 0.55;
}

.grain {
  position: absolute;
  inset: -20%;
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 320px 320px;
  animation: grain-shift 18s steps(10) infinite;
}

@keyframes grain-shift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-1.5%, 1.5%);
  }
}

/* --- Nav: full-width solid header (content scrolls underneath) --- */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #0b0f14;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--axis-max);
  margin-inline: auto;
  padding: clamp(0.875rem, 2vw, 1.125rem) clamp(1.25rem, 6vw, 4rem);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.35s ease;
}

.logo:hover {
  opacity: 0.92;
}

.logo:focus-visible {
  outline: none;
  border-radius: 6px;
  box-shadow:
    0 0 0 2px rgba(15, 23, 42, 0.9),
    0 0 0 4px rgba(129, 140, 248, 0.45);
}

.logo span {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
  line-height: 1;
  color: rgba(248, 250, 252, 0.96);
  white-space: nowrap;
}

.nav-logo {
  display: block;
  height: 32px;
  width: auto;
  max-height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(226, 232, 240, 0.75);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.35s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(129, 140, 248, 0.75),
    transparent
  );
  opacity: 0;
  transform: scaleX(0.6);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover {
  color: rgba(248, 250, 252, 0.96);
}

.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

@media (max-width: 640px) {
  .nav {
    padding-inline: clamp(1rem, 5vw, 1.5rem);
  }

  .nav-link {
    font-size: 0.75rem;
  }
}

/* --- Layout: single central axis --- */
.section {
  position: relative;
  padding-inline: clamp(1.5rem, 8vw, 6rem);
  padding-block: 3.75rem;
}

#flow,
#pricing,
#contact {
  scroll-margin-top: var(--scroll-anchor-offset);
}

.section-inner {
  width: 100%;
  max-width: var(--axis-max);
  margin-inline: auto;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
  margin: 0 0 0.875rem;
}

.section-title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  max-width: 22ch;
  margin: 0 0 1.75rem;
}

/* --- Hero --- */
.hero {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: max(
    5rem,
    calc(env(safe-area-inset-top, 0px) + 4.25rem)
  );
  padding-bottom: 1.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  align-content: center;
  flex: 1 1 auto;
  width: 100%;
  max-width: var(--axis-max);
  margin-inline: auto;
}

.hero-copy {
  max-width: 36rem;
}

.hero-copy .section-eyebrow {
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.25rem, 1.45rem + 3.2vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  margin: 0 0 1.5rem;
  color: #f8fafc;
}

.hero-accent {
  display: inline;
  color: rgba(196, 210, 254, 0.96);
  font-weight: 700;
}

.hero-lede {
  font-weight: 400;
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.125rem);
  line-height: 1.75;
  color: rgba(203, 213, 225, 0.88);
  max-width: 34ch;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-deadzone {
  flex-shrink: 0;
  height: clamp(1.5rem, 3vh, 2.25rem);
  margin-top: 1rem;
  width: 100%;
  max-width: var(--axis-max);
  margin-inline: auto;
  border-radius: 0 0 1.25rem 1.25rem;
  background: linear-gradient(
    180deg,
    rgba(11, 15, 20, 0) 0%,
    rgba(11, 15, 20, 0.35) 100%
  );
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.65rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.55s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.9),
    0 0 0 4px rgba(129, 140, 248, 0.45);
}

.btn--primary {
  background: linear-gradient(
    135deg,
    rgba(129, 140, 248, 0.95) 0%,
    rgba(99, 102, 241, 0.9) 50%,
    rgba(56, 189, 172, 0.75) 120%
  );
  color: #0b1120;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 16px 40px rgba(79, 70, 229, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 22px 50px rgba(79, 70, 229, 0.33);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(241, 245, 249, 0.92);
  border-color: rgba(148, 163, 184, 0.22);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(186, 199, 215, 0.35);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: rgba(226, 232, 240, 0.9);
  border-color: rgba(148, 163, 184, 0.28);
}

.btn--outline:hover {
  border-color: rgba(165, 180, 252, 0.5);
  color: #f8fafc;
  background: rgba(129, 140, 248, 0.06);
  transform: translateY(-2px);
}

.btn--pricing {
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

/* Hero dashboard mockup cards */
.hero-visual {
  position: relative;
  min-height: clamp(320px, 44vw, 480px);
}

.hero-dashboard {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding-top: clamp(1.25rem, 3.5vw, 2.25rem);
  perspective: 1000px;
  transform-style: preserve-3d;
}

.dash-card-wrap {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
  animation: dash-float 9s ease-in-out infinite;
}

.dash-card-wrap--performance {
  top: 8%;
  right: 2%;
  width: min(272px, 90%);
  z-index: 3;
  animation-duration: 9s;
  animation-delay: 0s;
}

.dash-card-wrap--leads {
  top: 40%;
  left: 0;
  width: min(296px, 94%);
  z-index: 2;
  animation-duration: 8s;
  animation-delay: -2.8s;
}

.dash-card-wrap--resolution {
  bottom: 2%;
  right: 10%;
  width: min(260px, 88%);
  z-index: 1;
  animation-duration: 10s;
  animation-delay: -5.5s;
}

.dash-card-wrap--micro {
  width: min(178px, 46%);
}

.dash-card-wrap--sentiment {
  top: 14%;
  left: 4%;
  z-index: 5;
  animation-duration: 7.5s;
  animation-delay: -1.2s;
}

.dash-card-wrap--sources {
  top: 47%;
  right: 0;
  width: min(186px, 50%);
  z-index: 4;
  animation-duration: 8.5s;
  animation-delay: -3.6s;
}

.dash-card-wrap--response {
  bottom: 8%;
  left: 6%;
  z-index: 3;
  animation-duration: 9.5s;
  animation-delay: -6.8s;
}

.dash-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    155deg,
    rgba(18, 24, 38, 0.52) 0%,
    rgba(10, 14, 22, 0.62) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 1.15rem;
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.12) inset,
    0 0 48px rgba(99, 102, 241, 0.14),
    0 0 80px rgba(56, 189, 172, 0.06),
    0 28px 56px rgba(0, 0, 0, 0.42);
  transform: perspective(920px) rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.dash-card--micro {
  padding: 0.7rem 0.8rem;
  border-radius: 0.85rem;
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.1) inset,
    0 0 36px rgba(99, 102, 241, 0.12),
    0 0 56px rgba(56, 189, 172, 0.05),
    0 18px 36px rgba(0, 0, 0, 0.38);
}

.dash-card__type--micro {
  margin: 0 0 0.5rem;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
}

.dash-sentiment-label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(226, 232, 240, 0.96);
  text-shadow: 0 0 18px rgba(129, 140, 248, 0.28);
}

.dash-source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.dash-card--sources .dash-source-list {
  gap: 0.4rem;
}

.dash-source-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dash-source-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dash-source-dot--tiktok {
  background: linear-gradient(135deg, #25f4ee 0%, #fe2c55 100%);
  box-shadow: 0 0 10px rgba(254, 44, 85, 0.35);
}

.dash-source-dot--direct {
  background: linear-gradient(
    145deg,
    rgba(129, 140, 248, 0.95),
    rgba(56, 189, 172, 0.85)
  );
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.25);
}

.dash-source-name {
  color: rgba(203, 213, 225, 0.92);
  font-weight: 500;
}

.dash-source-pct {
  font-variant-numeric: tabular-nums;
  color: rgba(196, 210, 254, 0.95);
  font-weight: 700;
}

.dash-response-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.dash-pulse-icon {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.95);
  box-shadow:
    0 0 0 3px rgba(129, 140, 248, 0.15),
    0 0 12px rgba(99, 102, 241, 0.65);
  animation: dash-micro-pulse 1.8s ease-in-out infinite;
}

.dash-response-stat {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(203, 213, 225, 0.9);
}

.dash-response-strong {
  font-weight: 700;
  color: rgba(226, 232, 240, 0.98);
  text-shadow: 0 0 14px rgba(129, 140, 248, 0.35);
}

.dash-card__type {
  margin: 0 0 0.65rem;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.72);
}

.dash-live-row {
  margin-bottom: 0.45rem;
}

.dash-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(52, 211, 153, 0.98);
}

.dash-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 1);
  box-shadow:
    0 0 10px rgba(52, 211, 153, 0.85),
    0 0 18px rgba(52, 211, 153, 0.35);
  animation: dash-live-pulse 2s ease-in-out infinite;
}

.dash-card__model {
  margin: 0 0 0.65rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f1f5f9;
}

.dash-sparkline {
  height: 36px;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.22);
  padding: 0.35rem 0.45rem;
}

.dash-sparkline__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dash-accuracy {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(196, 210, 254, 0.92);
  text-shadow: 0 0 20px rgba(129, 140, 248, 0.35);
}

.dash-lead-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dash-lead-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.dash-avatar {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(248, 250, 252, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    145deg,
    hsl(var(--avatar-hue, 252) 52% 52%),
    hsl(calc(var(--avatar-hue, 252) + 22) 48% 38%)
  );
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.22);
}

.dash-lead-copy {
  font-size: 0.75rem;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.9);
}

.dash-resolution-status {
  margin: 0 0 0.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(56, 189, 172, 0.92);
  letter-spacing: 0.06em;
}

.dash-resolution-value {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.65rem;
}

.dash-resolution-num {
  font-family: var(--font-sans);
  font-size: clamp(1.9rem, 3.8vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  color: rgba(241, 245, 249, 0.98);
  text-shadow:
    0 0 40px rgba(129, 140, 248, 0.45),
    0 0 72px rgba(56, 189, 172, 0.18);
}

.dash-resolution-unit {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.88);
}

@keyframes dash-float {
  0%,
  100% {
    transform: translateY(0) rotateZ(0deg);
  }
  50% {
    transform: translateY(-13px) rotateZ(0.35deg);
  }
}

@keyframes dash-live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(0.92);
  }
}

@keyframes dash-micro-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 0 0 3px rgba(129, 140, 248, 0.15),
      0 0 12px rgba(99, 102, 241, 0.65);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.88);
    box-shadow:
      0 0 0 5px rgba(129, 140, 248, 0.08),
      0 0 18px rgba(56, 189, 172, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  .dash-card-wrap {
    animation: none;
  }

  .dash-live-dot {
    animation: none;
  }

  .dash-pulse-icon {
    animation: none;
  }

  .dash-card {
    transition: none;
  }
}

@media (max-width: 767px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 8vw, 3rem);
  }

  .hero-visual {
    max-width: 22rem;
    margin-inline: auto;
    min-height: 0;
    order: 1;
  }

  .hero-dashboard {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding-block: 0.25rem;
  }

  .dash-card-wrap {
    position: relative;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 19.5rem;
    margin-inline: auto;
  }

  .dash-card-wrap--performance {
    animation-delay: 0s;
  }

  .dash-card-wrap--leads {
    animation-delay: -2s;
  }

  .dash-card-wrap--resolution {
    animation-delay: -4s;
  }

  .dash-card-wrap--micro {
    max-width: 17.5rem;
  }

  .dash-card-wrap--sentiment {
    animation-delay: -0.8s;
  }

  .dash-card-wrap--sources {
    animation-delay: -2.8s;
  }

  .dash-card-wrap--response {
    animation-delay: -5s;
  }
}

/* --- Flow --- */
.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: clamp(2.5rem, 5vw, 4rem);
  row-gap: 0;
}

.flow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 4vw, 2.75rem);
  align-items: start;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.flow-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
  }

  .flow-item:nth-child(3),
  .flow-item:nth-child(6) {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

.flow-index {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 1.35rem + 1.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(129, 140, 248, 0.5);
  line-height: 1;
}

.flow-body h3 {
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 0.65rem;
}

.flow-body p {
  font-weight: 400;
  color: rgba(186, 199, 215, 0.88);
  max-width: 52ch;
}

@media (max-width: 560px) {
  .flow-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* --- Pricing --- */
.pricing .section-inner {
  text-align: center;
}

.pricing .section-eyebrow {
  margin-inline: auto;
}

.pricing .section-title {
  max-width: none;
  margin-inline: auto;
}

@media (max-width: 520px) {
  .pricing .section-title {
    max-width: 17rem;
  }
}

.pricing .billing-controls {
  margin-inline: auto;
}

.pricing .pricing-grid {
  text-align: start;
}

.billing-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin: -0.35rem 0 1.5rem;
  text-align: center;
}

.billing-toggle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.95rem;
}

.billing-toggle__hint {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.65);
  transition: color 0.35s ease;
}

.billing-toggle__hint--active {
  color: rgba(248, 250, 252, 0.92);
}

.billing-save-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: rgba(167, 243, 208, 0.95);
  background: rgba(52, 211, 153, 0.1);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.35s ease;
}

.billing-microcopy {
  margin: 0;
  font-size: 0.7875rem;
  font-weight: 400;
  color: rgba(148, 163, 184, 0.7);
  max-width: 40ch;
  line-height: 1.5;
}

.billing-toggle {
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 28px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
}

.billing-toggle:focus-visible .billing-toggle__track {
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.9),
    0 0 0 4px rgba(129, 140, 248, 0.45);
}

.billing-toggle__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(12, 16, 22, 0.85);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.billing-toggle--on .billing-toggle__track {
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(79, 70, 229, 0.22);
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.08) inset,
    0 4px 20px rgba(79, 70, 229, 0.12);
}

.billing-toggle__knob {
  position: absolute;
  top: 50%;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f8fafc, #e2e8f0);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: translateY(-50%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.billing-toggle--on .billing-toggle__knob {
  transform: translate(24px, -50%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 1.75rem);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: auto;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(17, 22, 30, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    border-color 0.45s ease,
    box-shadow 0.55s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(165, 180, 252, 0.25);
}

.price-card--featured {
  border-color: rgba(165, 180, 252, 0.55);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(165, 180, 252, 0.18) inset,
    0 0 0 1px rgba(129, 140, 248, 0.15),
    0 0 72px rgba(99, 102, 241, 0.2),
    0 28px 64px rgba(0, 0, 0, 0.4);
  background: linear-gradient(
    160deg,
    rgba(42, 35, 86, 0.35) 0%,
    rgba(26, 32, 48, 0.92) 22%,
    rgba(14, 20, 28, 0.72) 100%
  );
}

.price-card--featured:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(165, 180, 252, 0.2) inset,
    0 0 80px rgba(99, 102, 241, 0.16),
    0 32px 70px rgba(0, 0, 0, 0.4);
}

.price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  max-width: calc(100% - 2rem);
  text-align: center;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(196, 210, 254, 0.95);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(165, 180, 252, 0.35);
  background: rgba(79, 70, 229, 0.18);
}

.price-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
}

.price-card--featured .price-name {
  padding-right: 5.75rem;
  color: rgba(248, 250, 252, 0.98);
}

.price-trial {
  margin: 0 0 0.85rem;
  font-size: 0.7875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 203, 255, 0.85);
}

.price-amount-row {
  min-height: clamp(3.2rem, 2.85rem + 1.05vw, 3.85rem);
  margin-bottom: 0.35rem;
}

.price-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.2rem;
  row-gap: 0.25rem;
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 1.45rem + 1.1vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  margin: 0;
  color: #f8fafc;
}

.price-amount__wrap {
  position: relative;
  display: inline-grid;
  place-items: start;
}

.price-currency {
  font-size: clamp(1.62rem, 1.38rem + 0.82vw, 2.06rem);
  font-weight: 700;
  line-height: 1;
  opacity: 0.95;
  translate: 0 -0.06em;
}

.price-period {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.895rem + 0.42vw, 1.125rem);
  font-weight: 500;
  line-height: 1.35;
  color: rgba(186, 199, 215, 0.92);
  letter-spacing: 0.015em;
  margin-inline-start: 0.06rem;
}

.price-amount__pane {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: visible;
  transform: translateY(-5px);
  pointer-events: none;
}

.price-amount__digits {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.pricing:not(.pricing--yearly) .price-amount__pane--monthly {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.pricing:not(.pricing--yearly) .price-amount__pane--yearly {
  visibility: hidden;
}

.pricing.pricing--yearly .price-amount__pane--yearly {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.pricing.pricing--yearly .price-amount__pane--monthly {
  visibility: hidden;
}

.price-detail {
  margin: 0 0 1.05rem;
  font-size: 0.775rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(167, 243, 208, 0.8);
}

.price-detail[hidden] {
  display: none;
}

.price-features {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(0.92rem, 2.25vw, 1.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 0;
}

.price-features li {
  position: relative;
  padding-left: 1.48rem;
  margin-bottom: 0;
  font-size: clamp(0.97rem, 0.918rem + 0.28vw, 1.0875rem);
  line-height: 1.5;
  font-weight: 400;
  color: rgba(216, 224, 235, 0.94);
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8, #2dd4bf);
  opacity: 0.85;
}

.price-card__cta {
  margin-top: auto;
  padding-top: clamp(1.35rem, 4vw, 1.85rem);
  flex-shrink: 0;
  width: 100%;
}

.btn--pricing-full {
  width: 100%;
}

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
    gap: clamp(2rem, 6vw, 2.5rem);
  }

  .price-card--featured {
    order: -1;
    transform: none;
  }

  .price-card--featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  .billing-save-badge {
    width: 100%;
    justify-content: center;
  }
}

/* --- Contact --- */
.contact .section-title,
.contact .section-eyebrow {
  text-align: center;
  margin-inline: auto;
}

.contact .section-title {
  max-width: 28ch;
}

.contact-lede {
  text-align: center;
  font-weight: 400;
  color: rgba(186, 199, 215, 0.88);
  margin: -0.5rem 0 1.75rem;
  max-width: 36ch;
  margin-inline: auto;
}

.contact-shell {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-banner[hidden] {
  display: none !important;
}

.contact-banner {
  border-radius: 0.875rem;
  border: 1px solid rgba(74, 222, 128, 0.32);
  background: rgba(14, 20, 18, 0.78);
  backdrop-filter: blur(20px) saturate(155%);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
  box-shadow:
    0 1px 0 rgba(167, 243, 208, 0.1) inset,
    0 14px 44px rgba(0, 0, 0, 0.4);
  color: rgba(236, 253, 245, 0.95);
  font-size: clamp(0.9rem, 0.875rem + 0.18vw, 0.9625rem);
  line-height: 1.55;
  opacity: 0;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-banner--visible {
  opacity: 1;
}

.contact-banner__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 2.85rem 1rem 1.05rem;
}

.contact-banner__icon-wrap {
  flex-shrink: 0;
  padding-top: 0.06rem;
}

.contact-banner__icon {
  display: block;
}

.contact-banner__text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-weight: 400;
  color: rgba(220, 252, 239, 0.94);
}

.contact-banner__close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 1.35rem;
  line-height: 1;
  color: rgba(203, 213, 225, 0.75);
  background: transparent;
  border: none;
  border-radius: 0.35rem;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
}

.contact-banner__close:hover {
  color: rgba(248, 250, 252, 0.95);
  background: rgba(255, 255, 255, 0.06);
}

.contact-banner__close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.9),
    0 0 0 4px rgba(74, 222, 128, 0.45);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1rem;
  width: 100%;
  margin-inline: auto;
  color-scheme: dark;
}

.contact-error {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(248, 113, 113, 0.88);
  text-align: center;
  max-width: 32ch;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.field-control {
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem 1.1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.96);
  background-color: rgba(14, 18, 26, 0.72);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.75rem;
  transition:
    border-color 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.4s ease;
}

.field-plan-field.field {
  gap: 0.45rem;
}

.field-plan-shell {
  position: relative;
}

.plan-field-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
  width: 100%;
}

.field-control-custom {
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem 2.95rem 0.9rem 1.1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(241, 245, 249, 0.94);
  background-color: rgba(14, 18, 26, 0.72);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.75rem;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 0 0 1px rgba(0, 0, 0, 0.08) inset;
  transition:
    border-color 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.4s ease;
}

.custom-select__label {
  flex: 1;
  min-width: 0;
}

.custom-select__arrow-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(165, 180, 252, 0.88);
}

.custom-select__arrow {
  display: block;
  transform-origin: 50% 55%;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-select--open .custom-select__arrow {
  transform: rotate(180deg);
  color: rgba(199, 210, 254, 0.95);
}

.field-control-custom:hover {
  border-color: rgba(165, 180, 252, 0.38);
  background-color: rgba(18, 23, 34, 0.78);
}

.field-control-custom:focus {
  outline: none;
}

.field-control-custom:focus-visible {
  border-color: rgba(165, 180, 252, 0.55);
  background-color: rgba(17, 23, 34, 0.88);
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.14) inset,
    0 0 0 3px rgba(99, 102, 241, 0.22),
    0 0 24px rgba(79, 70, 229, 0.08);
}

.custom-select__menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  border-radius: 0.75rem;
  border: 1px solid rgba(165, 180, 252, 0.24);
  background-color: rgba(12, 16, 24, 0.94);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.08) inset,
    0 16px 48px rgba(0, 0, 0, 0.52),
    0 0 40px rgba(79, 70, 229, 0.1);
}

.custom-select__menu[hidden] {
  display: none !important;
}

.custom-select__option {
  margin: 0;
  padding: 0.7rem 0.95rem;
  font-size: 0.9175rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(226, 232, 240, 0.92);
  border-radius: 0.52rem;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.custom-select__option:hover {
  background: rgba(99, 102, 241, 0.22);
  color: rgba(248, 250, 252, 0.98);
}

.custom-select__option:focus-visible {
  outline: none;
  background: rgba(99, 102, 241, 0.22);
  color: rgba(248, 250, 252, 0.98);
}

.custom-select__option--active {
  background: rgba(79, 70, 229, 0.14);
}

.field-control::placeholder {
  color: rgba(148, 163, 184, 0.46);
}

.field-control:hover {
  border-color: rgba(165, 180, 252, 0.32);
  background-color: rgba(18, 23, 34, 0.78);
}

.field-control:focus {
  outline: none;
  border-color: rgba(165, 180, 252, 0.55);
  background-color: rgba(17, 23, 34, 0.88);
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.14) inset,
    0 0 0 3px rgba(99, 102, 241, 0.22),
    0 0 24px rgba(79, 70, 229, 0.08);
}

.custom-select--open .field-control-custom {
  border-color: rgba(165, 180, 252, 0.42);
}

.field-control:-webkit-autofill,
.field-control:-webkit-autofill:hover,
.field-control:-webkit-autofill:focus,
.field-control:-webkit-autofill:active {
  -webkit-text-fill-color: rgba(248, 250, 252, 0.96) !important;
  caret-color: rgba(248, 250, 252, 0.96);
  box-shadow: 0 0 0 100vh rgba(14, 18, 26, 0.9) inset !important;
  border: 1px solid rgba(148, 163, 184, 0.32) !important;
  transition:
    background-color 99999s ease-out 0s,
    color 99999s ease-out 0s;
}

.field-control:-webkit-autofill:focus {
  border-color: rgba(165, 180, 252, 0.52) !important;
  box-shadow:
    0 0 0 100vh rgba(16, 22, 34, 0.92) inset,
    0 0 0 3px rgba(99, 102, 241, 0.25) !important;
}

.field-control:autofill {
  box-shadow: 0 0 0 100vh rgba(14, 18, 26, 0.9) inset;
  border-color: rgba(148, 163, 184, 0.32);
  color: rgba(248, 250, 252, 0.96);
}

.textarea--fixed {
  resize: none;
  min-height: 120px;
}

.btn--send {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 180px;
  margin-top: 0.5rem;
}

@media (max-width: 560px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .btn--send {
    width: 100%;
  }
}

/* --- Footer --- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  padding-inline: clamp(1.5rem, 8vw, 6rem);
  padding-block: 3.25rem 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(9, 12, 17, 0.55);
}

.footer-inner {
  width: 100%;
  max-width: var(--axis-max);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem 3rem;
}

.footer-brand {
  max-width: 22rem;
}

.footer-brand .logo {
  display: inline-flex;
}

.footer-tagline {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.75);
  max-width: 32ch;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 4.5rem);
}

.footer-col__title {
  margin: 0 0 0.95rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(203, 213, 225, 0.78);
  transition: color 0.35s ease;
}

.footer-col a:hover {
  color: rgba(248, 250, 252, 0.96);
}

.footer-base {
  width: 100%;
  max-width: var(--axis-max);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-base p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(148, 163, 184, 0.6);
}

/* --- Install page --- */
.install-main {
  padding-top: clamp(4rem, 6vw, 5rem);
}

.install-hero {
  padding-bottom: 2.25rem;
}

.install-hero .section-inner {
  max-width: 780px;
}

.install-title {
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem);
  margin: 0.6rem 0 1.15rem;
}

.install-subtitle {
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
  line-height: 1.7;
  color: rgba(203, 213, 225, 0.85);
  max-width: 62ch;
  margin: 0;
}

.install-section {
  padding-block: 1.75rem;
}

.install-section .section-inner {
  max-width: 780px;
}

.install-section__title {
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.7rem);
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

/* Code box */
.code-box {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(129, 140, 248, 0.38);
  background: rgba(10, 14, 22, 0.85);
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.08) inset,
    0 0 48px rgba(99, 102, 241, 0.14),
    0 24px 56px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.code-box__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem 0.7rem 1.2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.code-box__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.82);
}

.code-box__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8, #2dd4bf);
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.55);
}

.code-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.code-copy:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(186, 199, 215, 0.4);
  transform: translateY(-1px);
}

.code-copy:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(15, 23, 42, 0.9),
    0 0 0 4px rgba(129, 140, 248, 0.45);
}

.code-copy--copied {
  color: rgba(167, 243, 208, 0.98);
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(52, 211, 153, 0.12);
}

.code-copy__icon {
  display: block;
  flex-shrink: 0;
}

.code-box__pre {
  margin: 0;
  padding: 1.25rem 1.4rem;
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.92);
}

.code-box__pre code {
  font-family: inherit;
  white-space: pre;
}

.code-note {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(148, 163, 184, 0.62);
  max-width: 64ch;
}

.tok-comment {
  color: rgba(148, 163, 184, 0.6);
}

.tok-tag {
  color: rgba(129, 140, 248, 0.95);
}

.tok-attr {
  color: rgba(94, 234, 212, 0.92);
}

.tok-str {
  color: rgba(196, 210, 254, 0.96);
}

.tok-key {
  color: rgba(244, 114, 182, 0.9);
}

/* Platform accordion */
.platforms {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.platform {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(17, 22, 30, 0.5);
  transition:
    border-color 0.35s ease,
    background 0.35s ease;
}

.platform--open {
  border-color: rgba(165, 180, 252, 0.38);
  background: rgba(20, 26, 38, 0.62);
}

.platform__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.35rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(241, 245, 249, 0.94);
  background: transparent;
  border: none;
  border-radius: 0.9rem;
  cursor: pointer;
  text-align: left;
}

.platform__trigger:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(15, 23, 42, 0.9),
    0 0 0 4px rgba(129, 140, 248, 0.45);
}

.platform__icon {
  flex-shrink: 0;
  color: rgba(165, 180, 252, 0.85);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.platform--open .platform__icon {
  transform: rotate(180deg);
  color: rgba(199, 210, 254, 0.95);
}

.platform__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.platform__panel-inner {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(203, 213, 225, 0.86);
}

.platform__panel-inner p {
  margin: 0;
}

.platform__panel-inner code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 0.85em;
  padding: 0.1rem 0.4rem;
  border-radius: 0.35rem;
  background: rgba(129, 140, 248, 0.14);
  color: rgba(199, 210, 254, 0.96);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    gap: 2.25rem;
  }
}

/* --- Demos page --- */
.demos-main {
  padding-top: clamp(4rem, 6vw, 5rem);
}

.demos-hero {
  padding-bottom: 1.5rem;
  text-align: center;
}

.demos-hero .section-inner {
  max-width: 720px;
}

.demos-hero .section-eyebrow {
  margin-inline: auto;
}

.demos-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  max-width: none;
  margin: 0.6rem auto 1.15rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .demos-hero .section-inner {
    max-width: 1040px;
  }

  .demos-title {
    white-space: nowrap;
  }
}

.demos-subtitle {
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
  line-height: 1.7;
  color: rgba(203, 213, 225, 0.85);
  max-width: 56ch;
  margin-inline: auto;
}

.demos-section {
  padding-block: 1.5rem 3.75rem;
}

.demos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 1.75rem);
  align-items: stretch;
}

@media (max-width: 960px) {
  .demos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.demo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.6rem, 3.5vw, 2rem);
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(17, 22, 30, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition:
    border-color 0.45s ease,
    box-shadow 0.55s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #818cf8, #2dd4bf);
  opacity: 0.55;
  transition: opacity 0.45s ease;
}

.demo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(165, 180, 252, 0.32);
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.14),
    0 0 60px rgba(99, 102, 241, 0.16),
    0 26px 60px rgba(0, 0, 0, 0.42);
}

.demo-card:hover::before {
  opacity: 1;
}

.demo-card__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.78);
}

.demo-card__title {
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  color: #f1f5f9;
}

.demo-card__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(203, 213, 225, 0.85);
  margin: 0 0 1.5rem;
}

.demo-card__cta {
  margin-top: auto;
}

.demo-card .btn {
  width: 100%;
}

@media (max-width: 700px) {
  .demos-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* --- Footer legal button --- */
.footer-legal-btn {
  display: inline;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: inherit;
  color: rgba(203, 213, 225, 0.78);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.35s ease;
}

.footer-legal-btn:hover {
  color: rgba(248, 250, 252, 0.96);
}

.footer-legal-btn:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow:
    0 0 0 2px rgba(15, 23, 42, 0.9),
    0 0 0 4px rgba(129, 140, 248, 0.45);
}

/* --- Legal pages --- */
.legal-main {
  padding-top: clamp(4rem, 6vw, 5rem);
}

.legal-hero {
  padding-bottom: 0.5rem;
}

.legal-hero .section-inner,
.legal-section .section-inner {
  max-width: 780px;
}

.legal-title {
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem);
  margin: 0.4rem 0 0.75rem;
}

.legal-updated {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: rgba(148, 163, 184, 0.62);
}

.legal-section {
  padding-block: 1.25rem 3.75rem;
}

.legal-block {
  margin-top: 2.25rem;
}

.legal-block:first-child {
  margin-top: 0;
}

.legal-block h2 {
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.7rem;
}

.legal-block p {
  margin: 0 0 0.75rem;
  line-height: 1.75;
  color: rgba(203, 213, 225, 0.85);
  max-width: 70ch;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 0.35rem 0 0;
  padding-left: 1.3rem;
  color: rgba(203, 213, 225, 0.85);
  line-height: 1.7;
  max-width: 70ch;
}

.legal-list li {
  margin-bottom: 0.45rem;
}

.legal-list li:last-child {
  margin-bottom: 0;
}

/* --- Security modal --- */
body.security-modal-open {
  overflow: hidden;
}

.security-modal[hidden] {
  display: none;
}

.security-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.security-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.security-modal__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.35rem);
  border-radius: 1.25rem;
  border: 1px solid rgba(129, 140, 248, 0.3);
  background: linear-gradient(
    160deg,
    rgba(20, 26, 38, 0.97) 0%,
    rgba(12, 16, 24, 0.97) 100%
  );
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.08) inset,
    0 30px 70px rgba(0, 0, 0, 0.55);
}

.security-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  font-family: inherit;
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(203, 213, 225, 0.75);
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.security-modal__close:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
}

.security-modal__close:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(15, 23, 42, 0.9),
    0 0 0 4px rgba(129, 140, 248, 0.45);
}

.security-modal__title {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  letter-spacing: -0.03em;
  margin: 0.35rem 0 1.25rem;
}

.security-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.security-item {
  padding: 0.9rem 1.05rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

.security-item h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: rgba(241, 245, 249, 0.96);
}

.security-item__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8, #2dd4bf);
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.5);
}

.security-item p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.82);
}

/* --- Footer contact (brand area) --- */
.footer-contact {
  margin-top: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(203, 213, 225, 0.72);
  transition: color 0.35s ease;
}

.footer-contact__link:hover {
  color: rgba(248, 250, 252, 0.96);
}

.footer-contact__link:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow:
    0 0 0 2px rgba(15, 23, 42, 0.9),
    0 0 0 4px rgba(129, 140, 248, 0.45);
}

.footer-contact__icon {
  flex-shrink: 0;
  color: rgba(165, 180, 252, 0.82);
}

/* --- Legal in-text links --- */
.legal-block a,
.legal-list a {
  color: rgba(165, 180, 252, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s ease;
}

.legal-block a:hover,
.legal-list a:hover {
  color: rgba(199, 210, 254, 1);
}
