:root {
  /* Aligned with tixios-web/src/index.css design tokens */
  --bg: #0d0d0e;
  --surface: #161618;
  --surface-2: #1e1e21;
  --line: #2a2a2f;
  --line-soft: #222226;
  --text: #f0f0f0;
  --text-muted: #9b9ba4;
  --text-dim: #5c5c66;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --accent-muted: rgba(99, 102, 241, 0.1);
  --accent-violet: #a78bfa;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

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

/* ---------- background ambience ---------- */

@keyframes grid-drift {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.92;
  }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 28%, transparent 72%);
  pointer-events: none;
  animation: grid-drift 28s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.26;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.04);
  }
}

.bg-glow {
  position: fixed;
  z-index: -1;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}

.bg-glow--one {
  top: -18vmax;
  left: -15vmax;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent 62%);
  animation: glow-breathe 16s ease-in-out infinite;
}

.bg-glow--two {
  bottom: -22vmax;
  right: -18vmax;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.28), transparent 62%);
  animation: glow-breathe 22s ease-in-out infinite reverse;
  animation-delay: -5s;
}

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

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--gutter) 0.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.45);
}

.brand__mark img {
  width: 28px;
  height: 28px;
  display: block;
}

.brand__name {
  font-size: 1rem;
}

.brand__dot {
  color: var(--accent);
  margin: 0 0.05em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav a {
  transition: color 0.1s ease;
}

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

.brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-inline__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: contain;
}

.brand-inline--text {
  gap: 0.3rem;
  vertical-align: middle;
  margin: 0 0.05em;
}

.brand-inline--text .brand-inline__icon {
  width: 16px;
  height: 16px;
}

.brand-inline--compact {
  gap: 0.35rem;
}

.nav__cta {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface-2);
  transition: background 0.1s ease, border-color 0.1s ease, transform 0.15s ease;
}

.nav__cta:hover {
  background: var(--surface);
  border-color: var(--line-soft);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .nav a:not(.nav__cta) {
    display: none;
  }
}

/* ---------- shared section ---------- */

main > section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  color: var(--text);
}

.section-title__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-hover);
  letter-spacing: 0.1em;
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  background: var(--accent-muted);
}

.section-lede {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

.products__ai-callout {
  max-width: 62ch;
  margin: -0.75rem 0 2.25rem;
  padding: 1rem 1.15rem 1.1rem 1.1rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-muted);
  background: var(--accent-muted);
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-left-width: 3px;
  border-left-color: var(--accent);
  border-radius: var(--radius-md);
}

.products__ai-callout > p {
  margin: 0;
}

.products__ai-callout > p + p {
  margin-top: 0.75rem;
}

.products__ai-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(1.25rem, 3vw, 2.25rem) !important;
  padding-bottom: clamp(2.75rem, 5.5vw, 4.25rem) !important;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: var(--surface);
  margin: 0 0 1.75rem;
}

@keyframes kicker-dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.12);
    transform: scale(1.08);
  }
}

.kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
  animation: kicker-dot-pulse 2.8s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.35rem, 6.5vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  color: var(--text);
}

.hero__title .muted {
  color: var(--text-muted);
  font-weight: 600;
}

@keyframes grad-shift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.grad {
  background: linear-gradient(
    110deg,
    var(--accent-hover) 0%,
    var(--accent) 38%,
    var(--accent-violet) 72%,
    var(--accent-hover) 100%
  );
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-shift 16s ease-in-out infinite alternate;
}

.hero__sub {
  color: var(--text-muted);
  max-width: 62ch;
  font-size: clamp(1.05rem, 1.6vw, 1.15rem);
  margin: 0 0 2.25rem;
}

.hero__sub a {
  color: var(--accent-hover);
  border-bottom: 1px solid rgba(129, 140, 248, 0.35);
  transition: border-color 0.1s ease, color 0.1s ease;
}

.hero__sub a:hover {
  color: var(--text);
  border-color: var(--accent-hover);
}

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

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.25rem;
}

.hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero__stats strong {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__stats span {
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* ---------- buttons (match tixios primary / secondary) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.1s ease, border-color 0.1s ease, color 0.1s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--accent);
  background-image: linear-gradient(
    125deg,
    var(--accent) 0%,
    var(--accent-hover) 42%,
    #a5b4fc 52%,
    var(--accent-hover) 62%,
    var(--accent) 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: 0 10px 28px -8px rgba(99, 102, 241, 0.55);
  transition:
    background-position 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.1s ease,
    box-shadow 0.15s ease;
}

.btn--primary:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -8px rgba(99, 102, 241, 0.6);
}

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

.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--line-soft);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 0.75rem 1.35rem;
  font-size: 1rem;
}

.btn__favicon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: contain;
}

.btn__favicon--lg {
  width: 22px;
  height: 22px;
}

/* ---------- manifesto ---------- */

main > section.manifesto {
  padding-top: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-bottom: clamp(2rem, 4.5vw, 3.25rem);
}

.manifesto__lead {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: clamp(1.35rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2rem) clamp(1.45rem, 2.5vw, 1.85rem);
}

.manifesto__lead p {
  max-width: none;
  line-height: 1.62;
}

.manifesto__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--surface);
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.card:hover {
  border-color: var(--line-soft);
  transform: translateY(-1px);
  background: var(--surface-2);
}

.card__icon {
  margin-bottom: 0.85rem;
  color: var(--text-dim);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- products ---------- */

main > section.products {
  padding-top: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-bottom: clamp(2rem, 4.5vw, 3.25rem);
}

.products > .section-lede,
.products > .products__ai-callout {
  max-width: none;
}

.product {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(245, 158, 11, 0.08), transparent 55%),
    var(--surface);
  position: relative;
  overflow: hidden;
}

.product--alt {
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(99, 102, 241, 0.12), transparent 55%),
    var(--surface);
}

.product::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.product__head {
  margin-bottom: 1.75rem;
  max-width: 60ch;
}

.product__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warning);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius);
  margin: 0 0 1rem;
}

.product--alt .product__tag {
  color: var(--accent-hover);
  background: var(--accent-muted);
  border-color: rgba(99, 102, 241, 0.35);
}

/* Product wordmark: favicon + name (larger than in-app auth, same rhythm) */
.product__title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.product__favicon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.product__name {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 0;
}

.product__pitch {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin: 0;
}

.product__body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

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

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: minmax(11.5rem, 36%) 1fr;
  gap: 1rem 1.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.96rem;
}

.feature-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.feature-list span {
  color: var(--text);
  font-weight: 600;
  font-size: 0.94rem;
}

.feature-list code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  font-weight: 500;
  padding: 0.12em 0.4em;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .feature-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.vs {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.15rem 1.3rem;
  background: var(--surface-2);
}

.vs__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 0.85rem;
}

.vs__rows {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.vs__rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px dashed var(--line);
  padding-top: 0.65rem;
}

.vs__rows > div:first-child {
  border-top: none;
  padding-top: 0;
}

.vs dt {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.vs dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  text-align: right;
}

.vs s {
  color: var(--text-dim);
  margin-right: 0.35rem;
}

.vs strong {
  color: var(--success);
  font-weight: 600;
}

.product__cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ---------- ledger ---------- */

main > section.ledger {
  padding-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

.ledger__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 720px) {
  .ledger__grid {
    grid-template-columns: 1fr;
  }
  .ledger__arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

.ledger__cell {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.75rem;
  background: var(--surface);
}

.ledger__cell--win {
  border-color: rgba(34, 197, 94, 0.35);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(34, 197, 94, 0.1), transparent 60%),
    var(--surface);
}

.ledger__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 0.6rem;
}

.ledger__big {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.ledger__cell s {
  color: var(--danger);
}

.ledger__cell--win .ledger__big {
  color: var(--success);
}

.ledger__note {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0;
}

.ledger__note--brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.ledger__note--brands .brand-inline {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.ledger__plus {
  color: var(--text-dim);
  font-weight: 500;
  user-select: none;
}

.ledger__note-tail {
  flex-basis: 100%;
  margin-top: 0.15rem;
  font-weight: 400;
  color: var(--text-muted);
}

@media (min-width: 480px) {
  .ledger__note-tail {
    flex-basis: auto;
    margin-top: 0;
    margin-left: 0.15rem;
  }
}

.ledger__arrow {
  align-self: center;
  font-size: 1.75rem;
  color: var(--text-dim);
}

.ledger__foot {
  margin: 1.75rem 0 0;
  color: var(--text-muted);
  font-size: 1rem;
}

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

/* ---------- final cta ---------- */

.cta {
  padding-bottom: clamp(5rem, 10vw, 8rem) !important;
}

.cta__inner {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(99, 102, 241, 0.14), transparent 58%),
    radial-gradient(70% 80% at 50% 100%, rgba(167, 139, 250, 0.08), transparent 55%),
    var(--surface);
  overflow: hidden;
}

.cta__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 1rem;
}

.cta__sub {
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 auto 2rem;
  font-size: 1.02rem;
}

.cta__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cta__fine {
  margin: 1.5rem 0 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- footer ---------- */

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 3rem;
  border-top: 1px solid var(--line);
}

.site-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__brand {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-footer__brand span {
  color: var(--accent);
  margin-right: 0;
  font-size: 0.75rem;
  line-height: 1;
}

.site-footer__nav {
  display: flex;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer__nav a {
  transition: color 0.1s ease;
}

.site-footer__nav a:hover {
  color: var(--accent-hover);
}

.site-footer__fine {
  margin: 1.25rem 0 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ---------- reveal animation ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hero: cascade entrance (stagger transition-delay on scroll-in) */
html.js .hero > .reveal:nth-child(1) {
  transition-delay: 0s;
}
html.js .hero > .reveal:nth-child(2) {
  transition-delay: 0.09s;
}
html.js .hero > .reveal:nth-child(3) {
  transition-delay: 0.18s;
}
html.js .hero > .reveal:nth-child(4) {
  transition-delay: 0.26s;
}
html.js .hero > .reveal:nth-child(5) {
  transition-delay: 0.34s;
}

@keyframes stat-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

html.js .hero__stats.is-visible li {
  opacity: 0;
  animation: stat-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html.js .hero__stats.is-visible li:nth-child(1) {
  animation-delay: 0.14s;
}
html.js .hero__stats.is-visible li:nth-child(2) {
  animation-delay: 0.26s;
}
html.js .hero__stats.is-visible li:nth-child(3) {
  animation-delay: 0.38s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.js .hero > .reveal:nth-child(1),
  html.js .hero > .reveal:nth-child(2),
  html.js .hero > .reveal:nth-child(3),
  html.js .hero > .reveal:nth-child(4),
  html.js .hero > .reveal:nth-child(5) {
    transition-delay: 0s !important;
  }
  html.js .hero__stats.is-visible li {
    animation: none !important;
    opacity: 1 !important;
  }
  .btn,
  .card,
  .nav__cta {
    transition: none;
  }
  .btn--primary {
    background-image: none;
    background-color: var(--accent);
  }
  .btn--primary:hover {
    background-position: 0% 50%;
  }
  .grad {
    animation: none !important;
    background-size: 100% 100%;
    background-position: 0% 50%;
  }
  .bg-grid,
  .bg-glow,
  .bg-glow--one,
  .bg-glow--two {
    animation: none !important;
  }
  .bg-glow,
  .bg-glow--one,
  .bg-glow--two {
    opacity: 0.35;
    transform: none;
  }
  .kicker__dot {
    animation: none !important;
    transform: none;
  }
}
