/* ============================================================================
   Kalpa — Desktop waitlist landing
   Hand-ported from the "Kalpa Waitlist Landing" design prototype.
   Plain CSS, no framework, no runtime. Tokens come from /styles.css.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1) Keyframes — page
   --------------------------------------------------------------------------- */
@keyframes kFloat { 0%,100% { transform: translate3d(0,0,0) } 50% { transform: translate3d(3vw,2vh,0) } }
@keyframes kp { 0%,100% { box-shadow: 0 10px 24px rgba(177,72,66,.33) } 50% { box-shadow: 0 10px 34px rgba(177,72,66,.55) } }

/* Hero entrance (the prototype emitted A/B duplicates with identical bodies) */
@keyframes heroUp { from { opacity:0; transform: translateY(24px) } to { opacity:1; transform: none } }
@keyframes heroSlam { from { opacity:0; transform: scale(1.14) } to { opacity:1; transform: none } }
@keyframes heroChip { from { opacity:0; transform: translateY(14px) scale(.94) } to { opacity:1; transform: none } }
@keyframes heroStrike { from { width:0 } to { width:88% } }
@keyframes heroDis { from { opacity:1 } to { opacity:.4 } }

/* ---------------------------------------------------------------------------
   2) Keyframes — scenes
   --------------------------------------------------------------------------- */
@keyframes kRec { 0%,100% { opacity:1 } 50% { opacity:.25 } }
@keyframes kWave { 0%,100% { transform: scaleY(.22) } 50% { transform: scaleY(1) } }
@keyframes kBlink { 0%,49% { opacity:1 } 50%,100% { opacity:0 } }
@keyframes kPulse { 0%,100% { opacity:.55 } 50% { opacity:1 } }
@keyframes kTravel { from { transform: translateY(0) } to { transform: translateY(490px) } }

/* ---------------------------------------------------------------------------
   3) Page shell
   --------------------------------------------------------------------------- */
/* An author `display` on a component beats the UA's `[hidden] { display: none }`,
   which would silently un-hide anything toggled with `.hidden = true`. Rules that
   outrank this must use !important deliberately. */
[hidden] { display: none !important }

html { scroll-behavior: smooth; scroll-snap-type: y mandatory }
body {
  margin: 0;
  background: #F8FAFC;
  color: #0f172a;
  font-family: Manrope, sans-serif;
}
a { color: #B14842 }
a:hover { color: #923D39 }
input, textarea { font: 600 16px Manrope, sans-serif; color: #0f172a; outline: none }
input::placeholder, textarea::placeholder { color: #64748b }
input:focus, textarea:focus { border-color: #B14842 !important }
summary { list-style: none }
summary::-webkit-details-marker { display: none }

.page { position: relative; overflow-x: clip }

/* Drifting background orbs */
.orb-field { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden }
.orb { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform }
.orb > div { width: 100%; height: 100%; border-radius: 50% }
.orb-1 { width: 70vmax; height: 70vmax }
.orb-1 > div { background: radial-gradient(circle, rgba(240,135,118,.42), transparent 66%); animation: kFloat 22s ease-in-out 0s infinite }
.orb-2 { width: 60vmax; height: 60vmax }
.orb-2 > div { background: radial-gradient(circle, rgba(177,72,66,.22), transparent 66%); animation: kFloat 28s ease-in-out -6s infinite }
.orb-3 { width: 55vmax; height: 55vmax }
.orb-3 > div { background: radial-gradient(circle, rgba(248,179,166,.4), transparent 66%); animation: kFloat 25s ease-in-out -12s infinite }

/* Scroll rail */
.rail {
  position: fixed; right: 18px; top: 50%; margin-top: -110px; height: 220px; box-sizing: border-box;
  width: 14px; z-index: 20; display: flex; flex-direction: column; justify-content: space-between;
  align-items: center; opacity: 0; transition: opacity .4s;
}
.rail-track { position: absolute; top: 6px; bottom: 6px; left: 6px; width: 2px; background: rgba(20,15,14,.12) }
.rail-fill { width: 100%; height: 100%; background: linear-gradient(#E86B5F,#B14842); transform-origin: top; transform: scaleY(0) }
.rail-node { position: relative; width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); background: #CBD5E1 }

/* Header */
.site-header {
  position: absolute; left: 0; right: 0; top: 0; z-index: 5; max-width: 1200px; margin: 0 auto;
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark {
  display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 22px; letter-spacing: -.02em;
}
.wordmark img { width: 30px; height: 30px }
.header-cta {
  padding: 10px 20px; border-radius: 999px; border: 1px solid #F5C2BA; background: rgba(255,255,255,.7);
  color: #B14842; font-weight: 800; font-size: 14px; text-decoration: none;
}

/* ---------------------------------------------------------------------------
   4) Hero
   --------------------------------------------------------------------------- */
.hero {
  position: relative; scroll-snap-align: start; scroll-snap-stop: always; padding: 140px 24px 120px;
  text-align: center; min-height: 94vh; box-sizing: border-box; display: flex;
  align-items: center; justify-content: center;
}
.hero-inner { max-width: 1100px; margin: 0 auto }
.hero-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #923D39 }
.hero h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(40px,6.6vw,92px);
  line-height: 1.0; letter-spacing: -.035em; margin: 22px 0 0; text-wrap: balance;
}
.hero h1 .l1 { display: block; color: #475569; animation: heroUp .6s ease .1s both }
.hero h1 .l2 { display: block; color: #B14842; animation: heroSlam .6s cubic-bezier(.2,.9,.3,1.2) .9s both }
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 36px 0 0; min-height: 48px }
.chip {
  position: relative; display: inline-flex; align-items: center; height: 48px; padding: 0 20px;
  border-radius: 14px; background: rgba(255,255,255,.85); border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 14px 34px rgba(33,43,56,.1); font-size: 16px; font-weight: 700;
  animation: heroChip .5s ease both;
}
.chip:nth-child(1) { animation-delay: 1.4s }
.chip:nth-child(2) { animation-delay: 1.7s }
.chip:nth-child(3) { animation-delay: 2.0s }
.chip:nth-child(4) { animation-delay: 2.3s }
/* Variant B/D: chips get struck through after they appear */
.chips--dismiss .chip { animation-name: heroChip, heroDis; animation-duration: .5s, 1s; animation-timing-function: ease, ease; animation-fill-mode: both, both }
.chips--dismiss .chip:nth-child(1) { animation-delay: 1.4s, 2.4s }
.chips--dismiss .chip:nth-child(2) { animation-delay: 1.7s, 2.6s }
.chips--dismiss .chip:nth-child(3) { animation-delay: 2.0s, 2.8s }
.chips--dismiss .chip:nth-child(4) { animation-delay: 2.3s, 3.0s }
.chip-strike {
  position: absolute; left: 14px; top: 50%; height: 2.5px; border-radius: 2px;
  background: #C0392B; width: 0; display: block;
}
.chips--dismiss .chip:nth-child(1) .chip-strike { animation: heroStrike 1s ease 2.4s both }
.chips--dismiss .chip:nth-child(2) .chip-strike { animation: heroStrike 1s ease 2.6s both }
.chips--dismiss .chip:nth-child(3) .chip-strike { animation: heroStrike 1s ease 2.8s both }
.chips--dismiss .chip:nth-child(4) .chip-strike { animation: heroStrike 1s ease 3.0s both }

.hero-tail { animation: heroUp .7s ease 2.4s both }
.hero-sub {
  font-size: clamp(17px,1.6vw,21px); line-height: 1.55; color: #334155;
  margin: 36px auto 30px; max-width: 640px; text-wrap: pretty;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap }
.btn-primary {
  display: inline-flex; align-items: center; height: 56px; padding: 0 32px; border-radius: 999px;
  background: linear-gradient(135deg,#E86B5F,#B14842); color: #fff; font-weight: 800; font-size: 17px;
  text-decoration: none;
}
.btn-ghost {
  display: inline-flex; align-items: center; height: 56px; padding: 0 28px; border-radius: 999px;
  border: 1px solid #F5C2BA; background: rgba(255,255,255,.65); color: #B14842;
  font-weight: 800; font-size: 17px; text-decoration: none;
}
.hero-note { margin-top: 18px; font-size: 14px; color: #475569 }

/* ---------------------------------------------------------------------------
   5) Feature sections (text + animated scene)
   --------------------------------------------------------------------------- */
.feature {
  position: relative; min-height: 100vh; display: flex;
  scroll-snap-align: start; scroll-snap-stop: always;
}
.feature-inner {
  flex: 1; box-sizing: border-box; padding: 76px 24px 40px; display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center; gap: clamp(16px,3vw,48px);
}
.feature-copy { flex: 0 1 380px; min-width: 260px; text-align: left }
.feature-kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #923D39 }
.feature h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(28px,3.4vw,50px);
  line-height: 1.05; letter-spacing: -.03em; margin: 14px 0 8px; text-wrap: balance; color: #0F172A;
}
.beats { display: grid; gap: 2px }
.beat { display: flex; gap: 14px; padding: 10px 14px; border-radius: 14px; transition: background .35s }
.beat-dot {
  flex: none; width: 9px; height: 9px; margin-top: 7px; border-radius: 2px;
  transform: rotate(45deg); transition: background .35s; background: #94A3B8;
}
.beat-title { font-size: 17px; font-weight: 800; color: #0F172A }
.beat-desc { font-size: 15px; line-height: 1.45; color: #334155; margin-top: 4px }
.beat.is-active { background: rgba(254,243,242,.95) }
.beat.is-active .beat-dot { background: #B14842 }

.scene-wrap { position: relative; flex: none; max-width: 100% }
.scene-clip { width: 100% }
.scene-stage { width: 100%; height: 100% }

/* ---------------------------------------------------------------------------
   6) Scenes — shared
   --------------------------------------------------------------------------- */
.scene {
  position: relative; width: 960px; text-align: left; font-family: Manrope, sans-serif;
  color: #0F172A; transform-origin: 0 0;
}
.scene-card {
  position: absolute; background: #fff; border: 1px solid rgba(20,15,14,.08);
  box-shadow: 0 24px 60px rgba(33,43,56,.14); border-radius: 26px;
}
.scene-card--accent { border-color: rgba(232,107,95,.4); box-shadow: 0 30px 70px rgba(177,72,66,.18); transform-origin: 50% 0 }
.scene-icon { display: inline-flex; flex: none }
.scene-icon svg { width: 100%; height: 100%; display: block }

/* ---------------------------------------------------------------------------
   7) Scene: cal — before the meeting
   --------------------------------------------------------------------------- */
.cal-card-top {
  position: absolute; left: 30px; top: 22px; right: 30px; height: 40px; display: flex;
  align-items: center; gap: 14px;
}
.cal-card-top img { width: 34px; height: 34px; flex: none; display: block }
.cal-date { font-size: 24px; font-weight: 800; color: #0F172A }
.cal-synced {
  margin-left: auto; height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(31,138,91,.14);
  color: #1F8A5B; font-size: 16px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px;
}
.cal-synced i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: kRec 2s ease-in-out infinite }
.cal-overlap {
  position: absolute; left: 22px; right: 22px; top: 78px; height: 174px;
  transform-origin: 50% 50%;
}
.cal-overlap > div {
  width: 100%; height: 100%; box-sizing: border-box; border-radius: 20px;
  border: 3px solid #DC2626; animation: kPulse 1.3s ease-in-out infinite;
}
.event {
  position: absolute; height: 76px; box-sizing: border-box; border-radius: 16px;
  display: flex; align-items: center; gap: 18px; padding: 0 22px;
  left: var(--l); right: var(--r); top: var(--t); background: var(--bg); box-shadow: var(--sh, none);
}
.event-bar { width: 6px; height: 40px; border-radius: 3px; background: var(--col) }
.event-name { font-size: 26px; font-weight: 800; color: #0F172A; white-space: nowrap }
.event-time { font-size: 18px; font-weight: 600; color: #334155; margin-top: 2px }
.event-badge {
  margin-left: auto; height: 36px; padding: 0 15px; border-radius: 999px;
  background: var(--bbg); color: var(--bfg); font-size: 17px; font-weight: 800;
  display: var(--bshow, none); align-items: center; transform-origin: right center;
}
.cal-panel { position: absolute; left: 0; top: 406px; width: 960px; height: 384px }
.cal-panel-head { position: absolute; left: 30px; top: 20px; right: 30px; display: flex; align-items: center; gap: 14px }
.cal-panel-head img { width: 30px; height: 30px }
.cal-panel-title { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: #0F172A; letter-spacing: -.02em }
.cal-panel-people { margin-left: auto; font-size: 17px; font-weight: 700; color: #334155 }
.cal-panel-body { position: absolute; left: 30px; right: 30px; top: 74px }
.cal-group { height: 26px; display: flex; align-items: center; font-size: 14.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #923D39 }
.cal-row { display: flex; align-items: center; gap: 16px; height: 50px; border-top: 1px solid rgba(20,15,14,.08) }
.cal-row-icon {
  width: 30px; height: 30px; border-radius: 8px; background: rgba(232,107,95,.18); color: #B14842;
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; flex: none;
}
.cal-row-icon svg { width: 20px; height: 20px; display: block }
.cal-row img { width: 30px; height: 30px; flex: none; display: block }
.cal-row-text { font-size: 24px; font-weight: 700; color: #0F172A; flex: 1; white-space: nowrap }
.cal-row-meta { font-size: 18px; font-weight: 700; white-space: nowrap }

/* ---------------------------------------------------------------------------
   8) Scene: du — during the meeting
   --------------------------------------------------------------------------- */
.du-card-top { position: absolute; left: 30px; top: 20px; right: 30px; height: 40px; display: flex; align-items: center; gap: 14px }
.du-rec { width: 14px; height: 14px; border-radius: 50%; background: #DC2626; animation: kRec 1.2s ease-in-out infinite }
.du-title { font-size: 22px; font-weight: 800; color: #0F172A }
.du-wave { display: flex; gap: 4px; align-items: center; height: 26px }
.du-wave-bar { width: 4px; border-radius: 2px; background: #E86B5F; height: 24px; animation: kWave ease-in-out infinite }
.du-live { margin-left: auto; font-size: 20px; font-weight: 700; color: #334155 }
.line {
  position: absolute; left: 16px; right: 16px; height: 86px; border-radius: 18px; padding: 0 16px;
  display: flex; align-items: center; gap: 18px; top: var(--t); background: var(--bg); box-shadow: var(--sh, none);
}
.line-avatar {
  flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--av);
  color: #fff; font-size: 17px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.line-who { font-size: 18px; font-weight: 700; color: #334155 }
.line-text { font-size: 30px; font-weight: var(--fw, 600); color: var(--tc, #0F172A); margin-top: 3px; white-space: nowrap; opacity: var(--txo, 1) }
.line-tag {
  height: 36px; padding: 0 16px; border-radius: 999px; background: #B14842; color: #fff;
  font-size: 17px; font-weight: 800; display: inline-flex; align-items: center; flex: none;
  transform-origin: right center;
}
.du-bubble {
  position: absolute; left: 0; top: 386px; width: 960px; height: 386px;
}
.du-head { position: absolute; left: 30px; top: 22px; display: flex; align-items: center; gap: 12px }
.du-head img { width: 28px; height: 28px }
.du-pill {
  height: 34px; padding: 0 14px; border-radius: 8px; background: rgba(31,138,91,.14); color: #1F8A5B;
  font-size: 18px; font-weight: 800; display: inline-flex; align-items: center;
}
.du-head-note { font-size: 18px; font-weight: 700; color: #334155 }
.du-decision {
  position: absolute; left: 30px; top: 68px; font-family: 'Space Grotesk', sans-serif;
  font-size: 44px; font-weight: 700; letter-spacing: -.025em; color: #0F172A;
}
.du-quote-box { position: absolute; left: 30px; right: 30px; top: 136px; height: 84px; border-radius: 16px; background: #F4F2EF }
.du-quote-meta { position: absolute; right: 24px; top: 30px; font-size: 17px; font-weight: 700; color: #334155 }
.du-links { position: absolute; left: 30px; top: 238px; display: flex; gap: 12px }
.du-link {
  height: 44px; padding: 0 18px 0 12px; border-radius: 999px; background: #F4F2EF; display: inline-flex;
  align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #0F172A; transform-origin: left center;
}
.du-link img { width: 26px; height: 26px; flex: none; display: block }
.du-commit {
  position: absolute; left: 30px; right: 30px; top: 306px; height: 62px; border-radius: 16px;
  background: rgba(232,107,95,.12); border: 1px solid rgba(232,107,95,.3); display: flex;
  align-items: center; gap: 14px; padding: 0 22px; box-sizing: border-box; transform-origin: 0 50%;
}
.du-commit-tag {
  height: 30px; padding: 0 12px; border-radius: 8px; background: #B14842; color: #fff;
  font-size: 16px; font-weight: 800; display: inline-flex; align-items: center;
}
.avatar-40 {
  width: 32px; height: 32px; border-radius: 50%; background: #7C5CD6; color: #fff; font-size: 12px;
  font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
.du-commit-text { font-size: 24px; font-weight: 800; color: #0F172A }
.du-commit-owner { margin-left: auto; font-size: 18px; font-weight: 700; color: #334155 }
.du-quote {
  position: absolute; font-size: 30px; font-weight: 800; color: #B14842; white-space: nowrap;
  z-index: 5; left: var(--qx); top: var(--qy); display: var(--qshow, none);
}

/* ---------------------------------------------------------------------------
   9) Scene: co — after the call
   --------------------------------------------------------------------------- */
.co-bubble {
  position: absolute; left: 0; top: 0; width: 960px; height: 256px; box-sizing: border-box;
  padding: 26px 32px; transform-origin: 50% 60%; background: #fff; border-radius: 26px;
  border: 1px solid var(--bbd, rgba(20,15,14,.08)); box-shadow: 0 24px 60px rgba(33,43,56,.14);
}
.co-head { display: flex; align-items: center; gap: 12px }
.avatar-40b {
  width: 40px; height: 40px; border-radius: 50%; background: #2563EB; color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-size: 15px; font-weight: 800;
}
.co-who { font-size: 19px; font-weight: 700; color: #334155; flex: 1 }
.co-badge {
  height: 32px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center;
  font-size: 15px; font-weight: 800; background: var(--bgBg); color: var(--bgFg);
}
.co-text {
  font-family: 'Space Grotesk', sans-serif; font-size: 44px; font-weight: 700; letter-spacing: -.02em;
  line-height: 1.25; color: #0F172A; margin-top: 16px; white-space: pre;
}
.co-seg { background: var(--sg-bg); color: var(--sg-fg); border-radius: 8px; padding: 0 4px; margin: 0 -4px }
.co-meta { display: flex; gap: 22px; margin-top: 14px; font-size: 17px; font-weight: 700; color: #334155 }
.co-meta b { color: #0F172A }
.co-drop { position: absolute; top: 256px; border-left: 3px dotted #B14842; height: 0 }
.co-card {
  position: absolute; width: 300px; height: 120px; box-sizing: border-box; padding: 18px;
  border-radius: 20px; background: #fff; border: 1px solid rgba(20,15,14,.08);
  box-shadow: 0 14px 34px rgba(33,43,56,.12); transform-origin: 50% 0;
}
.co-card-head { display: flex; align-items: center; gap: 12px }
.co-card-head img { width: 36px; height: 36px; flex: none; display: block }
.co-card-title { font-size: 23px; font-weight: 800; color: #0F172A; white-space: nowrap }
.co-card-sub { font-size: 17px; font-weight: 600; color: #334155; margin-top: 12px; white-space: nowrap }
.co-jira {
  position: absolute; left: 330px; top: 530px; width: 300px; height: 92px; box-sizing: border-box;
  padding: 14px 18px; border-radius: 18px; background: #fff; border: 1px solid rgba(20,15,14,.08);
  box-shadow: 0 14px 34px rgba(33,43,56,.12); display: flex; align-items: center; gap: 12px;
  transform-origin: 50% 0;
}
.co-jira img { width: 34px; height: 34px; flex: none; display: block }
.co-jira-title { font-size: 20px; font-weight: 800; color: #0F172A }
.co-jira-sub { font-size: 16px; font-weight: 600; color: #334155; margin-top: 4px; white-space: nowrap }
.co-works {
  position: absolute; left: 0; right: 0; top: 668px; display: flex; align-items: center;
  justify-content: center; gap: 18px;
}
.co-works-label { font-size: 17px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #334155 }
.co-works span { display: inline-flex }
.co-works img { width: 34px; height: 34px; flex: none; display: block }

/* ---------------------------------------------------------------------------
   10) Scene: af — until it is done
   --------------------------------------------------------------------------- */
.af-head { position: absolute; left: 0; top: 0; width: 960px; height: 30px; display: flex; align-items: center; justify-content: space-between }
.af-head-label { font-size: 17px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #334155 }
.af-sync { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #334155 }
.af-sync img { width: 24px; height: 24px; flex: none; display: block }
.commit-row {
  position: absolute; left: 0; right: 0; height: 200px; box-sizing: border-box; padding: 0 30px;
  display: flex; align-items: center; gap: 22px; background: var(--bg); border: 1px solid rgba(20,15,14,.08);
  box-shadow: 0 24px 60px rgba(33,43,56,.14); border-radius: 26px; top: var(--t);
}
.af-check {
  flex: none; width: 36px; height: 36px; border-radius: 50%; box-sizing: border-box;
  border: 3px solid var(--cb); background: var(--cf); display: flex; align-items: center; justify-content: center;
}
.af-check svg { opacity: var(--ck) }
.af-owner { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #334155 }
.af-avatar {
  width: 28px; height: 28px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.af-due { color: var(--dc, #334155) }
.af-title { font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: #0F172A; margin-top: 10px; line-height: 1.15 }
.af-quote { font-size: 19px; font-weight: 600; color: #334155; margin-top: 8px }
.af-chip {
  display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 20px 0 12px;
  border-radius: 999px; font-size: 21px; font-weight: 800; white-space: nowrap;
  background: var(--chBg); color: var(--chFg); transform-origin: right center;
}
.af-chip img { width: 30px; height: 30px; flex: none; display: block }
.af-swap { position: relative; width: 30px; height: 30px; flex: none }
.af-swap img { position: absolute; inset: 0; width: 30px; height: 30px }

/* ---------------------------------------------------------------------------
   11) Scene: pi — beyond the summary
   --------------------------------------------------------------------------- */
.pi-svg { position: absolute; left: 0; top: 0; overflow: visible }
.pi-chip {
  position: absolute; left: 230px; top: 0; width: 500px; height: 62px; box-sizing: border-box;
  border-radius: 999px; background: #fff; border: 1px solid rgba(20,15,14,.08);
  box-shadow: 0 14px 34px rgba(33,43,56,.12); display: flex; align-items: center;
  justify-content: center; gap: 14px;
}
.pi-chip img { width: 30px; height: 30px; flex: none; display: block }
.pi-chip-name { font-size: 21px; font-weight: 800; color: #0F172A }
.pi-chip-meta { font-size: 18px; font-weight: 600; color: #334155 }
.pi-label { position: absolute; top: 120px; height: 34px; display: flex; align-items: center; font-size: 18px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #334155 }
.pi-label--left { left: 0 }
.pi-label--right { left: 510px; gap: 10px; color: #923D39 }
.pi-label--right img { width: 26px; height: 26px }
.pi-dim { opacity: var(--dim, 1) }
.pi-row {
  position: absolute; width: 450px; height: 80px; box-sizing: border-box; border-radius: 18px;
  display: flex; align-items: center; gap: 16px; padding: 0 20px; transform-origin: 0 50%;
  left: var(--x); top: var(--y); background: var(--bg); border: 1px solid var(--bd); box-shadow: var(--sh);
}
.pi-dot {
  width: 26px; height: 26px; flex: none; box-sizing: border-box; border-radius: 50%;
  border: 3px solid var(--dot-bd, #334155); background: var(--dot-bg, transparent);
  opacity: var(--dot-op, .55); display: flex; align-items: center; justify-content: center;
}
.pi-dot svg { width: 13px; height: 13px }
.pi-row-title { font-size: 23px; font-weight: 800; color: var(--tt, #0F172A); line-height: 1.15 }
.pi-row-sub { font-size: 16.5px; font-weight: 600; color: #334155; margin-top: 3px; white-space: nowrap }
.pi-row-tools { display: flex; gap: 8px }
.pi-row-tools img { width: 32px; height: 32px; flex: none; display: block }
.pi-stop { position: absolute; left: 0; top: 372px; width: 450px; display: flex; align-items: center; gap: 14px }
.pi-stop-line { flex: 1; border-top: 2px dashed rgba(51,65,85,.45) }
.pi-stop-label { font-size: 19px; font-weight: 800; color: #334155 }
.pi-summary {
  position: absolute; box-sizing: border-box; border-radius: 14px; background: #fff;
  border: 1px solid rgba(20,15,14,.08); box-shadow: 0 8px 20px rgba(33,43,56,.1);
  display: flex; align-items: center; gap: 14px; padding: 0 18px;
  left: var(--x); top: var(--y); width: 400px; height: 64px;
}
.pi-summary svg { width: 26px; height: 26px; display: block }
.pi-summary-text { font-size: 17px; font-weight: 700; color: #334155; white-space: nowrap }
.pi-note { position: absolute; left: 0; top: 616px; width: 450px; text-align: center; font-size: 20px; font-weight: 700; color: #334155; line-height: 1.35 }

/* ---------------------------------------------------------------------------
   12) Scene: as — ask
   --------------------------------------------------------------------------- */
.as-card {
  position: absolute; left: 80px; top: 0; width: 800px; border-radius: 18px; background: #fff;
  border: 1px solid rgba(20,15,14,.14); box-shadow: 0 30px 80px rgba(16,14,19,.2); overflow: hidden;
}
.as-head { display: flex; align-items: center; gap: 14px; height: 70px; padding: 0 24px; border-bottom: 1px solid rgba(20,15,14,.08) }
.as-head .scene-icon { color: #B14842 }
.as-head svg { width: 24px; height: 24px }
.as-q { font-size: 21px; font-weight: 600; color: #0F172A }
.as-caret { display: inline-block; width: 2px; height: 24px; margin-left: 2px; vertical-align: -4px; background: #B14842; animation: kBlink 1s steps(1) infinite }
.as-body { padding: 22px 26px 26px; min-height: 360px; box-sizing: border-box }
.as-think { display: var(--think, none); align-items: center; gap: 12px; color: #334155; font-size: 15px; font-weight: 600 }
.as-think img { width: 22px; height: 22px; animation: kRec .8s ease-in-out infinite }
.as-answer { opacity: var(--ans, 0) }
.as-label { font-size: 12px; font-weight: 800; letter-spacing: .085em; text-transform: uppercase; color: #B14842 }
.as-verdict { font-size: 26px; font-weight: 700; letter-spacing: -.024em; color: #0F172A; margin-top: 10px }
.as-words { font-size: 17px; line-height: 1.55; color: #334155; margin-top: 10px; min-height: 54px }
.as-sources { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap }
.as-source {
  height: 30px; padding: 0 12px; border-radius: 7px; background: #F1F5F9; color: #334155;
  font-size: 13px; font-weight: 700; display: inline-flex; align-items: center;
}
.as-still {
  display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(20,15,14,.08); font-size: 15.5px; font-weight: 600; color: #0F172A;
}
.as-still-tag {
  height: 24px; padding: 0 9px; border-radius: 7px; background: #FBF1E3; color: #B4690E;
  font-size: 12px; font-weight: 800; display: inline-flex; align-items: center;
}

/* ---------------------------------------------------------------------------
   13) Lower sections
   --------------------------------------------------------------------------- */
.section { scroll-snap-align: start; margin: 0 auto }
.section--centered { max-width: 1100px; padding: 96px 24px 40px; text-align: center }
.section--wide { max-width: 1200px; padding: 56px 24px 72px }
.section--join { max-width: 1200px; padding: 0 24px 72px }
.section--faq { max-width: 760px; padding: 0 24px 72px }

.kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #923D39 }
.h-section { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -.02em; text-wrap: balance }
.section--centered .h-section { font-size: clamp(30px,3.8vw,48px); line-height: 1.08; margin: 12px auto 32px; max-width: 640px }
.section--wide .h-section { font-size: clamp(30px,3.6vw,44px); line-height: 1.1; margin: 12px 0 32px; max-width: 680px }

/* Reveal on scroll (JS adds .is-in) */
[data-rv] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease }
[data-rv].is-in { opacity: 1; transform: none }

.integrations { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center }
.integration {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 14px;
  border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid rgba(226,232,240,.9);
  font-weight: 700; font-size: 15px;
}
.integration img { width: 26px; height: 26px; display: block }

.compare {
  border-radius: 24px; overflow-x: auto; background: rgba(255,255,255,.85);
  border: 1px solid rgba(226,232,240,.8); box-shadow: 0 20px 45px rgba(33,43,56,.08);
}
.compare-inner { min-width: 640px }
.compare-row {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 12px; padding: 18px 24px;
  border-top: 1px solid #E2E8F0; font-size: 16px; align-items: center;
}
.compare-head {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 12px; padding: 16px 24px;
  background: #F1F5F9; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #475569;
}
.compare-label { font-weight: 700 }
.compare-cell { color: #475569 }
.compare-kalpa { color: #923D39; font-weight: 800 }
.compare-head .compare-kalpa { color: #923D39 }
.compare-note { margin-top: 12px; font-size: 13px; color: #64748b }

/* Phones: the 4-column table becomes one card per row, column names shown inline. */
@media (max-width: 700px) {
  .compare { overflow-x: visible; background: none; border: 0; box-shadow: none; border-radius: 0 }
  .compare-inner { min-width: 0; display: grid; gap: 12px }
  .compare-head { display: none }
  .compare-row {
    grid-template-columns: 1fr; gap: 8px; padding: 16px 18px; border: 1px solid rgba(226,232,240,.9);
    border-radius: 18px; background: rgba(255,255,255,.85); box-shadow: 0 10px 28px rgba(33,43,56,.07);
    font-size: 15px;
  }
  .compare-label { font-size: 16px; margin-bottom: 2px }
  .compare-row > div:not(.compare-label) { display: flex; justify-content: space-between; gap: 16px }
  .compare-row > div:not(.compare-label)::before {
    flex: none; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: #64748b; padding-top: 3px;
  }
  .compare-row > div:nth-child(2)::before { content: "Note-takers" }
  .compare-row > div:nth-child(3)::before { content: "Recorders" }
  .compare-row > div:nth-child(4)::before { content: "Kalpa"; color: #923D39 }
  .compare-row > div:nth-child(4) { text-align: right }
}

.beta {
  border-radius: 32px; padding: clamp(28px,5vw,56px); background: #501D1A; color: #FEF3F2;
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 32px; align-items: center;
}
.beta-kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #F5C2BA }
.beta h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(28px,3.4vw,40px); line-height: 1.1; letter-spacing: -.02em; margin: 12px 0 }
.perks { display: grid; gap: 14px }
.perk { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.5 }
.perk .scene-icon { color: #E86B5F; margin-top: 1px }
.perk svg { width: 26px; height: 26px }

.join {
  border-radius: 32px; padding: clamp(28px,5vw,64px);
  background: linear-gradient(150deg,#F08776,#E86B5F 44%,#B14842); color: #fff;
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); gap: 40px; align-items: center;
}
.join h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(32px,4vw,52px);
  line-height: 1.08; letter-spacing: -.02em; margin: 0 0 12px; text-wrap: balance;
}
.join-sub { margin: 0; font-size: 18px; line-height: 1.5 }
.waitlist {
  background: rgba(255,255,255,.96); color: #0f172a; border-radius: 24px; padding: 28px;
  box-shadow: 0 20px 45px rgba(80,29,26,.3);
}
.waitlist-form { display: grid; gap: 12px }
/* An author `display` beats the UA's `[hidden] { display: none }`, so the toggled
   form/done blocks need this explicitly or both render at once. */
.waitlist-form[hidden],
.waitlist-done[hidden] { display: none }
.waitlist-field {
  height: 52px; box-sizing: border-box; padding: 0 20px; border-radius: 14px;
  border: 1px solid #CBD5E1; background: #fff;
}
.waitlist-area {
  box-sizing: border-box; padding: 14px 20px; border-radius: 14px; border: 1px solid #CBD5E1;
  background: #fff; resize: vertical;
}
.waitlist-consent {
  display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45;
  color: #475569; cursor: pointer;
}
.waitlist-consent input {
  flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #B14842; cursor: pointer;
}
.waitlist-consent a { color: #B14842; text-decoration: underline; text-underline-offset: 2px }

/* Honeypot — reachable by bots, invisible to people (never display:none). */
.waitlist-trap {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.waitlist-error { margin: 0; font-size: 14px; font-weight: 700; color: #B42318; text-align: center }

.waitlist-submit {
  height: 54px; border: 0; border-radius: 999px; background: linear-gradient(135deg,#E86B5F,#B14842);
  color: #fff; font: 800 16px Manrope, sans-serif; cursor: pointer; box-shadow: 0 10px 24px rgba(177,72,66,.33);
}
.waitlist-fine { font-size: 13px; color: #64748b; text-align: center }
.waitlist-done { display: grid; gap: 14px }
.done-head { display: flex; align-items: center; gap: 12px; color: #B14842 }
.done-head svg { width: 34px; height: 34px }
.done-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -.01em; color: #0f172a }
.queue {
  display: flex; align-items: baseline; gap: 10px; padding: 18px 20px; border-radius: 18px;
  background: #FEF3F2; border: 1px solid #F5C2BA; color: #923D39;
}
.queue-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 40px }
.queue-label { font-weight: 700 }
.done-note { font-size: 15px; line-height: 1.5; color: #475569 }
.ref-row { display: flex; gap: 8px }
.ref-input {
  flex: 1; min-width: 0; height: 48px; box-sizing: border-box; padding: 0 16px; border-radius: 14px;
  border: 1px solid #CBD5E1; background: #F8FAFC; font-size: 14px;
}
.ref-copy {
  height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: #501D1A; color: #fff;
  font: 800 14px Manrope, sans-serif; cursor: pointer;
}

.faq h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(30px,3.6vw,44px); letter-spacing: -.02em; margin: 0 0 24px }
.faq details { border-top: 1px solid #CBD5E1; padding: 18px 0 }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px }
.faq p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: #475569 }

.site-footer {
  scroll-snap-align: end; max-width: 1200px; margin: 0 auto; padding: 0 24px 96px;
  display: flex; align-items: center; gap: 12px; font-size: 14px; color: #64748b;
}
.site-footer img { width: 26px; height: 26px }
.site-footer .wordmark { font-size: 18px; color: #0F172A }

/* ---------------------------------------------------------------------------
   14) Reduced motion — snap everything to its end state
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important }
  [data-rv] { opacity: 1; transform: none }
}
