:root {
  --pink: #ff035e;
  --purple: #730CC4;
  --ink: #111111;
  --header-bg: #161616;
  --page-bg: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page-bg);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: transparent;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  /* room for the fixed header */
  padding-top: 70px;
}

/* Floating dust particles, drifting behind all content */
#dust {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Animated premium film-grain overlay across the whole page.
   Sits above everything but stays pointer-events:none so all
   content remains clickable and text stays selectable. */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.15;
  /* Figma-style fine monochrome grain: high-frequency fractal noise,
     desaturated to neutral gray (no colored speckle). */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  will-change: transform;
  animation: grain 0.7s steps(1, end) infinite;
}

@keyframes grain {
  0%,
  100% { transform: translate(0, 0); }
  10% { transform: translate(-3%, -4%); }
  20% { transform: translate(-8%, 3%); }
  30% { transform: translate(4%, -6%); }
  40% { transform: translate(-5%, 5%); }
  50% { transform: translate(-9%, 7%); }
  60% { transform: translate(6%, -3%); }
  70% { transform: translate(-2%, 8%); }
  80% { transform: translate(3%, 6%); }
  90% { transform: translate(-6%, -5%); }
}

/* Accessibility: hold the grain still for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }
}

/* ---------- Header (full width) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 100%;
  z-index: 10000; /* above the grain overlay (9999) and all content */
  background: #ffffff;
  border: 1px solid transparent;
  border-bottom-color: #e6e6e6;
  border-radius: 0;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition:
    max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    -webkit-backdrop-filter 0.4s ease,
    backdrop-filter 0.4s ease;
}

/* On scroll: floating translucent pill */
.site-header.scrolled {
  top: 15px;
  max-width: 65%;
  border-radius: 20px;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 34px -14px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 20px;
  padding: 16px 0;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 34px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 40px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  color: #000000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1px;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.6;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.btn-primary {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  background: var(--pink);
  padding: 9px 18px;
  border-radius: 999px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

/* ---------- Container (80% width) ---------- */
.container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* solid surface + isolation so the difference blend behaves like a Figma frame */
  isolation: isolate;
  background: var(--page-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 180px 0 200px;
}

/* Physics playground for the falling feedback cards */
.hero-physics {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-physics canvas {
  display: block;
}

.hero-copy {
  font-family: 'Inter', sans-serif;
  font-weight: 600; /* SemiBold */
  font-size: 60px;
  line-height: 1.15;
  letter-spacing: -0.05em; /* -5% */
  text-align: center;
  color: #f5f5f5;
  max-width: 880px;
  position: relative;
  top: -10px;          /* nudge the copy up */
  z-index: 2;
  mix-blend-mode: difference;
}

.hero-copy .accent {
  font-family: 'Instrument Serif', serif;
  font-weight: 700;
  font-style: italic;
  letter-spacing: normal;  /* reset the -5% from the headline */
  color: #ff035e;
}

.hero-icon {
  position: absolute;
  width: 132px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

/* purple on the left, pink on the right (per reference composition) */
.hero-icon--purple {
  left: 10%;
  bottom: 14%;
}

.hero-icon--pink {
  right: 10%;
  top: 4%;
}

/* ---------- MURMUR band (stacked SVG panels) ---------- */
.murmur-band {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  height: calc(80vw - 20px);  /* purple block height (trimmed 20px more from bottom) */
  overflow: hidden;
}

.band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.band-content {
  position: absolute;
  z-index: 3;
  inset: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.band-watermark {
  font-family: 'Inter', sans-serif;
  font-weight: 500;   /* Medium */
  font-size: 23vw;  /* sized so MURMUR spans the full browser width */
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  margin: -0.12em 0 0;  /* pull caps up to touch the top edge */
  /* white text that fades to fully transparent in moving bands.
     Two 0-opacity dips per tile with flat plateaus at the seams => always a
     transparent region visible, smooth and seamless as it loops. */
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.26) 0%,
    rgba(255, 255, 255, 0.222) 6.25%,
    rgba(255, 255, 255, 0.13) 12.5%,
    rgba(255, 255, 255, 0.038) 18.75%,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0.038) 31.25%,
    rgba(255, 255, 255, 0.13) 37.5%,
    rgba(255, 255, 255, 0.222) 43.75%,
    rgba(255, 255, 255, 0.26) 50%,
    rgba(255, 255, 255, 0.222) 56.25%,
    rgba(255, 255, 255, 0.13) 62.5%,
    rgba(255, 255, 255, 0.038) 68.75%,
    rgba(255, 255, 255, 0) 75%,
    rgba(255, 255, 255, 0.038) 81.25%,
    rgba(255, 255, 255, 0.13) 87.5%,
    rgba(255, 255, 255, 0.222) 93.75%,
    rgba(255, 255, 255, 0.26) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.5;  /* halve the overall watermark intensity */
  animation: murmur-sheen 9s linear infinite;
}

@keyframes murmur-sheen {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

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

.band-copy {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 2.6vw;
  letter-spacing: -0.05em;  /* -5% */
  color: #ffffff;
  margin: -2.2vw 0 0;  /* tuck under the bottom of MURMUR */
  position: relative;
  z-index: 5;
}

.band-image {
  width: 84%;
  max-width: 1196px;
  height: auto;
  margin-top: 1.5vw;
  transform: translateY(-25%);  /* moved up 25% */
  position: relative;
  z-index: 1;
  display: block;
}

/* ---------- Installs section ---------- */
.installs {
  margin-top: 60px;
  padding: 20px 0 110px;
}

.installs-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--pink);
  margin-bottom: 56px;
}

.installs-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 80px;
  max-width: 880px;
  margin: 0 auto;
  border: 1.5px solid var(--pink);
  border-radius: 28px;
  padding: 56px 56px;
  background:
    radial-gradient(120% 90% at 50% 130%, rgba(255, 3, 94, 0.10), rgba(255, 3, 94, 0) 60%);
}

.install-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #000000;
  margin-bottom: 18px;
}

.step-title u {
  text-underline-offset: 3px;
}

.step-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: #4a4a4a;
  max-width: 320px;
  margin-bottom: 26px;
}

.step-btn {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: 8px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.step-btn:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.step-btn--purple {
  background: var(--purple);
}

.step-btn--pink {
  background: var(--pink);
}

/* ---------- Pricing section ---------- */
.pricing {
  padding: 20px 0 120px;
}

.pricing-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--purple);
  margin-bottom: 18px;
}

.pricing-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 19px;
  text-align: center;
  color: #1f1f1f;
  margin-bottom: 30px;
}

/* Billing toggle */
.billing-toggle {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--pink);
  border-radius: 999px;
  padding: 4px;
  width: max-content;
  margin: 0 auto 56px;
}

.billing-opt {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #1f1f1f;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.billing-opt.is-active {
  background: var(--pink);
  color: #ffffff;
}

.billing-opt .save {
  color: var(--pink);
  font-weight: 700;
}

.billing-opt.is-active .save {
  color: #ffffff;
}

/* Price grid — three balanced columns, centered */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.price-col {
  display: flex;
  flex-direction: column;
}

.price-card {
  border-radius: 22px;
  padding: 30px 28px;
  border: 1.5px solid transparent;
  display: flex;
  flex-direction: column;
}

.price-card--free {
  border-color: var(--pink);
  background: linear-gradient(180deg, #fafafa 0%, rgba(255, 3, 94, 0.07) 100%);
}

.price-card--pro {
  border-color: var(--purple);
  background: linear-gradient(180deg, #fafafa 0%, rgba(115, 12, 196, 0.09) 100%);
  box-shadow: 0 18px 40px -22px rgba(115, 12, 196, 0.45);
}

.price-card--team {
  border-color: #d2d2d2;
  background: #ececec;
  color: #b3b3b3;
}

.price-head {
  position: relative;
}

.plan-note {
  position: absolute;
  top: 4px;
  right: 0;
  font-size: 13px;
  color: #9a9a9a;
  font-weight: 400;
}

.plan-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.plan-name--pink { color: var(--pink); }
.plan-name--purple { color: var(--purple); }
.plan-name--gray { color: #c2c2c2; }

.plan-tag {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: #3a3a3a;
  margin-bottom: 4px;
  max-width: 90%;
}

.price-card--team .plan-tag { color: #b3b3b3; }

.plan-divider {
  border: none;
  border-top: 1px solid var(--pink);
  opacity: 0.5;
  margin: 18px 0 22px;
}

.plan-price {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.02em;
  margin: 22px 0 22px;
}

.plan-price--purple { color: var(--purple); }
.plan-price--gray { color: #c2c2c2; }

.plan-price .per {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.plan-everything {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #1f1f1f;
  margin-bottom: 18px;
}

.price-card--team .plan-everything { color: #a5a5a5; }

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  line-height: 1.4;
  color: #2b2b2b;
}

.price-card--team .feature-list li { color: #a8a8a8; }

.check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #34c759; /* green circle */
}

.price-card--team .check { color: #cfcfcf; }

.plan-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 20px;
  border-radius: 10px;
  margin-top: auto;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.plan-btn--pink { background: var(--pink); }
.plan-btn--purple { background: var(--purple); }

.plan-btn--pink:hover,
.plan-btn--purple:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.plan-btn--disabled {
  background: #cfcfcf;
  color: #ffffff;
  cursor: default;
}

.waitlist {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #1f1f1f;
  margin-top: 16px;
}

/* ---------- CTA section ---------- */
.cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 90px 0 110px;
}

.cta-copy {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 46px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #000000;
  max-width: 760px;
  position: relative;
  z-index: 2;
  margin-bottom: 34px;
}

.cta-accent {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-style: italic;
  color: var(--pink);
}

.cta-btn {
  position: relative;
  z-index: 2;
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  background: var(--pink);
  padding: 12px 22px;
  border-radius: 10px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.cta-btn:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

/* ---------- Footer (full width) ---------- */
.site-footer {
  width: 100%;
  background: var(--purple);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 40px;
  padding: 40px 0;
  gap: 24px;
}

.footer-logo img {
  height: 46px;
  width: auto;
  display: block;
  /* render the colored logo as solid white */
  filter: brightness(0) invert(1);
}

.footer-email {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.footer-email:hover {
  opacity: 0.8;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-copy {
    font-size: 44px;
  }
  .installs-title {
    font-size: 38px;
  }
  .pricing-title {
    font-size: 34px;
  }
  .price-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 24px;
  }
  .cta-copy {
    font-size: 30px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    margin: 0 24px;
  }
  .footer-email {
    font-size: 16px;
  }
  .hero-icon {
    width: 86px;
  }
  .main-nav {
    gap: 26px;
  }
}

@media (max-width: 680px) {
  .container {
    width: 88%;
  }
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .main-nav {
    order: 3;
    flex-basis: 100%;
    gap: 22px;
  }
  .main-nav a {
    font-size: 15px;
  }
  .hero {
    padding: 70px 0 60px;
  }
  .hero-copy {
    font-size: 32px;
  }
  .hero-icon {
    width: 65px;
  }
  .installs-title {
    font-size: 30px;
  }
  .installs-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 28px;
  }
  .hero-icon--purple {
    left: -2%;
    bottom: 8%;
  }
  .hero-icon--pink {
    right: -2%;
    top: 0;
  }
}
