@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/poppins-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* Colors from the app's palette (projects/ui/src/styles/_variables.scss) */
:root {
  --color-primary: #4b25d1;
  --color-primary-hover: #3b1bb0;
  --color-accent: #a023a0;
  --color-tint: #f7f1ff;
  --color-surface: #f1ecf9;
  --color-lilac: #e5deff;
  --color-pink: #ffd7f6;
  --color-mint: #d1e7dd;
  --color-on-mint: #0f5132;
  --color-text: #1c1a24;
  --color-muted: #484555;
  --color-outline: #c9c4d8;
  --color-border: #e5e0ee;
  --radius: 16px;
  --radius-card: 24px;
  --radius-panel: 40px;
  --container: 1160px;
  --header-height: 72px;
  --shadow: 0 24px 60px -24px rgb(75 37 209 / 35%);
  --shadow-small: 0 8px 24px -12px rgb(75 37 209 / 30%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: var(--color-primary);
}

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

img {
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Ghost (symbol #ghost): --ghost-color, and --look-x/--look-y to move its eyes */

.ghost {
  aspect-ratio: 846 / 729;
  height: auto;
  overflow: visible;
}

.ghost-body {
  fill: var(--ghost-color, var(--color-primary));
}

.ghost-eyes {
  fill: #fff;
  transform: translate(var(--look-x, 0px), var(--look-y, 0px));
  transition: transform 0.3s var(--ease);
}

.ghost-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 5s infinite var(--blink-delay, 0s);
}

.ghost-float {
  animation: float 4.5s ease-in-out infinite;
}

.ghost-shy {
  transition: opacity 0.6s var(--ease);
}

.ghost-shy:hover {
  opacity: 0.18;
}

@keyframes blink {
  0%,
  45%,
  49%,
  100% {
    transform: scaleY(1);
  }

  47% {
    transform: scaleY(0.1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(-2deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Reveal on scroll (only with JavaScript, see site.js) */

.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-block: 14px;
  border-bottom: 1px solid rgb(229 224 238 / 70%);
  background: rgb(255 255 255 / 82%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  width: 136px;
  height: auto;
}

.site-nav {
  display: none;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  color: var(--color-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

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

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s var(--ease);
}

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

.button-primary {
  background: var(--color-primary);
  color: #fff;
}

.button-primary:hover {
  background: var(--color-primary-hover);
}

.button-small {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9375rem;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 40px 72px;
  background:
    radial-gradient(60% 50% at 85% 10%, var(--color-lilac) 0%, transparent 70%),
    radial-gradient(40% 40% at 5% 80%, rgb(255 215 246 / 60%) 0%, transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--color-tint) 100%);
}

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 6px 16px 6px 12px;
  border: 1px solid var(--color-lilac);
  border-radius: 999px;
  background: rgb(255 255 255 / 70%);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 0 rgb(160 35 160 / 50%);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgb(160 35 160 / 0%);
  }

  100% {
    box-shadow: 0 0 0 0 rgb(160 35 160 / 0%);
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.invisible-word {
  padding-right: 0.04em;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-made {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--color-primary);
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 600;
}

.hero-made svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  fill: var(--color-accent);
  animation: spin 24s linear infinite;
}

.hero-lead {
  margin-top: 16px;
  max-width: 560px;
  font-size: 1.125rem;
  color: var(--color-muted);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-points svg {
  width: 18px;
  height: 18px;
  fill: var(--color-primary);
}

/* Waitlist signup (Brevo's form without JavaScript) */

.signup {
  margin-top: 32px;
  max-width: 540px;
}

.signup-title {
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 600;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.signup-form .button {
  width: 100%;
}

.signup-form .input {
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border: 1.5px solid var(--color-outline);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  color: var(--color-text);
}

.signup-form .input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-lilac);
}

.signup-trap {
  display: none;
}

.signup-note {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* Hero demo: a form is sent, the ghost carries it to the inbox (played by site.js) */

.demo {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  padding: 0 0 96px;
  font-size: clamp(11px, 2.8vw, 14px);
}

.demo-browser {
  width: 80%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75em 1em;
  background: var(--color-surface);
}

.demo-bar span {
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  background: var(--color-outline);
}

.demo-bar span:first-child {
  background: var(--color-accent);
}

.demo-bar p {
  flex: 1;
  margin-left: 0.6em;
  padding: 0.2em 0.9em;
  border-radius: 999px;
  background: #fff;
  color: var(--color-muted);
  font-size: 0.85em;
}

.demo-form {
  display: grid;
  gap: 0.35em;
  padding: 1.3em 1.4em 1.5em;
}

.demo-label {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--color-muted);
}

.demo-input {
  min-height: 2.5em;
  margin-bottom: 0.5em;
  padding: 0.5em 0.9em;
  overflow: hidden;
  border: 1.5px solid var(--color-outline);
  border-radius: 10px;
  font-size: 0.95em;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.demo-textarea {
  min-height: 4.6em;
  white-space: normal;
}

.demo-input.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-lilac);
}

.demo-input.is-active::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  background: var(--color-primary);
  vertical-align: text-bottom;
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.demo-button {
  justify-self: start;
  padding: 0.6em 1.8em;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  transition: transform 0.15s;
}

.demo-button.is-pressed {
  transform: scale(0.9);
  background: var(--color-primary-hover);
}

.demo-inbox {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 64%;
  padding: 1.1em 1.3em 1.2em;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition:
    opacity 0.5s,
    transform 0.7s var(--ease);
}

.demo-inbox.is-visible {
  opacity: 1;
  transform: none;
}

.demo-inbox-head {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--color-primary);
  font-size: 0.85em;
  font-weight: 600;
}

.demo-inbox-head svg {
  width: 1.4em;
  height: 1.4em;
  fill: currentColor;
}

.demo-inbox-head span {
  margin-left: auto;
  color: var(--color-muted);
  font-weight: 400;
}

.demo-from {
  margin-top: 0.7em;
  font-weight: 600;
}

.demo-message {
  margin-top: 0.15em;
  color: var(--color-muted);
  font-size: 0.9em;
  line-height: 1.45;
}

.demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  margin: 0.9em 0 0;
  padding: 0;
  list-style: none;
}

.demo-tags li {
  padding: 0.2em 0.7em;
  border-radius: 999px;
  background: var(--color-mint);
  color: var(--color-on-mint);
  font-size: 0.78em;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s,
    transform 0.4s var(--ease);
}

.demo-inbox.is-visible .demo-tags li {
  opacity: 1;
  transform: none;
}

.demo-inbox.is-visible .demo-tags li:nth-child(2) {
  transition-delay: 0.3s;
}

.demo-inbox.is-visible .demo-tags li:nth-child(3) {
  transition-delay: 0.6s;
}

.demo-ghost {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 18%;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 12px 16px rgb(75 37 209 / 25%));
}

.demo-sparkle {
  position: absolute;
  fill: var(--color-accent);
  animation: twinkle 3s ease-in-out infinite;
}

.demo-sparkle:nth-of-type(2) {
  fill: var(--color-primary);
  opacity: 0.6;
  animation-delay: -1.2s;
}

@keyframes twinkle {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.55);
  }
}

/* "Works with" marquee */

.stack {
  padding-block: 40px 8px;
}

.stack-title {
  margin-bottom: 20px;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.marquee {
  display: flex;
  gap: 12px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee 45s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track li {
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-tint);
  color: var(--color-muted);
  font-weight: 600;
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(calc(-100% - 12px));
  }
}

/* Sections */

.section {
  padding-block: 80px;
}

.section-tint {
  background: var(--color-tint);
}

.section-header {
  max-width: 740px;
  margin: 0 auto 48px;
  text-align: center;
}

.kicker {
  margin-bottom: 12px;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-header h2,
.europe h2,
.cta h2 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  letter-spacing: -0.03em;
}

.section-header > p:last-child {
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 1.0625rem;
}

.section-note {
  margin-top: 32px;
  text-align: center;
  color: var(--color-muted);
}

/* Pillars: invisible, privacy-first, reliable */

.pillars {
  display: grid;
  gap: 20px;
}

.pillar {
  padding: 32px 28px;
  border-radius: var(--radius-card);
  background: var(--color-lilac);
  transition: transform 0.4s var(--ease);
}

.pillar:hover {
  transform: translateY(-6px) rotate(-0.5deg);
}

.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-small);
}

.pillar-icon svg,
.feature-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.pillar h3 {
  margin-top: 24px;
  font-size: 1.375rem;
}

.pillar p {
  margin-top: 10px;
  color: var(--color-muted);
}

/* How it works */

.how-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.how-grid .section-header {
  margin: 0;
  text-align: left;
}

.steps {
  display: grid;
  gap: 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--color-lilac);
  color: var(--color-primary);
  font-weight: 700;
}

.steps h3 {
  font-size: 1.125rem;
}

.steps p {
  margin-top: 4px;
  color: var(--color-muted);
}

.code-window {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-text);
  box-shadow: var(--shadow);
}

.code-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 12px 0;
}

.code-tabs [role='tab'],
.code-copy {
  padding: 8px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #c9c4d8;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.code-tabs [role='tab'][aria-selected='true'] {
  background: rgb(255 255 255 / 10%);
  color: #fff;
}

.code-copy {
  margin-left: auto;
}

.code-copy:hover,
.code-tabs [role='tab']:hover {
  color: #fff;
}

.code {
  margin: 0;
  padding: 20px 24px 28px;
  overflow-x: auto;
  color: #e5e0ee;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.75;
}

.code .tag,
.code .key {
  color: #c3b5ff;
}

.code .attr,
.code .fn {
  color: #ffb1f0;
}

.code .value {
  color: #9be9b8;
}

/* Features */

.bento {
  display: grid;
  gap: 20px;
}

.feature {
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #fff;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--color-lilac);
  color: var(--color-primary);
}

.feature h3 {
  font-size: 1.1875rem;
}

.feature > p {
  margin-top: 8px;
  color: var(--color-muted);
}

.mock {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.8125rem;
}

.mock-panel {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--color-tint);
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-weight: 600;
}

.mock-pill {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

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

.mock-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
}

.mock-row b,
.mock-row small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mock-row small {
  color: var(--color-muted);
  font-size: 0.75rem;
}

.mock-row.is-spam {
  opacity: 0.6;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-lilac);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.avatar-pink {
  background: var(--color-pink);
  color: var(--color-accent);
}

.avatar-mint {
  background: var(--color-mint);
  color: var(--color-on-mint);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-mint);
  color: var(--color-on-mint);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.chip-spam {
  background: var(--color-pink);
  color: var(--color-accent);
}

.chip-outline {
  border: 1px solid var(--color-outline);
  background: #fff;
  color: var(--color-muted);
}

.chip-lilac {
  background: var(--color-lilac);
  color: var(--color-primary);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips + .chips {
  margin-top: 8px;
}

.mock-fields {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  margin: 0;
}

.mock-fields dt {
  color: var(--color-muted);
}

.mock-fields dd {
  margin: 0;
  overflow: hidden;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mock-code {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--color-text);
  color: #9be9b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.avatars {
  display: flex;
}

.avatars .avatar {
  border: 2px solid #fff;
}

.avatars .avatar + .avatar {
  margin-left: -8px;
}

.team {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Integrations hub */

.hub {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.hub-lines {
  display: none;
}

.hub-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
}

.hub-center .ghost {
  width: 96px;
}

.hub-nodes {
  display: grid;
  gap: 12px;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-small);
  font-weight: 600;
}

.hub-node small {
  display: block;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.hub-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--icon-color, var(--color-lilac));
  color: var(--icon-ink, var(--color-primary));
}

.hub-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Behind the scenes: the ghost follows the scroll down the timeline */

.timeline {
  --progress: 0;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 64px;
}

.timeline::before,
.timeline-fill {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 4px;
  border-radius: 2px;
  background: var(--color-border);
}

.timeline-fill {
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
  transform: scaleY(var(--progress));
  transform-origin: top;
}

.timeline-ghost {
  position: absolute;
  top: calc(var(--progress) * (100% - 48px));
  left: 22px;
  width: 56px;
  translate: -50% 0;
  filter: drop-shadow(0 10px 14px rgb(75 37 209 / 25%));
}

.timeline-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-step {
  padding-block: 20px;
  opacity: 0.4;
  transition: opacity 0.5s var(--ease);
}

.timeline-step.is-active {
  opacity: 1;
}

.timeline-step h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 1.25rem;
}

.timeline-step p {
  margin-top: 6px;
  color: var(--color-muted);
}

/* Made and hosted in Europe */

.europe {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  padding: 56px 28px;
  border-radius: var(--radius-panel);
  background:
    radial-gradient(50% 60% at 90% 10%, rgb(160 35 160 / 55%) 0%, transparent 70%),
    var(--color-primary);
  color: #fff;
}

.europe .kicker {
  color: var(--color-pink);
}

.europe-lead {
  margin-top: 16px;
  color: rgb(255 255 255 / 85%);
  font-size: 1.0625rem;
}

.checklist {
  display: grid;
  gap: 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}

.checklist svg {
  width: 28px;
  height: 28px;
  fill: var(--color-pink);
}

.checklist strong {
  display: block;
}

.checklist span {
  color: rgb(255 255 255 / 80%);
}

.europe-visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  margin-inline: auto;
}

.europe-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--color-pink);
  animation: spin 80s linear infinite;
}

.europe-moon {
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--color-lilac) 70%);
  box-shadow: 0 0 80px rgb(255 215 246 / 45%);
}

.europe-visual .ghost {
  position: absolute;
  top: 31%;
  left: 27%;
  width: 46%;
}

/* FAQ */

.faq {
  max-width: 780px;
  margin-inline: auto;
}

.faq details {
  border-bottom: 1px solid var(--color-border);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: '+';
  color: var(--color-primary);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding-bottom: 22px;
  color: var(--color-muted);
}

/* Final call to action: the ghost peeks out when it scrolls into view */

.cta-section {
  padding-bottom: 80px;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 64px 24px 200px;
  border-radius: var(--radius-panel);
  background:
    radial-gradient(60% 80% at 50% 100%, rgb(255 215 246 / 80%) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-tint), var(--color-lilac));
  text-align: center;
}

.cta p {
  max-width: 520px;
  margin: 16px auto 32px;
  color: var(--color-muted);
}

.cta-ghost {
  position: absolute;
  bottom: -64px;
  left: 50%;
  width: 220px;
  translate: -50% 110%;
  transition: translate 1.2s var(--ease) 0.3s;
}

.cta.is-visible .cta-ghost,
html:not(.js) .cta-ghost {
  translate: -50% 0;
}

/* Footer */

.site-footer {
  padding-block: 32px;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-muted);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer a {
  color: var(--color-muted);
}

/* Simple pages (privacy, waitlist, 404) */

.page {
  padding-block: 48px 80px;
}

.page-narrow {
  max-width: 760px;
}

.page-center {
  text-align: center;
}

.page-center img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 24px;
}

.page h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.page-center p {
  margin: 12px auto 28px;
  max-width: 480px;
  color: var(--color-muted);
}

.prose h2 {
  margin-top: 36px;
  font-size: 1.25rem;
}

.prose p,
.prose ul {
  margin-top: 12px;
  color: var(--color-muted);
}

.prose li + li {
  margin-top: 6px;
}

/* Breakpoints (same values as the app: sm 576px, md 768px, lg 992px) */

@media (min-width: 576px) {
  .signup-form {
    flex-direction: row;
  }

  .signup-form .input {
    flex: 1;
  }

  .signup-form .button {
    width: auto;
  }
}

@media (min-width: 768px) {
  .logo img {
    width: 168px;
  }

  .hero {
    padding-block: 56px 96px;
  }

  .section {
    padding-block: 112px;
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-wide {
    grid-column: span 2;
  }

  .europe {
    padding: 72px 64px;
  }

  .timeline {
    padding-left: 84px;
  }

  .timeline::before,
  .timeline-fill {
    left: 30px;
  }

  .timeline-ghost {
    top: calc(var(--progress) * (100% - 56px));
    left: 32px;
    width: 72px;
  }

  .cta {
    padding: 88px 48px 220px;
  }
}

@keyframes flow {
  to {
    stroke-dashoffset: -24;
  }
}

@media (min-width: 992px) {
  .site-nav {
    display: flex;
  }

  .site-header .button {
    margin-left: 8px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
  }

  .how-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento-wide-lg {
    grid-column: span 2;
  }

  /* The hub becomes a diagram: nodes around the ghost, joined by flowing lines */
  .hub {
    position: relative;
    display: block;
    max-width: 920px;
    margin-inline: auto;
    aspect-ratio: 2 / 1;
  }

  .hub-lines {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .hub-lines path {
    fill: none;
    stroke: var(--color-outline);
    stroke-width: 2;
    stroke-dasharray: 2 10;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    animation: flow 1.4s linear infinite;
  }

  .hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    translate: -50% -50%;
  }

  .hub-center .ghost {
    width: 116px;
  }

  .hub-nodes {
    display: block;
  }

  .hub-node {
    position: absolute;
    top: var(--y);
    left: var(--x);
    flex-direction: row;
    gap: 12px;
    padding: 12px 16px;
    text-align: left;
    translate: -50% -50%;
    white-space: nowrap;
  }

  .europe {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 88px 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee {
    flex-wrap: wrap;
    justify-content: center;
    mask-image: none;
  }

  .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
  }

  .marquee-track[aria-hidden] {
    display: none;
  }
}
