/* =====================================================================
   StagePay landing site: design system
   ---------------------------------------------------------------------
   Dark teal stage-night palette. Shared across index, terms, privacy,
   and 404. Variables drive every surface so theme tweaks cascade.
   ===================================================================== */

:root {
  /* Surfaces */
  --bg: #05080a;
  --bg-soft: #08110f;
  --surface: #0d1716;
  --surface-2: #14211f;
  --surface-3: #1a2c2a;

  /* Borders */
  --border: #1d2c2a;
  --border-soft: #14201f;
  --border-strong: #29413e;

  /* Text */
  --text: #ecf6f3;
  --text-2: #a3b6b2;
  --text-3: #6e8581;
  --text-on-accent: #04221d;

  /* Accent: teal stage-light */
  --accent: #2dd4bf;
  --accent-2: #14b8a6;
  --accent-3: #0f766e;
  --accent-soft: rgba(45, 212, 191, 0.14);
  --accent-glow: rgba(45, 212, 191, 0.32);

  /* Layout */
  --max-w: 1180px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Typography */
  --font-sans:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
  background:
    radial-gradient(
      1100px 540px at 50% -10%,
      rgba(45, 212, 191, 0.18),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 90% 0%,
      rgba(20, 184, 166, 0.08),
      transparent 70%
    ),
    radial-gradient(
      700px 400px at 0% 5%,
      rgba(45, 212, 191, 0.06),
      transparent 70%
    ),
    var(--bg);
}

/* Subtle grid noise lifted from a stage floor light pattern. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 600px at 50% 0%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 50% 0%, black, transparent 75%);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}

a:hover {
  color: #5cead4;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

::selection {
  background: var(--accent);
  color: var(--text-on-accent);
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Layout primitives ---------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--tight {
  padding: 56px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

h1 {
  font-size: clamp(40px, 6.6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

p {
  margin: 0;
  color: var(--text-2);
}

/* Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    background 0.15s var(--ease),
    transform 0.15s var(--ease),
    border-color 0.15s var(--ease),
    color 0.15s var(--ease),
    box-shadow 0.2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: var(--text-on-accent);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 8px 24px -8px var(--accent-glow);
}

.btn--primary:hover {
  background: #5cead4;
  color: var(--text-on-accent);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 12px 32px -8px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  background: var(--surface-2);
  color: var(--text);
}

.btn--lg {
  padding: 14px 24px;
  font-size: 16px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* App Store / Google Play store badges. */
.btn--store {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 55%),
    #0d1716;
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 9px 18px 9px 10px;
  min-width: 188px;
  text-align: left;
  position: relative;
  overflow: visible;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 12px 36px -22px rgba(0, 0, 0, 0.65);
}

.btn--store:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: rgba(45, 212, 191, 0.42);
}

/* Sheen layer: own clip mask so the stage-light sweep stays inside
   the pill while the floating Beta badge remains unclipped. */
.btn--store__sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.btn--store__sheen::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(45, 212, 191, 0.22) 50%,
    transparent 100%
  );
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
}

.btn--store:hover .btn--store__sheen::before {
  left: 140%;
}

/* Lift the logo + label above the sheen so only the sweep is masked,
   while the floating Beta badge keeps sitting on its own layer. */
.btn--store > span:not(.btn--store__beta):not(.btn--store__sheen) {
  position: relative;
  z-index: 1;
}

.btn--store .btn__sub {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
  line-height: 1;
}

.btn--store .btn__main {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2px;
  color: var(--text);
}

.btn--store__beta {
  position: absolute;
  top: -16px;
  right: 14px;
  z-index: 3;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-on-accent);
  background: var(--accent);
  padding: 3px 7px;
  border-radius: 999px;
  box-shadow: 0 4px 12px -4px var(--accent-glow);
}

.store-logo {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 2px;
  position: relative;
  z-index: 1;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 10px 24px -14px rgba(0, 0, 0, 0.8);
}

.store-logo svg {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

.store-logo--apple {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #1a2322 0%, #050807 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.store-logo--play {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(180deg, #12201f 0%, #07100f 100%);
  border: 1px solid rgba(45, 212, 191, 0.26);
}

/* Gradient brand text used to highlight key phrases. */
.text-gradient {
  background: linear-gradient(
    180deg,
    var(--accent) 0%,
    #5cead4 60%,
    #99f6e4 100%
  );
  background-size: 100% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .text-gradient {
    background-image: linear-gradient(
      118deg,
      var(--accent) 0%,
      #52e8d8 36%,
      #b8fff0 62%,
      var(--accent-2) 100%
    );
    background-size: 200% auto;
    animation: textGradientShimmer 14s ease-in-out infinite alternate;
  }

  @keyframes textGradientShimmer {
    0%,
    100% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .text-gradient {
    animation: none;
  }
}

/* Pills ---------------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
}

.pill--accent {
  background: var(--accent-soft);
  border-color: rgba(45, 212, 191, 0.28);
  color: var(--accent);
}

.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
}

.pill__dot--pulse {
  animation: pulse 2.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 6px rgba(45, 212, 191, 0); }
}

/* Navigation ----------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(5, 8, 10, 0.7);
  border-bottom: 1px solid var(--border-soft);
  transition:
    background 0.38s var(--ease),
    border-color 0.38s var(--ease),
    box-shadow 0.38s var(--ease);
}

.nav.nav--scrolled {
  background: rgba(5, 8, 10, 0.92);
  border-bottom-color: rgba(45, 212, 191, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 28px 56px -32px rgba(0, 0, 0, 0.55);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__brand img {
  height: 22px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 26px;
  margin-left: 16px;
}

.nav__links a {
  color: var(--text-2);
  font-weight: 500;
  font-size: 14.5px;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__spacer {
  flex: 1;
}

.nav__cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 720px) {
  .nav__links {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    flex-wrap: nowrap;
  }

  .nav__link--desktop-only {
    display: none !important;
  }

  .nav__inner {
    gap: 12px;
    padding: 12px 16px;
  }

  .nav__brand img {
    height: 19px;
  }

  .nav__links a {
    font-size: 13px;
    white-space: nowrap;
  }

  .nav__spacer {
    display: none;
  }
}

/* Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero__floaters {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Spotlight beams that anchor the dark teal feel. */
.hero__beam {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.55;
  border-radius: 50%;
}

.hero__beam--a {
  top: -120px;
  left: 8%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.45), transparent 70%);
}

.hero__beam--b {
  top: -60px;
  right: 6%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.32), transparent 70%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__beam {
    animation: beamGlow 22s ease-in-out infinite alternate;
  }

  .hero__beam--b {
    animation-name: beamGlow;
    animation-duration: 18s;
    animation-delay: -4s;
  }

  @keyframes beamGlow {
    0%, 100% {
      opacity: 0.5;
      transform: scale(1) translate3d(0, 0, 0);
    }
    50% {
      opacity: 0.72;
      transform: scale(1.06) translate3d(-2%, 1%, 0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__beam {
    animation: none;
  }
}

/* Mouse-following spotlight, set via JS on pointer move. */
.hero {
  --mouse-x: 50%;
  --mouse-y: 30%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px 320px at var(--mouse-x) var(--mouse-y),
    rgba(45, 212, 191, 0.10),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 0;
}

.hero:hover::after {
  opacity: 1;
}

@media (hover: none) {
  .hero:hover::after {
    opacity: 0;
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.hero__copy {
  max-width: 580px;
}

.hero__sub {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
}

/* Used to bold the keyword-rich opener of the hero subhead without it
   reading as visual noise: subtle weight bump + brand colour, no UI
   chrome around the phrase. Picked up by both screen readers and
   search engines as emphasised content. */
.hero__sub-highlight {
  color: var(--text-1);
  font-weight: 600;
}

.hero__small-line {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Floating emojis ------------------------------------------------------ */

.floater {
  position: absolute;
  bottom: -12%;
  font-size: 1.6rem;
  filter: saturate(1.1);
  animation: float-up linear infinite;
  user-select: none;
  will-change: transform, opacity;
}

@keyframes float-up {
  0% {
    transform: translate3d(0, 0, 0) rotate(-8deg);
    opacity: 0;
  }
  12% {
    opacity: var(--floater-opacity, 0.18);
  }
  88% {
    opacity: var(--floater-opacity, 0.18);
  }
  100% {
    transform: translate3d(var(--floater-drift, 24px), -130vh, 0) rotate(8deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floater {
    animation: none;
    opacity: 0.08;
  }
}

/* Hero invoice mockup with depth -------------------------------------- */

.hero__cards {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.invoice-card {
  position: relative;
  width: 100%;
  padding: 28px;
  background: linear-gradient(
    180deg,
    rgba(45, 212, 191, 0.10) 0%,
    transparent 30%
  ),
  var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(45, 212, 191, 0.08);
  z-index: 2;
  transform: rotate(-1deg);
}

.invoice-card::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  bottom: 24px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-3));
}

.invoice-card__inner {
  padding-left: 18px;
}

.invoice-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}

.invoice-card__id {
  color: var(--text);
}

.invoice-card__amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 8px 0 4px;
  color: var(--text);
}

.invoice-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 14px;
}

.invoice-card__status {
  color: var(--accent);
  font-weight: 600;
}

.invoice-card__rule {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

.invoice-card__list {
  display: grid;
  gap: 8px;
}

.invoice-card__line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-2);
}

.invoice-card__line strong {
  color: var(--text);
  font-weight: 600;
}

.invoice-card__pill {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text);
}

.invoice-card__pill .pill__dot {
  background: var(--accent);
}

/* Receipt mini-card peeks behind the invoice for depth. */
.receipt-card {
  position: absolute;
  right: -28px;
  bottom: -32px;
  width: 220px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6);
  z-index: 1;
  transform: rotate(4deg);
}

.receipt-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 700;
  margin-bottom: 8px;
}

.receipt-card__supplier {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.receipt-card__amount {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.receipt-card__badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(45, 212, 191, 0.28);
}

@media (max-width: 480px) {
  .receipt-card {
    right: -8px;
    bottom: -22px;
    width: 180px;
  }
}

/* Hero CTA (store buttons) -------------------------------------------- */

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__cta-meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-3);
}

.hero__cta-meta a {
  color: var(--text-2);
  font-weight: 600;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
}

.hero__cta-meta a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Modal (beta interest card) ----------------------------------------- */

body.modal-open {
  overflow: hidden;
}

/*
 * Modal visibility is class-driven (.is-open) instead of relying on the
 * [hidden] attribute. Default state is display:none; bulletproof against
 * specificity quirks and stops the success card from ever flashing on
 * load.
 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 10, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: modalBackdropIn 0.22s ease-out;
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  background:
    radial-gradient(
      400px 200px at 100% 0%,
      rgba(45, 212, 191, 0.12),
      transparent 60%
    ),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 32px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 0 0 1px rgba(45, 212, 191, 0.10),
    0 40px 100px -20px rgba(0, 0, 0, 0.7);
  animation: modalPanelIn 0.32s var(--ease);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
}

@keyframes modalBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPanelIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal__backdrop,
  .modal__panel {
    animation: none;
  }
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.modal__close:hover {
  background: var(--surface-3);
  color: var(--text);
}

.modal__close svg {
  width: 16px;
  height: 16px;
}

.modal__brand {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(45, 212, 191, 0.18) 0%,
    rgba(45, 212, 191, 0.05) 100%
  );
  border: 1px solid rgba(45, 212, 191, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.06);
}

.modal__brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 12px 0 8px;
}

.modal__subtitle {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 6px;
}

.modal__source-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-top: 18px;
}

.modal__source-label svg {
  width: 14px;
  height: 14px;
}

.modal__form {
  margin-top: 12px;
  position: relative;
}

.modal__form-fields {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.modal__honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.modal__field {
  position: relative;
}

.modal__input,
.modal__select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border-radius: var(--radius);
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.modal__input::placeholder {
  color: var(--text-3);
}

.modal__input:focus,
.modal__select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.modal__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e8581' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  color: var(--text);
}

.modal__select:invalid {
  color: var(--text-3);
}

.modal__select option {
  background: var(--surface);
  color: var(--text);
}

.modal__submit {
  margin-top: 14px;
  width: 100%;
  padding: 14px 18px;
}

.modal__legal {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.55;
}

.modal__legal a {
  color: var(--text-2);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}

.modal__legal a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.modal__error {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.32);
  color: #fca5a5;
  font-size: 13.5px;
}

/*
 * Form / success swap is class-driven so neither can leak before user
 * interaction. .modal__form is visible by default. .modal__success is
 * display:none until JS adds .is-visible.
 */
.modal__form.is-hidden {
  display: none;
}

.modal__success {
  display: none;
  text-align: center;
  padding: 16px 0 8px;
  position: relative;
  z-index: 2;
}

.modal__success.is-visible {
  display: block;
  animation: successIn 0.5s var(--ease) both;
}

@keyframes successIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.10);
}

.modal__success.is-visible .modal__success-icon {
  animation: successIconPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes successIconPop {
  0% {
    transform: scale(0);
  }
  60% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal__success.is-visible,
  .modal__success.is-visible .modal__success-icon {
    animation: none;
  }
}

/* Confetti burst -------------------------------------------------------
 * Spawned by JS inside the modal panel when a beta sign-up succeeds.
 * Pieces fall and rotate, then the container removes itself.
 */
.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
  z-index: 1;
}

.confetti__piece {
  position: absolute;
  top: -24px;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall linear forwards;
  will-change: transform, opacity;
}

@keyframes confettiFall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--confetti-drift, 0px), 600px, 0) rotate(var(--confetti-spin, 720deg));
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .confetti {
    display: none;
  }
}

.modal__success-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 8px;
}

.modal__success-body {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 360px;
  margin: 0 auto;
}

.modal__perks {
  list-style: none;
  padding: 0;
  margin: 18px 0 4px;
  display: grid;
  gap: 8px;
}

.modal__perks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}

.modal__perks-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  font-size: 11px;
  font-weight: 700;
}

/* Region selector + compliance --------------------------------------- */

.region-tabs {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  gap: 2px;
  margin-top: 22px;
}

.region-tabs__btn {
  padding: 8px 16px;
  background: transparent;
  border: 0;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}

.region-tabs__btn:hover {
  color: var(--text);
}

.region-tabs__btn.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.32) inset;
}

.region-tabs__flag {
  font-size: 14px;
  line-height: 1;
}

.region-compliance {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.region-compliance__flag {
  font-size: 22px;
  line-height: 1;
}

.region-compliance strong {
  color: var(--text);
  font-weight: 600;
  margin-right: 6px;
}

.region-compliance__pill {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid rgba(45, 212, 191, 0.28);
}

@media (max-width: 720px) {
  .region-compliance {
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
    text-align: left;
  }
}

/* Built-for rotator strip --------------------------------------------- */

.builtfor {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 28px 0;
  background: linear-gradient(
    180deg,
    rgba(45, 212, 191, 0.025) 0%,
    transparent 100%
  );
}

.builtfor__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-2);
  text-align: center;
  flex-wrap: wrap;
}

.builtfor__static {
  color: var(--text-3);
  font-weight: 500;
}

.rotator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease);
  min-height: 1.4em;
}

.rotator__emoji {
  font-size: 1.15em;
  line-height: 1;
  display: inline-block;
  filter: saturate(1.15);
}

.rotator__text {
  background: linear-gradient(180deg, var(--accent) 0%, #5cead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .rotator {
    transition: none;
  }
}

/* Section header ------------------------------------------------------- */

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section__head .eyebrow {
  margin-bottom: 18px;
}

.section__head p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.55;
}

/* Feature suite -------------------------------------------------------- */

.section--feature-suite {
  position: relative;
  overflow: hidden;
}

.section--feature-suite::before {
  content: "";
  position: absolute;
  inset: 2% auto auto 50%;
  width: min(920px, 92vw);
  height: 520px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(45, 212, 191, 0.16), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(168, 85, 247, 0.13), transparent 22%),
    radial-gradient(circle at 54% 68%, rgba(251, 191, 36, 0.08), transparent 30%);
  filter: blur(8px);
  opacity: 0.9;
}

.feature-suite {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) 1.34fr;
  gap: 22px;
  align-items: stretch;
  padding: 22px;
  border-radius: calc(var(--radius-xl) + 8px);
  border: 1px solid rgba(45, 212, 191, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 34%),
    radial-gradient(620px 320px at 0% 0%, rgba(45, 212, 191, 0.15), transparent 64%),
    radial-gradient(560px 340px at 100% 100%, rgba(20, 184, 166, 0.08), transparent 64%),
    rgba(13, 23, 22, 0.68);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.045) inset,
    0 36px 100px -60px rgba(0, 0, 0, 0.9),
    0 24px 80px -56px var(--accent-glow);
  overflow: hidden;
}

.feature-suite::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: var(--radius-xl);
  border: 1px dashed rgba(45, 212, 191, 0.16);
  pointer-events: none;
}

.feature-suite__orb {
  position: absolute;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(13, 23, 22, 0.82);
  border: 1px solid rgba(45, 212, 191, 0.24);
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.82),
    0 0 28px -18px var(--accent-glow);
  animation: suiteHover 7s ease-in-out infinite;
}

.feature-suite__orb--one {
  left: 22px;
  top: 28px;
  transform: rotate(-8deg);
}

.feature-suite__orb--two {
  right: 34px;
  top: 22px;
  animation-delay: -1.8s;
  transform: rotate(8deg);
}

.feature-suite__orb--three {
  left: 42%;
  bottom: 24px;
  animation-delay: -3.2s;
  transform: rotate(-4deg);
}

.feature-suite__hero,
.suite-card,
.edge-card,
.suite-cloud span {
  position: relative;
  z-index: 1;
}

.feature-suite__hero {
  min-height: 100%;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.13), transparent 42%),
    rgba(5, 8, 10, 0.42);
  border: 1px solid rgba(45, 212, 191, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.feature-suite__hero::before {
  content: "SP";
  position: absolute;
  right: -12px;
  top: -40px;
  font-family: var(--font-display);
  font-size: clamp(120px, 15vw, 190px);
  font-weight: 800;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.feature-suite__kicker {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.24);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-suite__hero h3 {
  max-width: 440px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.feature-suite__hero p {
  max-width: 430px;
  color: var(--text-2);
  font-size: 15px;
}

.feature-suite__mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.feature-suite__mini-grid span {
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.15;
}

.feature-suite__mini-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.025em;
}

.feature-suite__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.suite-card {
  min-height: 210px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(260px 160px at 100% 0%, rgba(45, 212, 191, 0.10), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), transparent),
    rgba(13, 23, 22, 0.74);
  border: 1px solid rgba(41, 65, 62, 0.88);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  animation: suiteHover 8s ease-in-out infinite;
}

.suite-card:nth-child(2n) {
  animation-delay: -1.2s;
}

.suite-card:nth-child(3n) {
  animation-delay: -2.4s;
}

.suite-card--large {
  grid-row: span 2;
  min-height: 100%;
}

.suite-card__emoji {
  width: 46px;
  height: 46px;
  margin-bottom: auto;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(45, 212, 191, 0.10);
  border: 1px solid rgba(45, 212, 191, 0.25);
  font-size: 23px;
  box-shadow: 0 14px 34px -22px var(--accent-glow);
}

.suite-card h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.suite-card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.48;
}

.suite-card:hover {
  transform: translateY(-6px) rotate(0.25deg);
  border-color: rgba(45, 212, 191, 0.42);
  background:
    radial-gradient(320px 180px at 100% 0%, rgba(45, 212, 191, 0.16), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    rgba(20, 33, 31, 0.86);
  box-shadow: 0 30px 70px -42px rgba(0, 0, 0, 0.88),
    0 0 0 1px rgba(45, 212, 191, 0.12);
  animation-play-state: paused;
}

.edge-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.edge-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(41, 65, 62, 0.85);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 45%),
    rgba(13, 23, 22, 0.64);
  box-shadow: 0 18px 52px -44px rgba(0, 0, 0, 0.9);
  animation: suiteHover 7.5s ease-in-out infinite;
}

.edge-card:nth-child(2) {
  animation-delay: -1.6s;
}

.edge-card:nth-child(3) {
  animation-delay: -3.1s;
}

.edge-card__emoji {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(45, 212, 191, 0.10);
  border: 1px solid rgba(45, 212, 191, 0.22);
}

.edge-card h3 {
  margin-bottom: 4px;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.edge-card p {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.45;
}

.suite-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
  margin: 28px auto 0;
}

.suite-cloud span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(13, 23, 22, 0.76);
  border: 1px solid rgba(41, 65, 62, 0.9);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 12px 26px -22px rgba(0, 0, 0, 0.9);
  animation: funcFloat 6s ease-in-out infinite;
}

.suite-cloud span:nth-child(2n) {
  animation-delay: -0.9s;
}

.suite-cloud span:nth-child(3n) {
  animation-delay: -1.8s;
}

@keyframes suiteHover {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -5px;
  }
}

@media (max-width: 980px) {
  .feature-suite,
  .edge-strip {
    grid-template-columns: 1fr;
  }

  .feature-suite__hero {
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .feature-suite {
    padding: 14px;
  }

  .feature-suite__grid {
    grid-template-columns: 1fr;
  }

  .suite-card--large {
    grid-row: auto;
  }

  .feature-suite__mini-grid {
    grid-template-columns: 1fr;
  }

  .feature-suite__orb {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-suite__orb,
  .suite-card,
  .edge-card,
  .suite-cloud span {
    animation: none;
  }
}

/* Feature grid --------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

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

.feature {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition:
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease),
    background 0.2s var(--ease);
  overflow: hidden;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    400px 200px at 50% 0%,
    rgba(45, 212, 191, 0.08),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.feature:hover {
  border-color: rgba(45, 212, 191, 0.32);
  transform: translateY(-2px);
}

.feature:hover::after {
  opacity: 1;
}

.feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(45, 212, 191, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}

.feature__icon svg {
  width: 18px;
  height: 18px;
}

.feature h3 {
  margin-bottom: 8px;
  color: var(--text);
}

.feature p {
  font-size: 14.5px;
}

/* Stats strip ---------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 32px;
  background:
    radial-gradient(
      600px 200px at 50% 0%,
      rgba(45, 212, 191, 0.08),
      transparent 70%
    ),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.stat {
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1;
}

.stat__value span {
  color: var(--accent);
}

.stat__label {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-3);
}

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

.stats--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .stats--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .stats--five {
    grid-template-columns: 1fr 1fr;
  }
}

/* How it works --------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

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

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.step:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.step__num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.step__num::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(45, 212, 191, 0.32);
}

.step h3 {
  font-size: 20px;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

/* Pricing -------------------------------------------------------------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

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

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.plan:hover {
  transform: translateY(-2px);
}

.plan--featured {
  border-color: rgba(45, 212, 191, 0.42);
  background:
    linear-gradient(
      180deg,
      rgba(45, 212, 191, 0.07) 0%,
      transparent 28%
    ),
    var(--surface);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.18), 0 30px 80px -30px var(--accent-glow);
}

.plan--featured::after {
  content: "Recommended";
  position: absolute;
  top: -12px;
  right: 24px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-on-accent);
  background: var(--accent);
  padding: 5px 10px;
  border-radius: 999px;
}

.plan__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan__price-amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}

.plan__price-period {
  color: var(--text-3);
  font-size: 14px;
  font-weight: 500;
}

.plan__list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 10px;
}

.plan__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.45;
}

.plan__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  font-size: 11px;
  font-weight: 700;
}

.plan__cta {
  margin-top: auto;
}

.plan__beta {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Pain pillars -------------------------------------------------------- */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

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

.pain-card {
  position: relative;
  background:
    radial-gradient(
      400px 220px at 100% 0%,
      rgba(45, 212, 191, 0.08),
      transparent 60%
    ),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  overflow: hidden;
}

.pain-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  background: radial-gradient(
    300px 200px at 50% 0%,
    rgba(45, 212, 191, 0.10),
    transparent 60%
  );
}

.pain-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.32);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(45, 212, 191, 0.12);
}

.pain-card:hover::before {
  opacity: 1;
}

.pain-card__icp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  z-index: 1;
}

.pain-card__icp-emoji {
  font-size: 14px;
  line-height: 1;
}

.pain-card__quote {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
  font-weight: 600;
  position: relative;
  z-index: 1;
  margin: 0;
}

.pain-card__quote::before {
  content: "\201C";
  display: inline-block;
  font-family: var(--font-display);
  color: var(--accent);
  margin-right: 4px;
  font-size: 1em;
  line-height: 0;
  position: relative;
  top: 0.05em;
}

.pain-card__quote::after {
  content: "\201D";
  color: var(--accent);
  margin-left: 2px;
}

.pain-card__impact {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
  position: relative;
  z-index: 1;
  padding-left: 12px;
  border-left: 2px solid var(--border-strong);
}

.pain-card__solution {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.pain-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 70%),
    rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.20);
  color: var(--text);
  font-size: 12.75px;
  font-weight: 650;
  line-height: 1.2;
  box-shadow: 0 8px 20px -16px var(--accent-glow);
}

.pain-card__chip-emoji {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.12) inset;
}

/* Floating function cloud --------------------------------------------- */

.functions {
  margin-top: 36px;
  text-align: center;
}

.functions__lead {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 auto 28px;
}

.functions__eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.functions__title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--text);
  font-weight: 600;
}

.functions__cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 0 12px;
  position: relative;
}

.func-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: default;
  position: relative;
  animation: funcFloat 6s ease-in-out infinite;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.5);
}

.func-pill__emoji {
  font-size: 15px;
  line-height: 1;
}

.func-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.42);
  background: var(--surface-2);
  box-shadow: 0 16px 32px -16px var(--accent-glow),
    0 0 0 1px rgba(45, 212, 191, 0.18);
  animation-play-state: paused;
}

/* Highlight pills (one in every few) get the accent treatment. */
.func-pill--accent {
  background: linear-gradient(
    180deg,
    rgba(45, 212, 191, 0.16) 0%,
    rgba(45, 212, 191, 0.06) 100%
  );
  border-color: rgba(45, 212, 191, 0.38);
  color: var(--text);
  box-shadow: 0 8px 24px -10px var(--accent-glow);
}

.func-pill--accent:hover {
  border-color: var(--accent);
}

@keyframes funcFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Stagger the float so the cloud feels alive but not seasick. */
.func-pill:nth-child(2n) {
  animation-duration: 6.6s;
  animation-delay: -0.6s;
}
.func-pill:nth-child(3n) {
  animation-duration: 7.2s;
  animation-delay: -1.2s;
}
.func-pill:nth-child(5n) {
  animation-duration: 5.6s;
  animation-delay: -1.8s;
}
.func-pill:nth-child(7n) {
  animation-duration: 7.6s;
  animation-delay: -2.4s;
}

@media (prefers-reduced-motion: reduce) {
  .func-pill {
    animation: none;
  }
}

/* Roadmap teaser ------------------------------------------------------ */

.roadmap {
  position: relative;
  margin-top: 36px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(620px 240px at 8% 0%, rgba(45, 212, 191, 0.13), transparent 62%),
    radial-gradient(520px 240px at 100% 80%, rgba(168, 85, 247, 0.08), transparent 66%),
    rgba(13, 23, 22, 0.52);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.035) inset,
    0 30px 80px -48px rgba(0, 0, 0, 0.78);
}

.roadmap__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  padding-top: 64px;
}

/* Horizontal connector line behind the milestone dots. */
.roadmap__track::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 9%;
  right: 9%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) 31%,
    rgba(45, 212, 191, 0.28) 31%,
    var(--border-strong) 100%
  );
  border-radius: 999px;
}

.milestone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 72%),
    rgba(5, 8, 10, 0.38);
  border: 1px solid var(--border);
  min-height: 100%;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.milestone:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.28);
  box-shadow: 0 24px 54px -36px rgba(0, 0, 0, 0.88);
}

.milestone--active {
  background:
    radial-gradient(280px 140px at 20% 0%, rgba(45, 212, 191, 0.18), transparent 64%),
    linear-gradient(180deg, rgba(45, 212, 191, 0.08), rgba(45, 212, 191, 0.025)),
    rgba(5, 8, 10, 0.52);
  border-color: rgba(45, 212, 191, 0.42);
}

.milestone--soon {
  background:
    radial-gradient(260px 130px at 20% 0%, rgba(168, 85, 247, 0.11), transparent 64%),
    rgba(5, 8, 10, 0.44);
}

.milestone__dot {
  position: absolute;
  top: -39px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  z-index: 1;
}

.milestone--active .milestone__dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.milestone--soon .milestone__dot {
  background: var(--surface-2);
  border-color: rgba(45, 212, 191, 0.5);
}

@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 6px var(--accent-soft);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(45, 212, 191, 0.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .milestone--active .milestone__dot {
    animation: none;
  }
}

.milestone__here {
  position: absolute;
  top: -72px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-on-accent);
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 16px -4px var(--accent-glow);
}

.milestone__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  font-size: 22px;
  box-shadow: 0 10px 28px -22px rgba(0, 0, 0, 0.8);
}

.milestone--active .milestone__icon {
  background: var(--accent-soft);
  border-color: rgba(45, 212, 191, 0.34);
}

.milestone__quarter {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 700;
  margin: 0;
}

.milestone--active .milestone__quarter {
  color: var(--accent);
}

.milestone__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}

.milestone__list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
}

.milestone__list li {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
}

.milestone__list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--text-3);
  font-size: 10px;
}

.milestone--active .milestone__list li::before,
.milestone--soon .milestone__list li::before {
  color: var(--accent);
}

.roadmap__footnote {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}

.roadmap__footnote strong {
  color: var(--text-2);
  font-weight: 600;
}

@media (max-width: 900px) {
  .roadmap__track {
    grid-template-columns: 1fr;
    padding-top: 0;
    gap: 0;
  }

  .roadmap__track::before {
    top: 12px;
    bottom: 12px;
    left: 9px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(
      180deg,
      var(--accent) 0%,
      var(--accent) 31%,
      rgba(45, 212, 191, 0.28) 31%,
      var(--border-strong) 100%
    );
  }

  .milestone {
    padding: 22px 20px 22px 42px;
    border-bottom: 1px dashed var(--border);
  }

  .milestone:last-child {
    border-bottom: 0;
  }

  .milestone__dot {
    top: 24px;
    left: 0;
    transform: none;
  }

  .milestone--active .milestone__here {
    top: 0;
    left: 36px;
    transform: none;
  }
}

/* Premium landing overrides: features + product pipeline --------------- */

#features {
  position: relative;
  overflow: hidden;
}

#features::before {
  content: "";
  position: absolute;
  inset: 6% auto auto 50%;
  width: min(920px, 86vw);
  height: 420px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 20% 50%, rgba(45, 212, 191, 0.12), transparent 54%),
    radial-gradient(circle at 76% 42%, rgba(168, 85, 247, 0.08), transparent 58%);
  filter: blur(14px);
  opacity: 0.85;
  pointer-events: none;
}

#features .feature-showcase {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 55%),
    rgba(8, 17, 15, 0.36);
  border: 1px solid rgba(45, 212, 191, 0.10);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.035) inset,
    0 40px 90px -64px rgba(0, 0, 0, 0.9);
}

#features .pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#features .pain-card {
  min-height: 330px;
  border-radius: 28px;
  padding: 26px;
  background:
    radial-gradient(320px 180px at 0% 0%, rgba(45, 212, 191, 0.14), transparent 60%),
    radial-gradient(240px 160px at 100% 8%, rgba(255, 255, 255, 0.055), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(13, 23, 22, 0.92);
  border: 1px solid rgba(45, 212, 191, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.035) inset,
    0 24px 70px -52px rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#features .pain-card:nth-child(2) {
  background:
    radial-gradient(320px 180px at 0% 0%, rgba(20, 184, 166, 0.11), transparent 60%),
    radial-gradient(260px 180px at 100% 0%, rgba(251, 191, 36, 0.055), transparent 64%),
    rgba(13, 23, 22, 0.92);
}

#features .pain-card:nth-child(3) {
  background:
    radial-gradient(320px 180px at 0% 0%, rgba(168, 85, 247, 0.10), transparent 60%),
    radial-gradient(260px 180px at 100% 0%, rgba(45, 212, 191, 0.08), transparent 64%),
    rgba(13, 23, 22, 0.92);
}

#features .pain-card:nth-child(4) {
  background:
    radial-gradient(320px 180px at 0% 0%, rgba(45, 212, 191, 0.10), transparent 60%),
    radial-gradient(260px 180px at 100% 0%, rgba(236, 72, 153, 0.055), transparent 64%),
    rgba(13, 23, 22, 0.92);
}

#features .pain-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.36);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 34px 84px -46px rgba(0, 0, 0, 0.92),
    0 0 0 1px rgba(45, 212, 191, 0.10);
}

#features .pain-card__icp {
  padding: 7px 12px 7px 8px;
  background: rgba(5, 8, 10, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.075);
  color: var(--text-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset;
}

#features .pain-card__icp-emoji {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

#features .pain-card__quote {
  max-width: 12.5em;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

#features .pain-card__impact {
  margin: 0;
  padding: 14px 16px;
  border-left: 0;
  border-radius: 18px;
  background: rgba(5, 8, 10, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.055);
  color: #b7c8c4;
}

#features .pain-card__solution {
  border-top: 0;
  padding-top: 4px;
  gap: 9px;
}

#features .pain-card__chip {
  padding: 8px 13px 8px 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 70%),
    rgba(45, 212, 191, 0.095);
  border: 1px solid rgba(45, 212, 191, 0.22);
  color: var(--text);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.035) inset,
    0 16px 36px -28px rgba(45, 212, 191, 0.6);
}

#features .pain-card__chip-emoji {
  background: rgba(255, 255, 255, 0.07);
}

#features .functions {
  margin: 16px 0 0;
  padding: 30px clamp(16px, 3vw, 34px) 34px;
  border-radius: 30px;
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(45, 212, 191, 0.12), transparent 70%),
    rgba(5, 8, 10, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.055);
}

#features .functions__lead {
  margin-bottom: 22px;
}

#features .functions__title {
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.035em;
}

#features .functions__cloud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 10px;
  max-width: none;
  margin: 0;
  padding: 0;
}

#features .func-pill {
  min-height: 48px;
  justify-content: flex-start;
  padding: 11px 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 70%),
    rgba(13, 23, 22, 0.82);
  border-color: rgba(255, 255, 255, 0.075);
  color: #e7f2ef;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.035) inset,
    0 16px 34px -28px rgba(0, 0, 0, 0.9);
}

#features .func-pill--accent {
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.16), rgba(45, 212, 191, 0.055)),
    rgba(13, 23, 22, 0.82);
  border-color: rgba(45, 212, 191, 0.32);
}

#features .func-pill__emoji {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 15px;
}

#roadmap .roadmap {
  padding: clamp(22px, 3vw, 36px);
  border-radius: 34px;
  background:
    radial-gradient(780px 260px at 0% 0%, rgba(45, 212, 191, 0.16), transparent 62%),
    radial-gradient(660px 280px at 100% 100%, rgba(168, 85, 247, 0.10), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(8, 17, 15, 0.88);
  border: 1px solid rgba(45, 212, 191, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 42px 96px -60px rgba(0, 0, 0, 0.94);
}

@media (prefers-reduced-motion: no-preference) {
  #roadmap .roadmap {
    animation: roadmapGlow 26s ease-in-out infinite alternate;
  }

  @keyframes roadmapGlow {
    0%,
    100% {
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 42px 96px -60px rgba(0, 0, 0, 0.94);
      border-color: rgba(45, 212, 191, 0.14);
    }
    50% {
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 48px 110px -48px rgba(45, 212, 191, 0.14),
        0 52px 100px -60px rgba(0, 0, 0, 0.9);
      border-color: rgba(45, 212, 191, 0.22);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  #roadmap .roadmap {
    animation: none;
  }
}

#roadmap .roadmap__track {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 96px;
  isolation: isolate;
}

#roadmap .roadmap__track::before {
  top: 40px;
  left: 7%;
  right: 7%;
  height: 18px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(45, 212, 191, 0.98) 0 34%, rgba(45, 212, 191, 0.32) 34% 62%, rgba(255, 255, 255, 0.10) 62% 100%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(45, 212, 191, 0.22);
  box-shadow:
    0 0 0 8px rgba(45, 212, 191, 0.035),
    0 18px 36px -28px var(--accent-glow),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

#roadmap .milestone {
  padding: 22px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    rgba(5, 8, 10, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.035) inset,
    0 22px 58px -44px rgba(0, 0, 0, 0.92);
}

#roadmap .milestone--active {
  border-color: rgba(45, 212, 191, 0.44);
  background:
    radial-gradient(260px 150px at 16% 0%, rgba(45, 212, 191, 0.18), transparent 68%),
    rgba(5, 8, 10, 0.54);
}

#roadmap .milestone--soon {
  border-color: rgba(45, 212, 191, 0.24);
}

#roadmap .milestone__dot {
  top: -66px;
  width: 38px;
  height: 38px;
  background: #07100f;
  border: 8px solid rgba(45, 212, 191, 0.88);
  box-shadow:
    0 0 0 8px rgba(5, 8, 10, 0.96),
    0 0 0 10px rgba(45, 212, 191, 0.18),
    0 18px 34px -22px var(--accent-glow);
}

#roadmap .milestone:not(.milestone--active):not(.milestone--soon) .milestone__dot {
  border-color: rgba(255, 255, 255, 0.22);
}

#roadmap .milestone__here {
  top: -108px;
  z-index: 2;
}

#roadmap .milestone__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#roadmap .milestone__icon {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  font-size: 24px;
}

#roadmap .milestone__quarter {
  margin-top: 2px;
  line-height: 1.2;
}

#roadmap .milestone__title {
  margin-top: 5px;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

#roadmap .milestone__list {
  margin-top: 18px;
  gap: 10px;
}

#roadmap .milestone__list li {
  padding-left: 22px;
  color: #b8cac6;
}

#roadmap .milestone__list li::before {
  content: "→";
  top: 0;
  color: var(--accent);
  font-size: 14px;
}

#roadmap .roadmap__footnote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
  margin: 28px auto 0;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(5, 8, 10, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.065);
}

@media (max-width: 900px) {
  #features .feature-showcase {
    padding: 6px;
    border-radius: 28px;
  }

  #features .pain-grid,
  #roadmap .roadmap__track {
    grid-template-columns: 1fr;
  }

  #features .pain-card {
    min-height: 0;
  }

  #features .functions__cloud {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  #roadmap .roadmap__track {
    padding-top: 0;
    gap: 12px;
  }

  #roadmap .roadmap__track::before {
    top: 42px;
    bottom: 42px;
    left: 23px;
    right: auto;
    width: 14px;
    height: auto;
    background:
      linear-gradient(180deg, rgba(45, 212, 191, 0.98) 0 34%, rgba(45, 212, 191, 0.32) 34% 62%, rgba(255, 255, 255, 0.10) 62% 100%),
      rgba(255, 255, 255, 0.04);
  }

  #roadmap .milestone {
    padding-left: 66px;
  }

  #roadmap .milestone__dot {
    top: 26px;
    left: 4px;
    transform: none;
    width: 34px;
    height: 34px;
    border-width: 7px;
  }

  #roadmap .milestone__here {
    top: -12px;
    left: 66px;
    transform: none;
  }
}

/* FAQ ------------------------------------------------------------------ */

.faq {
  display: grid;
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition:
    border-color 0.24s var(--ease),
    box-shadow 0.24s var(--ease),
    transform 0.24s var(--ease);
}

@media (prefers-reduced-motion: no-preference) {
  .faq__item:not([open]):hover {
    transform: translateY(-2px);
    border-color: rgba(45, 212, 191, 0.22);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.04) inset,
      0 18px 40px -32px rgba(0, 0, 0, 0.75);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq__item:not([open]):hover {
    transform: none;
    box-shadow: none;
  }
}

.faq__item[open] {
  border-color: rgba(45, 212, 191, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 22px 48px -36px rgba(0, 0, 0, 0.8);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}

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

.faq__chev {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-3);
  transition: transform 0.15s var(--ease);
}

.faq__item[open] .faq__chev {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq__body {
  padding: 0 22px 18px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
}

/* CTA banner ----------------------------------------------------------- */

.cta-banner {
  background:
    radial-gradient(
      600px 220px at 80% 20%,
      rgba(45, 212, 191, 0.22),
      transparent 70%
    ),
    radial-gradient(
      500px 200px at 10% 80%,
      rgba(20, 184, 166, 0.10),
      transparent 70%
    ),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    400px 200px at 50% 100%,
    rgba(45, 212, 191, 0.08),
    transparent 70%
  );
}

.cta-banner__copy {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.cta-banner__copy h2 {
  margin-top: 12px;
}

.cta-banner__copy p {
  margin-top: 14px;
  color: var(--text-2);
}

.cta-banner__buttons {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-banner__perk {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
}

.cta-banner__perk strong {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 720px) {
  .cta-banner {
    padding: 40px 24px;
  }
}

/* Footer --------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 36px;
  margin-top: 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-soft);
}

.footer__brand img {
  height: 22px;
  width: auto;
  margin-bottom: 14px;
}

.footer__brand p {
  font-size: 14px;
  color: var(--text-3);
  max-width: 280px;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 600;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer a {
  color: var(--text-2);
  font-size: 14px;
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 12px;
}

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

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

/* Legal pages ---------------------------------------------------------- */

.legal {
  max-width: 760px;
  margin: 56px auto 96px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.legal__breadcrumb {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.legal h1 {
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 12px;
}

.legal__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--text-2);
  margin: 4px 0 28px;
}

.legal h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: -0.015em;
}

.legal h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
}

.legal p {
  margin: 8px 0 14px;
}

.legal ul,
.legal ol {
  padding-left: 22px;
  margin: 8px 0 18px;
}

.legal li {
  margin-bottom: 6px;
}

.legal__callout {
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  padding: 16px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--text);
  font-size: 14.5px;
}

.legal__callout strong {
  color: var(--accent);
}

.legal__callout code {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 13px;
  color: var(--text);
}

/* 404 page ------------------------------------------------------------- */

.notfound {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}

.notfound h1 {
  font-size: clamp(48px, 8vw, 80px);
  margin-bottom: 12px;
}

.notfound p {
  max-width: 480px;
  margin-bottom: 24px;
}

/* =====================================================================
   Mobile responsive polish (added 2026-04-27)
   ---------------------------------------------------------------------
   Lives at the bottom of the file deliberately so it overrides the
   desktop-first rules above. Two breakpoints: a "phone" pass at ≤720px
   that re-tunes vertical rhythm, container width and component padding,
   and a "small phone" pass at ≤480px for stacking and tightening.
   ===================================================================== */

@media (max-width: 720px) {
  /* --- Vertical rhythm: claw back the desktop padding -------------- */
  .section {
    padding: 64px 0;
  }
  .section--tight {
    padding: 40px 0;
  }
  .hero {
    padding: 56px 0 64px;
  }
  .section__head {
    margin: 0 auto 36px;
  }
  .section__head p {
    font-size: 16px;
  }

  /* Subtler hero spotlight beams on mobile so the headline reads. */
  .hero__beam--a {
    width: 240px;
    height: 240px;
    top: -60px;
  }
  .hero__beam--b {
    width: 280px;
    height: 280px;
    top: -40px;
  }

  /* --- Container side padding -------------------------------------- */
  .container {
    padding: 0 20px;
  }

  /* --- "Built for" rotator -- tighter band on mobile --------------- */
  .builtfor {
    padding: 22px 0;
  }
  .builtfor__inner {
    gap: 8px;
  }

  /* --- Hero CTA buttons -------------------------------------------- */
  .hero__cta {
    gap: 10px;
  }
  .hero__cta-meta {
    margin-top: 14px;
  }

  /* --- Pricing cards: trim padding so 1-col stack feels intentional */
  .plan {
    padding: 26px 22px;
    border-radius: var(--radius-lg);
  }

  /* --- Roadmap: looser timeline padding eats mobile width ---------- */
  .roadmap {
    margin-top: 24px;
    padding: 22px 18px;
  }

  /* --- Modal: closer-to-edge feel + smaller corner radius ---------- */
  .modal {
    padding: 16px;
    /* Respect iOS safe areas (notch / home indicator). */
    padding-top: max(16px, env(safe-area-inset-top));
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
  .modal__panel {
    padding: 26px 22px;
    border-radius: 20px;
    max-height: calc(100dvh - 32px);
  }
  .modal__close {
    top: 10px;
    right: 10px;
  }

  /* --- Region tabs: tighter pills on mobile ------------------------ */
  .region-tabs {
    margin-top: 18px;
  }
  .region-tabs__btn {
    padding: 7px 12px;
    font-size: 13px;
  }

  /* --- Footer: smaller cap so it doesn't dominate short screens ---- */
  .footer {
    padding: 40px 0 28px;
    margin-top: 24px;
  }
  .footer__top {
    gap: 24px;
    padding-bottom: 28px;
  }

  /* --- Legal pages: reduce reading rhythm on phones ---------------- */
  .legal {
    margin: 36px auto 64px;
    padding: 0 20px;
  }

  /* --- FAQ items: tighter chevron + slightly smaller summary ------- */
  .faq__item summary {
    padding: 18px 18px;
    font-size: 15.5px;
  }
}

@media (max-width: 480px) {
  /* --- Tighter container on very narrow screens -------------------- */
  .container {
    padding: 0 16px;
  }

  /* --- Hero CTA: stack store buttons full-width ---
     Side-by-side App Store + Google Play buttons cramp on phones
     under ~420px wide. Stacking them in a column and letting each
     fill the row reads as intentional UI rather than overflow. */
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .hero__cta-meta {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  /* Centre the store-button label group so width:100% buttons don't
     leave the icon stranded in the corner. */
  .btn--store {
    justify-content: center;
    text-align: center;
    padding: 10px 18px;
  }

  /* --- Hero h1: pull back the clamp lower bound a touch ------------ */
  h1 {
    font-size: clamp(36px, 9vw, 56px);
  }

  /* --- Modal: even closer to the edges ----------------------------- */
  .modal {
    padding: 12px;
  }
  .modal__panel {
    padding: 22px 18px;
    border-radius: 18px;
  }

  /* --- Region tabs: keep 3 visible without overflow ---------------- */
  .region-tabs {
    width: 100%;
    justify-content: stretch;
    display: flex;
  }
  .region-tabs__btn {
    flex: 1;
    text-align: center;
    padding: 8px 8px;
  }

  /* --- Functions cloud: tighter pills, no stagger animation -------- */
  .func-pill {
    padding: 8px 14px 8px 12px;
    font-size: 12.5px;
  }

  /* --- Footer__bottom: stack copyright + domain -------------------- */
  .footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

/* =====================================================================
   Homepage: compact features strip + deep-link strip (#features refactor)
   + Feature pack (/features-pack): floating cards & motion-safe polish
   ===================================================================== */

.section--features-compact {
  padding: 88px 0 72px;
}

.section__head--features-compact p {
  max-width: 560px;
}

.features-compact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

@media (max-width: 920px) {
  .features-compact__grid {
    grid-template-columns: 1fr;
  }
}

.fp-mini-card {
  position: relative;
  padding: 22px 22px 24px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(
      120% 80% at 18% -10%,
      rgba(45, 212, 191, 0.16),
      transparent 62%
    ),
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.05),
      transparent 54%
    ),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition:
    transform 0.42s var(--ease),
    box-shadow 0.42s var(--ease),
    border-color 0.35s var(--ease);
}

.fp-mini-card--lift:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.32);
  box-shadow:
    0 38px 80px rgba(0, 0, 0, 0.54),
    0 0 0 1px rgba(45, 212, 191, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.fp-mini-card h3 {
  font-size: 19px;
  margin: 0 0 8px;
}

.fp-mini-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.5;
}

.fp-mini-card__glyph {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 20px;
  margin-bottom: 14px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.18);
}

.fp-stagger > *,
.fp-stagger-pack > * {
  opacity: 0;
  animation: fp-rise 0.8s var(--ease) forwards;
}

.fp-stagger > *:nth-child(1),
.fp-stagger-pack > *:nth-child(1) {
  animation-delay: 0.05s;
}
.fp-stagger > *:nth-child(2),
.fp-stagger-pack > *:nth-child(2) {
  animation-delay: 0.14s;
}
.fp-stagger > *:nth-child(3),
.fp-stagger-pack > *:nth-child(3) {
  animation-delay: 0.23s;
}
.fp-stagger > *:nth-child(4),
.fp-stagger-pack > *:nth-child(4) {
  animation-delay: 0.32s;
}
.fp-stagger > *:nth-child(5),
.fp-stagger-pack > *:nth-child(5) {
  animation-delay: 0.41s;
}

@keyframes fp-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fp-mini-card {
    transition: none;
  }

  .fp-stagger > *,
  .fp-stagger-pack > * {
    animation: none !important;
    opacity: 1 !important;
  }
}

.features-compact__cta-panel {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding: 26px 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(45, 212, 191, 0.22);
  background:
    radial-gradient(
      ellipse 820px 120% at 12% -30%,
      rgba(45, 212, 191, 0.16),
      transparent 58%
    ),
    var(--surface-2);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.features-compact__cta-copy strong {
  display: block;
  font-size: 22px;
  margin: 4px 0 8px;
}

.features-compact__cta-desc {
  display: block;
  color: var(--text-2);
  font-size: 14.5px;
  max-width: 520px;
  line-height: 1.5;
}

.features-compact__cta-kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
}

.features-compact__cta-btn.btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-inline: 22px;
  box-shadow:
    0 16px 40px rgba(45, 212, 191, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.08);
}

.features-compact__cta-arrow {
  transition: transform 0.35s var(--ease);
}

.features-compact__cta-btn:hover .features-compact__cta-arrow {
  transform: translateX(6px);
}

.pain-deeper {
  margin-top: 52px;
  padding: 22px 24px;
  border-radius: var(--radius-xl);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.pain-deeper__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.pain-deeper__eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--accent);
  margin-bottom: 6px;
}

.pain-deeper__text {
  margin: 0;
  flex: 1;
  max-width: 720px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
}

.pain-deeper__btn {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .pain-deeper__inner {
    align-items: flex-start;
  }

  .features-compact__cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === Feature pack page ============================================== */

.pack-page .pack-main {
  position: relative;
  z-index: 1;
}

.pack-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 72px;
}

.pack-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

.pack-hero__glow--a {
  width: min(760px, 90vw);
  height: min(760px, 90vw);
  top: -220px;
  left: -10%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.52), transparent 72%);
}

.pack-hero__glow--b {
  width: min(560px, 70vw);
  height: min(560px, 70vw);
  bottom: -180px;
  right: -8%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.4), transparent 70%);
}

.pack-breadcrumb {
  font-size: 13px;
  color: var(--text-3);
  margin: 0 0 26px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.pack-breadcrumb a {
  color: var(--text-2);
}

.pack-breadcrumb a:hover {
  color: var(--accent);
}

.pack-breadcrumb__slash {
  opacity: 0.42;
}

.pack-breadcrumb__here {
  color: var(--text);
  font-weight: 600;
}

.pack-hero .eyebrow {
  margin-bottom: 12px;
}

.pack-hero h1 {
  max-width: 860px;
  margin-bottom: 18px;
}

.pack-hero__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.62;
  color: var(--text-2);
  max-width: 720px;
}

.pack-hero__chips {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pack-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-2);
  font-size: 13.5px;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.pack-chip--accent {
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.08);
  color: var(--text);
}

.pack-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.45);
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .pack-chip:hover {
    transform: none;
  }
}

.pack-section--tight-top {
  padding-top: 40px !important;
}

.pack-section--alt {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(
      900px 580px at 50% -8%,
      rgba(45, 212, 191, 0.07),
      transparent 65%
    );
}

.section__head--pack h2 {
  max-width: 820px;
}

.pack-head-sub {
  display: block;
  font-weight: inherit;
  color: var(--text-2);
  font-size: 0.55em;
  margin-top: 8px;
  letter-spacing: 0;
}

.pack-roi-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.pack-float-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition:
    transform 0.42s var(--ease),
    box-shadow 0.42s var(--ease),
    border-color 0.35s var(--ease);
}

.pack-float-card::after {
  content: "";
  position: absolute;
  inset: auto 14% -60% -20%;
  height: 120px;
  background: radial-gradient(
    ellipse closest-side,
    rgba(45, 212, 191, 0.12),
    transparent
  );
  pointer-events: none;
}

.pack-float-card:hover {
  transform: translateY(-7px);
  border-color: rgba(45, 212, 191, 0.28);
  box-shadow:
    0 40px 94px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(45, 212, 191, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (prefers-reduced-motion: reduce) {
  .pack-float-card {
    transition: none;
  }

  .pack-float-card:hover {
    transform: none;
  }
}

.pack-roi-card__ico {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 22px;
  margin-bottom: 12px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.pack-roi-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.pack-roi-card__stat {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: var(--text);
}

.pack-roi-card__muted {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-3);
}

.pack-roi-card__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.53;
  color: var(--text-2);
}

.pack-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pack-compare-table,
.pack-matrix-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14.5px;
}

.pack-compare-table th,
.pack-compare-table td,
.pack-matrix-table th,
.pack-matrix-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.pack-compare-table thead th,
.pack-matrix-table thead th {
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--text-3);
}

.pack-th-brand {
  color: var(--accent);
}

.pack-matrix-muted tbody tr:nth-child(odd) td,
.pack-matrix-muted tbody tr:nth-child(odd) th {
  background: rgba(255, 255, 255, 0.015);
}

.pack-matrix-table thead th:not(:first-child),
.pack-matrix-table tbody td:not(:first-child) {
  text-align: center;
}

.pack-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 0.1em;
}

.pack-dot--good {
  background: var(--accent);
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.5);
}

.pack-dot--mixed {
  background: #eab308;
}

.pack-dot--bad {
  background: #fb7185;
}

.pack-dot--neutral {
  background: #94a3b8;
}

.pack-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pack-badge--pro {
  border: 1px solid rgba(45, 212, 191, 0.4);
  color: var(--accent);
}

.pack-badge--proplus {
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #c4b5fd;
  background: rgba(88, 28, 135, 0.2);
}

.pack-proplus {
  color: #c4b5fd;
}

.pack-small-note {
  display: inline-block;
  color: var(--text-3);
}

.pack-footnote {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-3);
}

.pack-inline-link {
  white-space: nowrap;
}

.pack-section--automation {
  border-top: 1px solid var(--border);
}

.pack-auto-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

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

.pack-auto-card--proplus {
  background:
    radial-gradient(
      ellipse 420px 280px at 100% -20%,
      rgba(147, 51, 234, 0.12),
      transparent 68%
    ),
    var(--surface);
}

.pack-auto-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.pack-auto-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

.pack-auto-card p {
  margin: 0;
  font-size: 14.8px;
  line-height: 1.53;
  color: var(--text-2);
}

.pack-bullet {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-2);
  font-size: 14px;
}

.pack-bullet li {
  margin-bottom: 6px;
}

.pack-cta-finale {
  padding: 64px 0 96px;
}

.pack-cta-finale__inner {
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(45, 212, 191, 0.24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.06),
      transparent 62%
    ),
    var(--surface-2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}

.pack-cta-finale h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.pack-cta-finale p {
  margin: 0;
  max-width: 560px;
  color: var(--text-2);
}

.pack-cta-finale__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
  .pack-chip--anim {
    animation: none !important;
  }
}

/* Feature pack: full-stack scene (proximity react + hub unify) */

.pack-section--stack {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(
      ellipse 720px 420px at 42% -8%,
      rgba(45, 212, 191, 0.045),
      transparent 62%
    ),
    radial-gradient(640px 360px at 96% 100%, rgba(99, 102, 241, 0.04), transparent 58%);
}

.pack-stack-scene.pack-float-card {
  position: relative;
  min-height: min(428px, 78vw);
  padding: clamp(28px, 5vw, 44px);
  overflow: hidden;
}

.pack-stack-scene--unified.pack-float-card {
  overflow: visible;
}

.pack-stack-scene__glow {
  position: absolute;
  inset: auto;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.45;
  border-radius: 50%;
}

.pack-stack-scene__glow--a {
  width: min(560px, 95vw);
  height: min(420px, 70vw);
  top: -22%;
  left: -14%;
  background: radial-gradient(
    ellipse closest-corner,
    rgba(45, 212, 191, 0.35),
    transparent 72%
  );
}

.pack-stack-scene__glow--b {
  width: min(440px, 80vw);
  height: min(380px, 65vw);
  bottom: -28%;
  right: -18%;
  background: radial-gradient(
    ellipse closest-corner,
    rgba(99, 102, 241, 0.32),
    transparent 74%
  );
}

.pack-stack-scene__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(260px, 58vw);
  height: min(260px, 58vw);
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(
    circle,
    rgba(45, 212, 191, 0.04),
    transparent 72%
  );
  pointer-events: none;
}

.pack-stack-scene__field {
  position: absolute;
  inset: clamp(36px, 7%, 52px);
  z-index: 1;
}

.pack-stack-node-slot {
  position: absolute;
  will-change: transform;
}

.pack-stack-node {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 108px;
  max-width: 130px;
  padding: 12px 14px 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(24, 32, 36, 0.98), rgba(10, 14, 16, 0.96));
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  will-change: transform, opacity;
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.75, 0.2, 1),
    border-color 0.35s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.pack-stack-node-slot:hover .pack-stack-node {
  border-color: rgba(45, 212, 191, 0.42);
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.25),
    0 0 36px rgba(45, 212, 191, 0.18),
    0 16px 40px rgba(0, 0, 0, 0.45);
}

.pack-stack-node__ico {
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.pack-stack-node__lbl {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-2);
  text-align: center;
  line-height: 1.2;
}

.pack-stack-node--crm {
  left: clamp(8px, 4%, 28px);
  top: clamp(12px, 8%, 48px);
}

.pack-stack-node--exp {
  right: clamp(4px, 3%, 24px);
  top: clamp(8px, 6%, 40px);
  left: auto;
}

.pack-stack-node--mail {
  left: clamp(6px, 5%, 32px);
  bottom: clamp(12px, 10%, 44px);
  top: auto;
}

.pack-stack-node--inv {
  right: clamp(2px, 2%, 20px);
  bottom: clamp(20px, 12%, 52px);
  top: auto;
  left: auto;
}

.pack-stack-node--cal {
  left: 50%;
  margin-left: -56px;
  top: clamp(4px, 2%, 14px);
}

.pack-stack-node--sheet {
  left: 50%;
  margin-left: -56px;
  bottom: clamp(6px, 4%, 20px);
  top: auto;
}

.pack-stack-node--bell {
  right: clamp(4px, 3%, 24px);
  top: 50%;
  margin-top: -48px;
  left: auto;
}

.pack-stack-node--bank {
  left: clamp(8px, 6%, 36px);
  top: 50%;
  margin-top: -48px;
}

/* Hub: tap to expand “All-in-one” lockup */
.pack-stack-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  translate: -50% -50%;
  margin: 0;
  padding: 16px 22px 18px;
  border: 1px solid rgba(45, 212, 191, 0.38);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(45, 212, 191, 0.16),
      rgba(8, 12, 14, 0.96) 68%
    );
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: inherit;
  font: inherit;
  outline: none;
  transition:
    flex-direction 0s,
    gap 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    padding 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.45s ease,
    box-shadow 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.pack-stack-hub:focus-visible {
  outline: 2px solid rgba(45, 212, 191, 0.55);
  outline-offset: 3px;
}

.pack-stack-hub__logo {
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease;
}

.pack-stack-hub__lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 1.25em;
  transition:
    align-items 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    gap 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pack-stack-hub__name {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.pack-stack-hub__tagline {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.88);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateX(10px);
  transition:
    opacity 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 0.08s,
    max-height 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}

.pack-stack-scene--unified .pack-stack-hub {
  z-index: 10;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 14px 26px 16px;
  border-color: rgba(45, 212, 191, 0.55);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(45, 212, 191, 0.12),
    0 0 48px rgba(45, 212, 191, 0.16);
}

.pack-stack-scene--unified .pack-stack-node-slot {
  pointer-events: none;
}

.pack-stack-scene--unified .pack-stack-hub__logo {
  transform: translateX(-4px) scale(1.02);
}

.pack-stack-scene--unified .pack-stack-hub__lockup {
  align-items: flex-start;
}

.pack-stack-scene--unified .pack-stack-hub__tagline {
  opacity: 1;
  max-height: 2.5em;
  transform: translateX(0);
}

.pack-stack-scene--unified .pack-stack-scene__ring {
  border-color: rgba(45, 212, 191, 0.22);
  background: radial-gradient(circle, rgba(45, 212, 191, 0.1), transparent 72%);
  transition: border-color 0.6s ease, background 0.6s ease;
}

@media (max-width: 640px) {
  .pack-stack-node {
    min-width: 92px;
    max-width: 108px;
    padding: 10px 10px 12px;
  }

  .pack-stack-node__lbl {
    font-size: 9.5px;
  }

  .pack-stack-node__ico {
    font-size: 19px;
  }

  .pack-stack-scene.pack-float-card {
    min-height: min(480px, 115vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pack-stack-hub,
  .pack-stack-hub__tagline {
    transition: none !important;
  }
}

/* Feature pack: PDF identity (calm, legible surfaces; motion off) */

.pack-section--pdf-identity {
  position: relative;
  overflow: clip;
  padding-bottom: clamp(28px, 5vw, 56px);
  border-top: 1px solid var(--border);
  background:
    radial-gradient(
      ellipse 840px 420px at 12% -10%,
      rgba(255, 255, 255, 0.04),
      transparent 58%
    ),
    radial-gradient(640px 360px at 100% 30%, rgba(45, 212, 191, 0.03), transparent 62%);
}

.pack-section--pdf-identity .pack-themes-split {
  gap: clamp(20px, 3.5vw, 28px);
}

.pack-section--pdf-identity .pack-themes-board,
.pack-section--pdf-identity .pack-layouts-board {
  background: rgba(12, 16, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pack-section--pdf-identity .pack-themes-board__hint,
.pack-section--pdf-identity .pack-layouts-board__stat {
  color: var(--text-2);
}

.pack-section--pdf-identity .pack-theme-row {
  border: none;
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 3px 0 0 rgba(45, 212, 191, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.pack-section--pdf-identity .pack-theme-row:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 3px 0 0 rgba(45, 212, 191, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pack-section--pdf-identity .pack-theme-row__name {
  color: var(--text);
}

.pack-section--pdf-identity .pack-layout-chip {
  background: rgba(18, 24, 28, 0.88);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow:
    0 8px 26px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: none !important;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.75, 0.2, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.pack-section--pdf-identity .pack-layout-chip:hover {
  transform: translateY(-2px);
}

.pack-section--pdf-identity .pack-layout-chip__ico {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.pack-section--pdf-identity .pack-layout-chip__name {
  color: var(--text);
}

.pack-section--pdf-identity .pack-layout-chip__desc {
  color: var(--text-2);
}

.pack-pdf-modularity {
  margin: 0 0 clamp(24px, 4vw, 36px);
  padding: clamp(18px, 3vw, 26px) clamp(20px, 3vw, 28px);
  border-radius: 18px;
}

.pack-section--pdf-identity .pack-pdf-modularity {
  background: rgba(12, 16, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pack-pdf-modularity__title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pack-pdf-modularity__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pack-pdf-modularity__list li {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid rgba(45, 212, 191, 0.38);
  font-size: 0.93rem;
  line-height: 1.52;
  color: var(--text-2);
}

.pack-pdf-modularity__layer {
  display: block;
  margin-bottom: 4px;
  font-weight: 720;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(45, 212, 191, 0.92);
}

.pack-layout-float {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pack-layout-float > li {
  margin: 0;
}

.pack-layout-chip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.045),
      rgba(10, 14, 16, 0.55)
    );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: packLayoutChipDrift 8.8s ease-in-out infinite;
}

.pack-layout-chip:hover {
  border-color: rgba(45, 212, 191, 0.28);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pack-layout-float > li:nth-child(odd) .pack-layout-chip {
  animation-duration: 9.8s;
  animation-delay: -1.8s;
}

.pack-layout-float > li:nth-child(3n) .pack-layout-chip {
  animation-delay: -4.2s;
}

.pack-layout-float > li:nth-child(5n) .pack-layout-chip {
  animation-duration: 10.8s;
}

@keyframes packLayoutChipDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  33% {
    transform: translate3d(6px, -7px, 0) rotate(0.35deg);
  }
  66% {
    transform: translate3d(-5px, 5px, 0) rotate(-0.35deg);
  }
}

.pack-layout-chip__ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 24px;
  border-radius: 16px;
  background: radial-gradient(
    circle at 30% 25%,
    rgba(255, 255, 255, 0.07),
    rgba(34, 40, 48, 0.85)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.pack-layout-chip__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.pack-layout-chip__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pack-layout-chip__desc {
  font-size: 13px;
  line-height: 1.42;
  color: var(--text-2);
}

.pack-layouts-board--motion {
  overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
  .pack-layout-chip {
    animation: none;
  }
}

/* Feature pack: themes & capability mega grid */

.pack-section--mega {
  padding-top: 52px;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(45, 212, 191, 0.06), transparent 55%),
    radial-gradient(700px 400px at 100% 40%, rgba(99, 102, 241, 0.06), transparent 60%);
}

.pack-themes-split {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .pack-themes-split {
    grid-template-columns: 1fr;
  }
}

.pack-themes-board,
.pack-layouts-board {
  padding: 26px 24px 22px;
}

.pack-themes-board__title,
.pack-layouts-board__title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.pack-themes-board__hint {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}

.pack-theme-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pack-theme-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pack-theme-swatches {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.pack-theme-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 1px 4px rgba(0, 0, 0, 0.2);
}

.pack-theme-row__name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

.pack-theme-pill {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pack-theme-pill--free {
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-3);
}

.pack-theme-pill--pro {
  border: 1px solid rgba(45, 212, 191, 0.42);
  color: var(--accent);
  background: rgba(45, 212, 191, 0.07);
}

.pack-layouts-board__stat {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.52;
  color: var(--text-2);
}

.pack-layouts-board__num {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  display: inline;
  margin-right: 8px;
}

.pack-mega {
  position: relative;
  margin-top: 36px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, 0.14);
  background: rgba(8, 12, 14, 0.55);
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pack-mega__aurora {
  position: absolute;
  inset: -35% -20% -25% -20%;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pack-mega__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  animation: packOrbDrift 32s ease-in-out infinite alternate;
}

.pack-mega__orb--a {
  width: min(620px, 90vw);
  height: min(620px, 90vw);
  top: -8%;
  left: -18%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.32), transparent 68%);
}

.pack-mega__orb--b {
  width: min(540px, 75vw);
  height: min(540px, 75vw);
  bottom: -22%;
  right: -14%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28), transparent 70%);
  animation-delay: -10s;
}

.pack-mega__orb--c {
  width: min(460px, 65vw);
  height: min(460px, 65vw);
  top: 38%;
  left: 42%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.2), transparent 72%);
  animation-delay: -5s;
}

@keyframes packOrbDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(32px, -26px) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pack-mega__orb {
    animation: none;
  }

  .pack-mega__aurora {
    transition: none;
  }
}

.pack-mega__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
  gap: 12px;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.pack-cap-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 108px;
  padding: 14px 10px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(13, 20, 21, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: packMegaTileBob 32s ease-in-out infinite;
  transition:
    border-color 0.35s cubic-bezier(0.2, 0.75, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.pack-cap-tile:nth-child(7n + 1) {
  animation-duration: 38s;
  animation-delay: -6s;
}

.pack-cap-tile:nth-child(7n + 2) {
  animation-duration: 34s;
  animation-delay: -14s;
}

.pack-cap-tile:nth-child(7n + 3) {
  animation-duration: 36s;
  animation-delay: -4s;
}

.pack-cap-tile:nth-child(7n + 4) {
  animation-duration: 40s;
  animation-delay: -10s;
}

.pack-cap-tile:nth-child(7n + 5) {
  animation-duration: 42s;
  animation-delay: -18s;
}

.pack-cap-tile:nth-child(7n + 6) {
  animation-duration: 35s;
  animation-delay: -8s;
}

.pack-cap-tile:nth-child(7n) {
  animation-duration: 39s;
  animation-delay: -12s;
}

@keyframes packMegaTileBob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate3d(5px, -8px, 0) rotate(0.6deg) scale(1.01);
  }
}

.pack-cap-tile__ico {
  font-size: 24px;
  line-height: 1;
}

.pack-cap-tile__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.26;
  color: var(--text-2);
}

.pack-cap-tile:hover {
  animation-play-state: paused;
  transform: translate3d(0, -12px, 0) scale(1.03);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(45, 212, 191, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .pack-cap-tile {
    animation: none !important;
  }

  .pack-cap-tile:hover {
    transform: none;
    border-color: rgba(45, 212, 191, 0.35);
  }
}

/* ----- Account deletion (delete-account.html) -------------------------------- */
.dac-page .dac-card {
  margin: 1.5rem 0 1.75rem;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.dac-steps {
  margin: 0.75rem 0 0;
  padding-left: 1.35rem;
}

.dac-steps li {
  margin-bottom: 0.5rem;
}

.dac-status {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 15px;
  line-height: 1.45;
}

.dac-status[data-tone="ok"] {
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.08);
}

.dac-status[data-tone="err"] {
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(251, 113, 133, 0.08);
}

.dac-status[data-tone="muted"] {
  color: var(--text-2);
}

.dac-form {
  max-width: 520px;
}

.dac-form__fields {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.dac-label {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--text-2);
}

.dac-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-2);
  margin: 0 0 1rem;
  cursor: pointer;
}

.dac-check input {
  margin-top: 4px;
  accent-color: var(--accent-2);
  flex-shrink: 0;
}

.dac-actions {
  margin-top: 0.35rem;
}

.dac-btn-danger.btn--primary {
  background: linear-gradient(160deg, #be123c 0%, #881337 100%);
  border: 1px solid rgba(251, 113, 133, 0.35);
  color: #fff7f7;
  box-shadow:
    0 12px 36px rgba(136, 19, 55, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.dac-btn-danger.btn--primary:hover {
  background: linear-gradient(160deg, #e11d48 0%, #be123c 100%);
  filter: none;
}

.dac-divider {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin: 1.1rem 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dac-google.modal__submit {
  border-color: var(--border-strong);
}

.dac-footnote {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 2rem;
  max-width: 52rem;
}

.footer-mini {
  padding: 3rem 24px 4rem;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}

.footer-mini a {
  color: var(--text-2);
}

.footer-mini a:hover {
  color: var(--accent);
}

/* =====================================================================
   Explore the app · horizontal screenshot rail (#explore-app)
   ===================================================================== */

.section--explore-app {
  position: relative;
  padding: 64px 0 100px;
  overflow: visible;
}

.section--explore-app::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(900px, 86vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(45, 212, 191, 0.35) 22%,
    rgba(129, 140, 248, 0.25) 78%,
    transparent
  );
  pointer-events: none;
  z-index: 0;
}

.section--explore-app::before {
  content: "";
  position: absolute;
  inset: 8% -20% -10% -20%;
  background:
    radial-gradient(
      ellipse 760px 70% at 50% -5%,
      rgba(129, 140, 248, 0.12),
      transparent 58%
    ),
    radial-gradient(
      ellipse 900px 58% at 80% 30%,
      rgba(45, 212, 191, 0.1),
      transparent 62%
    );
  pointer-events: none;
  z-index: 0;
}

.section--explore-app .container {
  position: relative;
  z-index: 1;
}

.section__head--explore .text-gradient {
  display: inline;
}

.section__head--explore p {
  max-width: 600px;
}

.explore-app__hint {
  margin: 10px 0 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(163, 182, 178, 0.85);
}

.explore-app__hint--wide {
  display: none;
  letter-spacing: 0.05em;
  font-weight: 500;
}

@media (min-width: 721px) {
  .explore-app__hint--wide {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section__head--explore .text-gradient {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: var(--accent) !important;
    -webkit-text-fill-color: unset !important;
    animation: none !important;
  }
}

.explore-app {
  position: relative;
  margin-top: 32px;
  padding-left: clamp(44px, 6vw, 72px);
  padding-right: clamp(44px, 6vw, 72px);
}

.explore-app__edge {
  position: absolute;
  top: 8px;
  bottom: 56px;
  width: clamp(28px, 5vw, 56px);
  z-index: 4;
  pointer-events: none;
}

.explore-app__edge--left {
  left: clamp(8px, 2vw, 18px);
  background: linear-gradient(
    90deg,
    var(--bg) 0%,
    rgba(5, 8, 10, 0.68) 55%,
    transparent 100%
  );
}

.explore-app__edge--right {
  right: clamp(8px, 2vw, 18px);
  background: linear-gradient(
    270deg,
    var(--bg) 0%,
    rgba(5, 8, 10, 0.68) 55%,
    transparent 100%
  );
}

.explore-app__viewport {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 212, 191, 0.45) transparent;
  -webkit-overflow-scrolling: touch;
  padding: 28px clamp(12px, 3vw, 24px) 36px;
}

.explore-app__viewport::-webkit-scrollbar {
  height: 6px;
}

.explore-app__viewport::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.explore-app__viewport::-webkit-scrollbar-thumb {
  background: linear-gradient(
    90deg,
    rgba(45, 212, 191, 0.55),
    rgba(129, 140, 248, 0.45)
  );
  border-radius: 999px;
}

.explore-app__viewport:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.explore-app__track {
  display: flex;
  gap: clamp(18px, 3.4vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.explore-app__slide {
  flex: 0 0 min(392px, 85vw);
  scroll-snap-align: center;
  scroll-snap-stop: normal;
}

.explore-app__card {
  height: 100%;
}

.explore-app__card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(45, 212, 191, 0.2);
  background:
    radial-gradient(
      120% 60% at 50% -5%,
      rgba(255, 255, 255, 0.06),
      transparent 54%
    ),
    linear-gradient(175deg, rgba(20, 33, 31, 0.99), rgba(8, 17, 15, 0.94));
  box-shadow:
    0 32px 96px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.4s var(--ease);
}

.explore-app__card:hover .explore-app__card-inner {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow:
    0 44px 110px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(45, 212, 191, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.explore-app__card-inner:focus-within .explore-app__visual,
.explore-app__card-inner:hover .explore-app__visual {
  filter: saturate(1.05);
}

.explore-app__glow {
  position: absolute;
  inset: -18% -6% auto -6%;
  height: 92%;
  background: radial-gradient(
    ellipse closest-side at 50% 26%,
    rgba(45, 212, 191, 0.28),
    transparent 74%
  );
  pointer-events: none;
  opacity: 0.88;
}

.explore-app__glow--pro {
  background: radial-gradient(
    ellipse closest-side at 50% 28%,
    rgba(251, 191, 36, 0.26),
    rgba(129, 140, 248, 0.2),
    transparent 74%
  );
}

.explore-app__visual {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 12px 8px 0;
  min-height: clamp(296px, 44vh, 420px);
  perspective: 1200px;
}

.explore-app__visual--float-delay .explore-app__phone {
  animation-delay: 0s;
}

.explore-app__visual--float-delay-2 .explore-app__phone {
  animation-delay: 0.85s;
}

.explore-app__visual--float-delay-3 .explore-app__phone {
  animation-delay: 1.65s;
}

.explore-app__phone {
  display: block;
  height: clamp(300px, 44vh, 438px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transform-origin: center bottom;
  animation: explore-float-phone 10s ease-in-out infinite alternate;
  transition: transform 0.42s var(--ease);
  filter:
    drop-shadow(0 20px 44px rgba(0, 0, 0, 0.58))
    drop-shadow(0 2px 0 rgba(45, 212, 191, 0.06));
}

.explore-app__meta {
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.explore-app__tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(45, 212, 191, 0.95);
  font-weight: 650;
}

.explore-app__meta h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.55vw, 26px);
  line-height: 1.21;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.explore-app__meta p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
}

.explore-app__fab {
  position: absolute;
  top: 34%;
  z-index: 6;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 62%),
    rgba(13, 23, 22, 0.78);
  color: var(--text);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.2s ease;
}

.explore-app__fab:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(45, 212, 191, 0.45);
  color: var(--accent);
}

.explore-app__fab:active {
  transform: scale(0.97);
}

.explore-app__fab--prev {
  left: 0;
}

.explore-app__fab--next {
  right: 0;
}

.explore-app__fab[aria-disabled="true"] {
  opacity: 0.28;
  pointer-events: none;
}

.explore-app__dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 4px 0 0;
}

.explore-app__dot {
  width: 8px;
  min-height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s ease,
    width 0.35s var(--ease);
}

.explore-app__dot.is-active {
  background: linear-gradient(
    145deg,
    var(--accent),
    rgba(129, 140, 248, 0.95)
  );
  transform: scale(1.12);
  width: 22px;
}

.explore-app__dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@keyframes explore-float-phone {
  0% {
    transform: translate3d(0, 6px, 0) rotateZ(-1.05deg);
  }
  100% {
    transform: translate3d(0, -10px, 0) rotateZ(0.65deg);
  }
}

@media (max-width: 720px) {
  .explore-app__edge {
    display: none;
  }

  .explore-app__fab {
    display: none;
  }

  .explore-app {
    padding-left: 0;
    padding-right: 0;
    margin-top: 22px;
  }

  .explore-app__viewport {
    padding-left: clamp(14px, 5vw, 22px);
    padding-right: clamp(14px, 5vw, 22px);
    mask-image: none;
    -webkit-mask-image: none;
  }

  .explore-app__slide {
    flex: 0 0 min(372px, 88vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .explore-app__phone {
    animation: none !important;
  }

  .explore-app__viewport {
    scroll-behavior: auto;
  }

  .explore-app__card:hover .explore-app__card-inner {
    transform: none;
  }
}

/* Explore-app CTA strip (home) ---------------------------------------- */
.explore-app__cta {
  margin-top: 12px;
}

.explore-app__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding: 24px 26px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(129, 140, 248, 0.18);
  background:
    radial-gradient(
      ellipse 640px 120% at 8% -20%,
      rgba(129, 140, 248, 0.12),
      transparent 55%
    ),
    radial-gradient(
      ellipse 520px 80% at 92% 0%,
      rgba(45, 212, 191, 0.1),
      transparent 50%
    ),
    var(--surface-2);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.explore-app__cta-copy {
  max-width: 520px;
}

.explore-app__cta-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(147, 197, 253, 0.95);
  font-weight: 650;
  margin-bottom: 6px;
}

.explore-app__cta-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.explore-app__cta-desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.5;
}

.explore-app__cta-arrow {
  margin-left: 4px;
  transition: transform 0.25s var(--ease);
}

.explore-app__cta-btn:hover .explore-app__cta-arrow {
  transform: translateX(5px);
}

@media (max-width: 620px) {
  .explore-app__cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =====================================================================
   App gallery page (/app-gallery)
   ===================================================================== */

.gallery-page {
  background: var(--bg);
}

/* Full-viewport emoji layer · sits behind scrolled content */
.gallery-page__floaters {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.gallery-page .gallery-main {
  position: relative;
  z-index: 1;
}

.gallery-hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: min(560px, 70vh);
  background: radial-gradient(
    ellipse 70% 60% at 50% -10%,
    rgba(45, 212, 191, 0.16),
    transparent 62%
  );
  pointer-events: none;
}

.gallery-hero {
  position: relative;
  padding: 48px 0 32px;
  overflow: hidden;
}

.gallery-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.gallery-breadcrumb {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 18px;
}

.gallery-breadcrumb a {
  color: var(--text-2);
}

.gallery-breadcrumb__sep {
  margin: 0 0.35em;
  opacity: 0.5;
}

.gallery-breadcrumb__here {
  color: var(--text-2);
}

.gallery-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.038em;
  margin: 0 0 16px;
  font-weight: 700;
}

.gallery-hero__lead {
  margin: 0;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.55;
}

.gallery-scene {
  position: relative;
  padding: clamp(52px, 9vh, 100px) 0;
  scroll-margin-top: 72px;
}

.gallery-scene::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(880px, 88vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  pointer-events: none;
}

.gallery-scene--pro::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(251, 191, 36, 0.25),
    rgba(147, 197, 253, 0.2),
    transparent
  );
}

.gallery-scene:last-of-type::after {
  display: none;
}

.gallery-scene__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.08fr) minmax(280px, 1fr);
  grid-template-areas: "device story";
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.gallery-scene--flip .gallery-scene__grid {
  grid-template-areas: "story device";
}

.gallery-scene__device-col {
  grid-area: device;
}

.gallery-scene__story {
  grid-area: story;
}

@media (min-width: 901px) {
  .gallery-scene__device-col {
    position: sticky;
    top: max(92px, 11vh);
    align-self: flex-start;
  }
}

.gallery-scene__index {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(45, 212, 191, 0.75);
  font-weight: 650;
  margin-bottom: 10px;
}

.gallery-scene__story h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.gallery-scene__lead {
  margin: 0 0 14px;
  font-size: 17px;
  color: rgba(236, 246, 243, 0.94);
  line-height: 1.52;
}

.gallery-scene__body {
  margin: 0 0 22px;
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.6;
}

.gallery-scene__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-scene__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(236, 246, 243, 0.9);
}

.gallery-scene__fi {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  flex-shrink: 0;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.22);
}

.gallery-scene--pro .gallery-scene__fi {
  border-color: rgba(251, 191, 36, 0.22);
  color: rgba(251, 191, 36, 0.95);
  background: rgba(251, 191, 36, 0.06);
}

/* Floating device · no bordered box — PNGs float with depth + ambient glow */

.gallery-scene__device-float {
  --gallery-parallax-y: 0px;
  --gallery-parallax-tilt: 0deg;
  --gallery-parallax-shift: 0px;
  --gallery-parallax-scale: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  transform-style: preserve-3d;
  perspective: 1600px;
  transform: translate3d(var(--gallery-parallax-shift), var(--gallery-parallax-y), 0)
    rotateX(var(--gallery-parallax-tilt)) scale(var(--gallery-parallax-scale));
  will-change: transform;
}

.gallery-page.gallery--parallax-on .gallery-scene__device-float {
  transition: none;
}

/* Soft bloom behind handset (ellipse, not a card frame) */
.gallery-scene__device-atmosphere {
  position: absolute;
  inset: 8% 2% auto;
  height: min(92%, 900px);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    ellipse 68% 46% at 50% 38%,
    rgba(45, 212, 191, 0.26),
    rgba(129, 140, 248, 0.12),
    transparent 74%
  );
  filter: blur(32px);
  opacity: 0.85;
  transform: translateZ(-40px) scaleY(1.05)
    translateY(calc(var(--gallery-parallax-y, 0px) * -0.22));
}

.gallery-scene__device-float--accent .gallery-scene__device-atmosphere {
  background: radial-gradient(
    ellipse 72% 50% at 48% 40%,
    rgba(45, 212, 191, 0.34),
    rgba(167, 139, 250, 0.14),
    transparent 74%
  );
}

.gallery-scene__device-float--pro .gallery-scene__device-atmosphere {
  background: radial-gradient(
    ellipse 70% 48% at 52% 40%,
    rgba(251, 191, 36, 0.24),
    rgba(147, 197, 253, 0.2),
    transparent 74%
  );
}

.gallery-scene__phone {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(480px, 100%);
  height: auto;
  display: block;
  pointer-events: none;
  transform: translateZ(12px);
  filter:
    drop-shadow(0 36px 64px rgba(0, 0, 0, 0.68))
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 56px rgba(45, 212, 191, 0.12));
}

.gallery-scene__device-float--pro .gallery-scene__phone {
  filter:
    drop-shadow(0 36px 64px rgba(0, 0, 0, 0.68))
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 60px rgba(251, 191, 36, 0.1));
}

/* IO fallback: story slides up; device uses opacity/blur only so parallax keeps transform */
.gallery-page .gallery-scene__device-float {
  opacity: 0.3;
  filter: blur(8px);
  transition:
    opacity 0.95s var(--ease),
    filter 0.95s ease;
}

.gallery-page .gallery-scene__story {
  opacity: 0.3;
  transform: translateY(48px);
  filter: blur(8px);
  transition:
    opacity 0.95s var(--ease),
    transform 0.95s var(--ease),
    filter 0.95s ease;
}

.gallery-page .gallery-scene--visible .gallery-scene__device-float {
  opacity: 1;
  filter: blur(0);
}

.gallery-page .gallery-scene--visible .gallery-scene__story {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.gallery-page.gallery--view-timeline .gallery-scene__device-float,
.gallery-page.gallery--view-timeline .gallery-scene__story {
  opacity: unset;
  filter: unset;
  transition: none;
}

@supports (animation-timeline: view()) {
  .gallery-page.gallery--view-timeline .gallery-scene__phone {
    animation: gallery-device-in linear both;
    animation-timeline: view(block);
    animation-range: entry 4% entry 76%;
  }

  .gallery-page.gallery--view-timeline .gallery-scene__story {
    animation: gallery-copy-in linear both;
    animation-timeline: view(block);
    animation-range: entry 10% cover 54%;
  }
}

@keyframes gallery-device-in {
  from {
    opacity: 0;
    transform: translate3d(0, 76px, 0) rotateX(8deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 12px) rotateX(0) scale(1);
  }
}

@keyframes gallery-copy-in {
  from {
    opacity: 0;
    transform: translateY(42px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.gallery-related {
  padding: 88px 0 96px;
  position: relative;
}

.gallery-related::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 52% at 50% -8%,
    rgba(129, 140, 248, 0.1),
    transparent 62%
  );
  pointer-events: none;
}

.gallery-related .container {
  position: relative;
  z-index: 1;
}

.gallery-related__head {
  margin-bottom: 40px;
  max-width: 560px;
}

.gallery-related__head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.gallery-related__sub {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.55;
}

.gallery-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-related__card {
  padding: 20px 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(
      100% 80% at 10% -20%,
      rgba(255, 255, 255, 0.04),
      transparent 48%
    ),
    var(--surface);
  transition:
    transform 0.4s var(--ease),
    border-color 0.35s ease;
}

.gallery-related__card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.28);
}

.gallery-related__ic {
  display: inline-flex;
  font-size: 22px;
  margin-bottom: 10px;
}

.gallery-related__card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.gallery-related__card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.48;
}

.gallery-outro {
  padding: 56px 0 100px;
}

.gallery-outro__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.gallery-outro h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.gallery-outro__inner > p {
  margin: 0 0 24px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.55;
}

.gallery-outro__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 900px) {
  .gallery-scene__grid,
  .gallery-scene--flip .gallery-scene__grid {
    grid-template-areas:
      "device"
      "story";
    grid-template-columns: 1fr;
  }

  .gallery-page .gallery-scene--visible .gallery-scene__device-float {
    opacity: 1 !important;
    filter: none !important;
  }

  .gallery-page .gallery-scene--visible .gallery-scene__story {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-page .gallery-scene__device-float,
  .gallery-page .gallery-scene__story {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }

  .gallery-related__card:hover {
    transform: none;
  }
}

/* ---------------------------------------------------------------------
   Homepage competitor comparison (#compare)
   --------------------------------------------------------------------- */

.section--compare {
  padding-block: 44px 36px;
}

.section__head--compare .compare-lead {
  margin: 12px auto 0;
  max-width: 42rem;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.58;
}

.compare-panel {
  margin-top: 28px;
}

.compare-panel--matrix {
  margin-top: 40px;
}

.compare-panel__h {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.compare-panel__sub {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.45;
}

.matrix--compact {
  min-width: 680px;
}

.matrix--features {
  min-width: 880px;
}

.matrix th,
.matrix td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}

.matrix thead th {
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.matrix tbody tr:last-child th,
.matrix tbody tr:last-child td {
  border-bottom: none;
}

.matrix tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 1;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border-right: 1px solid var(--border);
}

.matrix thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  border-right: 1px solid var(--border);
}

.matrix__highlight {
  background: rgba(45, 212, 191, 0.06);
}

.matrix thead th.matrix__highlight {
  background: rgba(45, 212, 191, 0.14);
  color: var(--accent-2);
}

.matrix tbody td.matrix__highlight {
  background: rgba(45, 212, 191, 0.09);
}

.pill-rating {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.pill-rating--hi {
  background: var(--accent-soft);
  color: var(--accent);
}

.pill-rating--good {
  background: rgba(45, 212, 191, 0.11);
  color: var(--accent-2);
}

.pill-rating--mid {
  background: var(--surface-3);
  color: var(--text-2);
}

.pill-rating--lo {
  background: rgba(248, 113, 113, 0.12);
  color: #fca5a5;
}

.compare-footnote {
  margin: 22px 0 0;
  max-width: 44rem;
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.52;
}

.compare-actions {
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 720px) {
  .section__head--compare .compare-lead {
    font-size: 14px;
  }

  .matrix {
    font-size: 12.5px;
  }

  .matrix th,
  .matrix td {
    padding: 9px 10px;
  }
}

/* Homepage · comedian-focused overhaul -------------------------------- */

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 520px) {
  .hero__cta-row .btn {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    min-width: 140px;
  }
}

.how-stagepay {
  padding-top: 72px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.how-step {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px 28px;
  position: relative;
  overflow: hidden;
}

.how-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    520px 160px at 18% -30%,
    var(--accent-soft),
    transparent 58%
  );
  pointer-events: none;
}

.how-step__icon {
  font-size: 1.85rem;
  line-height: 1;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.how-step__num {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.how-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.how-step p {
  font-size: 15px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.niche-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

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

.niche-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 22px 22px 24px;
  transition:
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.niche-card:hover {
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-2px);
}

.niche-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.niche-card p {
  font-size: 14px;
  line-height: 1.5;
}

.feature-pillars {
  margin-top: 36px;
}

.feature-pillars__heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-pillars__heading--premium {
  margin-top: 44px;
  color: var(--text-2);
}

.feature-pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.feature-pillar {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 20px 20px 22px;
}

.feature-pillar__glyph {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.feature-pillar h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-pillar p {
  font-size: 14px;
}

.feature-pack-cta-wrap {
  margin-top: 44px;
}

.nav__links a[aria-current="page"] {
  color: var(--accent);
}

.blog-simple__lead {
  max-width: 38rem;
  margin-top: 14px;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.55;
}

.blog-simple__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* === Features page (/features) ====================================== */

.features-page .features-hero {
  padding-bottom: 56px;
}

.features-page .features-grid-section {
  padding-top: 36px;
}

.features-page .features-matrix-wrap {
  max-width: min(920px, 100%);
  margin: 0 auto;
  padding: 0 clamp(8px, 2vw, 16px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
}

.features-page .features-matrix-wrap .matrix {
  margin: 0 auto;
}

.features-page .features-matrix-caption {
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 18px;
}

.features-page .features-matrix-caption a {
  color: var(--accent);
}

.features-page .features-matrix-caption a:hover {
  text-decoration: underline;
}

.features-page .features-cta-section {
  padding-bottom: 72px;
}

.features-page .features-cta-panel {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 16px 8px;
}

.features-page .features-cta-panel h2 {
  margin-bottom: 12px;
}

.features-page .features-cta-panel .blog-simple__lead {
  margin-left: auto;
  margin-right: auto;
}

.features-page .features-cta-panel .btn {
  margin-top: 24px;
}

.features-page .feature-pillar--premium {
  border-color: rgba(45, 212, 191, 0.32);
  background:
    linear-gradient(145deg, rgba(45, 212, 191, 0.07), transparent 42%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}

.features-page .premium-badge-row {
  margin-bottom: 8px;
}

.features-page .premium-badge-row .pill {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
}

.features-page td.features-matrix__yes {
  color: var(--accent);
  font-weight: 600;
}

.features-page td.features-matrix__no {
  color: var(--text-3);
}

/* === Pricing page (/pricing) ======================================== */

.pricing-page .pricing-page__hero {
  position: relative;
  padding-bottom: 48px;
}

.pricing-page .pricing-page__hero-vignette {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 90% 60% at 50% 0%,
      rgba(45, 212, 191, 0.06),
      transparent 62%
    ),
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(20, 184, 166, 0.05), transparent 58%);
  opacity: 0.95;
}

.pricing-page .pricing-page__hero .container {
  position: relative;
  z-index: 1;
}

.pricing-page .pricing-page__hero-title {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.pricing-page .pricing-page__hero-lead {
  max-width: 38rem;
}

.pricing-page .pricing-page__tiers-wrap {
  padding-top: 8px;
  padding-bottom: 56px;
}

.pricing-page .pricing-page__region-head {
  text-align: center;
  margin-bottom: clamp(22px, 4vw, 36px);
}

.pricing-page .pricing-page__storefront-note {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}

.pricing-page .pricing-page__compliance-wrap {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.pricing-page .region-tabs--pricing {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: min(100%, 560px);
  margin-left: auto;
  margin-right: auto;
  margin-top: 18px;
  gap: 4px;
}

.pricing-page .region-tabs--pricing .region-tabs__btn {
  padding: 8px 11px;
  font-size: 12px;
}

.pricing-page .pricing-page__tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 28px);
  max-width: min(1180px, 100%);
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 1080px) {
  .pricing-page .pricing-page__tiers {
    grid-template-columns: minmax(0, 1fr);
    max-width: min(420px, 100%);
  }
}

.pricing-page .pricing-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(26px, 3vw, 34px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.03), transparent 38%), var(--surface);
  box-shadow: 0 40px 100px -64px rgba(0, 0, 0, 0.75);
  transition:
    transform 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.pricing-page .pricing-tier:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.28);
}

.pricing-page .pricing-tier--pro {
  border-color: rgba(45, 212, 191, 0.26);
  background:
    linear-gradient(168deg, rgba(45, 212, 191, 0.055), transparent 44%),
    var(--surface);
}

.pricing-page .pricing-tier--pro-plus {
  border-color: rgba(45, 212, 191, 0.38);
  background:
    linear-gradient(160deg, rgba(45, 212, 191, 0.09), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 36%),
    var(--surface);
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.12),
    0 44px 120px -48px var(--accent-glow),
    0 48px 100px -64px rgba(0, 0, 0, 0.85);
}

.pricing-page .pricing-tier__badge-row .pill {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
}

.pricing-page .pricing-tier__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.pricing-page .pricing-tier__tagline {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}

@media (min-width: 1081px) {
  .pricing-page .pricing-tier__tagline {
    /* Keeps price rows visually aligned across the three columns on desktop */
    min-height: 4.75em;
  }
}

.pricing-page .pricing-tier__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}

.pricing-page .pricing-tier__amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.pricing-page .pricing-tier__amount--placeholder {
  color: var(--accent);
}

.pricing-page .pricing-tier__period {
  font-size: 15px;
  color: var(--text-3);
  font-weight: 500;
}

.pricing-page .pricing-tier__price-note {
  margin: -4px 0 0;
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.4;
}

.pricing-page .pricing-tier__price-note--annual {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 650;
  color: var(--text-2);
}

.pricing-page .pricing-tier .plan__check--star {
  color: rgba(45, 212, 191, 0.92);
  font-size: 13px;
}

.pricing-page .pricing-tier .plan__list--featured li {
  font-weight: 540;
}

.pricing-page .pricing-tier .plan__list {
  margin-top: 8px;
  flex: 1;
}

.pricing-page .pricing-tier__cta {
  width: 100%;
  justify-content: center;
}

.pricing-page .pricing-page__why {
  padding-bottom: 56px;
}

.pricing-page .pricing-page__why-grid {
  margin-top: 8px;
}

.pricing-page .pricing-page__stores {
  padding-bottom: 80px;
}

.pricing-page .pricing-page__stores-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.pricing-page .pricing-page__stores-head {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.pricing-page .pricing-page__stores-lead {
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
}

.pricing-page .pricing-page__store-row {
  margin-top: 28px;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-page .pricing-tier:hover {
    transform: none;
  }
}

/* iOS Safari "tap-shrink" prevention: keeps inputs at the actual
   font-size they were styled at instead of zooming in on focus. */
@supports (-webkit-touch-callout: none) {
  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════
   Voice-to-Invoice section
   ═══════════════════════════════════════════════════════════ */

/* ─── Voice-to-Invoice section ────────────────────────────── */

/* Section wrapper — distinctive dark stage feel */
.vti-section {
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 6rem;
  background:
    radial-gradient(ellipse 70% 55% at 10% 60%, rgba(45,212,191,0.055) 0%, transparent 65%),
    radial-gradient(ellipse 65% 50% at 90% 35%, rgba(129,140,248,0.055) 0%, transparent 65%);
}
/* subtle full-bleed separator lines */
.vti-section::before,
.vti-section::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(45,212,191,0.15) 30%, rgba(129,140,248,0.15) 70%, transparent);
  pointer-events: none;
}
.vti-section::before { top: 0; }
.vti-section::after  { bottom: 0; }

/* Eyebrow with live dot */
.vti-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.vti-eyebrow__dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: vti-blink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

/* Larger heading for this hero feature */
.vti-section .section__head h2 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
}

/* ── 3-step flow row ── */
.vti-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 2.5rem 0 0;
  padding: 1.4rem 2rem;
  background: rgba(255,255,255,0.028);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}
.vti-step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
  padding: 0 0.75rem;
}
.vti-step__icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(45,212,191,0.4));
}
.vti-step__label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.vti-step__label strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}
.vti-step__label span {
  font-size: 0.72rem;
  color: var(--text-3);
  line-height: 1.4;
}
.vti-step__arrow {
  flex-shrink: 0;
  font-size: 1.15rem;
  color: rgba(45,212,191,0.45);
  padding: 0 0.25rem;
  user-select: none;
}

/* ── Stage container ── */
.vti-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2.5rem 0 2rem;
  background: rgba(8,10,16,0.82);
  border: 1px solid rgba(45,212,191,0.14);
  border-radius: 28px;
  padding: 2.75rem 2.25rem;
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0,0,0,0.45),
    0 0 0 1px rgba(45,212,191,0.05) inset;
}
/* Animated scan line sweeping top→bottom */
.vti-stage > .vti-scan {
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent 0%, rgba(45,212,191,0.35) 40%, rgba(129,140,248,0.35) 60%, transparent 100%);
  pointer-events: none;
  animation: vti-scan 7s ease-in-out infinite;
  z-index: 2;
  border-radius: 4px;
}
@keyframes vti-scan {
  0%   { top: 0%;   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Ambient glows — bigger, more cinematic */
.vti-stage__glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.22;
}
.vti-stage__glow--l {
  background: radial-gradient(circle, #2dd4bf, transparent 68%);
  top: -140px; left: -100px;
}
.vti-stage__glow--r {
  background: radial-gradient(circle, #818cf8, transparent 68%);
  bottom: -160px; right: -80px;
}

/* ── Left side ── */
.vti-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  z-index: 1;
}

/* Speech bubble */
.vti-speech {
  background: rgba(25,30,45,0.92);
  border: 1px solid rgba(45,212,191,0.22);
  border-radius: 18px;
  border-bottom-left-radius: 5px;
  padding: 0.9rem 1.15rem;
  min-height: 62px;
  width: 100%;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.55;
  font-style: italic;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(45,212,191,0.06) inset;
}
.vti-speech__tail {
  position: absolute;
  bottom: -9px; left: 20px;
  width: 15px; height: 9px;
  background: rgba(25,30,45,0.92);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  border-left: 1px solid rgba(45,212,191,0.22);
  border-bottom: 1px solid rgba(45,212,191,0.22);
}
.vti-speech__cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: vti-blink 0.75s step-end infinite;
}
@keyframes vti-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Mic assembly */
.vti-mic-wrap {
  position: relative;
  width: 136px;
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vti-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0;
  animation: vti-ring-pulse 3s ease-out infinite;
}
.vti-ring--1 { animation-delay: 0s;    }
.vti-ring--2 { animation-delay: 0.6s;  }
.vti-ring--3 { animation-delay: 1.2s;  }
.vti-ring--4 { animation-delay: 1.8s;  }
.vti-ring--5 { animation-delay: 2.4s;  }
@keyframes vti-ring-pulse {
  0%   { transform: scale(0.72); opacity: 0.8; }
  100% { transform: scale(2.8);  opacity: 0;   }
}
.vti-mic-core {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #0f766e 0%, #2dd4bf 45%, #818cf8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow:
    0 0 0 4px rgba(45,212,191,0.15),
    0 0 48px rgba(45,212,191,0.55),
    0 0 96px rgba(45,212,191,0.28),
    0 0 160px rgba(45,212,191,0.12);
  position: relative;
  z-index: 1;
  animation: vti-mic-breathe 3s ease-in-out infinite;
}
@keyframes vti-mic-breathe {
  0%, 100% { box-shadow: 0 0 0 4px rgba(45,212,191,0.15), 0 0 48px rgba(45,212,191,0.55), 0 0 96px rgba(45,212,191,0.28), 0 0 160px rgba(45,212,191,0.12); }
  50%       { box-shadow: 0 0 0 4px rgba(45,212,191,0.30), 0 0 70px rgba(45,212,191,0.80), 0 0 130px rgba(45,212,191,0.40), 0 0 220px rgba(45,212,191,0.18); }
}

/* Waveform — rAF driven via JS */
.vti-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 112px;
  width: 100%;
  overflow: hidden;
}
.vti-bar {
  flex: 1;
  max-width: 12px;
  min-width: 3px;
  height: 3px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(to top, #2dd4bf, #818cf8);
  will-change: height;
  transition: opacity 0.4s;
}
.vti-wave--calm     .vti-bar { opacity: 0.35; }
.vti-wave--flatline .vti-bar { opacity: 0.12; }

/* Status row */
.vti-mic-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--text-3);
  letter-spacing: 0.05em;
}
.vti-mic-status__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: vti-blink 1.2s step-end infinite;
}
.vti-mic-status__dot[data-done] {
  background: #22c55e;
  animation: none;
}

/* ── Center stream ── */
.vti-stream {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}
.vti-stream__track {
  position: relative;
  width: 4px;
  height: 80px;
  background: rgba(45,212,191,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.vti-stream__particle {
  position: absolute;
  left: 0; right: 0;
  height: 22px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  border-radius: 4px;
  opacity: 0;
  animation: vti-particle 2s ease-in-out infinite;
}
.vti-stream__particle--1 { animation-delay: 0s;    }
.vti-stream__particle--2 { animation-delay: 0.5s;  }
.vti-stream__particle--3 { animation-delay: 1.0s;  }
.vti-stream__particle--4 { animation-delay: 1.5s;  }
@keyframes vti-particle {
  0%   { top: -22px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%;  opacity: 0; }
}
.vti-stage:not([data-processing]) .vti-stream__particle {
  animation-play-state: paused;
  opacity: 0;
}
.vti-stage[data-processing] .vti-stream__particle {
  animation-play-state: running;
}
.vti-stream__arrow {
  width: 24px;
  opacity: 0.35;
}
.vti-stream__label {
  font-size: 0.6rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  writing-mode: vertical-lr;
  text-orientation: mixed;
}

/* ── Right: invoice card ── */
.vti-right {
  display: flex;
  justify-content: center;
  z-index: 1;
}
.vti-invoice {
  background: rgba(13,15,24,0.96);
  border: 1px solid rgba(45,212,191,0.16);
  border-radius: 20px;
  padding: 1.6rem 1.6rem 1.35rem;
  width: 100%;
  max-width: 310px;
  box-shadow: 0 16px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(45,212,191,0.06);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.5s ease, border-color 0.5s ease, transform 0.5s ease;
  backdrop-filter: blur(16px);
}
.vti-invoice:hover {
  transform: translateY(-2px);
}
.vti-invoice__stripe {
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #2dd4bf, #818cf8);
  border-radius: 4px 0 0 4px;
}
.vti-invoice[data-complete] {
  border-color: rgba(45,212,191,0.45);
  box-shadow: 0 16px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(45,212,191,0.32), 0 0 60px rgba(45,212,191,0.18);
  transform: translateY(-3px);
}
.vti-invoice__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.vti-invoice__logo {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #0f766e, #2dd4bf);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.vti-invoice__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
  min-width: 0;
}
.vti-invoice__brand {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.vti-invoice__num {
  font-size: 0.68rem;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.vti-invoice__badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: rgba(45,212,191,0.1);
  color: var(--accent);
  border: 1px solid rgba(45,212,191,0.25);
  white-space: nowrap;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.vti-invoice__badge[data-sent] {
  background: rgba(34,197,94,0.14);
  color: #4ade80;
  border-color: rgba(34,197,94,0.35);
  animation: vti-badge-pop 0.4s ease;
}
@keyframes vti-badge-pop {
  0%   { transform: scale(0.85); }
  60%  { transform: scale(1.12); }
  100% { transform: scale(1);    }
}
.vti-invoice__rule {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 0.9rem 0;
}
.vti-invoice__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.vti-invoice__lbl {
  font-size: 0.68rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.vti-invoice__val {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  text-align: right;
  min-width: 0;
  min-height: 1em;
  transition: color 0.3s;
}
.vti-invoice__val--fee {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.vti-invoice__val[data-filled] {
  animation: vti-pop-in 0.28s ease;
}
@keyframes vti-pop-in {
  0%   { opacity: 0; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0);   }
}
.vti-invoice__footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 0.8rem;
  background: rgba(255,255,255,0.045);
  border-radius: 9px;
  font-size: 0.73rem;
  color: var(--text-3);
  transition: background 0.4s, color 0.4s;
}
.vti-invoice__footer-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: vti-blink 1.2s step-end infinite;
}
.vti-invoice__footer[data-done] {
  background: rgba(34,197,94,0.09);
  color: #4ade80;
}
.vti-invoice__footer[data-done] .vti-invoice__footer-dot {
  background: #22c55e;
  animation: none;
}

/* Feature chips */
.vti-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.vti-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 0.42rem 1rem;
  font-size: 0.82rem;
  color: var(--text-2);
  transition: border-color 0.2s, background 0.2s;
}
.vti-chip:hover {
  background: rgba(45,212,191,0.07);
  border-color: rgba(45,212,191,0.25);
}

/* VTI CTA strip */
.vti-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.vti-cta__note {
  font-size: 0.75rem;
  color: var(--text-3);
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .vti-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
  .vti-stream {
    flex-direction: row;
    justify-content: center;
  }
  .vti-stream__track {
    width: 80px;
    height: 4px;
  }
  .vti-stream__arrow {
    writing-mode: unset;
    transform: rotate(-90deg);
  }
  .vti-stream__label {
    writing-mode: unset;
  }
  @keyframes vti-particle {
    0%   { top: 0; left: -22px; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { top: 0; left: 100%; opacity: 0; }
  }
  .vti-stream__particle {
    top: 0 !important;
    width: 22px;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
  }
  .vti-right { justify-content: stretch; }
  .vti-invoice { max-width: 100%; }
}

@media (max-width: 640px) {
  .vti-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .vti-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.25rem 1.4rem;
  }
  .vti-step {
    padding: 0;
  }
  .vti-step__arrow {
    display: none;
  }
  .vti-step__icon {
    font-size: 1.5rem;
  }
  .vti-section .section__head h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* ═══════════════════════════════════════════════════════════
   Backstage Pass section
   ═══════════════════════════════════════════════════════════ */

.pass-section {
  background: linear-gradient(to bottom, transparent, rgba(45,212,191,0.04), transparent);
}

.pass-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 3rem auto 0;
}

/* The pass card */
.pass-card {
  position: relative;
  width: 300px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(45,212,191,0.12),
    0 24px 64px rgba(0,0,0,0.5),
    0 0 48px rgba(45,212,191,0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pass-card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow:
    0 0 0 1px rgba(45,212,191,0.2),
    0 32px 80px rgba(0,0,0,0.5),
    0 0 64px rgba(45,212,191,0.15);
}

/* Shimmer */
.pass-card__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(45,212,191,0.08) 45%,
    rgba(255,255,255,0.06) 50%,
    rgba(45,212,191,0.08) 55%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: pass-shimmer 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes pass-shimmer {
  0%   { background-position: 200% 0; }
  50%  { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* Left accent bar */
.pass-card__accent-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2), rgba(45,212,191,0.3));
  border-radius: 4px 0 0 4px;
}

.pass-card__body {
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  position: relative;
  z-index: 2;
}

.pass-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.pass-card__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pass-card__brand-sp {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  font-weight: 900;
  font-size: 0.9rem;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.pass-card__brand-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}
.pass-card__brand-sub {
  font-size: 0.65rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pass-card__badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(45,212,191,0.12);
  border: 1px solid rgba(45,212,191,0.25);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.pass-card__perf {
  margin-bottom: 1.25rem;
}
.pass-card__perf-label {
  font-size: 0.62rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}
.pass-card__perf-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.pass-card__perf-role {
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 0.2rem;
}

/* Perforated divider */
.pass-card__divider {
  margin: 0 -1.5rem 0 -1.75rem;
  position: relative;
}
.pass-card__divider::before,
.pass-card__divider::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--bg);
  border-radius: 50%;
  z-index: 2;
}
.pass-card__divider::before { left: -10px; }
.pass-card__divider::after  { right: -10px; }

.pass-card__holes {
  display: flex;
  gap: 0;
  padding: 0.75rem 1rem;
  border-top: 1.5px dashed rgba(45,212,191,0.2);
  border-bottom: 1.5px dashed rgba(45,212,191,0.2);
}
.pass-card__holes span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(45,212,191,0.15);
  flex-shrink: 0;
  flex: 1;
  max-width: 6px;
  margin: 0 auto;
}

.pass-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1.25rem;
}
.pass-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pass-card__info-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.pass-card__info-label {
  font-size: 0.6rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.pass-card__info-val {
  font-size: 0.8rem;
  color: var(--text-2);
  font-weight: 500;
}
.pass-card__barcode {
  opacity: 0.5;
}

/* Signup panel */
.pass-signup {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pass-signup__platform-label {
  font-size: 0.8rem;
  color: var(--text-3);
  margin: 0 0 0.5rem;
}
.pass-signup__store-btn {
  width: 100%;
  justify-content: flex-start;
}
.pass-signup__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-3);
  font-size: 0.8rem;
}
.pass-signup__divider::before,
.pass-signup__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

@media (max-width: 760px) {
  .pass-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .pass-card {
    width: 100%;
    max-width: 340px;
  }
  .pass-signup {
    width: 100%;
    max-width: 340px;
  }
}
