/* landing hero — structure + spacing lifted 1:1 from Layr
   (new-landing/public/styles.css), recolored to our palette */

:root { --frame-gap: clamp(8px, 1vw, 12px); } /* one value = even everywhere */

.landing { background: #020202; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;   /* anchors clear the floating nav */
}

/* the hero shot deliberately overflows sideways on small monitors — clamp it
   here so that bleed never turns into a horizontal scrollbar */
html, body { overflow-x: hidden; }

/* empty runway below the last section so the page still scrolls */
.scroll-space { height: 100vh; }

/* canvas -> dashed stage -> panel */
.slot-hero {
  min-height: 100vh;
  background: #020202;                 /* canvas (Layr: soft gray) */
  padding: var(--frame-gap);
  display: flex;
}

.hero-stage {
  flex: 1;
  border: 2px dashed rgba(235, 242, 250, 0.16);  /* Layr --frame-dash */
  border-radius: clamp(24px, 3vw, 44px);
  padding: var(--frame-gap);
  display: flex;
}

.hero-panel {
  flex: 1;
  position: relative;
  border-radius: clamp(18px, 2.4vw, 34px);
  background:
    repeating-linear-gradient(115deg, rgba(235, 242, 250, 0.018) 0 2px, transparent 2px 10px),
    linear-gradient(180deg, var(--surface) 0%, #0f0d0b 55%, #16130f 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(104px, 13vh, 152px) clamp(18px, 3vw, 40px) clamp(18px, 2.2vw, 34px);
}

/* ---- headline block ---- */

.hero-top {
  width: min(900px, 100%);
  text-align: center;
  flex: none;
}

.hero-headline {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
/* each line is its own block — the break is chosen, never left to wrapping */
.hero-headline span { display: block; }

.hero-cta-row {
  margin-top: clamp(20px, 2.6vw, 32px);
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary {
  border: 0;
  cursor: pointer;
  background: var(--coral);
  color: var(--surface);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px 15px 24px;        /* optically even with the icon in */
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
  transition-property: scale, box-shadow, filter;
  transition-duration: 0.28s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-primary:hover { filter: brightness(1.06); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55); }
.cta-primary:active { scale: 0.96; }
.cta-ic { width: 17px; height: 17px; flex: none; }

/* glass slab secondary, dark-theme version of Layr's */
.cta-secondary {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  padding: 15px 26px;
  border-radius: 999px;
  background-color: rgba(235, 242, 250, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1.5px 0 -0.5px rgba(235, 242, 250, 0.35),
    inset 0 0 12px rgba(235, 242, 250, 0.06),
    inset 0 0 0 1px rgba(235, 242, 250, 0.14),
    0 6px 20px rgba(0, 0, 0, 0.35);
  transition-property: background-color, scale;
  transition-duration: 0.28s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-secondary:hover { background-color: rgba(235, 242, 250, 0.14); }
.cta-secondary:active { scale: 0.96; }

/* ---- media placeholder — fills what's left ---- */

.hero-media {
  flex: 1;
  min-height: 0;
  width: min(1240px, 100%);
  margin-top: clamp(26px, 4.5vh, 56px);
  border-radius: clamp(16px, 2vw, 28px);
  background: rgba(235, 242, 250, 0.05);
  border: 2px dashed rgba(235, 242, 250, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.01em;
  text-align: center;
  padding: 20px;
}

/* real media handed over: the shot itself sets the slot height.
   Was absolute + overflow:hidden, which hard-cropped the app window mid-page.
   Now in flow, so the panel grows to hold the WHOLE window — the hero is
   allowed to run taller than 100vh, that is the point. */
.hero-media--filled {
  flex: none;
  height: auto;
  padding: 0;
  border: none;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;   /* narrow screens: the window runs past the panel edge */
  position: relative;
}
/* Width FLOOR is the whole trick: on smaller monitors the shot holds 860px and
   bleeds off both sides of the screen instead of shrinking into a stamp.
   Centred with left/translate so the overflow is even left and right. */
.hero-media--filled img {
  position: relative;
  left: 50%;
  translate: -50% 0;
  width: max(100%, 860px);
  max-width: none;
  height: auto;
  display: block;
  border-radius: clamp(16px, 2vw, 28px);
  /* pure-white 10% edge so the shot reads against the dark panel */
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
}

/* ---- floating pill nav, resting where Layr's glass nav sits ---- */

.pill-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: clamp(14px, 1.8vw, 24px);
  width: min(920px, calc(100% - 44px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(235, 242, 250, 0.06);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow:
    inset 0 1px 0 rgba(235, 242, 250, 0.12),
    inset 0 0 0 1px rgba(235, 242, 250, 0.08),
    0 14px 36px rgba(0, 0, 0, 0.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.logo-img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* quiet text links — only the CTA gets to be a pill */
.nav-link {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover { color: var(--ink); }

.glass-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(235, 242, 250, 0.08);
  box-shadow: inset 0 0 0 1px rgba(235, 242, 250, 0.1);
  transition-property: background-color, scale, filter;
  transition-duration: 0.2s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.glass-btn:hover { background: rgba(235, 242, 250, 0.14); }
.glass-btn:active { scale: 0.96; }

.glass-btn--bright {
  background: var(--coral);
  color: var(--surface);
  box-shadow: none;
}
.glass-btn--bright:hover { background: var(--coral); filter: brightness(1.06); }

/* ---- features bento — layout lifted 1:1 from Layr section 2 ---- */

.features {
  padding: clamp(64px, 9vw, 130px) clamp(20px, 4vw, 40px);
}
.features-inner { max-width: 1160px; margin: 0 auto; }

.section-title {
  text-align: center;
  text-wrap: balance;
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.025em;
  margin: 0 0 clamp(36px, 5vw, 60px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(230px, 21vw, 280px);   /* real height = real bento */
  gap: clamp(14px, 1.6vw, 20px);
}

.f-card {
  /* shadows over borders — dark-theme depth: black casts + ring hairline */
  background: var(--panel);
  border-radius: 26px;
  padding: 14px 14px 22px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px var(--ring);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition-property: scale;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.f-card:hover { scale: 1.008; }
.f-card--lg { grid-column: span 2; grid-row: span 2; }

/* visual panels — striped surface, mockups are decoration */
.f-visual {
  flex: 1;
  min-height: 0;
  border-radius: 14px;                 /* concentric: 26 outer − 14 padding + ~2 */
  background:
    repeating-linear-gradient(115deg, rgba(235, 242, 250, 0.025) 0 2px, transparent 2px 12px),
    linear-gradient(150deg, #16140f 0%, var(--sheet) 60%, #1d1a16 100%);
  box-shadow: inset 0 0 0 1px var(--ring);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(18px, 3vw, 44px);
  user-select: none;
  -webkit-user-select: none;
}

/* dashed slot marking where each real mockup will land */
.f-slot {
  width: 100%;
  max-width: 340px;
  height: 68%;
  border-radius: 14px;
  border: 2px dashed rgba(235, 242, 250, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dim);
  font-size: 14px;
  font-weight: 600;
}

.f-title {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: clamp(17px, 1.6vw, 20px);
  letter-spacing: -0.01em;
  margin: 18px 0 7px;
  padding: 0 10px;
  text-wrap: balance;
}
.f-text {
  color: var(--ink-mid);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
  margin: 0;
  padding: 0 10px;
}

/* ---- how it works — layout lifted 1:1 from Layr section 3 ---- */

.how {
  background: var(--surface);          /* rhythm step against the darker canvas */
  padding: clamp(64px, 9vw, 130px) clamp(20px, 4vw, 40px);
}
.how-inner { max-width: 1160px; margin: 0 auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  position: relative;
}
/* dashed connector between the step numbers — callback to the hero frame */
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 16.7%;
  right: 16.7%;
  border-top: 2px dashed rgba(235, 242, 250, 0.16);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sheet);
  color: var(--coral);
  font-weight: 800;
  font-size: 17px;
  font-variant-numeric: tabular-nums;   /* numerals stay aligned */
  letter-spacing: 0.01em;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.4),
    0 10px 24px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px var(--ring);
}

.step-card {
  margin-top: 26px;
  width: 100%;
  flex: 1;                             /* all three cards share one height */
  background: var(--panel);
  border-radius: 26px;
  padding: 14px 14px 24px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px var(--ring);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition-property: scale;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.step-card:hover { scale: 1.008; }

.step-visual {
  height: 190px;
  border-radius: 14px;                 /* concentric with the 26px card */
  background:
    repeating-linear-gradient(115deg, rgba(235, 242, 250, 0.025) 0 2px, transparent 2px 12px),
    linear-gradient(150deg, #16140f 0%, var(--sheet) 60%, #1d1a16 100%);
  box-shadow: inset 0 0 0 1px var(--ring);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  user-select: none;
  -webkit-user-select: none;
}

.step-slot {
  width: 100%;
  max-width: 240px;
  height: 70%;
  border-radius: 12px;
  border: 2px dashed rgba(235, 242, 250, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dim);
  font-size: 13.5px;
  font-weight: 600;
}

/* ---- pricing — layout lifted 1:1 from Layr ---- */

.pricing {
  padding: clamp(64px, 9vw, 130px) clamp(20px, 4vw, 40px);
}
.pricing-inner { max-width: 1080px; margin: 0 auto; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
  align-items: stretch;                /* featured card pokes out evenly */
}
.price-grid > * { min-width: 0; }

.price-card {
  background: var(--panel);
  border-radius: 26px;
  padding: 32px 28px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px var(--ring);
  display: flex;
  flex-direction: column;
}
/* no hover motion on pricing cards: scale rasterizes the dense text */

/* featured tier = coral FRAME with the card nested inside, not a badge */
.price-frame {
  position: relative;
  background: var(--coral);
  border-radius: 32px;                 /* concentric: inner 26 + 6px frame */
  margin-top: -40px;                   /* card tops stay level, frame pokes up */
  margin-bottom: -6px;
  margin-inline: -6px;                 /* bleed into gutters: equal card widths */
  padding: 40px 6px 6px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 22px 50px rgba(0, 0, 0, 0.45);
}
.price-cap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--surface);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.price-card--featured {
  height: 100%;                        /* fill the frame the grid stretched */
  box-shadow: none;                    /* the frame carries the depth now */
}

.price-name {
  color: var(--ink);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
/* Team is priced but not buyable: no seat model exists, so a purchase would
   bill correctly and grant nothing. The badge exists so the card cannot be
   mistaken for the Pro card sitting next to it. */
.price-soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: rgba(235, 242, 250, 0.62);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--ink);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.price-cur { font-size: 20px; font-weight: 700; align-self: flex-start; margin-top: 4px; }
.price-num { font-size: clamp(36px, 3.2vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-per { font-size: 13px; color: var(--ink-mid); margin-left: 3px; }

.price-blurb {
  margin: 0 0 20px;
  color: var(--ink-mid);
  font-size: 14px;
  line-height: 1.5;
  text-wrap: pretty;
  min-height: 3em;                     /* two reserved lines pin a shared grid */
}

.price-cta {
  border: 0;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(235, 242, 250, 0.06);
  box-shadow: inset 0 0 0 1px var(--ring);
  transition-property: background-color, box-shadow, scale;
  transition-duration: 0.2s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.price-cta:hover {
  background: rgba(235, 242, 250, 0.1);
  box-shadow: inset 0 0 0 1px rgba(235, 242, 250, 0.16);
}
.price-cta:active { scale: 0.96; }
/* featured CTA is the only filled button — ties the card to its frame */
.price-cta--featured {
  background: var(--coral);
  color: var(--surface);
}
.price-cta--featured:hover {
  background: var(--coral);
  filter: brightness(1.06);
}
/* small annual-billing line tucked under the featured CTA */
.price-alt {
  margin-top: 10px;
  text-align: center;
  font-size: 12.5px;
}
.price-alt a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition-property: color;
  transition-duration: 0.15s;
}
.price-alt a:hover { color: var(--coral); }

.price-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.price-list li {
  display: flex;
  align-items: flex-start;             /* wrapping rows: tick pins to line 1 */
  gap: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.4;
}
.tick {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(235, 242, 250, 0.08);
  color: rgba(235, 242, 250, 0.75);
  display: grid;
  place-items: center;
}
.tick svg { width: 11px; height: 11px; }

/* ---- faq — layout lifted 1:1 from Layr ---- */

.faq {
  background: var(--surface);
  padding: clamp(64px, 9vw, 130px) clamp(20px, 4vw, 40px);
}
.faq-inner { max-width: 780px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--panel);
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px var(--ring);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 22px 24px;              /* comfortably past 40px hit area */
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 600;
  font-family: inherit;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.faq-ic {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--ink-dim);
  transition: rotate 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.open .faq-ic { rotate: 180deg; color: var(--coral); }

/* 0fr -> 1fr grid trick: animates open/close smoothly without magic heights */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--ink-mid);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ---- footer — layout lifted 1:1 from Layr ---- */

.site-footer {
  padding: clamp(52px, 6vw, 80px) clamp(20px, 4vw, 40px) 28px;
  box-shadow: inset 0 1px 0 var(--ring);
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 80px);
  flex-wrap: wrap;
}
.footer-brand { max-width: 300px; }
.footer-mark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.footer-note {
  margin: 10px 0 0;
  color: var(--ink-mid);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
.footer-cols {
  display: flex;
  gap: clamp(32px, 5vw, 72px);
  flex-wrap: wrap;
}
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h3 {
  margin: 0 0 3px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.footer-col a {
  color: var(--ink-mid);
  text-decoration: none;
  font-size: 15px;
  width: fit-content;
  transition: color 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-col a:hover { color: var(--ink-soft); }

.footer-bottom {
  max-width: 1160px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding-top: 22px;
  box-shadow: inset 0 1px 0 var(--ring);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-dim);
  font-size: 14px;
}
.footer-bottom a { color: var(--ink-dim); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink-soft); }

/* ---- CSS mockups of the real product (decoration, never selectable) ---- */

/* real popup screenshots (transparent PNGs, shadow baked in) */
.shot-popup {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
}
.shot-stack {
  width: min(94%, 648px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.shot-stack img, .shot-stack video { width: 100%; height: auto; display: block; }
.shot-popup--sm { max-width: min(100%, 380px); }
.shot-popup--sent { max-width: min(100%, 380px); }

/* ---- the popup, drawn by the page with the APP'S OWN values (renderer
   index.html): radius 28, padding 22x24, head gap 12, title 17/600/-0.014em,
   msg 15.5/1.55/-0.008em at 85% ink, tag 11/600/.08em on 7% white, edge
   hairline 8% white, the revealed shadow stack. One knob (--s) scales the
   whole card so every proportion stays the app's. Animated with the app's
   arrival. DOM, not video: nothing to decode, nothing to go black. ---- */
.pop {
  --s: 0.85;
  width: 100%;
  max-width: 600px;
  background: #000000;
  color: #ececec;
  border-radius: calc(28px * var(--s));
  padding: calc(22px * var(--s)) calc(24px * var(--s));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.38),
    0 28px 72px rgba(0, 0, 0, 0.32);
  animation: popcycle 3s infinite;
  animation-delay: var(--d, 0s);
  text-align: left;
}
@keyframes popcycle {
  0%   { opacity: 0; transform: translateY(-42px) scale(0.92); animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
  14%  { opacity: 1; transform: translateY(0) scale(1); }
  72%  { opacity: 1; transform: translateY(0) scale(1); animation-timing-function: ease; }
  80%  { opacity: 0; transform: translateY(-10px) scale(0.98); }
  100% { opacity: 0; transform: translateY(-10px) scale(0.98); }
}
@media (prefers-reduced-motion: reduce) {
  .pop { animation: none; }
}
.pop-head { display: flex; align-items: center; gap: calc(12px * var(--s)); min-height: calc(28px * var(--s)); min-width: 0; }
.pop-spark { flex: none; width: calc(16px * var(--s)); height: calc(16px * var(--s)); display: block; }
.pop-head b {
  font-size: calc(17px * var(--s));
  font-weight: 600;
  letter-spacing: -0.014em;
  color: #ececec;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.pop-tag {
  flex: none;
  font-size: calc(11px * var(--s));
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236, 236, 236, 0.6);
  background: rgba(255, 255, 255, 0.07);
  padding: calc(5px * var(--s)) calc(11px * var(--s));
  border-radius: 999px;
  white-space: nowrap;
}
.pop-ctl { margin-left: auto; display: flex; align-items: center; gap: calc(6px * var(--s)); flex: none; }
.pop-chip {
  display: inline-flex;
  align-items: center;
  gap: calc(6px * var(--s));
  height: calc(28px * var(--s));
  font-size: calc(11px * var(--s));
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(236, 236, 236, 0.55);
  background: rgba(255, 255, 255, 0.07);
  padding: 0 calc(11px * var(--s)) 0 calc(9px * var(--s));
  border-radius: 999px;
  white-space: nowrap;
}
.pop-chip svg { width: calc(10px * var(--s)); height: calc(10px * var(--s)); }
.pop-x {
  flex: none;
  width: calc(30px * var(--s));
  height: calc(30px * var(--s));
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45);
  color: rgba(236, 236, 236, 0.6);
}
.pop-x svg { width: calc(11px * var(--s)); height: calc(11px * var(--s)); }
.pop-msg {
  margin: calc(18px * var(--s)) 0 0;
  font-size: calc(15.5px * var(--s));
  line-height: 1.55;
  letter-spacing: -0.008em;
  color: rgba(236, 236, 236, 0.85);
  text-wrap: pretty;
}
/* the step cards run the same card, one scale notch down */
.pop--sm { --s: 0.72; max-width: min(100%, 360px); }
/* stage: gives the drop somewhere to land without moving neighbours */
.pop-stage { width: 100%; display: flex; justify-content: center; padding-top: 26px; }

/* the voice pill: coral, five live bars */
.mock-voice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mv-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 130px;
  height: 48px;
  border-radius: 999px;
  background: var(--coral);
}
.mv-pill i {
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--surface);
  animation: mv-bounce 1.1s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}
.mv-pill i:nth-child(1) { animation-delay: 0ms; }
.mv-pill i:nth-child(2) { animation-delay: 120ms; }
.mv-pill i:nth-child(3) { animation-delay: 240ms; }
.mv-pill i:nth-child(4) { animation-delay: 360ms; }
.mv-pill i:nth-child(5) { animation-delay: 480ms; }
@keyframes mv-bounce {
  from { transform: scaleY(0.35); }
  to   { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .mv-pill i { animation: none; }
}
.mv-label { font-size: 13px; font-weight: 600; color: var(--ink-dim); }

/* the streak heatmap */
.mock-heat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mh-grid {
  display: grid;
  grid-template-columns: repeat(13, 9px);
  grid-auto-rows: 9px;
  gap: 3px;
}
.mh-grid i { border-radius: 2px; background: rgba(235, 242, 250, 0.06); }
.mh-grid i.h1 { background: rgba(236, 236, 236, 0.22); }
.mh-grid i.h2 { background: rgba(236, 236, 236, 0.55); }
.mh-grid i.h3 { background: #ffffff; }
.mh-label { font-size: 13px; font-weight: 600; color: var(--ink-dim); }

/* step 01: install — a small installer sheet, same material as the popups */
.mock-install {
  width: 100%;
  max-width: 252px;
  background: #0f0e0d;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px var(--ring);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.mi-row { display: flex; align-items: center; gap: 11px; }
.mi-chip-img {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
}
.mi-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mi-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.mi-sub { font-size: 11.5px; color: var(--ink-dim); white-space: nowrap; }
.mi-prog {
  height: 7px;
  border-radius: 4px;
  background: rgba(235, 242, 250, 0.12);
  overflow: hidden;
}
.mi-prog i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 4px;
  background: var(--coral);
}
.mi-done {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--coral);
  background: rgba(236, 236, 236, 0.14);
  border-radius: 999px;
  padding: 4px 10px;
}
.mi-done svg { width: 11px; height: 11px; }

/* ---- entrance motion (Layr system): fade-and-rise + centre-scale, staggered.
        Elements only hide when the <html class="js"> flag is set pre-paint,
        so nothing can get stuck invisible without JS. ---- */

.js .hero-headline,
.js .hero-cta-row,
.js .hero-media,
.js .section-title,
.js .features-grid > *,
.js .steps > *,
.js .price-grid > *,
.js .faq-list > *,
.js .footer-inner > * {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition-property: opacity, transform;
  transition-duration: 0.85s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}
.js .is-in {
  opacity: 1;
  transform: none;
}
/* the reveal rule above is more specific than .f-card and would eat its hover
   scale transition — declare all three per-property so both animations live */
.js .features-grid > .f-card {
  transition-property: opacity, transform, scale;
  transition-duration: 0.85s, 0.85s, 0.4s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms), var(--d, 0ms), 0s;
}

@media (prefers-reduced-motion: reduce) {
  .js .hero-headline,
  .js .hero-cta-row,
  .js .hero-media,
  .js .section-title,
  .js .features-grid > *,
  .js .steps > *,
  .js .price-grid > *,
  .js .faq-list > *,
  .js .footer-inner > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ---- responsive ---- */

@media (max-width: 640px) {
  .pill-nav .brand span:not(.logo-chip) { display: none; }
  .nav-link[href="#how"] { display: none; }
  .nav-actions { gap: 14px; }
}

@media (max-width: 860px) {
  .price-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-frame { margin: 40px 0 0; }   /* stacked: frame wraps its card normally */
  .price-blurb { min-height: 0; }
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}

@media (max-width: 720px) {
  .features-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .f-card--lg { grid-column: span 1; grid-row: span 2; }
}
